Network Samba Share Rox App

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#16 Post by 01micko »

Updated to 0.7

See main post
Puppy Linux Blog - contact me for access

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

nounix option

#17 Post by shinobar »

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
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

sec=ntlm option

#18 Post by shinobar »

See the posts of gcmartin and shinobar:
http://www.murga-linux.com/puppy/viewto ... &start=187
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: sec=ntlm option

#19 Post by 01micko »

shinobar wrote:See the posts of gcmartin and shinobar:
http://www.murga-linux.com/puppy/viewto ... &start=187
New version 0.8 is now in the main post, thanks!
Puppy Linux Blog - contact me for access

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#20 Post by sunburnt »

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.
.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

small fix

#21 Post by shinobar »

small fix, was no message when mounting failed.
# 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]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

network_roxapp-0.8-1-utf8.pet

#22 Post by shinobar »

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/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply