
my Zaurus SL-C3000 and SL-C3100
http://www.users.on.net/~hluc/myzaurus/
58 of 212
16/09/2007 12:23
Mounting Samba shares
Install the following packages:
libncurses - [libncurses_5.0_arm.ipk]
smbmount - [smbmount_0.1_arm.ipk]
smbmounter - [smbmounter_0.1-2_arm.ipk]
To mount a drive type:
# smbmount //hostname/share /mnt/smb -o username=user
To unmount type
# umount /mnt/smb
Or use the smbmounter GUI interface. Make sure you give it root access (see Run as root section).
The NETBIOS name needs to be an IP address or if you provide a hostname, make sure in your
/etc/hosts file on your Zaurus you have given the hostname an alias in all uppercase letters. For
example if you have a hostname mylaptop mapped to an IP of 192.168.1.10 then you will need the
following entry:
192.168.1.10 mylaptop MYLAPTOP
Once you have created an entry with a valid share name and username/password, then you can
mount and unmount the share by clicking on the appropriate buttons. If the share is valid and your
username/password is correct, then the smb share will be mounted under
/hdd3/Documents/NetworkFolders/
hostname
/
sharename
Mounting USB drives
To mount a drive type:
# mount /dev/sda1 /mnt/usbstorage
To unmount type:
# umount /mnt/usbstorage
You can also create the following simple script to automatically mount USB drives or use the more
advanced
usb-storage
that I've written. Here is the simple version:
# su
# vi /etc/hotplug/usb/usb-storage
#!/bin/sh
. /etc/hotplug/hotplug.functions
if [ ! -L /var/run/usb/%proc%bus%usb%* ]; then
mesg Try to Mount
mount /mnt/usbstorage