Find the answer to your Linux question:
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.
  1. #1
    Just 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??

  2. #2
    tpl
    tpl is online now
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    477
    well, you could try

    "ifconfig"

    to see whether eth0 is listed; and if not

    "ifconfig eth0 up"
    the sun is new every day (heraclitus)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •