View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Sep 14, 2005 2:18 pm 
Offline
Joined: Thu Jun 16, 2005 2:17 pm
Posts: 38
ive been trying to get smbfs so i can mount my windows xp pro shares to my mythbox.

i followed the guide in the wiki and added this line in my fstab file
Code:
//pooface/24 /myth/video/24 smbfs 0 0


i took out password and username becasue my shares are open
when i booted up myth asks for a password i hit enter and it gave me a access denied error

then i followed this post http://mysettopbox.tv/phpBB2/viewtopic.php?t=912&highlight=smbfs

and setup the fstab this way
Code:
//windowbox/share-folder /myth/music smbfs password= 0 0


with each way i tried i messed around with the the line i added modified it a little each time to see if i was a typo any suggestions on how to fix?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 4:46 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
Try this in fstab:
//pooface/24 /myth/video/24 smbfs username=yourname,password=yourpassword,uid=yourname,gid=yourname 0 0

It will look like this:
//sharename/path /mnt/mountpoint smbfs ..........

Make sure that you have the right ip address in /etc/hosts for computer pooface. Or just use the actual ip.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 6:44 pm 
Offline
Joined: Thu Jun 16, 2005 2:17 pm
Posts: 38
for my windows xp box there is no password or username so what should i put there.

i read about using /etc/init.d/bootmisc.sh and cron jobs, how would i go about doing these

prefreably a cron job since it would run every 5 min in case my windows machine is down


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 9:05 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Depending on which version of windows xp you have would determine which username you use.

To determine the username you are using click on Start, Control Panels and in there you have User Accounts. Theoretically you will have only one person listed there, apart from Guest that is, and use this as the username in the fstab.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 11:00 pm 
Offline
Joined: Thu Jun 16, 2005 2:17 pm
Posts: 38
should i leave password blank


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 11:10 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
This is what I use. I have a user setup with a blank password on my 2k box. May want to replace "Mediauser" username with login name on XP box. I found editing fstab and running command "mount -a" is good way to troubleshoot. Be careful if you share contains spaces replace space with "040".


fstab
------------------
//pooface/24 /myth/video/24 smbfs ro,username=Mediauser,guest 0 0
------------------

This is another great samba, smbfs resource
http://www.knoppmythwiki.org/index.php? ... SambaHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 7:15 pm 
Offline
Joined: Thu Jun 16, 2005 2:17 pm
Posts: 38
that worked, nowi need to figure out a good way to remount stuff when my windows box shuts off

is there any way i could write a batch file so i could run that and it would remount all of my shares

ive also read about cron jobs but i cant seem to get that to work right


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 16, 2005 12:21 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Quote:
windows box shuts off

Good ole stable MS.

cron jobs may be your best bet. Honestly I have never created a cron job but should be as simple as running the command
Code:
mount -a
.

I setup my knoppmythbox with Webmin to administer. I noticed there was a module in webmin to confiure cron jobs. So if you were going to setup webmin anyway I am guessing may be an easy way to create a cron job. Webmin is very nice to have and can greatly configure samba too.

http://www.knoppmythwiki.org/index.php?page=WebminHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 16, 2005 8:01 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Perhaps one should Google SMB and AutoFS?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 10:53 pm 
Offline
Joined: Sun May 02, 2004 7:04 pm
Posts: 53
I recently got autofs working with my samba shares, so I went ahead and whipped up a howto on the wiki for that purpose. Hope that helps someone.

autofs + samba is great! it works very well, and irons the kinks out of hosting your videos and music from windows very nicely.
--scott


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 73 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