Updated to 0.7
See main post
Network Samba Share Rox App
Puppy Linux Blog - contact me for access
nounix option
Using v0.7 on the precise puppy 5.5.
Cool, but i got error message when i put files in the mounted share.
I think we need 'nounix' option at mount. See the next post:
http://murga-linux.com/puppy/viewtopic. ... 2&start=15
Cool, but i got error message when i put files in the mounted share.
I think we need 'nounix' option at mount. See the next post:
http://murga-linux.com/puppy/viewtopic. ... 2&start=15
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
sec=ntlm option
See the posts of gcmartin and shinobar:
http://www.murga-linux.com/puppy/viewto ... &start=187
http://www.murga-linux.com/puppy/viewto ... &start=187
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Re: sec=ntlm option
New version 0.8 is now in the main post, thanks!shinobar wrote:See the posts of gcmartin and shinobar:
http://www.murga-linux.com/puppy/viewto ... &start=187
Puppy Linux Blog - contact me for access
It`d be really nice for the top developers here to start making RoxApps.
I`ve said for awhile now that this is the direction for Puppy and Linux to go.
Pet packages, or any "installed" software take up Puppy`s Save file space.
For RoxApps and SFS, only the "config." files and /root stuff take up space.
No-install apps are easy to add and remove, and can contain their configs.
If apps are not installed, and other things that bloat the Save file like Firefox ( browser ) cache
are linked to a dir. on a partition, then the Save file only needs to be 64 MB to 256 MB in size.
.
I`ve said for awhile now that this is the direction for Puppy and Linux to go.
Pet packages, or any "installed" software take up Puppy`s Save file space.
For RoxApps and SFS, only the "config." files and /root stuff take up space.
No-install apps are easy to add and remove, and can contain their configs.
If apps are not installed, and other things that bloat the Save file like Firefox ( browser ) cache
are linked to a dir. on a partition, then the Save file only needs to be 64 MB to 256 MB in size.
.
small fix
small fix, was no message when mounting failed.
# diff -u part2-0.8 part2
# diff -u part2-0.8 part2
Code: Select all
--- part2-0.8 2013-08-05 11:20:46.000000000 +0900
+++ part2 2014-04-28 21:52:22.416375847 +0900
@@ -24,9 +24,9 @@
Password="\$(printf "\$Password"|base64 -d)"
fi
if [ \$(id -u) -ne 0 ]; then exec askpass "Mount Samba Share \\\\$Name\\$Share" \$0; fi
-mount.cifs //$IP/"$Share" "$APPDIR"/mnt-point -o username=$Username,password=\$Password,file_mode=0775,dir_mode=0775,gid=$(awk -F: '/^users/ {print \$3}' /etc/group),noserverino,nounix,sec=ntlm$IOCHARSET &&
-ln -sfT mounted.svg .DirIcon || ln -sfT drive48.png .DirIcon
+mount.cifs //$IP/"$Share" "$APPDIR"/mnt-point -o username=$Username,password=\$Password,file_mode=0775,dir_mode=0775,gid=$(awk -F: "/^users/ {print \$3}" /etc/group),noserverino,nounix,sec=ntlm$IOCHARSET
retval=\$?
+[ \$retval -eq 0 ] && ln -sfT mounted.svg .DirIcon || ln -sfT drive48.png .DirIcon
rm \$0
exit \$retval
EOF
@@ -45,9 +45,9 @@
cat > /tmp/try-unmount << EOF
#/bin/ash
if [ \$(id -u) -ne 0 ]; then exec askpass "Un-mount Samba Share \\\\$Name\\$Share" \$0; fi
-umount.cifs "$APPDIR"/mnt-point &&
-ln -sfT drive48.png .DirIcon || ln -sfT mounted.svg .DirIcon
+umount.cifs "$APPDIR"/mnt-point
retval=\$?
+[ \$retval -eq 0 ] && ln -sfT drive48.png .DirIcon || ln -sfT mounted.svg .DirIcon
rm \$0
exit \$retval
EOF
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
network_roxapp-0.8-1-utf8.pet
Icon fix, mount options, utf.8 as the default
network_roxapp-0.8-1-utf8.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/
network_roxapp-0.8-1-utf8.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]