Advertisement
Guest User

Untitled

a guest
Jan 8th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. sudo apt-get install cifs-utils
  2.  
  3. mkdir ~/LANPC
  4. mkdir ~/LANPC/DEV
  5.  
  6. sudo mount //192.168.5.213/Myname /home/pi/LANPC/DEV -o username=Myname,password=Mypassword
  7. ls ~/LANPC/DEV
  8.  
  9. ls ~/LANPC/DEV/Documents/Arduino
  10.  
  11. mkdir ~/Arduino <----only needs to be done once
  12. cp -r ~/LANPC/DEV/Documents/Arduino ~/Arduino
  13.  
  14. sudo leafpad /etc/fstab
  15. --Add this line--
  16. //192.168.5.213/Myname /home/pi/LANPC/DEV cifs username=Myname,password=Mypassword,iocharset-utf8,sec=ntlm 0 0
  17.  
  18. such mount -a;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement