Re: Samba configuration and name resolution?

From: Jef Driesen (jefdriesen_at_hotmail.com.nospam)
Date: 02/11/05


Date: Fri, 11 Feb 2005 10:16:34 +0100

James Knott wrote:
> Jef Driesen wrote:
>
>
>>This will not work because IP addresses are dynamically assigned by the
>>DHCP server in the router. And if I switch to static IP addresses, I
>>can't easily add more computers (without changing host files on every
>>machine).
>
>
> Unless you have a lot of computers, static IPs are fine. The easiest
> method, is to manage the hosts file on one computer and then copy it to all
> the others. Another possibility, would be to simply share the "master"
> hosts file over the network.
>

Most of the time there are only 2 computers. The reason why I don't use
static IP addresses, is because from time to time there are other people
who use my network to access the internet (they don't have an internet
connection themself). With the DHCP option of the router, there is no
need to change configurations. It's just a matter of connecting the
cables for those computers.

If I understand correctly from the documentation, Windows will use
netbios (broadcast, wins server or lmhost file) to resolve hostnames to
IP address and Linux will use DNS. Maybe there is a way to enable
netbios name resolution on linux? Adding a WINS server or DNS server is
another possibility, but then I need a server running all the time. I
only need a simple workgroup configuration.



Relevant Pages

  • Problem with my win2000 advanced server.
    ... Windows 2000 Advanced Server w/2 networkcards. ... Connected to a wireless Router. ... The Server was configured in a way so I have 3 computers in my place ... USB cable connection from a Laptop. ...
    (alt.comp.hardware.pc-homebuilt)
  • RE: DHCP issues
    ... connectivity on all of the computers in my home. ... (The DHCP Server sent a DHCPNACK message). ... I'm not sure why the router would suddenly start sending these. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Weird TCP/IP Problems
    ... easier to host files on a simple FTP server I set up and to Remote-Desktop to ... Why does changing the DNS Server my router uses to lookup domain names screw ... I can only ping other computers by using IP addresses. ...
    (microsoft.public.windowsxp.network_web)
  • After a full day of computers...
    ... computers in question run SuSE 9.1 Pro and nothing but. ... router, both computers get cut off; ... I've set up a NFS server and a client on each machine, ... stuffed up the necessary permissions somewhere. ...
    (alt.os.linux.suse)
  • Re: Folder Redirection - Peer network
    ... Server is not used a lot, so I want to take the data files off of ... I'd like to find a way to redirect all queries ... If all computers had static IP ... addresses, which they do not, I could host a hosts file. ...
    (microsoft.public.windowsxp.general)