Yes, I do want to create a share on my Z. Since usb-storage-device-function doesn't work that well on r121 it seemed like a nice alternative to me.
Anyone can explain how to do this in two words ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153925\"][{POST_SNAPBACK}][/a][/div]
First, you'll want to take a look at /etc/samba/smb.conf. This file defines what is shared on your Zaurus. This is a copy of a very stripped down smb.conf file that should get you going:
[global]
# workgroup is either a domain name or a workgroup name
workgroup = MYGROUP
#
# encrypt passwords is required for Win98, NT and Windows 2000
#
encrypt passwords = yes
[all]
comment = read/write access to /
path = /
read only = no
guest ok = no
[home]
comment = read/write access to /home
path = /home
read only = no
guest ok = no
- Change 'MYGROUP' to the correct workgroup name.
- The [name] at the head of each share section is the name that samba will use
- The path = xxx in each section is the directory that will be shared
- read only & guest ok should be fairly obvious
If you are not allowing "guests" then you will have to add each authorized user. Use the
smbpasswd -a <username> command to do this. It will prompt you for a password.
After making changes, issue the command
samba restart (or
samba stop followed by
samba start) for the changes to take effect. I think Meanie may have created a gui for doing this, depending on which packages you're using.
Antikx's command line should work for mounting another system's share. If it mounts via command line but not with your utility, then samba isn't the problem. One note (which I always seem to forget): If you plan to use additional options, I believe that the options list that follows -o is comma-separated and contains no spaces. Check the man pages to confirm.