Bob Cox wrote:
> On Mon, Nov 24, 2008 at 00:24:40 -0500, H.S. ([EMAIL PROTECTED]) wrote: 
> 
>> H.S. wrote:
>>
>>> Now what remains to be done is to get the right configuration for samba.
>>> At present, I am using sudo with username and password to mount the
>>> samba folder:
>>> $> sudo mount -t cifs -o username=hs //gurh/Music /mnt/videos
>> Better alternative:
>> $> smbmount //M/Videos ~/Videos -o username=hs
>>
>> followed by the password. Then I get the mounted directory in ~/Videos.
>> To unmount, I use "smbumount ~/Videos".
> 
> Glad you managed to get it working.
> 
> I do not manually mount/umount but instead have the following in my
> /etc/fstab
> 
> [ Remote machine called gaia, folder to share 'fileserver', mounted on
> /mnt/fileserver ]
> 
> //gaia/fileserver  /mnt/fileserver  cifs //guest,uid=1000,gid=1000  0 0

So you have set up samba to not require a password when a user connects
to the server?


> Of course, this presupposes that the remote PC is 'always there'.

Yes, of course.

> I use static IPs with all machines on the LAN in the hosts file,
> otherwise I believe I would need to use something like
> "//192.168.200.7/fileserver" instead.

I use dnsmasq on my router machine to solve this problem. Works very well.

Regards.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to