Linux finds eth0, but yet no eth0?

Zedric

NTFS Guru
Joined
12 Jan 2002
Messages
4,006
I have a slight problem with my NIC. It's an onboard NIC (RTL8100) stuck on an Abit BD7II-RAID motherboard. When I try to install Gentoo (or run Knoppix for that matter), the NIC is detected and the system tries to get an IP through DHCP. The problem is the NIC won't light up. When I run ifconfig, eth0 isn't listen, only lo. If I run net-setup (on the Gentoo cd) eth0 turns up, but without and IP and with zeroed stats. Still no lights.

If I check the modules, the rtl8139too driver is loaded as it should be (it's the right one, right?), so apparently it did detect the card.

I know the NIC is ok, the current Windows XP installation uses it and has been for two years.

Any ideas? I'm no Linux expert of any sort, so I'm not at all sure what to do next. :(
 
That's funny, I had the same problem, but that was because I used the wrong cable (Internet --wireless--> Win ME machine --wired--> Linux laptop), I needed a crossover and I used a straight through. Weird shiz, the network.

Anyway, sorry I don';t have a solution to your problem :p
 
As root, run:

killall -9 dhclient

dhclient -vvv eth0

Then see if it says any errors.

You can also bring the interface up yourself with an IP:

killall -9 dhclient

ifconfig eth0 "inet <some IP address not on your network, which your router routes> netmask 255.255.255.0"
ifconfig eth0 up

route add default <your router ip>

If this does not work, then i am sorry, but Linux is not my favorite OS.
 
after running net-setup issue this command:

dhcpcd eth0
 
Hey, now I know finally how to dhcp with my linux! I was f0cking around with ifconfig, but it seems I was all wrong after all.
 
That would really only work if you have the dhcp client daemon installed. It is just a work around for the installation, after it is installed, setting up DHCP should be as simple as just editting /etc/conf.d/net to include iface_eth0="dhcp" Different for every distro.
 
I tried static IP and all, but it didn't work. I managed to solve it now though. I turned off APIC support in BIOS yesterday, which didn't help. But today when I started it suddely worked. It seems I had to turn the computer off after doing the APIC setting, not just restart it. It's the only reason I can find right now anyway. Strange shiit. :D

Now I'm going to install Gentoo, wish me luck! ;)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back