Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-15-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 1
How to detect eth0 up?
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??
- 08-15-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 468
well, you could try
"ifconfig"
to see whether eth0 is listed; and if not
"ifconfig eth0 up"the sun is new every day (heraclitus)


Reply With Quote
