Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a Linksys WRT54G router. This router also functions as a DHCP server for following machines:
1) Windows 2000 server "SERVER"
2) Windows XP/SUSE 9.3 dual boot "TOWER" (same name in both OS's)
3) Debian 3.1 "LAPTOP"
4) Windows XP "KIDS"
The router's DHCP clients table lists all four, except the Debian entry does not show the hostname. I ran "hostname LAPTOP", I also put "hostname LAPTOP" in the eth0 listing in /etc/network/interfaces. To make sure the "TOWER" listing was also coming from SUSE 9.3, I deleted that entry from the DHCP clients table. The entry was restored when I booted into SUSE.
This client table also performs name resolution on the local LAN.
I've searched this and other forums, googled, I've not been able to find a resolution to this issue. Anyone have an idea how to fix this without ditching DHCP and using static IP and hosts files?
Especially gratifying since I'm trying to configure this machine 100% GUI-less. Not even X installed.
OK, now I've got another issue.
The Linux machines cannot resolve the hostnames. From any of the Windows machines I can ping 'hostname' or telnet 'hostname', the names resolve without issue, even if the IP address changes.
Is my thinking correct in that this is related to the Windows setting "Enable NetBIOS over TCP/IP"? Is Samba involved in getting this operational on the Linux side? I've been Googling and RTFM'ing and I can't find a definitive answer.
Damn, I typed up a whole reply, previewed it, and forgot to hit post.. Anyway..
Basically, if I remember correctly, you need to run the winbind daemon and modify your /etc/nsswitch.conf. To install winbind, run apt-get install winbind. Once that is done, change the hosts line in /etc/nsswitch.conf to read:
hosts: files dns wins
Contrary to what it may seem, you don't have to run a WINS server to get name resolution going. However, running one could not possibly hurt at all. In fact, I recommend it for any network with more than just three or four computers.
I'm not surprised you haven't found this one, it's almost completely undocumented. And you're welcome. If you need anything, you can always PM me.