Gert wrote: ↑
Tue Jun 29, 2021 10:24 pm
Thanks for pointing to the checklist.
Same entry for 'hosts' : files mdns4_minimal [NOTFOUND=return] wins dns (different in passwd, group,shadow. But I don't think these are relevant)
Both same for localhost : 127.0.0.1 localhost (any of the ipv6 relevant?)
Both same : nameserver 127.0.0.1
Not available in ubuntu. In RPI:
I did some grep | sort etc to try bruinging both files into a format for tkdiff. Not really successful. Screencopy of what I got.
http://skywatcher.space/download/smbcon ... vs_rpi.jpg
As the only real observed gaps seem to be in smb.conf I might try to make some changes here. Just poking around.
I understand you pointing to DNS. Now for the small home hobbyist network (win7 / win10 / div RPI / linux) what is a good way to go? I am not much knowledgeable on setting up a DNS server. (Other than using PI-hole for add blocking)
Netbios seems to be old and deprecated but it comes close to my idea of a hands-off solution where the computers among themselves figure out what their names/IP addresses are so I (as user/hobby admin) don't have to manage lists of IP address numbers. What's wrong with that expectation?
In my currwent setup I tell the win7 machine it's name is 'shiva' and it belongs to workgroup (Alas another deprecated concept) 'gghome'. In the ubuntu machine fstab I can type //shiva/ and it's happy. I like that.
I see posts pointing to '.local' domain naming. Is that a way out? Is there some easy-enough-for-me tutorial ?
I generally don't click on links to unknown sites, so not looking at your jpg, so no comments on that.
The .local "domain" is what is set up by mdns. You can use it on small LANs for name resolution if all the systems on your LAN that you care about use mdns. You'll have to websearch your way to an answer on whether Win7 supports mdns well enough to be used. On RasPiOS the avahi service is used (and you found it in nsswitch (mdns4_minimal)
When I started using Linux for my home network there was no mdns, so I set up Bind and isc-dhcp-server on (I think) RH9. Edited those freaking files for many years.
I eventually got really tired of that so built a tool to generate all the files for bind (DNS) and isc-dhcp-server (DHCP) from a small json-formatted database that it manages. I recently added the ability to use dnsmasq instead of bind/isc-dhcp-server, operating from the same database.
It's quite easy to use if you're comfortable with the Linux command line. Define all the hosts, use the build command to build all the config files for the selected dns/dhcp servers into /tmp, and then use the install command to install them into the running system. https://github.com/gitbls/ndm
Assuming win7 supports mdns that would probably be the easiest way for you to go, but if it doesn't or if you'd prefer to stop using your router for your DHCP server and run a "production" Pi instead, you can have a look at ndm. If you read the issues there, you'll see that I'm quite responsive to problem reports and feature requests.
You didn't say whether you are actually using pihole today for ad blocking, but if so you can probaby use it for dns and dhcp as well. Pihole seems fine, but a bit complex for my tastes, and too many people seem to have issues with it, perhaps related to the complexity of the install. Don't know, but if you have it working, you may be most of the way to solving your issue.