The Samba package allows Linux PCs to access the file system of Windows PCs over a LAN. See https://www.samba.org/ for many more details. Please note that due to limitations in the Windows OS, it is not possible to use remote.it for Samba file sharing if the client is a Windows PC. See: remote.it connections to Samba services will not work with a Windows client
Adding a remote.it Service for Samba
Follow this link to configure a new SMB/CIFS Service on port 445.
When you are done, you will see your SMB/CIFS Service.
Connect to the Service, then use the remote.it address with smbclient
We will demonstrate the Samba smbclient command using a proxy address and port from the remote.it Desktop or CLI.
-
<port> - port value from the connection dialog
-
<hostname> - hostname from the connection dialog
-
<folder> - the NAS folder we are accessing
-
<password> - password on the Pi running the smbclient command
smbclient -p <port> \\\\<hostname>\\<folder> <password>
pi@raspberrypi-90:~ $ smbclient -p 32642 \\\\proxy13.remot3.it\\share raspberry
WARNING: The "syslog" option is deprecated
Domain=[HOME-NET] OS=[Unix] Server=[Samba 3.0.21c]
smb: \> ls
. D 0 Tue Jul 11 14:30:22 2017
.. D 0 Sun Apr 22 19:24:52 2007
pictures D 0 Sat Aug 17 13:03:48 2019
Office Backups D 0 Sat Aug 22 19:20:50 2015
trashbox D 0 Mon Jul 8 07:31:54 2019
Music D 0 Tue Jan 1 20:50:38 2019
.DS_Store AH 8196 Sat Jul 13 11:07:32 2019
Scans D 0 Thu Nov 24 07:43:00 2016
Documents D 0 Sat Aug 22 18:40:22 2015
Squid D 0 Sat Aug 22 18:40:36 2015
Web Pages D 0 Sat Aug 22 18:36:56 2015
_Audio D 0 Sat Mar 25 16:12:34 2017
.Trash-1000 DH 0 Fri Jan 15 14:51:08 2016
Software D 0 Wed Mar 29 07:28:34 2017
shared laptop drive D 0 Tue May 16 18:25:52 2017
487417548 blocks of size 1024. 53455724 blocks available
smb: \>