Using wicd on Slackware 12.2 doesn't register host name with DNS server
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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..
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.