So what is happening is the pi see's those directories as real directories, because they are, but when you mount a USB on top of those directories they no longer exist since the USB is now actively showing its directories. So, we need to make sure the sub directories are being created while the USB is connected so we can setup proper permissions on the directories.
There are several ways to determine if your USB is connected and working. The first and easiest is using "lsusb":. You will see a different list than me, and VirtualBox wouldn't display my connected USB, but you should see a short description of your connected devices by USB including you drive with "lsusb" and you will hopefully see your connected drive with all its partitions when you run fdisk.
Fdisk is a partitioning tool, so proceed with caution. Now, this can go down several different roads because your external drive may need the partitions created and formatted. The unfortunate thing about the howtogeek article you used to setup deluge, made a lot of assumptions about previous articles that should've been read to make sense of the current article, which is never a good idea in writing.
The article was somewhat confusing, and very unorganized for the guys at howtogeek usually write. Deluge has a great support page for getting deluge up and running like it should be, which I'll link here.
This article will create a user and group named "deluge" that will run the deluge daemon and would need permissions for the deluge user on the USB folders. Be sure that your Operating System uses systemd before writing a systemd service file.
The howtogeek article uses init. The delgue article I linked shows how to convert init. In your case, these need to point to your External Drive once we are sure it's setup right:.
EDIT: I personally prefer to use ACLs for managing ownership and permissions, simply because it's dynamically applied to all the files and subfolders in a directory.
ACLs are a bit more advanced, but much better to use, because I can add cjohnson with permissions to a directory, and all the new files and folders that are added to that directory, will always be set with the user cjohnosn with rwx.
If the last works for you, probably add these automated scripts to your system. General Setup: deluge-daemon from here , to set up everything i primarly used this from howtogeek. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast what if you could invest in your favorite developer? Who owns this outage? Building intelligent escalation chains for modern SRE. Featured on Meta. Now live: A fully responsive profile.
Reducing the weight of our footer. Related 3. No need to reimage, just mount sd card partition on another computer and revert the line. Always on Emergency mode After a lot of head pains and wasted hours i realized the problem is on the drive and the corrupted fstab. The solution was very easy at the end and i leave my expericience for those gad the same problem or similars. The full linux system will be available and you are able to download the file from SD to computer, edit on any notepad software and put it back on the SD Card, using "DiskGenius".
You cannot edit it directly under the application, but is easy as well. Skip to content. Sign in Sign up. Instantly share code, notes, and snippets.
Last active Oct 15, Code Revisions 12 Stars 75 Forks Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP. Reply 6 years ago on Introduction. That kind of speed is unachievable with a raspberry Pi, including the very latest model. It makes for a pretty good server, media center and a number of other things, but if one wants high network speed a dedicated NAS or a router like the the Netgear r, which has usb3.
Reply 7 years ago on Introduction. I haven't got around to do a network speed test and I'm abroad right now, so can't do one. So i have to stop it and restart it My concern being; is it me, or is it my Pi? I have been trying to figure out a way to stream my media to friends and thus far I have been unsuccessful and thought the Pi was the way to go as well as learn a few things along the way.
There's a setting somewhere in the Pi that lets you increase the total current supplied to its USB ports. Check the Pi forum. I haven't got the newer model so I can't help you here. How fast do your torrents download? Thanks and cool Pi you got there :D. OK, I think I succeeded. Allow me to share my experience here as it might help others: Turns out it wasnt a 1TB hdd but a 2TB hdd, a seagate and a WD As previously the raspberry didnt even recognize the WD, I decided to try that one again: At first I did an upgrade with "sudo apt-get dist-upgrade" as you suggested.
My OS is a raspian distro from Ghoulman. I made sure that it was already powered up before I connected the USB. With webmin I could see that it was connected now and it was actually already mounted, but 'not in use' and it was labelled as an 'MSDOS' disk so I guessed it was vfat wrong. Now I only have to re-edit the fstab file to change "vfat" into "ntfs-3g" and I am sure that boot will be ok then. Make sure that it works by accessing the contents.
If you see a lightning bolt symbol on the top right corner of the screen, that means the pi is not getting enough power to work properly. Use the official PSU in this case. This will not be your case. Whatever it is take note of it. Navigate to the end of the line, and type the following.
Felxget will be the tool that we use to download torrent files based on our preferences. The following information is from their website. You can check your version with command.
This is the recommended way unless you want multiple accounts in the system to be able to use FlexGet without each having to install it themselves. Create Virtualenv: This creates isolated python environment. You can create as many of these as you like for each python application you use.
0コメント