LinHES Forums http://forum.linhes.org/ |
|
cannot get smbfs to work? http://forum.linhes.org/viewtopic.php?f=17&t=6049 |
Page 1 of 1 |
Author: | pooface [ Wed Sep 14, 2005 2:18 pm ] |
Post subject: | cannot get smbfs to work? |
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? |
Author: | elgordo123 [ Wed Sep 14, 2005 4:46 pm ] |
Post subject: | |
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. |
Author: | pooface [ Wed Sep 14, 2005 6:44 pm ] |
Post subject: | |
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 |
Author: | Girkers [ Wed Sep 14, 2005 9:05 pm ] |
Post subject: | |
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. |
Author: | pooface [ Wed Sep 14, 2005 11:00 pm ] |
Post subject: | |
should i leave password blank |
Author: | spalVl [ Wed Sep 14, 2005 11:10 pm ] |
Post subject: | |
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 |
Author: | pooface [ Thu Sep 15, 2005 7:15 pm ] |
Post subject: | |
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 |
Author: | spalVl [ Fri Sep 16, 2005 12:21 pm ] |
Post subject: | |
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 |
Author: | cesman [ Fri Sep 16, 2005 8:01 pm ] |
Post subject: | |
Perhaps one should Google SMB and AutoFS? |
Author: | srahrens [ Tue Sep 20, 2005 10:53 pm ] |
Post subject: | |
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 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |