Install smbclient :
sudo apt update
sudo apt install smbclient
List the share items in the server:
smbclient -L host
for example: smbclient -L 192.168.0.30
you need to enter password.then you'll see the result like this:
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.9.5-Debian]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
RaspberrypiShare Disk
IPC$ IPC IPC Service (Samba 4.9.5-Debian)
pi Disk Home Directories
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.9.5-Debian]
Server Comment
--------- -------
RASPBERRYPI Samba 4.9.5-Debian
Workgroup Master
--------- -------
To browse Shared folder :
smbclient \\\\192.168.0.30\\RaspberrypiShare pa$$w0rd
No comments:
Post a Comment