I've got two laptops each with the same version of Kubuntu (19.10), both installed less than a month from each other.
By following advice elsewhere on this site, I managed to set them up to see a third machine with Windows on it. I did this by installing winbind
and libnss-winbind
, and setting the following line in /etc/nsswitch.conf
:
hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4
The first laptop worked great and I was always able to ping
the Windows machine thereafter. The second laptop also worked, and I was able to ping
the Windows machine, but this was no longer the case after a restart. It starts working if I do a sudo systemctl restart winbind
, but I'd like to avoid having to do this every time I boot up the machine.
The error I get is the typical:
ping: windowspc: Name or service not known
I also found some advice elsewhere on this site suggesting to put the wins
entry immediately after files
, but (a) that did not solve the problem, and (b) the first laptop can see the Windows machine just fine with the old configuration.
Having done the exact same procedure on both laptops with the same OS, I'm really not sure what's the problem here. I'm not sure where to look, so can anyone point me in the right direction please?