This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:file_access [2021/10/08 15:06] vizycam [Changing the password] |
wiki:file_access [2022/05/13 08:16] vizycam [Accessing from Linux] |
||
---|---|---|---|
Line 4: | Line 4: | ||
+ | ===== 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%%'' | ||
+ | {{wiki:image_454.jpg?400}} | ||
+ | Type ''%%pi%%'' and ''%%raspberry%%'' for your name and password. | ||
+ | {{wiki:image_453.jpg?400}} | ||
+ | You'll then have access to the ''%%pi%%'' home directory. | ||
- | ===== Accessing from Windows ===== | + | ===== Accessing from MacOS ===== |
- | Accessing Vizy's view directory from a Windows computer is simple -- just bring up a File Explorer window and type in "\\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_454.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_453.jpg}} | + | {{wiki:image_452.jpg?400}} |
- | + | ||
- | You'll then have access to the ''%%pi%%'' home directory. | + | |
- | + | ||
- | ===== 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%%'' | + | 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. |
- | {{wiki:image_450.jpg}} | + | ===== Accessing from Linux ===== |
- | And type ''%%pi%%'' and ''%%raspberry%%'' for your name and password. | + | 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_452.jpg}} | + | {{wiki:image_458.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. | + | Consult the documentation for your Linux distribution for how to access SMB shares. Or you can typically mount an SMB share by typing the following command into a [[wiki:ssh|shell]]: |
+ | sudo mount -t cifs //vizy.local/pi /mnt -o username=pi,password=raspberry | ||
+ | | ||
+ | Where ''%%/mnt%%'' is the mount directory (the directory on your local machine where you'd like to access Vizy's files.) | ||
+ | |||
- | ===== Acessing 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 49: | 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 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. | ||
+ |