On the Pi Zero W, you’ll see two micro USB ports. ![]() Now shut down the Pi Zero W with the command: Press CTRL+O followed by Enter to save, and then CTRL+X to quit.Īppend the line below, just after the i2c-dev line: Scroll to the bottom and append the line below: Next, we need to enable the USB driver which provides the gadget modes, by editing two configuration files. Now run df -h again and check the Avail column. They happen because the command will try to remove some parts of LibreOffice that aren’t actually installed. You can safely ignore any errors you see here. ![]() Sudo apt-get remove -purge libreoffice* -y We can claw back about 1GB if we remove LibreOffice and Wolfram.Įnter the commands below into your SSH client: Look at the Avail column for /dev/root to see how much free space you have. The command df -h shows your disk space usage. When you’ve logged in over SSH, you can free up disk space by removing some programs that we’re not going to need for this project. When the SSH link is working, you can disconnect any keyboard and screen. The default login for Raspbian is pi, with the password raspberry. You’ll need the IP address you wrote down earlier, and the login. Go to /2sLqBmM and follow the instructions for the platform you’re using. SSH allows us to see the Raspberry Pi command prompt in a window on another PC, Mac, smartphone, or tablet. We recommend using SSH (Secure Shell), because we’ll be doing everything using the command line. After the reboot, you should see a text login prompt with a flashing cursor. On the Interfaces tab, make sure that SSH is enabled. Select ‘To CLI’ (command line interface), and disable the ‘Login as user pi’ checkbox. Go to Menu (Raspberry icon at the top-left corner of the screen) Preferences Raspberry Pi Configuration. To save CPU cycles, we should disable the automatic boot to desktop. STEP-02: Disable desktop and enable SSHįrom this point we don’t need the desktop, because the Pi Zero is going to have one job: to be a file server for the TV. If you prefer, you can complete this process on another Pi, and move the SD card over to the Pi Zero W when you reach Step 03. Hover the mouse over the signal strength icon and the IP address will appear in a tooltip. Finally, write down the IP address the Pi has acquired. ![]() Enter the password, click OK, and wait for a few seconds. If the network is secured, you will see a dialogue box. If you see the scanning message, wait for a moment and it should find your network.Ĭlick the network that you want to join. Left-clicking the icon will bring up a list of available networks. On Raspbian Jessie, wireless connections can be made via the networking icon on the right-hand end of the desktop menu bar. How about a remotely accessible USB flash drive, permanently located in the TV, where you could transfer files using the wireless connection? Drag and drop, job done! STEP-01: The Pi Zero W USB flash drive The Pi Zero W can be configured to spoof different USB device types, such as a keyboard, a webcam, or a smart USB flash drive.Īt home, many people use a USB flash drive to transfer files to a TV, but it takes time to move the drive to and from the source computer. Built-in wireless on the Pi Zero W opens up a huge number of possibilities for the various USB gadget modes.
0 Comments
Leave a Reply. |