Realtek 8139 network not working - DHCP unable to get IP address
hey,
I installed Slackware 11 on my friends comp and upgraded the kernel to 2.6.18. The comp detects the onboard realtek 8139 card and the mac address correctly. But dhcpcd is unable to get the ip address of the machine ( although it works fine in Windows) I have already run netconfig etc. Any suggestions? |
That chipset works fine on my pc. It uses the modules
Code:
8139too Code:
mii You might try Code:
#dhcpcd eth0 But it should work after netconfig, if you have the modules. |
I just checked : it has the modules 8139too, 8139cp and mii (as part of the 2.6.18 generic package that came with Slackware 11 DVD).
And "ifconfig etho up" shows the NIC with the correct mac address. But dhcpcd is unable to obtain the IP address. So I was wondering if anyone has ever encountered this problem? Can there be any other reason for something like this? |
Quote:
Please post the output of; Code:
ifconfig -a Does your server/router use MAC filtering? |
ifconfig -a gives three interfaces eth0 , sit0 and lo.
route -n just gives Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo dhcpcd eth0 didn't help And I am comparing it to the mac my friend has registered under his a/c ... we behind a NAT and our netadmin assigns IPs to us (172.*.*.*) according to our MAC addresses. |
Good luck with this one! My other Slackware box running Slackware 11 (2.6.17.13) has a realtek card and it sits behind a router, gets an IP address with DHCP. No issues to speak of.
Is there a possibility that you've mis-configured your set-up for DHCP? |
No , No chance of that ... cos I am behind the same NAT and I have configured it the exact same way .. and my comp is getting an IP address whereas his isn't!
|
Does the realtek card act like a PCMCIA card or a simpler PCI card?
I am asking cos it shows up right after rc.pcmcia in bootup. |
Quote:
When you are requested for information for diagnosis, please post un-edited and complete. A lot of information can be provided that you may over look. As for your problem, you do not have a defined route in your routing table. If you have the gateway as 192.168.0.1 then; Code:
route add default gw 192.168.0.1 #define default gw Code:
#route -n #man route to get switches |
Yeah, but all of that is provided by the DHCP server. I am behind the same NAT and DHCP provides everything.
Sorry, but I can't post the whole output cos that comp doesn't have NET access and the USB ports are erratic at best. |
i have a similar problem
i have a similar problem as stated by duryodhan above,
except i never see a 'sit0' but i see 'eth0' and 'lo' i have tried 'dhcpcd eth0 up' and all of what is said above but without any success i too have a realtek 8139 NIC fast ethernet i had the same problem with my previous kernel(2.6.18.3) so i upgraded it i am using a kernel version 2.6.19.2. my kernel has the appropriate drivers for the ethernet card and also it detects my mac address i am using a DHCP server behind a NAT. i have no such problems with windows xp which is also installed alongside linux Quote:
|
I have a laptop with that network card, when I configure it without DCHP, using netconfig and static ip option everything seems to be ok, ifconfig shows the card configured but I'm unable to send a byte.
I found the solution in google, the command "noirqdebug" has to be added at startup, as a kernel option, in the boot manager. I have to use this command in Slackware, Debian, Ubuntu... Try using this command. |
Quote:
If your admin assigns you a IP, then why are you doing dhcp? BTW, you can compare all you want! The MAC is unique to the card. Be a NIC or wireless adapter. The MAC is pre-assigned to the unit by the manufacture from a pool of allocated MACs. Your friends MAC is different than yours therefore the IP assigned to his unit will only work for him. If the admin gave you an IP then just edit /etc/rc.d/rc.inet1.conf and add the information for the device, IP, netmask, and gateway. Don't forget to add your nameserver(s) to /etc/resolv.conf. |
Jumapeg : How do I add the command ? will
Quote:
|
duryodhan:
Just "noirqdebug" in lilo.conf Quote:
|
i get a syntax error when i use append = "noirqdebug"
in lilo.conf and type "lilo" in the console also after manually reconfiguring /etc/rc.d/inet1.conf the result was negetive. |
Quote:
|
yeah there was a mistake i made while typing it in
any way the problem was not solved by that, it still is not able to get the ip. is there any other information that could help? or should i try fc6 and see if it works with that? |
hello
today if finally worked.. dhcpcd during bootup got my ip address and then displayed it every thing was fine but again after i rebooted the same problem came back no ip address its painful after seeing it work well, anyway i cannot see where the problem is.. please help me out |
All times are GMT -5. The time now is 10:09 PM. |