Linux network troubles

Shanteli

Senior member
Aug 7, 2000
568
0
0
I just installed Mandrake 8.0 on my system and my ethernet connection no longer works. Through Win9X the configuration is pretty simple: set it up for DHCP and all of the DNS & gateway information is detected. Is there a way to do a release/renew through Linux?

In Mandrake, I have tried every network configuration possible from using the same static IP that the DHCP server through Windows gives me to saying that my connection is a cable modem or DSL modem. But in a nutshell I am totally out of ideas becasue it is supposed to work when I specify DHCP. I don't really know Linux at all, so I am at a brick wall here. Anyone got any ideas?
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
When you do an &quot;ifconfig&quot; does it show the Ethernet adapter as Up &amp; Running?

Is it possible that Mandrake doesn't recognize your NIC?

As far as doing a release &amp; renew, there's probably a command for &quot;/etc/dhcpc&quot; to do it, or worse case kill it and restart it (you might be able to Kill it with a &quot;-HUP&quot; kinda like a restart).

I'm not a Linux Wiz, these are just a couple things that came to mind.


Good Luck

Scott
 

Shanteli

Senior member
Aug 7, 2000
568
0
0
It says:

[root@shanteli /root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:420 (420.0 b) TX bytes:420 (420.0 b)



Is this good?
 

Serpent77

Member
Jul 17, 2001
91
0
0
you don't have your NIC running yet lo is your loop interface, you should see two addresses listed there the second card will be named eth0 usually. I'm assuming you don't have the DHCP client installed then either, time to hit the man pages (I'm not familiar enuff with linux to rattle off instructions off the top of my head, sorry :()

--Serp
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
Serpent is correct, the OS is not seeing your NIC (or is ignoring it). Watch the machine as it reboots and see if it does a &quot;Starting eth0&quot; and if so, what error statement (if any) it gives.

Try re-locating the NIC to another slot, try another NIC, try forcing the install.

Red hat uses a program called &quot;kudzu&quot; to find and configure new hardware, see if you have it and give it a try.

Good Luck

Scott
 

speed01

Golden Member
Jan 23, 2001
1,167
0
0
while logged in as root, type &quot;ifconfig eth0&quot; (without quotes). If it comes up with anything other than something telling you that device eth0 doesn't exist, it sees the nic. If your nic is being loaded, type &quot;dhcpcd&quot; (again logged in as root and without quotes). That will renew your nic.