On Wed, 31 Jul 2019 14:52:41 +0200, Fokke Nauta
declaimed the following:
>
>[C:\Program Files\JPSoft\TCCLE14x64]net view \\192.168.1.2
>System error 53 has occurred.
>
>The network path was not found.
>
https://engineering.purdue.edu/ECN/Support/KB/Docs/WinMapNetDrive
{caveat: that seems to be based upon SysV Init, and R-Pi/Debian has been
converting to a different startup procedure -- so the /etc/init.d stuff may
not be up-to-date; also, all the crud about the WINS MMC feature requires
installing lots of Windows Server stuff:
https://engineering.purdue.edu/ECN/Support/KB/Docs/ConfigureMicrosoftWINSSnapin
}
{Though https://wiki.debian.org/SambaServerSimple seems to still reference
the init.d control along with systemd variant}
-=--=-
Microsoft Windows [Version 10.0.18362.239]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed>net view pi-star-3b
There are no entries in the list.
C:\Users\Wulfraed>net view microdiversity
System error 53 has occurred.
The network path was not found.
-=-=-
"pi-star-3b" is an R-Pi 3B running the Pi-Star (amateur radio hotspot)
based upon Jessie. "microdiversity" is an R-Pi 3B web-server running on
Stretch. It is firewalled to only allow local SSH and HTTP.
It appears the Pi-Star system registers or otherwise has Samba enabled
(but has no shares defined?). Microdiversity, OTOH, does not register
itself.
-=-=-
pi-star@pi-star-3b(rw):~$ ls /etc/init.d/s*
/etc/init.d/samba /etc/init.d/sendsigs /etc/init.d/skeleton
/etc/init.d/sudo
/etc/init.d/samba-ad-dc /etc/init.d/shellinabox /etc/init.d/smbd
/etc/init.d/sysstat
/etc/init.d/screen-cleanup /etc/init.d/single /etc/init.d/ssh
-=-=-
md_admin@microdiversity:~$ ls /etc/init.d/s*
/etc/init.d/ssh /etc/init.d/sudo
-=-=-
The Pi-Star systems has the samba stuff in /etc/init.d, whereas
microdiversity does not.
-=-=-
pi-star@pi-star-3b(rw):~$ sudo /usr/sbin/service smbd restart
pi-star@pi-star-3b(rw):~$ sudo /etc/init.d/samba restart
[ ok ] Restarting nmbd (via systemctl): nmbd.service.
[ ok ] Restarting smbd (via systemctl): smbd.service.
[ ok ] Restarting samba-ad-dc (via systemctl): samba-ad-dc.service.
pi-star@pi-star-3b(rw):~$
-=-=-
Looks like the init.d route forwards to systemd/systemctl and actually
restarted more than just the smbd service.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|