On 31/07/2019 17:15, Dennis Lee Bieber wrote:
> 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
Here it says:
Samba servers:
Login to the machine and use the su command to become root. Run the
command /etc/init.d/samba stop, wait a second or two, and then run
/etc/init.d/samba start. This will cause samba to restart and
re-register itself with the WINS servers.
I've already done sudo /etc/init.d/samba restart, many times.
> {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.
>
>
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|