If you are using Debian OS running in Terminal, console or SSH and you would like to access shares available in that machine's Local Network Area connection capability, you may want to try these easy steps. To me it worked just perfect! Do not forget to run commands as root, involving it by writing su. Also an apt-get update && apt-get upgrade is always recommended. Then after:
1.- Install needed stuff:
apt-get install samba
apt-get install cifs-utils
2.-Edit fstab file
nano /etc/fstab
Nano is a small editor. Use the one you prefer the most, and add the line:
//192.168.x.x/nameOfShare /mnt/smb cifs guest,uid=1000,iocharset=utf8 0 0
Check you local server IP to be right, and also check that your local smb folder path is real. You could also set user and password, but this is not explained hereby.
4.- Run the command:
mount -a
If it all worked all right you should be able to list (ls) and copy (cp) files, in the event of a guest user account available to connect.
I do not remember where I got this info, surely available in the world wide web. This I write to myself as a reminder, in the event I find myself in the need of having to repeat this easy steps, and not remembering where did I find the instructions. Sorry for not crediting properly the source of the information.
1.- Install needed stuff:
apt-get install samba
apt-get install cifs-utils
2.-Edit fstab file
nano /etc/fstab
Nano is a small editor. Use the one you prefer the most, and add the line:
//192.168.x.x/nameOfShare /mnt/smb cifs guest,uid=1000,iocharset=utf8 0 0
Check you local server IP to be right, and also check that your local smb folder path is real. You could also set user and password, but this is not explained hereby.
4.- Run the command:
mount -a
If it all worked all right you should be able to list (ls) and copy (cp) files, in the event of a guest user account available to connect.
I do not remember where I got this info, surely available in the world wide web. This I write to myself as a reminder, in the event I find myself in the need of having to repeat this easy steps, and not remembering where did I find the instructions. Sorry for not crediting properly the source of the information.
No hay comentarios:
Publicar un comentario