Monday, January 10, 2011

Delete eth0 avahi from the ifconfig list

Hello this is the response I get from ifconfig. Now I have two eth0 things being showed up. I need to delete the second one which says eth0:avahi. I posted my ifconfig's response on a site as I has problem using wired internet, and they suggested to remove the eth0 avahi, to get internet.

But I am a newbie to linux networking and have no idea how to delete this.

response for ifconfig

eth0 Link encap:Ethernet HWaddr 18:a9:05:22:cd:f9
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:28 Base address:0x4000

eth0:avahi Link encap:Ethernet HWaddr 18:a9:05:22:cd:f9
inet addr:169.254.10.43 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:28 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:796 errors:0 dropped:0 overruns:0 frame:0
TX packets:796 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64016 (64.0 KB) TX bytes:64016 (64.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:26:82:3c:ac:27
inet6 addr: fe80::226:82ff:fe3c:ac27/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:52142 errors:0 dropped:0 overruns:0 frame:0
TX packets:30404 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60816983 (60.8 MB) TX bytes:4160159 (4.1 MB)
From ubuntu sai
  • Is there an avahi listing in your /etc/network/interfaces file?

    Try deleting it from there.

    sai : auto lo iface lo inet loopback this is the content in /etc/network/interfaces file
    From Petey B
  • Avahi is a daemon (a service) which is responsible for several things, including attributing you an IP address when DHCP (automatic IP address from a DHCP server on the network) fails.

    The fact that eth0:avahi appears means that the system failed to get an IP on the eth0 interface (your wired network interface).

    Normally, NetworkManager should take care of attributing an IP automatically to eth0. However, you could try to force it. Your /etc/network/interfaces doesn't list eth0, so what you can try is the following.

    First, edit /etc/network/interfaces (with sudo gedit /etc/network/interfaces for example) so it reads this:

    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    

    This will tell the computer to consider getting an IP automatically for eth0. Then, restart the network with:

    $ sudo /etc/init.d/networking restart
    

    If it still doesn't work, there might be other issues:

    • are you sure there is a DHCP server on your network? If there isn't, you'll have to setup the IP address manually;
    • if you have a DHCP server, it probably means that your problem is a hardware issue. Check that the cable is well plugged and lights are on on both sides of it.
    From Raphink

0 comments:

Post a Comment