Hello All.
My XBMC system (based on Asus AT5IONT-I) was recently moved from a standalone configuration on an SSD drive in a Frontier Elf to a 2x2TB system in a Gigabyte T5140.
The reason for this - no more room for my file server (damn kids, taking every available space of the house ;-) )
So I've decided to install XBMCBuntu on one of the drives and share my media from it to the rest of my network, which includes a Win7 desktop & laptop, an Xtreamer, some android phones & tablets and a PS3.
So I've managed to cramp all my movies to one of the 2TB drives on an NTFS filesystem, installed XBMCBuntu on the empty 2TB drive with the following partitions:
10GB as /
4GB as SWAP (my system has 4GB ram, and for my understanding - linux likes the swap partition the same size)
all the rest of the 2TB as /home.
I then used XBMCBuntu's file manager to move the files from the NTFS drive to the /home/user/Movies folder, then reinstalled XBMCBuntu with the same partition configuration but this time formatted my other 2TB to EXT4 and mount it as /storage.
Now I've noticed that using XBMCBuntu's file manager, I can't create folders on /storage due to insufficient permissions.
Going to terminal and using "sudo mkdir" works, but then I had to use "sudo chmod a+rwx" on the folder I've created so I can write files to it.
So here comes my questions (as I'm a linux noob) :
1. How can I mount /storage without security restrictions?
I want full read/write permissions to everyone, locally or remotely (which connects to my next 2 questions).
2. How can I share /storage with full rw anonymous permissions over SMB ?
3. How can I share /storage with full rw anonymous permissions over NFS ?
That's for now.
My future plans include finding a way to install JDownloader (or a different download manager) using a web interface to manage my downloads, running Skype on my TV through XBMCBuntu and learning how to remotely control the active session and opening a "background" session.
But that's just for the weekend :-)
Any help would be appreciated.
Shlomi
My XBMC/NAS & some questions
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-07 10:03
Post: #1
|
| find quote |
prae5
Team-XBMC Forum Moderator Posts: 1,684 Joined: Jan 2009 Reputation: 28 Location: Cambridge, UK |
2012-04-07 10:08
Post: #2
sudo chmod 777 /storage
Will give everyone +rwx permissions to /storage xbmcBoxes.com - The definitive source for xbmc hardware configuration and setup info Shuttle XS35GT Build and Review www.paulrae.com - my blog with lots of useful xbmc and htpc related articles How to enable debug logging and post a debug log How to post about a problem in a useful manner to get better help Debug file location I run XBMC on a selection of ION based xbmc appliances and a atv, all being feed by a opensolaris based NAS using zfs (8*1.5tb, 8 *1tb, 4*400gb). |
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-07 10:59
Post: #3
I was sure I've already tried that, but now it worked :-)
So that solves the first question. How about sharing ? Thanks |
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-07 11:45
Post: #4
OK, used https://help.ubuntu.com/11.04/serverguid...erver.html to define SMB shares.
So far, done everything right before coming here except for "sudo chown nobody.nogroup /srv/samba/share/", which solved my permissions problem for the SMB shares. Now going for NFS shares :-) Edit: No need for NFS shares, cifs (samba) gives me full speed over 1GB network. Found that the sharing was successful, but working localy over the XBMC (using ssh) created the files with user/user ownership, instead of nobody/nogroup (preventing managing the files over the network due to permission problems). a simple "chmod 6777" to the storage folder solved that problem... Update: The fix above doesn't work... Instead - at this stage I've followed this guide directing all the shared resources to a specific samba-shared folder i've created for this step.
(This post was last modified: 2012-04-28 19:15 by GShlomi.)
|
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-14 09:23
Post: #5
Update:
Installed my HP DeskJet F4283 on my XBMC/NAS as a networked printer/scanner. Code: sudo apt-get install hplip![]() Then a simple Code: sudo restart smbdThat took care of the printing part. Now for the scanning: Code: sudo nano /etc/default/sanedCode: sudo nano /etc/sane.d/saned.conffix permissions & test: Code: sudo adduser saned lp"device `hpaio:/usb/Deskjet_F4200_series?serial=CN87J2W28H05BR' is a Hewlett-Packard Deskjet_F4200_series all-in-one" Now restarting the service & adding it to the startup: Code: sudo service saned restartUsed https://help.ubuntu.com/community/HpAllInOne & https://help.ubuntu.com/community/ScanningHowTo, with http://sanetwain.ozuzo.net/ for setting up scanning on my Windows machine.
(This post was last modified: 2012-04-28 19:40 by GShlomi.)
|
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-21 09:00
Post: #6
Update #1:
Installed Webmin for remote administration. Update #2: Installed pyload as a download manager instead of trying to make JDownloader work headless. Here's a step-by-step installation guide: 1. install & setup (command line) Code: sudo apt-get install python python-crypto python-pycurl python-openssl tesseract-ocr unrarCode: sudo openssl genrsa -out ssl.key 1024Code: sudo python /usr/share/pyload/pyLoadCore.py -sCode: /etc/init.d/pyload startI've configured mine to use web-interface only on a non standard port, so the next step is checking that everything works :-) Edit: Apparently the process doesn't auto-start after a reboot. A fix is mentioned here but doesn't work for me. any help would be appreciated... Update #3: The autostart doesn't work because of permissions (used my user to install & configure, but apperently xbmc is loading with a different user, that doesn't have RW permissions to my home folder). The fix - at the setup, point pyload's configuration dir to a shared open directory.
(This post was last modified: 2012-04-29 10:05 by GShlomi.)
|
| find quote |
.:B:.
Fan Posts: 329 Joined: Mar 2010 Reputation: 0 |
2012-04-21 09:25
Post: #7
You don't really need 4 GB of swap btw. You only do if you will be hibernating; in that case your swap file/partition should be the same size as your RAM.
* Netgear WNDR3700, OpenWrt Attitude Adjustment 12.09 :: HP Procurve V1410-8G switch * OpenELEC 3.0.1: Zotac Nano AD10, Sony KDL52-NX800 * Debian Wheezy x86_64: Phenom II X4 980 BE, HD6950, Dell U2312HM * Debian Wheezy x86_64: Celeron G530, NFS/MySQL/DLNA/ZFS server |
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-04-29 17:48
Post: #8
Installed Transmission for torrent downloads.
used this guide: Code: sudo apt-get install transmission-daemon"rpc-whitelist": "127.0.0.1", to "rpc-whitelist": "*.*.*.*", "rpc-password": "password", "rpc-username": "username", save & exit. Code: sudo /etc/init.d/transmission-daemon start |
| find quote |
BLKMGK
Member+ Joined: Jul 2006 Reputation: 3 Location: USA Virginia |
2012-04-29 18:46
Post: #9
You might want to look into SABnzb and Sickbeard :-)
Ubuntu 10.10, MCE USB receiver, ASROCK 330 (ION), DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoding Added DiNovo Mini KBRD w/track |
| find quote |
GShlomi
Junior Member Posts: 22 Joined: Feb 2011 Reputation: 0 |
2012-05-07 18:00
Post: #10
:-) Installed CouchPotato following this & this:
Code: sudo apt-get install git-coreAPP_PATH=/usr/local/sbin/couchpotato ENABLE_DAEMON=1 RUN_AS=user WEB_UPDATE=1 then: Code: sudo chmod a+x /etc/init.d/couchpotato |
| find quote |


Search
Help