3/8/2023 0 Comments Raspberry pi usb network gateThe second disk, /dev/sda is our first 1TB external hard drive. Once you have gathered up the hardware, followed along with the Getting Started with Raspberry Pi tutorial to get up to speed (and are running Raspian) it’s time to start setting up your Pi as a NAS. Preparing for and Mounting the External Hard Drives Second, we’re using Samba for our network shares, again because of the convenience of meshing the Raspberry Pi NAS with our predominantly Windows network. Should the Raspberry Pi NAS fail for some reason or we want to quickly copy information over a USB 3.0 connection instead of via the network, having NTFS-formatted disks makes it dead simple to take the portable USB drives we’re using on the NAS build and plug them right into one of the many Windows machines we use every day. While most users will want to follow along exactly as we’ve done it, you may wish to tweak specific steps to better fit your needs and how you use the computers on your network.įirst, we’re using NTFS-formatted hard disks. You can use any external hard drives you have on hand but it’s ideal to use small low-power drives if possible since the whole theme of the project is to set up a tiny and low-power NAS you can just tuck out of the way and forget about.īefore we continue, there are a couple design choices we made in terms of how we’re configuring our Raspberry Pi NAS that you should be aware of. They’re super small, don’t require an external power source, and were on sale when we were shopping for parts. For the purposes of this tutorial we’re using a matching pair of Seagate Backup Plus 1TB Portable External Hard Drives. We highly recommend using at least two hard drives in order to allow for local (at the Raspberry Pi) data redundancy. That’s it! If you just want a simple network attached drive, you’ll only need one hard drive. Two (at minimum) USB external hard drives for local data redundancy.One (at minimum) USB external hard drive for simple network backups and file serving.In addition to the gear you’ll need from the Getting Started with Raspberry Pi tutorial, you’ll only the following hardware: This tutorial builds on our previous tutorial: The HTG Guide to Getting Started with Raspberry Pi and we’ll assume you’ve already completed that-in other words you already have your Raspberry Pi, got it powered up, hooked to a mouse and keyboard, and you’ve installed Raspbian on it. ![]() For such tasks the Raspberry Pi is more than powerful enough and will save you a chunk of change in power use. For most people, however, the principle purpose of having an always-on computer somewhere in the house is to serve as a file server and file backup repository. You’ll be able to control everything from there.We’ll be the first to grant you that a full fledged server is going to have more storage space and the capability to do more work (such as transcoding a multi-terabyte video collection in a reasonable span of time). Your Raspberry Pi desktop will then appear in a window on your main computer’s desktop. The defaults are username: pi and password: raspberry. Enter the Pi’s username and password when prompted. Click Ok if you are shown a security warning.ħ. Double-click on the connection icon to connect.Ħ. If this does not work, try again with the name “raspberrypi” without. Enter raspberry.local in the “VNC Server” field. Download, install and launch VNC Viewer.Ģ. Select New connection from the File menu.ģ. Hit Enter to acknowledge the VNC server is enabled.ġ. Select Interfacing Options (number 5 on the list)ĥ. Enter sudo raspi-config at the command prompt.Ģ. Enter pi as your username and raspberry as your password. Click Ok if you get a security warning alert. local if the Pi is directly connected to your PC via USB or Ethernet cable.ģ. Enter raspberrypi or raspberrypi.local as the address you wish to connect to in Putty, and click Open. Putty is the leading SSH client for Windows.Ģ. Download and install Puttyif you don’t already have it. After you have the Pi connected to your network or directly to your PC, you’ll need to establish an SSH connection.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |