Resolving Windows Hostnames from a Linux Client
Posted on 2004-10-06
So far my new attempt at Linux is mostly working, except for two problems (the other of which I just posted (Connecting through Samba to a Windows Share past XP's SP2 firewall)
From my Linux box (Fedora Core 2) I can see each of the other systems on the LAN through Konqueror's LAN Browser (Is their a better way? Yet to find one...) The only problem is that they all come up as IP addresses insted of Hostnames. I can ping by IP, but not by name.
All of the systems in the network have their IP's assigned by DHCP from my DSL router. And I don't want to assign static IP's to each system. Freinds come over and plug in, systems come and go, it all needs to be seamless.
Through Windows everything works perfectly, I plug a windows box into my network and it can see and access all shares and systems by name, without a system acting as a DNS server. Then Linux comes along, and after much googling, and a visit to some of the Linux Forums, I'm told my options are to either:
Set every system a static IP and list them all in /etc/resolv.conf As I'm sure you'll agree this isn't practical.
Set up one of the systems as a DNS server to take care of all that, which _could_ be done, but I'd really rather not if I can avoid it. None of the systems have roles where they should be left on all the time, and I'd like to keep it that way.
This is a peer to peer home LAN, I have no need for a central server (inspite of the fun value) and it needs to work without reconfiguring every new system that trys to plug in, all I'm trying to do is get Linux to play nice with my Windows network, so I can set about finally learning how to use it.
Is their a solution that fits what I'm looking for, or am I going to have to set up a server?