[Samba] Please review my smb.conf
dandbnews2 at talktalk.net
Sun Jan 3 09:05:55 UTC 2016
Thanks for your reply. I see:
$ cat /etc/hosts
::1 localhost ip6-localhost ip6-loopback
So I guess I should edit the hosts file and specify RPHS's fixed IP address.
I don't think domain name is relevant for a home network so I won't specify
one. Will let you know how it goes.
From: Rowland penny
Sent: Saturday, January 02, 2016 9:25 PM
To: samba at lists.samba.org
Subject: Re: [Samba] Please review my smb.conf
On 02/01/16 20:59, DavidA wrote:
> Hi Rowland
>> (just a thought, you have given the Samba server a fixed ipaddress,
>> hostname and domain name, haven't you ?).
> The Pi has a fixed IP address and hostname. I see:
> $ cat /etc/hostname
OK, try running these commands:
If your rpi has the fully quallified domain name of 'rphs.example.com'
and the ipaddress 192.168.0.2, you should get:
If you do not get a domain name, check /etc/hosts, it should contain a
line similar to this:
192.168.0.2 rphs.example.com rphs
> $ cat /etc/resolv.conf
> # Generated by resolvconf
> nameserver 22.214.171.124
> nameserver 126.96.36.199
> So the DNS seems arbitrary. I don't understand what the DNS should be for
> a home network. Sorry for my ignorance.
The dns for a home network is usually set by your router, you need to
check what ip range it uses and if it is also your dhcp server, you need
to ensure that it supplies a domain name as well as the ipaddress. You
also need to check that all the windows machines use the same workgroup
name, from your smb.conf 'WORKGROUP' .
The dns nameservers '208.67.22x.123' are the openDNS ones, I would
suggest you change these to the google ones '188.8.131.52' & '184.108.40.206'. For
how to do this and to possibly set a domain name, see your routers
To unsubscribe from this list go to the following URL and read the
More information about the samba