OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: MrSquishy on December 21, 2004, 06:08:56 pm

Title: Smbmount Ipk
Post by: MrSquishy on December 21, 2004, 06:08:56 pm
This is one of those "I really should clean this up so it's not so embarassing" package jobs, but I wanted to share.

This package includes smbmnt, smbmount, smbumount, libsmbclient, the desktop entry and an icon.

I've decided, in the best interest of my laziness, to have to edit the script to include "Your" information rather than having 3-4 more dialog boxes.

It really wouldnt be a problem to include them, I just havent found a way to make options "remember" (so you'd still have to edit the script).

For now, edit /opt/QtPalmtop/bin/opie-sh-smbmount.sh and put if the name of your share for SHARE and change the ip's in the SMBSERVER line.  AND (sorry) change your username at the bottom.


Code: [Select]
#!/bin/sh
SHARE=full

#is /mnt/net already in use?
if [ ` df | grep net | cut -c 57-64 ` != "" ]; then
        opie-sh -t "Umount?"  -m -M "Unmount /mnt/net?" -g -0 Yes -1 No
        RETURNCODE=$?
case $RETURNCODE in
        0) smbumount /mnt/net; exit;;
        1) exit;;
esac
fi
echo $SERVERS

SMBSERVER=` ( echo 192.168.1.201; echo 192.168.129.1 ) \
| opie-sh -i -L "SMB IP=" -t "SMBmount" -E -l -F -g`
if [ $SMBSERVER = ]; then
        exit
fi
smbmount //$SMBSERVER/$SHARE /mnt/net -o username=nobody,password=

smbmount_2.2.8a_arm.zip (http://www.geocities.com/mrsquishywou/smbmount_2.2.8a_arm.zip)
zipped ipk (in case the attached file doesnt work)
Title: Smbmount Ipk
Post by: niv on August 31, 2005, 01:15:20 pm
found a good source for both smbmount and smbclient:
http://ssel.vub.ac.be/Members/DennisWagela...unt_0.1_arm.ipk (http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/smbmount_0.1_arm.ipk)
http://ssel.vub.ac.be/Members/DennisWagela....2.10-2_arm.ipk (http://ssel.vub.ac.be/Members/DennisWagelaar/download/zaurus/smbclient_2.2.10-2_arm.ipk)
Title: Smbmount Ipk
Post by: xamindar on September 03, 2005, 02:29:45 am
What exactly is this script for?  To mount shares from your pc onto the zaurus?