Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install smbclient cifs-utils
- sudo mount -t cifs //192.168.0.2/Public /media/serveur_ua2 -o username=myname,uid=user_id # find the user_id using 'id -u'
- To have it mount at boot:
- In /etc/fstab:
- //192.168.0.2/Public /media/serveur_ua2 cifs credentials=/etc/cifsauth,uid=1000 0 0
- And in /etc/cifsauth:
- username=foo
- password=bar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement