Latest LQ Deal: Linux Power User Bundle
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:31 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, 03:30 AM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Maybe /etc/dhcpc/ has become corrupt?
Old 02-07-2004, 03:45 AM   #3
Registered: Feb 2004
Posts: 53

Rep: Reputation: 15
Proberly was your lease time up. So remove /etc/hdcpc/*.pid and do a
dhcpcd eth0

Old 02-07-2004, 04:13 AM   #4
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
to renew ip on dhcp setting
ifconfig eth0 down
cd /etc/rc.d
Old 02-08-2004, 01:54 PM   #5
LQ Newbie
Registered: Oct 2003
Location: Bloomington, IN
Distribution: Ubuntu 5.10
Posts: 23

Original Poster
Rep: Reputation: 15
Thank you very much, everybody!

I'm on my laptop now and it seems to be fine. I haven't been back to school yet, though, so we'll see how it behaves Monday.

What I ended up doing was deleting most of the files in etc/dhcpc/ including:

And then running #dhcpcd eth0

Thanks again to all who helped!


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 2 02-08-2004 02:08 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 11:30 PM.

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