LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-23-2006, 11:19 PM   #1
lsu420luv
Member
 
Registered: Jun 2005
Posts: 32

Rep: Reputation: 15
dhcp keeps coming back


Hi. I have set my mom up with a samba domain. Now I changed the network interface (like i have with every other ubuntu computer I use)to static ip and enter the information in /etc/network/interfaces after the initial install with dhcp. The thing is hers keeps on going back to dhcp. I have to actually tell her how to change it back using nano and it confuses the shit out of her every time. She somehow manages. I am going crazy with this. Any ideas what is happening. I just told her to turn off the dhcp on her wireless router to see if maybe it has something to do with router. It is a linksys 2rt54g. thanks in advance.

PS- the interfaces file even contains the right info i have to just restart the network and it all changes back to the static ip.

Last edited by lsu420luv; 08-23-2006 at 11:22 PM.
 
Old 08-24-2006, 01:42 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 31
have you checked if a dhcp client is running?
run
#ps -AH
and look for dhcpcd or dhclient

Last edited by Nathanael; 08-24-2006 at 01:43 AM.
 
Old 08-25-2006, 07:23 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
What OS is your mother using? You imply Ubuntu, but since most mom's I know use "Winders" or MAC's, it would be helpful to state it explicitly & leave us w/ no doubts.

What is a "linksys 2rt54g"? I can't find that model on the Linksys website. Please provide a link to the manual, product description etc.

Assuming the router can do this, why not use fixed IP's, rather than static IP's?

(Forgive the repetition if you already understand this.) Tell the DHCP server on the router (if you can) to assign IP's by MAC address to all machines regularly connected to the LAN. You then get the best of both worlds: predictable IP's & central administration.

I have been running my home LAN this way for about 5 years. I can't remember why I switched: was it setting a static IP on the 4th member, or having to reprogram my laptop 2ce a day -- static @ home, DHCP at work?

If your router is capable of this, would you consider handling IP assignment this way?

BTW, if it's a WRT54G, page 31 (acroread 39 of 84) of the manual implies you are SOL as far as fixing IP's on its DHCP server. (From my perspective, what a bummer!)
 
Old 08-25-2006, 09:53 PM   #4
lsu420luv
Member
 
Registered: Jun 2005
Posts: 32

Original Poster
Rep: Reputation: 15
it is ubuntu 6.06 dapper drake. She does not use it. She is using windows, but I have a samba domain setup. I administer it remotely through ssh, but since the ip keeps changing she has to constantly change it back. All the computers do use static ip's except for her laptop. it is a linksys wrt54g. I have solved the problem though. I had to reboot the machine and it quit pulling the dhco and stuck with the static. Thanks everyone
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why i keep coming back to Slackware 10.2 skitzo1976 Slackware 32 11-29-2005 05:22 AM
I just keep coming back to it rjfoster LinuxQuestions.org Member Intro 3 06-18-2004 10:37 AM
Coming back again to slackware Squall Slackware 7 06-07-2004 03:28 PM
I'm coming back to Linux! cultavix Linux - Newbie 5 02-04-2004 06:02 AM
It's all coming back to me know....... slightcrazed General 7 10-13-2003 09:56 PM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration