<< return to Vizycam.com

User Tools

Site Tools


wiki:file_access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:file_access [2021/10/08 16:13]
vizycam
wiki:file_access [2022/05/13 08:16]
vizycam [Accessing from Linux]
Line 6: Line 6:
 ===== Accessing from Windows ===== ===== Accessing from Windows =====
  
-Accessing Vizy's view directory from a Windows computer is simple -- just bring up a File Explorer window and type in "\\vizy.local"​. ​ +Accessing Vizy's view directory from a Windows computer is simple -- just bring up a File Explorer window and type in ''​%%\\vizy.local%%'' ​ 
  
-{{wiki:​image_454.jpg}}+{{wiki:​image_454.jpg?400}}
  
-And type ''​%%pi%%''​ and ''​%%raspberry%%''​ for your name and password.+Type ''​%%pi%%''​ and ''​%%raspberry%%''​ for your name and password.
  
-{{wiki:​image_453.jpg}}+{{wiki:​image_453.jpg?400}}
  
 You'll then have access to the ''​%%pi%%''​ home directory. You'll then have access to the ''​%%pi%%''​ home directory.
Line 18: Line 18:
 ===== Accessing from MacOS ===== ===== Accessing from MacOS =====
  
-Access Vizy's view directory from the Finder. ​ Click on ''​Go'' ​in the menu bar at the top of the screen, then select ​''​Connect to Server''​.  Enter ''​%%smb://​vizy.local%%''​+Access Vizy's view directory from the Finder. ​ Click on **Go** in the menu bar at the top of the screen, then select ​**Connect to Server**.  Enter ''​%%smb://​vizy.local%%''​
  
-{{wiki:image_450.jpg}}+{{wiki:image_459.jpg?400}}
  
-And type ''​%%pi%%''​ and ''​%%raspberry%%''​ for your name and password.+Type ''​%%pi%%''​ and ''​%%raspberry%%''​ for your name and password.
  
-{{wiki:​image_452.jpg}}+{{wiki:​image_452.jpg?400}}
  
-Then select ​the ''​pi''​ directory to access its contents. ​ If you have trouble connecting, [[https://​www.howtogeek.com/​191116/​how-to-share-files-between-windows-mac-and-linux-pcs-on-a-network/​|this page]] describes some configuration steps, such as enabling file sharing on your Mac.   +Select ​the ''​pi''​ directory to access its contents. ​ If you have trouble connecting, [[https://​www.howtogeek.com/​191116/​how-to-share-files-between-windows-mac-and-linux-pcs-on-a-network/​|this page]] describes some configuration steps, such as enabling file sharing on your Mac.   
  
 ===== Accessing from Linux ===== ===== Accessing from Linux =====
Line 32: Line 32:
 Accessing a SMB share from Linux varies depending upon the distribution. ​ Ubuntu machines have a File Manager that allows you to easily set up access to SMB shares.  ​ Accessing a SMB share from Linux varies depending upon the distribution. ​ Ubuntu machines have a File Manager that allows you to easily set up access to SMB shares.  ​
  
-{{wiki:​image_458.jpg?​600}} +{{wiki:​image_458.jpg?​400}} 
  
-Consult the documentation for your Linux distribution for how to access SMB shares. ​ Or you can typically mount an SMB share from the command ​line on your machine:+Consult the documentation for your Linux distribution for how to access SMB shares. ​ Or you can typically mount an SMB share by typing to following ​command ​into a [[wiki:​ssh|shell]]:
  
   sudo mount -t cifs //​vizy.local/​pi /mnt -o username=pi,​password=raspberry   sudo mount -t cifs //​vizy.local/​pi /mnt -o username=pi,​password=raspberry
   ​   ​
-Where ''​%%/​mnt%%''​ is the directory on your local machine where you'd like to access Vizy's files.  ​+Where ''​%%/​mnt%%''​ is the mount directory (the directory on your local machine where you'd like to access Vizy's files. 
    
  
 ===== Accessing from Chrome OS ===== ===== Accessing from Chrome OS =====
  
-Most Chromebooks support network file sharing through the Files app.  Others require the [[https://​chrome.google.com/​webstore/​detail/​network-file-share-for-ch/​ndjpildffkeodjdaeebdhnncfhopkajk|Network Files Share Application]]. You want to add an SMB file share with hostname ''​vizy.local''​ and share name ''​pi''​. ​ The name and password are ''​%%pi%%''​ and ''​%%raspberry%%''​.  ​+Most Chromebooks support network file sharing through the Files app.  Others require the [[https://​chrome.google.com/​webstore/​detail/​network-file-share-for-ch/​ndjpildffkeodjdaeebdhnncfhopkajk|Network Files Share Application]]. You want to add an SMB file share with hostname ''​%%vizy.local%%''​ and share name ''​%%pi%%''​. ​ The name and password are ''​%%pi%%''​ and ''​%%raspberry%%''​.  ​
  
 ===== Changing the password ===== ===== Changing the password =====
  
-The SMB server is configured to use the ''​%%pi%%''​ username only.  Changing the password can be done from a shell. ​ Bring up a shell by clicking on the ☰ icon in the upper right corner and selecting ​''​%%Shell%%''​. (Please refer to the [[wiki:​vizy_getting_started|getting started guide]] if you need help with connecting to your Vizy, etc.)  ​+The SMB server is configured to use the ''​%%pi%%''​ username only.  Changing the password can be done from a shell. ​ Bring up a shell by clicking on the ☰ icon in the upper right corner and selecting ​**Shell**. (Please refer to the [[wiki:​vizy_getting_started|getting started guide]] if you need help with connecting to your Vizy, etc.)  ​
  
-{{wiki:​image_448.jpg}}+{{wiki:​image_448.jpg?250}}
  
 From within the shell, type ''​%%sudo smbpasswd pi%%'',​ which will change the password for the ''​%%pi%%''​ account.  ​ From within the shell, type ''​%%sudo smbpasswd pi%%'',​ which will change the password for the ''​%%pi%%''​ account.  ​
Line 55: Line 55:
 {{wiki:​image_456.jpg}} {{wiki:​image_456.jpg}}
  
-If you're using Windows, you'll need to reboot Windows as it will maintain a connection context if you've connected with the old password. ​ You will also need to reboot Vizy to restart the smb server, or alternatively type ''​%%sudo systemctl restart smbd%%''​ into the shell to restart the smb server.+If you're using Windows, you'll need to reboot Windowsas it will maintain a connection context if you've connected with the old password ​during the current boot cycle.  You will also need to reboot Vizy to restart the SMB server, or alternatively type ''​%%sudo systemctl restart smbd%%''​ into the shell.
  
    
wiki/file_access.txt · Last modified: 2022/05/13 08:16 by vizycam