Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-07-2004, 02:23 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Bloomington, IN
Distribution: Ubuntu 5.10
Posts: 23

Rep: Reputation: 15
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(, and now my machine assumes that address at home.

I can ping the router (
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)
Old 02-07-2004, 09:51 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
Old 02-08-2004, 02:08 PM   #3
LQ Newbie
Registered: Oct 2003
Location: Bloomington, IN
Distribution: Ubuntu 5.10
Posts: 23

Original Poster
Rep: Reputation: 15
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:

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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware release/renew of IP address Ishkabibble Linux - Networking 8 09-28-2005 10:30 AM
Renew IP in linux? iccanui Linux - Software 7 09-05-2005 11:31 AM
renew ip address distantlyyours Slackware 4 02-08-2004 01:54 PM
dhcp renew? murray_linux Mandriva 1 11-06-2003 03:59 PM
renew/refreshing ip??? jcabral3 Linux - Newbie 1 12-09-2002 12:48 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration