LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-07-2013, 11:57 PM   #1
gomi_no_sempai
LQ Newbie
 
Registered: May 2008
Location: Melbourne
Distribution: Ubuntu
Posts: 8

Rep: Reputation: 0
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?
 
Old 02-08-2013, 12:28 AM   #2
Kaustubh5@ymail.com
LQ Newbie
 
Registered: Jan 2013
Location: India
Distribution: RedHat,Fedora
Posts: 11

Rep: Reputation: Disabled
Hi,

what do you see in dmesg?

Kaustubh
 
Old 02-08-2013, 06:33 AM   #3
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 304
Blog Entries: 2

Rep: Reputation: 52
Send output of ifconfig -a
 
Old 02-09-2013, 04:52 PM   #4
gomi_no_sempai
LQ Newbie
 
Registered: May 2008
Location: Melbourne
Distribution: Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pavi_kanetkar View Post
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 View Post
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
 
Old 02-11-2013, 04:10 AM   #5
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
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?
 
Old 02-11-2013, 05:03 AM   #6
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 304
Blog Entries: 2

Rep: Reputation: 52
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless problem on slackware 13.1 keeps switching back in forth from eth0 and eth1 linux/unix87 Linux - Newbie 11 06-30-2011 11:59 PM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
manually switching from eth0 to eth1 newbiesforever Linux - Networking 6 05-16-2006 12:46 AM
Mandrake is switching the eth1 and eth0 interfaces... how can I switch them back? LaptopLinux Mandriva 3 03-28-2005 09:23 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration