LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-15-2009, 11:49 PM   #1
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 9

Rep: Reputation: 0
Unhappy Using wicd on Slackware 12.2 doesn't register host name with DNS server


Hello all,

I am running Slackware 12.2 on a laptop with a Linksys WPC55AG PCMCIA wireless adapter. I can do anything network wise with the laptop I want but I can not ping it by the host name from any other PC on my network. I had previously used madwifi on a previous install of the OS for the wireless and could ping it by the hostname.

If I manually restart networking, I can use dhcpcd -h hostname wlan0 and it will register with my DNS server. Once I have to obtain a new IP address it is no longer register with DNS.

I'm sure it is a simple solution that has escaped me.

Any help is appreciated.

Last edited by lord_beavis; 10-19-2009 at 01:45 PM.
 
Old 10-16-2009, 05:33 AM   #2
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
I have had this problem with PCs on my home network too and it appears to me that it is always to do with entries or lack of the in /etc/hosts. If the PC that you are pinging from has a correct IP address - hostname pair for the PC you are trying to ping, all wil be fine. If the entry has an incorrect IP address, all will not be fine. If it has no entry then in my experience all is also not fine.
 
Old 10-16-2009, 08:11 AM   #3
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
That will work but the problem is I may not get that IP address the next time from the DHCP server.
 
Old 10-16-2009, 09:11 AM   #4
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
That's why in the end I fixed the config on my router to reserve certain addresses for the boxes that I wanted to be able to address by hostname. So they effectively have a static address on the internal LAN. Can't remember the details of how I did this, but I guess it was to do with the MAC addresses of the PC NICs.

I agree this is not the most elegant way and if you find somebody to say how this should work with dynamic addresses I will also be glad of the advice.
 
Old 10-19-2009, 01:45 PM   #5
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 9

Original Poster
Rep: Reputation: 0
bogzab,

I was hoping that I wouldn't have to do that.

If I could get wicd to work with dhclient instead of dhcpcd, I think that the problem would resolve itself with the proper entry in the /etc/dhclient.conf file.
 
  


Reply

Tags
dns, hostname, wicd


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 Workstation won't register in Windows DNS mstjohn1974 Linux - Networking 1 07-07-2008 10:15 PM
Add a new server host to the DNS davidtcw Linux - Newbie 3 02-16-2006 10:30 PM
Software to Host Dynamic DNS Server MrO2 Linux - Software 1 07-22-2005 02:57 PM
Howto register IP with DNS Server GiX Linux - Newbie 2 05-17-2005 10:52 AM
Having Linux register with Windows DNS server patpawlowski Linux - Networking 1 09-04-2004 04:56 AM

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

All times are GMT -5. The time now is 12:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration