====== Accessing files on Vizy via local network ====== You can access Vizy's files from your desktop or laptop as long as Vizy is on the local network (WiFi or Ethernet). This uses the SMB/CIFS protocol, which is supported by Windows, MacOS, Linux, and Chrome OS, ===== 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 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%%'' {{wiki:image_459.jpg?400}} Type ''%%pi%%'' and ''%%raspberry%%'' for your name and password. {{wiki:image_452.jpg?400}} 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 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?400}} 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.) ===== 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%%''. ===== 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.) {{wiki:image_448.jpg?250}} From within the shell, type ''%%sudo smbpasswd pi%%'', which will change the password for the ''%%pi%%'' account. {{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.