Īria2share is the sharing file’s name that we can see on the computer To find out the security = user and delete the symbol # in front of the sentence, ctrl+w is the key of the search function in nano editor. (4) Edit the samba configuration file sudo nano /etc/samba/smb.conf Sudo chown –R maker /aria2download/download To set a password for the new user, this is set to 123 sudo passwd maker ![]() (3) Add user and create the download directory sudo useradd maker (2) Installation of samba services sudo apt-get update Restart the network or reboot the system to finish it. Please note that the IP 192.168.1.15 is my local IP,you should change it according to youself local IP and the gateway 192.168.1.1 is my local gateway,you should change it according to youself local gateway.Īnd then delete iface default inet dhcp Here the static IP is set to 192.168.1.15. (1) Set up static IPEdit /etc/network/interfaces sudo nano /etc/network/interfacesĬhange the iface eth0 inet dhcp as follow iface eth0 inet staticĪdd the content as follow address 192.168.1.15 Here we use the samba software to realize our LAN sharing. Through this function we can upload files to the shared directory or download files from the shared directory. Use the file server can achieve LAN file sharing. Implementation Step 1:Create a file server The graphical interface for the B-Pro was closed to save computational resources. The machine does not need to use the GUI. ![]() Automatically run in the GUI mode when the system reboot. Reboot the system then graphical interface is no longer present. (4)Close the GUI(Graphical User Interface) sudo nano /etc/X11/default-display-manager Mount the /dev/mmcblk0p2 to the temp directory sudo mount /dev/mmcblk0p2 /tempĬopy the file system to the hard drive partition sudo mount /dev/sda1 /mntĮdit the /boot/uEnv.txt sudo nano /boot/uEnv.txtĬhange the content root=/dev/mmcblk0p2 as follow root=/dev/sda1 Specific methods are as follows.Ĭreate a temporary directory in the root directory mkdir temp This setting is a good way to protect our MicroSD card, when we need a long time to use the system. When we mount the root directory to the hard drive, the file system will start in the hard drive. Run the sudo mkfs.ext4 /dev/sda1 command to format the new created partition of hard drive as ext4.Ģ)Mount the root directory to your hard drive Use the o command to delete all partition of hard drive and use the n command to add one new partition. (3)Format the hard drive to create a new partition and mount the root directory to the hard drive 1)Format the hard drive to create a new partition (2)The preparation of hardware1) Use the power supply to supply power for the hard drive.Ģ) Connect the hard drive to the SATA port on the B-Pro.Ĥ) Plugging in the mains adapter power on the Banana Pro. (1)Write the OS image file Raspbian for BananaPro to MicroSD card When you are at home have a disused computer (only computer accessories, hardware drive and power adapter), if you don't try to modified it, ita is discarded waste.Use the rest of the equipment and your bananaPi/Pro can build a NAS server. (3) Streaming media server: DLNA realize the use of computer or mobile phone playing the media files that were placed in the sharing directory. ![]() (2) Download machine: Use aria2c to realize the automatic download. (1) File server: Use samba to realize the file sharing. BanaNAS-Build your own NAS server through which network you share local resources on the network.NAS is defined as a special kind of private data storage server, including storage device (such as disk arrays, CD/DVD drives, tape drives, or removable storage medium) and embedded system software, can provide a cross-platform file sharing function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |