Re: Home network and domain

From: Rod Smith (rodsmith_at_nessus.rodsbooks.com)
Date: 04/05/04

  • Next message: /dev/rob0: "Re: Print server"
    Date: Mon, 5 Apr 2004 13:50:05 -0400
    
    

    In article <jwvad1rbfyf.fsf-monnier+comp.os.linux.networking@asado.iro.umontreal.ca>,
            Stefan Monnier <monnier@iro.umontreal.ca> writes:
    >
    > Like many people, I have a couple of computers at home, connected together
    > via a switch+router.
    > All my IP addresses are of the form 192.168.1.X.

    [Wants to address machines by name -- details snipped]

    Do all of your computers run Samba (or Windows' SMB/CIFS server, if/when
    they boot to Windows)? If so, try adding "wins" to the "hosts" item in
    /etc/nsswitch.conf:

    hosts: files dns wins

    This will tell Linux to use NetBIOS name resolution systems in addition
    to ordinary /etc/hosts and DNS name resolution. (Linux tries these
    systems in order, so you could put "wins" first if your DNS is slow or
    unreliable.) Because NetBIOS names are registered dynamically, tracking
    the changing IP address should happen automatically. On a little
    two-computer network, this is probably the simplest solution, assuming
    you run Samba. If not, you might want to run Samba (or at least nmbd, the
    Samba daemon that handles the NetBIOS name stuff) just for this; doing so
    is probably easier than setting up your own DHCP server.

    -- 
    Rod Smith, rodsmith@rodsbooks.com
    http://www.rodsbooks.com
    Author of books on Linux, FreeBSD, and networking
    

  • Next message: /dev/rob0: "Re: Print server"

    Relevant Pages

    • Re: fedora4 and windoz networking help please
      ... I believe that if both computers can 'see each other' it will work?? ... To see Windows files from Linux, mount your Windows directories onto your Linux filesystem using "mount.cifs". ... certainly on your distribution disk and to read the documentation, point your web browser to "www.samba.org" - you won't have to read it all because yours is a simple application of samba. ...
      (comp.os.linux.networking)
    • Re: Cant see a linux computers in a network
      ... I have read on the Internet that computers running Win XP Home cannot ... but can access Samba shares. ... and password needs to be added to the Linux box. ... account and password needs to be added to Samba users. ...
      (microsoft.public.windowsxp.network_web)
    • Re: About sharing directory with Samba.
      ... > I want to share a dir with Samba and windows users... ... > Each my computers (Linux, Windows) have an IP address, no DHCP. ...
      (linux.redhat)
    • Re: Workstation in LAN entdecken
      ... XP, Windows Vista, Linux) in meinem LAN gerade laufen. ... Ich wuerde es mal mit einem geeignet modifizierten nmbd (NetBIOS ... Naming Daemon ) versuchen. ... Fuer Linux koennte man das via Samba auch machen. ...
      (de.comp.os.unix.programming)
    • Re: Unable to ping netbios names from linux
      ... >>I have set up samba on linux and I'am able to share ... >>linux directories with my windows xp. ... >>able to let linux ping netbios names. ... > DNS server to dynamically update the DNS server with NetBIOS names. ...
      (comp.os.linux.networking)