Here's a quick howto on creating a network drive under ubuntu (i used this set up to connect from windows mobile 6 - with total commander)
1) Install the package "samba"
2) edit /etc/samba/smb.conf
3) Add the following lines to the end of the file (keep the square brackets)
[name for network drive]
path = path of drive
browsable = yes
read only = no
guest ok = no
4) restart samba with /etc/init.d/samba restart
5) add user passwords with
sudo smbpasswd -L -a username
sudo smbpasswd -L -e username
6) test the connection with
smbclient -L "name of host"
7) connect with the path //hostname/networkdrivename
8) if you are mounting in ubuntu, you may need to install the package "smbfs" and make sure that you have ownership of the mount point. An example fstab is shown below
//{computer}/{shared_folder} /mnt/{mount_point} smbfs rw,user,auto,uid={username},gid={group},username={username},password={password} 0 0
replace the {} bits with your settings. Having your password in this file isnt very secure.
Friday, 8 August 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment