LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-07-2004, 01:23 AM   #1
distantlyyours
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(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)
 
Old 02-07-2004, 08:51 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 01:08 PM   #3
distantlyyours
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:
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!
 
  


Reply



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 09:30 AM
Renew IP in linux? iccanui Linux - Software 7 09-05-2005 10:31 AM
renew ip address distantlyyours Slackware 4 02-08-2004 12:54 PM
dhcp renew? murray_linux Mandriva 1 11-06-2003 02:59 PM
renew/refreshing ip??? jcabral3 Linux - Newbie 1 12-09-2002 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:21 AM.

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