LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 10-15-2009, 11:49 PM   #1
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 6
Thanked: 0
Unhappy Using wicd on Slackware 12.2 doesn't register host name with DNS server


[Log in to get rid of this advertisement]
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..
windows_xp_2003 lord_beavis is offline  
Tag This Post , ,
Reply With Quote
Old 10-16-2009, 05:33 AM   #2
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Suse 10.1 (not any more) ; Slackware 12.1 and 12.2
Posts: 78
Thanked: 2
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.
windows_xp_2003 bogzab is offline     Reply With Quote
Old 10-16-2009, 08:11 AM   #3
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 6
Thanked: 0

Original Poster
That will work but the problem is I may not get that IP address the next time from the DHCP server.
windows_xp_2003 lord_beavis is offline     Reply With Quote
Old 10-16-2009, 09:11 AM   #4
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Suse 10.1 (not any more) ; Slackware 12.1 and 12.2
Posts: 78
Thanked: 2
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.
windows_xp_2003 bogzab is offline     Reply With Quote
Old 10-19-2009, 01:45 PM   #5
lord_beavis
LQ Newbie
 
Registered: Mar 2004
Location: Memphis
Distribution: Slackware, Ubuntu
Posts: 6
Thanked: 0

Original Poster
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.
windows_xp_2003 lord_beavis is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:28 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration