gregphil
September 1st, 2008, 10:58 PM
With Samba configured and working on a private sub-net of 8 machines 1/2 windows boxes and 1/2 linux distributions, I find it is necessary to set my network "domain" to the peer-to-peer workgroup (= MYGROUP) AND to set smb.conf workgroup = MYGROUP correctly. It also appears to be necessary to edit the /etc/hosts file. (???) But what should the /etc/hosts file look like? My hosts file will only allow browsing when it is set as below (the machine name is 'LIVING-ROOM' and the workgroup is MYGROUP)
127.0.0.1 localhost
127.0.1.1 LIVING-ROOM.MYGROUP
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
This means there are at least three separate places where I need to set the "workgroup". Further the network 'domain' setting is getting reset to blank every time I reboot. Why? Other Linux distributions (like CentOS 5.2) do not have this problem.
If we hope to be able to compete with Windows someday, the basic stuff like peer-to-peer browsing needs to work AND be simple to setup. :confused:
Thank You.
127.0.0.1 localhost
127.0.1.1 LIVING-ROOM.MYGROUP
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
This means there are at least three separate places where I need to set the "workgroup". Further the network 'domain' setting is getting reset to blank every time I reboot. Why? Other Linux distributions (like CentOS 5.2) do not have this problem.
If we hope to be able to compete with Windows someday, the basic stuff like peer-to-peer browsing needs to work AND be simple to setup. :confused:
Thank You.