LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-09-2012, 09:39 AM   #1
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
hostname confusion---connected to router


Desktop and laptop both running Arch, recently updated
Internet connection thru Comcast wireless router

Everything is working fine until....

((I think)) the problems started when I installed ssh on both machines--at the same time, I changed the hostname on one of them.

Even though both machines would connect to the router---AND the router diagnostics showed the outside connection was working---I could not get out the the net. The problem was eventually resolved by re-booting the router with factory defaults.

In the process, I noted that the router showed the desktop with the old hostname. Now--after rebooting everything, it still shows the old name. /etc/hosts and /etc/rc.d both have the new name, and "hostname" gives the new name. The router admin page still shows the old name.

I'll guess that dns info gets stored in the router, but why would that not get reset when re-booting everything?

I'll really appreciate learning that I'm missing something really simple...
 
Old 07-09-2012, 11:05 AM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Could you have set ip lease to forever that started this?

Why would an old hostname survive a reset to default? It can't or at least shouldn't have. If the old hostname is still in the router either it is not being reset fully or there is in fact a hostname out there.

Take the computers off the network and reset the router. Do the names stay?
 
1 members found this post helpful.
Old 07-09-2012, 03:34 PM   #3
Deshawn
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Rep: Reputation: 0
After reboot there should be no changes in the hostname. After modifying the host file did you save the file before rebooting.

Thanks
Buy lace
 
Old 07-09-2012, 04:45 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by jefro View Post
Could you have set ip lease to forever that started this?

Why would an old hostname survive a reset to default? It can't or at least shouldn't have. If the old hostname is still in the router either it is not being reset fully or there is in fact a hostname out there.

Take the computers off the network and reset the router. Do the names stay?
I think I might have set the lease time to forever..
I will try taking everything offline and then resetting.....

thanks for the tips
 
  


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
Wifi connected to router, ping to router ok, no webaccess. what is wrong? deepcore Linux - Wireless Networking 5 01-07-2008 01:59 AM
Domain name / hostname confusion bhm8hwcm Linux - Networking 9 11-05-2006 03:13 PM
Hostname confusion bhm8hwcm Linux - General 1 10-29-2006 08:48 PM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 11:10 AM
wireless router DHCP confusion yocompia Linux - Wireless Networking 1 07-25-2003 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:22 PM.

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