LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Switching to eth1 from eth0 (https://www.linuxquestions.org/questions/linux-networking-3/switching-to-eth1-from-eth0-4175449111/)

gomi_no_sempai 02-07-2013 11:57 PM

Switching to eth1 from eth0
 
eth0 died on my dual boot system at home. So I get a D-Link DGE-528T to replace it. Ubuntu 11.10 appears to detect (ie it's listed as eth1), but it won't work.

So I tried to install the files supplied with the card. which are design for 2.4/2.6 Linux Headers, not the 3.0 which I have. No joy... they won't install because of wrong headers.

The Windows side finds it just fine, but as stated ubuntu won't. How do I fix this?

Kaustubh5@ymail.com 02-08-2013 12:28 AM

Hi,

what do you see in dmesg?

Kaustubh

fortran 02-08-2013 06:33 AM

Send output of ifconfig -a

gomi_no_sempai 02-09-2013 04:52 PM

Quote:

Originally Posted by pavi_kanetkar (Post 4886963)
Send output of ifconfig -a


eth1 Link encap:Ethernet HWaddr 00:24:8c:4e:34:14
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:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:45

eth2 Link encap:Ethernet HWaddr 1c:7e:e5:2a:c9:58
inet6 addr: fe80::1e7e:e5ff:fe2a:c958/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:4419 (4.4 KB)
Interrupt:17 Base address:0x4c00

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:568 errors:0 dropped:0 overruns:0 frame:0
TX packets:568 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44824 (44.8 KB) TX bytes:44824 (44.8 KB)

wlan0 Link encap:Ethernet HWaddr 00:22:b0:70:83:5c
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)

---------- Post added 10-02-13 at 09:52 AM ----------

Quote:

Originally Posted by Kaustubh5@ymail.com (Post 4886790)
Hi,

what do you see in dmesg?

Kaustubh

dmesg | grep eth responded with

[ 2.229915] r8169 0000:05:01.0: eth0: RTL8169sb/8110sb at 0xf8014c00, 1c:7e:e5:2a:c9:58, XID 10000000 IRQ 17
[ 10.244444] udevd[405]: renamed network interface eth0 to eth2
[ 21.555988] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 21.960201] r8169 0000:05:01.0: eth2: link down
[ 21.960343] ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 23.595442] r8169 0000:05:01.0: eth2: link up
[ 23.595616] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[ 33.624011] eth2: no IPv6 routers present

TimothyEBaldwin 02-11-2013 04:10 AM

You can rename network interfaces by editing /etc/udev/rules.d/70-persistent-net.rules, someone already did.

Why does this machine have 2 ethernet interfaces (not including eth0)?

Or are you confused over the names of your network interfaces? What makes you think the new interface is eth1?

Why do you think eth0, (rather than the PCI controller for example) is broken? Did you remove it?

fortran 02-11-2013 05:03 AM

You are not getting IP address in details of your ifconfig output.
The following line is missing in your details
inet addr:192.168.0.9 Bcast:192.168.2.255 Mask:255.255.255.0

Have you connected using IPv6?
Please once try using IPv4.


All times are GMT -5. The time now is 02:04 AM.