Results 1 to 3 of 3

Thread: eth0 not working after rebooting

  1. #1
    Join Date
    Nov 2006
    Beans
    579

    eth0 not working after rebooting

    I'm not sure what's going on, but I have two computers that both aren't working after I reboot them. When I boot up the machine and do ifconfig, eth0 is missing.

    If I issue $sudo ifup eth0 then the ethernet is working, but I'm not sure why I'm booting up without a connection. Even after $sudo ifup eth0
    The networking app that's in the taskbar is missing.

    looked at dmesg and it looks normal
    $dmesg | grep -i eth

    my interfaces file
    iface eth0 inet static
    address 192.168.15.146
    netmask 255.255.255.0
    gateway 192.168.15.1

    Any help is appreciated it.

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: eth0 not working after rebooting

    Add "auto eth0" to /etc/network/interfaces, then reboot/restart networking.

    I presume the two lines defining "lo" are still in /etc/network/interfaces as well...
    So /etc/network/interfaces should look like:
    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 192.168.15.146
    netmask 255.255.255.0
    gateway 192.168.15.1
    Last edited by Iowan; September 6th, 2010 at 12:35 AM.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Nov 2006
    Beans
    579

    Re: eth0 not working after rebooting

    No, I didn't have either the auto lo nor the auto eth0 in my interfaces, but I'll give that a try.
    I've been using the same interfaces configuration for years though.

    Thought lo was just a loopback and isn't necessary one way or another. But eitherway I'll make that changes now and see if that works for me.

    appreciate the help

Bookmarks

Posting Permissions

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