renew ip address
I've been running Slackware 9.1 on my laptop for the past few months without any problems, but just a couple of days ago it stopped getting an IP address from the DHCP server in our router.
I think I got an IP address from the DHCP at school a few days ago(10.196.65.123), and now my machine assumes that address at home. I can ping the router (192.168.0.1) I cannot get any access to the Internet. I have tried "ifconfig eth0 up" and "ifconfig eth0 down" and it still does not renew the IP address. How do I tell it to stop assuming the address I got from school and to take an address from the DHCP server that is in our router? (again, this has all worked fine for months; my machine has been to school and back before and everything was fine, so none of this makes any sense to me) |
What is your output of ifconfig -a ?
Have you tried to restart your rc.inet1 scripts? Or tried to run dhcpcd to kill and then attain a new ip on your router at home? If your getting a 192.x.x.x IP on your home but still can't connect.. check your /etc/resolv.conf to make sure your DNS entries aren't still trying to use you school's, etc. |
Eventually I figured ran
#dhcpcd eth0 And that seemed to work. I also deleted a number of files from /etc/dhcpc/ first. I don't know if that made a difference or not. Included in the slaughter were: dhcpcd-eth0.pid dhcpcd-eth0.info dhcpcd-eth0.cache I haven't been back to school yet, so we'll see how my laptop behaves then. But I'm on it right now and it's working. Thanks for the reply! |
All times are GMT -5. The time now is 05:23 PM. |