I have an ADSL modem connected to my Ethernet card. I use pppoe-start to connect to the Internet. I want to know whether my modem is switched on (i.e., eth0 is up) so that i can run pppoe-start because the pppoe-start script does not seem to check the state of eth0 and endlessly tries to start pppoe. Is there any command to know modem's status??