Help - Search - Members - Calendar
Full Version: Smbmount Ipk
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
MrSquishy
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
#!/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
zipped ipk (in case the attached file doesnt work)
niv
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/DennisWagela....2.10-2_arm.ipk
xamindar
What exactly is this script for? To mount shares from your pc onto the zaurus?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.