pnethood 0.6.8 - samba share mounter
pnethood 0.6.8 - samba share mounter
Hi,
I´m proud to announce the immediate release of pnethood 0.6.8, this update includes minor GUI changes. The mayor addition is the use of scrollable windows for shares thanks to new features on gtkdialog added by user thunor (http://murga-linux.com/puppy/viewtopic.php?t=69188), the code is backward compatible and it enable the new GUI features only if the new gtkdialog version is found.
0.6.8 version is based on my latest 0.6.7 version (http://murga-linux.com/puppy/viewtopic.php?t=64206) and latest HairyWill version 0.65 (http://www.murga-linux.com/puppy/viewtopic.php?t=23464).
Fixes:
* Run out of screen space for large number of shares. Needs 0.7.21 gtkdialog version, you can compile latest from https://code.google.com/p/gtkdialog/
* Save button on options window does not close the options child window.
New Features:
* Hanlde servers with lots of shares (using new features in gtkdialog 0.7.21)
* Separate options Window
- Added option to define the minimun number of servers for the initial scan to enable the popup window server list
Credits
Special Thanks to HairyWill who originally developed pnethood, your work is greatly appreciated.
Thanks to thunor for mantaining and developing new features for gtkdialog.
Thanks to the people that helped to make this updated possible and everyone that tested and helped to improve the original version.
Any previous pnethood configuration file (/root/.pnethood/pnethood.rc) must be removed before use this new version. New information is written to the configuration file and previous versions (0.6.6 or earlier) are not supported, there is not problem if you already have pnethood 0.6.7 version.
Greetings,
clarf
EDIT:
pnethood 0.6.8.1 released
This is a quick fix release backward compatible for the password visibility (this is the proper fix discussed below).
I also added width adjustem for the GUI window, it´ll change according to actual display resolution. For 800x600 or lower display resolutions the GUI is set to 400x300, for higher display resolutions the GUI is set to 500x400. To change the deafult size just edit the pnethood executable file and modify the XBOX_SIZE and YBOX_SIZE variables. Needs 0.7.21 gtkdialog version otherwise won´t change in GUI size
I´m proud to announce the immediate release of pnethood 0.6.8, this update includes minor GUI changes. The mayor addition is the use of scrollable windows for shares thanks to new features on gtkdialog added by user thunor (http://murga-linux.com/puppy/viewtopic.php?t=69188), the code is backward compatible and it enable the new GUI features only if the new gtkdialog version is found.
0.6.8 version is based on my latest 0.6.7 version (http://murga-linux.com/puppy/viewtopic.php?t=64206) and latest HairyWill version 0.65 (http://www.murga-linux.com/puppy/viewtopic.php?t=23464).
Fixes:
* Run out of screen space for large number of shares. Needs 0.7.21 gtkdialog version, you can compile latest from https://code.google.com/p/gtkdialog/
* Save button on options window does not close the options child window.
New Features:
* Hanlde servers with lots of shares (using new features in gtkdialog 0.7.21)
* Separate options Window
- Added option to define the minimun number of servers for the initial scan to enable the popup window server list
Credits
Special Thanks to HairyWill who originally developed pnethood, your work is greatly appreciated.
Thanks to thunor for mantaining and developing new features for gtkdialog.
Thanks to the people that helped to make this updated possible and everyone that tested and helped to improve the original version.
Any previous pnethood configuration file (/root/.pnethood/pnethood.rc) must be removed before use this new version. New information is written to the configuration file and previous versions (0.6.6 or earlier) are not supported, there is not problem if you already have pnethood 0.6.7 version.
Greetings,
clarf
EDIT:
pnethood 0.6.8.1 released
This is a quick fix release backward compatible for the password visibility (this is the proper fix discussed below).
I also added width adjustem for the GUI window, it´ll change according to actual display resolution. For 800x600 or lower display resolutions the GUI is set to 400x300, for higher display resolutions the GUI is set to 500x400. To change the deafult size just edit the pnethood executable file and modify the XBOX_SIZE and YBOX_SIZE variables. Needs 0.7.21 gtkdialog version otherwise won´t change in GUI size
- Attachments
-
- clarf_pnethood-0.6.8.1.pet
- pnethood 0.6.8.1, quick fix for password visibility entry and width GUI auto-setting
- (27.4 KiB) Downloaded 1313 times
-
- Scrollable Window shares.jpg
- Scrollable Windows for shares using gtkdialog 0.7.21
- (38.67 KiB) Downloaded 3798 times
-
- clarf_pnethood-0.6.8.pet
- pnethood 0.6.8
- (27.36 KiB) Downloaded 1144 times
Last edited by clarf on Sat 10 Sep 2011, 16:36, edited 6 times in total.
gtkdialog 0.7.21 -
I add the 0.7.21 gtkdialog version (r14) compiled in puppy 214X, minimun gtkdialog version needed for new GUI pnethood features.
Regards,
clarf
Regards,
clarf
- Attachments
-
- gtkdialog-r14-i486.pet
- (49.96 KiB) Downloaded 1075 times
I have just updated the gtkdialog , I now seem to have a small problem with pnethood 0.6.8, it still works but the password input won't highlight so that whats typed in can be seen.
In other words there is no indication that anything as been inputted, so just wondering if anyone else has found that also or is it just me.
edit: just checked it by replacing gtkdialog to the version posted here and it works fine, so it is the latest version of thunor's that's causing it.
I complied the latest in quirky 1.20 which seems to have complied correctly with no errors.
In other words there is no indication that anything as been inputted, so just wondering if anyone else has found that also or is it just me.
edit: just checked it by replacing gtkdialog to the version posted here and it works fine, so it is the latest version of thunor's that's causing it.
I complied the latest in quirky 1.20 which seems to have complied correctly with no errors.
Hi Geoffrey. Thanks for using pnethood and feedback your test.
I´m glad you could solve your problem, haven`t tried the latest gtkdialog version but if there are problems with it, you should report the issue in the gtkdialog thread or in the project HomePage. Thunor is very diligent solving these kind of bugs.
IF you find any other issue with pnethood, please feel free to report here.
Regards,
clarf
I´m glad you could solve your problem, haven`t tried the latest gtkdialog version but if there are problems with it, you should report the issue in the gtkdialog thread or in the project HomePage. Thunor is very diligent solving these kind of bugs.
IF you find any other issue with pnethood, please feel free to report here.
Regards,
clarf
Clarf, seems to work fine in latest Slacko Beta 1, running r220 of gtkdialog.
I have had a feature request.. an adjustment of the GUI size to be a little wider and perhaps not so tall.
Regards , 01micko
I have had a feature request.. an adjustment of the GUI size to be a little wider and perhaps not so tall.
Regards , 01micko
Puppy Linux Blog - contact me for access
Hi again clarf,
With the very latest gtkdialog the password syntax seems to fail.. It's the same in PupDial. There is a backward compatible solution. Just making you aware.
http://www.murga-linux.com/puppy/viewto ... 419#555419
Cheers
With the very latest gtkdialog the password syntax seems to fail.. It's the same in PupDial. There is a backward compatible solution. Just making you aware.
http://www.murga-linux.com/puppy/viewto ... 419#555419
Cheers
Puppy Linux Blog - contact me for access
Hi 01micko, thanks for using latest pnethood.
or I could implement the share window size as an additional user option. But I think there are enough user options (automatic size could be enough and the scrollable Window could handle the rest).
Seems like thunor is going to support the backward solution but I don`t know which is better for older gtkdialog versions:
use invisible-char="120" or use <visible>password</visible>
EDIT:
OK. I read the Gtkdialog Development thread, thunor explained that the correct implementation is
<sensitive>password</sensitive>
and the invisible-char="120" will work for newer gtkdialog only, then the best option for backward compatibility seems to be:
<visible>password</visible>
thank you 01micko
Regards,
clarf
In this version I implemented some GUI adjustment on heigh, it resize the Windows according to screen resolution. I could do the same for the weight size:I have had a feature request.. an adjustment of the GUI size to be a little wider and perhaps not so tall.
Code: Select all
line 42:
[ $SCRN_Y -le 600 ] && SBOX_SIZE=300 || SBOX_SIZE=400
line 423:
PNETHOOD_GUI=$PNETHOOD_GUI"<vbox height-request=\"$SBOX_SIZE\">"
Thanks for the advise.With the very latest gtkdialog the password syntax seems to fail.. It's the same in PupDial. There is a backward compatible solution. Just making you aware.
Seems like thunor is going to support the backward solution but I don`t know which is better for older gtkdialog versions:
use invisible-char="120" or use <visible>password</visible>
EDIT:
OK. I read the Gtkdialog Development thread, thunor explained that the correct implementation is
<sensitive>password</sensitive>
and the invisible-char="120" will work for newer gtkdialog only, then the best option for backward compatibility seems to be:
<visible>password</visible>
thank you 01micko
Regards,
clarf
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: gtkdialog 0.7.21 -
Hi clarf your gtkdialog package places the gtkdialog bin in usr/local/bin where as the default gtkdialog bin is located in usr/sbin, so there are now 2 gtkdialog bin files. will this mess things up, its in the next release like this.clarf wrote:I add the 0.7.21 gtkdialog version (r14) compiled in puppy 214X, minimun gtkdialog version needed for new GUI pnethood features.
Regards,
clarf
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Hi ttuuxxx,
I didn´t find any backward problem with the r14 release posted here, it should replace the default gtkdialog executable in usr/sbin without problems on 214X. I apologize, I didn´t check what default path is used for each Puppy version so I used the default one when I compiled the source.
Advice for the gtkdialog package users:
The user that loads this package also must check if his Puppy version has a gtkdialog3 symlink and correct this if necessary.
In case of having two gtkdialog binaries then the first coincidence in the "PATH" user environment variable will have priority over others. This is like this, if the PATH variable contains "PATH=/usr/local/bin; /usr/sbin", the system will look on /usr/local/bin path first for the executables given (in this example gtkdialog or gtkdialog3) and if the executable is found then the system will use it and omit the executables on the following /usr/sbin path.
To find what gtkdialog executable the system will lookup and use first, launch "which gtkdialog" and check the path returned.
Regards,
Andrés Caro
I didn´t find any backward problem with the r14 release posted here, it should replace the default gtkdialog executable in usr/sbin without problems on 214X. I apologize, I didn´t check what default path is used for each Puppy version so I used the default one when I compiled the source.
Advice for the gtkdialog package users:
The user that loads this package also must check if his Puppy version has a gtkdialog3 symlink and correct this if necessary.
In case of having two gtkdialog binaries then the first coincidence in the "PATH" user environment variable will have priority over others. This is like this, if the PATH variable contains "PATH=/usr/local/bin; /usr/sbin", the system will look on /usr/local/bin path first for the executables given (in this example gtkdialog or gtkdialog3) and if the executable is found then the system will use it and omit the executables on the following /usr/sbin path.
To find what gtkdialog executable the system will lookup and use first, launch "which gtkdialog" and check the path returned.
Regards,
Andrés Caro
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
are you sure did you manually delete the one in usr/sbin? since yours install in a different location.clarf wrote:Hi ttuuxxx,
I didn´t find any backward problem with the r14 release posted here, it should replace the default gtkdialog executable in usr/sbin without problems on 214X. I apologize, I didn´t check what default path is used for each Puppy version so I used the default one when I compiled the source.
Regards,
Andrés Caro
Also the next release is almost ready, a couple of hours away, Its the last of the stable 2.14X branch before I change to the latest GTK2, I used the newer GTK without any issues for 2+ weeks, so it should be good, but I'll play it safe first
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Hi ttuuxxx,
well, there is always a small risk present changing gtkdialog as it´s an important/extensive component.
I don´t habituate to mix such kind of changes (in this case GTK and gtkdialog) releasing new software and don´t wan to affect latest stable 214X either.
Anyway pnethood 0.6.8.1 detects actual gtkdialog version and disable new features when needed, so pnethood is fail safe where gtkdialog has a risk...
In other words, I also bet for a latest stable first.
clarf
well, there is always a small risk present changing gtkdialog as it´s an important/extensive component.
I don´t habituate to mix such kind of changes (in this case GTK and gtkdialog) releasing new software and don´t wan to affect latest stable 214X either.
Anyway pnethood 0.6.8.1 detects actual gtkdialog version and disable new features when needed, so pnethood is fail safe where gtkdialog has a risk...
In other words, I also bet for a latest stable first.
clarf
Hi there
pnethood works great for me - but I've noticed in all recent puppies that the display isn't quite wide enough.....screenie attached from latest wary5.1.103
Thanks
peebee
pnethood works great for me - but I've noticed in all recent puppies that the display isn't quite wide enough.....screenie attached from latest wary5.1.103
Thanks
peebee
- Attachments
-
- screen-pnethood.png
- (36.19 KiB) Downloaded 2862 times
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
pnethood in k3.1.n
Hi there
Just a possible "heads up".........
pnethood on puppies using k3.0.n is saying in dmesg:
Thanks
peebee
Just a possible "heads up".........
pnethood on puppies using k3.0.n is saying in dmesg:
Does this mean a pnethood update will be needed???CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.1
Thanks
peebee
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
peebee,
Working fine here in slacko beta k3.1.10, I've been playing with mount.cifs to day .. same message though but it says kernel 3.2!
Working fine here in slacko beta k3.1.10, I've been playing with mount.cifs to day .. same message though but it says kernel 3.2!
Puppy Linux Blog - contact me for access
[SOLVED] failed to preserve ownership
At last, the solution
I posted the issue at first on 03 Dec 2010.
http://www.murga-linux.com/puppy/viewto ... 451#473451
Next is fine.
The solution is simple. The 'nounix' option for mount.cifs.
http://linux.die.net/man/8/mount.cifs
I have attached a patch against the curf_pnethood-0.6.8.1.
Or, you can get a test package pnethood-0.6.8.9.pet from http://shino.pos.to/party/bridge.cgi?puppy/test/.
It has more tweaks:
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
# mount.cifs accepts 'guest' option (rcrsn51)
Tested on 431JPreturns2012, Wary-511-01j, lupu-528-04, slacko-5.3.2.7p. Shared folder without password is at Windows 7 and samba.
I posted the issue at first on 03 Dec 2010.
http://www.murga-linux.com/puppy/viewto ... 451#473451
Actually, the file is copied successfully. The problem is only the error message.Copying /mnt/sda3/tmp/some.txt as /mnt/network/SHINOBAR/video/public/tmp/some.txt
cp: failed to preserve ownership for `/mnt/network/SHINOBAR/video/public/tmp/some.txt': Permission denied
Failed to copy '/mnt/sda3/tmp/some.txt'
At last, i have found that the key was the 'acl'.I saw the mount command:
//192.168.11.2/video on /mnt/network/SHINOBAR/video type cifs (rw,mand,relatime,unc=\192.168.11.2\video,username=guest,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.11.2,serverino,acl,rsize=16384,wsize=57344)
Next is fine.
(//192.168.11.2/video is a samba share)# mount -t cifs
//192.168.11.2/video on /mnt/network/SHINOBAR/video type cifs (rw,mand,relatime,unc=\\192.168.11.2\video,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.11.2,file_mode=0755,dir_mode=0755,rsize=16384,wsize=57344)
The solution is simple. The 'nounix' option for mount.cifs.
http://linux.die.net/man/8/mount.cifs
nounix
Disable the CIFS Unix Extensions for this mount. This can be useful in order to turn off multiple settings at once. This includes POSIX acls, POSIX locks, POSIX paths, symlink support and retrieving uids/gids/mode from the server. This can also be useful to work around a bug in a server that supports Unix Extensions.
I have attached a patch against the curf_pnethood-0.6.8.1.
Or, you can get a test package pnethood-0.6.8.9.pet from http://shino.pos.to/party/bridge.cgi?puppy/test/.
It has more tweaks:
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
# mount.cifs accepts 'guest' option (rcrsn51)
Tested on 431JPreturns2012, Wary-511-01j, lupu-528-04, slacko-5.3.2.7p. Shared folder without password is at Windows 7 and samba.
- Attachments
-
- pnethood-0.6.8.1-nounix.patch.gz
- a patch against the curf_pnethood-0.6.8.1. the root is /usr/local/apps.
- (2.02 KiB) Downloaded 744 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
pnethood-0.6.9
UPDATED:
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
#17may2012 shinobar: extracting sharename
#20jun2012 shinobar: export GTKDIALOG for other func
pnethood-0.6.9.pet
pnethood-0.6.9.i18n.pet (I18N'ed)
http://shino.pos.to/party/bridge.cgi?puppy/opt/
NOTE: both do not contain nbtscan, do support gtkdialog3 or gtkdialog4.
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
#17may2012 shinobar: extracting sharename
#20jun2012 shinobar: export GTKDIALOG for other func
pnethood-0.6.9.pet
pnethood-0.6.9.i18n.pet (I18N'ed)
http://shino.pos.to/party/bridge.cgi?puppy/opt/
NOTE: both do not contain nbtscan, do support gtkdialog3 or gtkdialog4.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
pnethood-0.7
pnethood-0.7.i18n.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/
NOTE: does not contain nbtscan.
#12jan2011 shinobar: refresh button, scanspeed 2 seconds, check if the rcfile exists
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
#17may2012 shinobar: extracting sharename
#17may2012 shinobar: i18n
#20jun2012 shinobar: export GTKDIALOG for other func
#5jul2012 shinobar: fix was failed on Dpup Exprimo
http://www.murga-linux.com/puppy/viewto ... &start=595
(servernetbiosname in func_mount)
VERSION=0.7.i18n #shinobar
http://shino.pos.to/party/bridge.cgi?puppy/opt/
NOTE: does not contain nbtscan.
#12jan2011 shinobar: refresh button, scanspeed 2 seconds, check if the rcfile exists
#23mar2012 shinobar: use mount.cifs with 'nounix' option(func_mount), UTF-8 encording default
#17may2012 shinobar: extracting sharename
#17may2012 shinobar: i18n
#20jun2012 shinobar: export GTKDIALOG for other func
#5jul2012 shinobar: fix was failed on Dpup Exprimo
http://www.murga-linux.com/puppy/viewto ... &start=595
(servernetbiosname in func_mount)
VERSION=0.7.i18n #shinobar
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]