This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:file_access [2021/10/08 16:13] vizycam |
wiki:file_access [2021/10/08 16:43] vizycam |
||
---|---|---|---|
Line 8: | Line 8: | ||
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. | And 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 20: | Line 20: | ||
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. | And 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. | 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. | ||
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 using the command line on your machine: |
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.) |
Line 49: | Line 49: | ||
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 Windows as 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. |