On 01/08/2019 13:41, Helmut Harnisch wrote:
> Am 01.08.2019 um 06:40 schrieb Fokke Nauta:
>> pi@raspberrypi:~ $ hostname -f
>> raspberrypi
> ok - next:
> make sure smbd and nmbd are running and listening to the right interface
>
>
> netstat -tapn | grep smbd
pi@raspberrypi:~ $ netstat -tapn | grep smbd
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
pi@raspberrypi:~ $ sudo netstat -tapn | grep smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:*
LISTEN 11978/smbd
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN 11978/smbd
tcp6 0 0 :::445 :::*
LISTEN 11978/smbd
tcp6 0 0 :::139 :::*
LISTEN 11978/smbd
Does this mean anything to you?
>
> netstat -apn | grep nmbd
pi@raspberrypi:~ $ sudo netstat -apn | grep nmbd
udp 0 0 192.168.1.255:137 0.0.0.0:*
11947/nmbd
udp 0 0 192.168.1.2:137 0.0.0.0:*
11947/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:*
11947/nmbd
udp 0 0 192.168.1.255:138 0.0.0.0:*
11947/nmbd
udp 0 0 192.168.1.2:138 0.0.0.0:*
11947/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:*
11947/nmbd
unix 2 [ ] DGRAM 534571 11947/nmbd
/var/lib/samba/private/msg.sock/11947
unix 2 [ ACC ] STREAM LISTENING 534589 11947/nmbd
/var/run/samba/nmbd/unexpected
> You should see the ip of the raspberry (192.168.1.2)
The IP address is visable.
> if not, your interface does not listen to smb
>
>
> Did you explain the content of your user mapping file?
> please cat /home/pi/samba/usermap.txt
pi@raspberrypi:~ $ cat /home/pi/samba/usermap.txt
pi = "Fokke Nauta"
>
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|