![]() |
DHCP not working
Hello there,
recently I installed Slackware 12 and since then I can't get my internet connection operational :( The details: I am using Toshiba Tecra m2 with intel Pro/100 ethernet card. Slackware is loading eepro100 driver for my ethernet card. My Lan looks like that: DSL modem <-> router with cloned mac adress of my NIC <-> my laptop. I haven't change anytihng in the kernel. Though lspci shows that there is mentioned before ethernet card, ifconfig doesn't show it. I can get my eth0 interface up by: Code:
ifconfig eth0 upPlease help! |
have you tried #dhcpcd eth0?
edit: eth0 not eth1 |
Yes I did, after I put
Code:
dhcpcd eth0I tried it with different combinations like Code:
ifconfig eht0 up 192.168.2.1Though when I've used Code:
ifconfig eth0 up 192.168.2.100ping: Code:
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.I am confused mostly because I really don't know much about lan and networking... One more thing, I have checked syslog and there is this: Code:
Oct 21 12:36:49 aster dhcpcd[2626]: timed out waiting for a valid DHCP server response |
ok, im not very experienced in this area either but are you shore that dhcp is turned on in your router? have you tested it with another computer or os? sorry i cant be more helpful.
|
yeah, i dual boot on my lap, in win xp everthing is just fine. I thought that there was somekind of issue with the NIC driver but it is loaded properly. Even when i remove it
Code:
modprobe -r eepro100Thanks for your interest :) |
I Know Its Obvious But Have U Dbl Checked The Nameserver Aspect,Make Sure All Your Names /domains Are In Order?I Had The Prob.
Tom |
I think that when I use DHCP I don't have to put ip or domain name. But I'll check everything in windows and will give it a try in slack. I will also try to connect without router.
Wish me luck ;)! |
I have the same problem. Dual booting XP/Slack 12. Last week, my 'little darlings' managed to mess up my network. Finally managed to get the XP back online, but even after doing a complete re-install on my Slack, it won't connect.
|
I am glad that there is someone else with the same problem, that means that I am not crazy (yet).
I have tried to set STATIC IP by 'netconfig' but it didn't work. I also downgraded to Slack 11, but I have the same problems as with 12. I am getting sad sad sad... Tommorow I might try another distro, just to check it out. Or maybe I will search for my slack 10.2 cd-roms... I would just like to have slack back.. is it to much...? |
Can you clarify, the router has a static IP address and is it 192.168.2.1 or 192.168.2.100? Can you ping 127.0.0.1 on the PC (nternal loopback) and see if it responds? THen I would assign a static IP (the one that isn't assigned to the router) to the PC NIC and then ping that from the PC. THen try to ping the router from the PC. YOu don't have an embedded motherboard NIC and an add-on NIC (don't laugh - it trips me up everytime on my Dell with a failed motherboard NIC).
|
Case solved :D
Guys from forum.slackware.pl solved the case. If you got similar problem then: Set your IP to static ip with net config. In my option it looked like that: My ip: 192.168.2.100 netmask: 255.255.255.0 Gateway ip: 192.168.2.1 And the thing i didn't set before... dns ip. You can put it in /etc/resolv.conf, i had to put my router (gateway) ip, it goes like this: nameserver 192.168.2.1 And everything works :) |
| All times are GMT -5. The time now is 03:20 PM. |