View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Jul 30, 2005 10:00 pm 
Offline
Joined: Mon Dec 06, 2004 1:34 pm
Posts: 2
Location: Tampa, FL
After going through every site I can find and every thread I can find I'm ready to just post here and see if anyone can point out whatever it is that I am not doing properly.

I started with the info from the wiki http://www.knoppmythwiki.org/index.php?page=NFSHowTo and got nowhere. I've added the command to several boot scripts and created a script to try to run it. The funny part, if I manually run any of the modified scripts after boot- it mounts. If I manually type in the command, it mounts. It simply will not mount at boot, not with fstab, not with a script... I've tried a smbfs commands as well, again it will mount manually like a champ but will not load at boot.

At this point I'd be content with adding a menu option that runs the script. See I'm building a file server and as of right now none of the front ends will mount it unless I go out of the myth gui and go to a term window and run it- which is not an option with the amount of people who use the system. I really just want it mount at boot, like everyone else has working apparently. What did you guys do?


Top
 Profile  
 
 Post subject: Getting closer
PostPosted: Sun Jul 31, 2005 8:35 pm 
Offline
Joined: Mon Dec 06, 2004 1:34 pm
Posts: 2
Location: Tampa, FL
Well found an issue- the mounts seem to only work when logged in as root. As the regular user (laptopfront or front1- regular users are not named mythtv) the mounting does not work. This means that adding the mount to say, bootmisc.sh, will work if the mount command is set to do it as root. SO how do you write a mount command to run as root (sudo does not do it in the script, however it will work if manually typing in the command as regular user). Does anyone have any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 6:04 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
There are options ("user" or "users" which overide the default of "nouser") you can put in /etc/fstab to allow non-root users to mount a particular file system. The easiest way to set this up is probably using the webmin interface...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 12:32 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Sounds like you're trying to create a home entertainment system. Perhaps a search for LinHES.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 82 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu