LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-07-2008, 05:16 AM   #1
asininity
Member
 
Registered: Apr 2007
Posts: 52

Rep: Reputation: 16
On board ethernet problem


Hi guys, got a weird problem that I can't work out. On a cold boot say the first time I've turned the system on for the day the on-board ethernet isn't detected. I have to boot up then restart to get it working if I don't do a full boot up it still isn't detected.

On the first boot the PC activity light is on on the modem as is the light on the ethernet port. If I "lshw" I get nothing for eth0 but get this once I've rebooted:

Code:
id:	
network
description: 	Ethernet interface
product: 	RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: 	Realtek Semiconductor Co., Ltd.
physical id: 	
0
bus info: 	
pci@0000:02:00.0
logical name: 	
eth0
version: 	01
serial: 	00:18:f3:0f:7e:46
size: 	100MB/s
capacity: 	1GB/s
width: 	64 bits
clock: 	33MHz
capabilities: 	pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration:	
autonegotiation	=	on
broadcast	=	yes
driver	=	r8169
driverversion	=	2.2LK
duplex	=	full
ip	=	82.40.85.150
latency	=	0
link	=	yes
module	=	r8169
multicast	=	yes
port	=	twisted pair
speed	=	100MB/s
I should mention that the only way I could get Ubuntu installed at all was to use the boot option "irqpoll" so this might have something to do with it, but I wouldn't know.

If I try and use the GUI network manager it only lists "lo" until I reboot as does "ifconfig".

Today on boot ubuntu started checking sda2 because it had been booted 24 times etc, and I noticed this above it:

Code:
*Staring basic networing
*Stopping the firestarter firewall...
eth0: error fetching interface information. Device not found.
eth0: error fetching interface information. Device not found.
eth0: error fetching interface information. Device not found.
...done
*Starting the firestarter firewall...
eth0: error fetching interface information. Device not found.
eth0: error fetching interface information. Device not found.
eth0: error fetching interface information. Device not found.
...fail
run-parts: /etc/network/if-up.d/50 firestarter exited with return code 2
I have no idea what this means other than a guess that it confirms that ubuntu isn't finding the on-board ethernet.

I don't mind the fact that its not detected but having to reboot is just plain annoying! Is there a command that can probe for the ethernet and set it up without rebooting, or is there a way of getting it to detect it the first time round?

Any help is most appreciated and apologies for the long post.
 
Old 01-07-2008, 07:17 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
manually open a shell and run the following commands

Code:
su (and root passwd)
modprobe r8169
lsmod  (this command optional to check it has loaded)
ifconfig eth0 up
ifconfig (to check status)
I do not use your distro but you can add the commands to rc.local
but you will need to know full pathway...normally /usr/sbin/command

you can run

find / -name (search term eg lsmod) to check full pathway
 
Old 01-07-2008, 07:18 AM   #3
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
if ifconfig eth0 up does not work try
ifup -a
 
Old 01-07-2008, 08:55 AM   #4
asininity
Member
 
Registered: Apr 2007
Posts: 52

Original Poster
Rep: Reputation: 16
Hi aus9, thanks for the quick reply.

I turned my computer off and unpluged it and left it for a bit and when I booted up it had no internet again so I did as you instructed heres the results:

modprobe r8169 I assume went ok since I got nothing back from it.

lsmod gave:

Code:
wurzle@wurzle:~$ lsmod
Module                  Size  Used by
r8169                  32260  0
It was on the first line. However it didn't work as ifconfig eth0 up came back with this:

Code:
eth0: ERROR while getting interface flags: No such device
and ifconfig listed only:

Code:
wurzle@wurzle:~$ ifconfig
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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
I forgot to do the ifup -a but I don't think it would have worked either as apparently the device doesn't exist unless you turn it on twice. I shall try again but I'm not holding my breath. I'm kinda hoping your gonna be able to figure it out from this :-S. Thanks again

Last edited by asininity; 01-07-2008 at 08:56 AM.
 
Old 01-07-2008, 09:20 AM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
see if this can help you out...
http://www.gnulinuxclub.org/index.ph...=277&Itemid=31


regards
 
Old 01-07-2008, 06:44 PM   #6
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
what is the name of your modem/router and do you have a manufacturer link to it?

2) did you eventually try ifup -a ?
 
Old 01-08-2008, 04:18 AM   #7
asininity
Member
 
Registered: Apr 2007
Posts: 52

Original Poster
Rep: Reputation: 16
Hi aus9,

Yep I tried the ifup -a but same as before nothing happened its simply not detecting the hardware. The modem is a Motorola SB5101E SURFBoard Cable Modem, but it cant be that as I dont have any problem with it with Ubuntu on my laptop, can it?

Hi ruudra,

I tried your suggestion and followed the steps on the link but couldn't go past the first one because the on board ethernet is simply not being detected on boot, here the output for lspci on first boot:

Code:
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
02:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
And heres lspci after I've rebooted:

Code:
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
I've bolded out the ethernet that is missing from the first one. Its ike it needs time to warm up or something. Any suggestions?

Thanks again guys.

Last edited by asininity; 01-08-2008 at 04:20 AM.
 
Old 01-08-2008, 11:15 AM   #8
asininity
Member
 
Registered: Apr 2007
Posts: 52

Original Poster
Rep: Reputation: 16
Well there appears to have been a bug with earlier versions that was supposed to be fixed in Gutsy, I'll try their procedure for fixing it when I get the chance.
 
  


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
Problem with on-board ethernet techhead89 Linux - Hardware 2 09-18-2007 06:19 AM
on-board ethernet card not detected Rohan_mk1 Linux - Hardware 1 12-24-2006 09:31 AM
gigabyte on board ethernet? Genjix Linux - Hardware 3 07-06-2005 01:58 PM
RH7.2 and On-board Ethernet Card Skywalker Linux - Software 13 11-15-2004 06:28 AM
problem installing 2nd ethernet card on nforce board mjrpes Linux - Hardware 3 11-09-2003 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration