LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-08-2005, 08:05 PM   #1
swilliams2006
Member
 
Registered: Dec 2005
Location: Kent
Distribution: Kubuntu 6.10
Posts: 32

Rep: Reputation: 15
Ethernet interface starting but not getting IP


Hello,

I have been running Fedora Core 3 on a PC for a while without problems, since I rebuilt it with Mandriva 2006 Free Edition, I have not been able to get the network working.

The device module is sis900.

The interface will start with boot, however when I run ifconfig, there is no IP address listed, and when I display the output of route, the routing table is empty (apart from the lo interface)

I have tried using DHCP to get an IP address for this machine, as it is on a network with a Windows PC currently doing DCHP and gateway. The linux laptop running Mandriva also on the network takes it's IP happily on the wireless interface, all other PCs take IP's happily, and this one used to when it was running FC3. It also takes an IP happily when I run Knoppix on it.

I have also tried setting a static IP of 192.168.0.5 which I know is not reserved or used on the network. It sets the IP and gives necessary routing, however I cannot ping any other machine on the network with message "Destination unreachable"

I have tried both DHCP host and static, and with each tried tweaking the settings in /etc/sysconfig/network-scripting/ifcfg-eth0

Output from ifconfig
===
eth0 Link encap:Ethernet HWaddr 00:11:2F:E5:C3:22
inet6 addr: fe80::211:2fff:fee5:c322/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:35 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x8800

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:263 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28007 (27.3 KiB) TX bytes:28007 (27.3 KiB)

===

output from cat /etc/sysconfig/network-scripts/ifcfg-eth0

===
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
IPV6INIT=no
IPV6TO4INIT=no
PEERDNS=yes
===

output from lspci

===
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 661FX/M661FX/M661MX Host (rev 11)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:09.0 System peripheral: Conexant ADSL AccessRunner PCI Arbitration Device (rev 01)
00:09.1 ATM network controller: Conexant AccessRunner PCI ADSL Interface Device (rev 01)
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760/761 PCI/AGP VGA Display Adapter
===

output from cat /etc/modprobe.conf

===
alias eth0 sis900
alias sound-slot-0 snd-intel8x0
remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe ohci-hcd; /sbin/modprobe ehci-hcd; /bin/true
===

I am guessing that the hardware is fine, but I have done something to misconfigure my Mandriva installation; is there any form of setting or note-taking I can do from running Knoppix, or does anybody know of something that I have missed?

Thanks for any help anybody can offer.
Best Regards,
Steve

PS: I forgot to mention that I have also tried stopping the shorewall service and flushing IPTABLES. This has made no difference.

Last edited by swilliams2006; 12-08-2005 at 08:13 PM.
 
Old 12-10-2005, 05:59 AM   #2
Shaddy
Member
 
Registered: Apr 2003
Location: Germany
Distribution: PC1: Xandros 4 Prof, PC2: Debian Sarge, NB: SLED10+Windows XP
Posts: 39

Rep: Reputation: 15
Hi,

it hurts me to ask, but: Is the cable connected to your computer? What does your /etc/networking/interface show?

If there everything is OK, have a look at the syslog or messages when you restart your network. Maybe there are some information that can help you.


---greetz---
 
Old 12-10-2005, 06:51 PM   #3
swilliams2006
Member
 
Registered: Dec 2005
Location: Kent
Distribution: Kubuntu 6.10
Posts: 32

Original Poster
Rep: Reputation: 15
I had a look at the /var/log/messages and it was giving a message about eth0: timeout every 30 seconds. I would have posted the full line here but to be honest I was expecting to see that error again after I rebooted so I just rebooted.

I only noticed a switch on the side of the hub.. "Extension port" or "Dual Speed" it was set to the first (this is not an extension hub, it's on it's own) and although this has never made a difference for me before, after I switched it over the Linux seemed happy.

Perhaps the newest Kernel has new features that require this setting to be correct.

Either way I have it fixed now, is there anything I need to do to "close" this thread so as not to be a nuisance?
 
  


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
Failed to bring up ethernet interface sparks_lu Linux - Networking 5 03-27-2005 10:57 AM
Ethernet interface - checking the status marri Programming 1 03-01-2005 12:15 PM
How can i see if an ethernet interface is physically up/down ? markraem Linux - Networking 4 07-02-2004 03:06 PM
ethernet interface fails (Fedora) legendaryfox Linux - Networking 6 04-11-2004 08:45 PM
Help me bringing up an ethernet interface Maranza Linux - Networking 4 12-25-2003 07:22 AM

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

All times are GMT -5. The time now is 07:49 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
Open Source Consulting | Domain Registration