Now we’re going to create a dedicated shared directory in our home directory. Open a Terminal and type: sudo apt updateĪnswer Y when prompted. We’re going to update our repository index, make sure our operating system is fully updated, and install Samba using APT. Samba is available in Raspbian’s standard software repositories. Attach the power cable to boot up the Raspberry Pi. We suggest you connect an Ethernet cable between your Raspberry Pi and modem/router (otherwise use the wireless LAN icon to connect to a wireless network when booted up). Insert the microSD card into your Raspberry Pi and connect the keyboard, mouse, and HDMI cable. See our Quickstart Guide if you’re unsure on how to set up a Raspberry Pi for the first time. Install Raspbianĭownload the latest version of NOOBS (or the latest Raspbian Stretch with Desktop image file) and install it to a microSD card. The project will still work if you connect your Raspberry Pi via WiFi, although performance will be affected, particularly when it comes to copying over large files. We recommend using a wired Ethernet connection for stability and fast transfer speeds. Once set up, you can mount your home file server on all the other computers on your network, and use it as a convenient place to store everything from music files you want to share with your housemates, to backups of important documents and save-game files you’d like to share between computers. We suggest checking non-working SD cards online before you buy, to make sure you get one that’s fully compatible with the Raspberry Pi. However, if you need extra storage, it’s possible to mount a large external USB drive and create a Samba entry for it.Īlternatively, if you want to keep things compact, you can install Raspbian on microSD cards of up to 256GB, although we think it’s wiser to install Samba on an external drive and use a smaller microSD to boot Raspbian and connect to it. We also assume you’re using a 32GB (or smaller) microSD card, which provides a reasonable amount of storage space without requiring any extra steps to make it accessible. This tutorial assumes that you’ll use a keyboard, mouse, and monitor to set up your file server alternatively, you can enable SSH and connect to it remotely from another computer on your local network. With Samba activated, you can quickly copy files from a computer on your network to a Raspberry using wireless LAN (or a direct Ethernet connection). This article first appeared in The MagPi 80 and was written by Lucy Hattersley Samba is the Linux implementation of the SMB/CIFS file-sharing standard used by Windows PCs and Apple computers, and widely supported by media streamers, games consoles, and mobile apps. It’s easy to use a Raspberry Pi as a Samba file server where you can store backups and share files from all the other computers on your network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |