Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 16:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
NFS Gui for easy file sharing
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Thu 28 Nov 2013, 08:50    Post subject:  NFS Gui for easy file sharing  

Ok though I should package up the NFS dialog I made for Lucid which was aimed at providing easy config of NFS shares assuming the kernel modules are present. Lucid has them but older pups may not. See here for those.
http://murga-linux.com/puppy/viewtopic.php?search_id=528869085&t=45090

The gui automatically adds configs and starts daemons when first run and gives the option to add mounted shares on the fly. You can still manually add shares and start daemons as described in the other how to and that does not interfere with this app. Basically the idea is to give no brainer usability.

Newer pups may not work...I had to use newer rpc /nfs binaries for slax 7 for example but perhaps some feed back here might help sort out compatibility. I do have the files from there to test with. Also noticed mount-FULL lacks nfs support on puppy but busybox is ok which this app should be using via mount.

Also included is a simple daemon that maintains a list of active machines on the LAN every 5 minutes for faster launching...it also keeps my wifi connected Smile . Just use by adding /etc/bin/keep_alive & to /etc/rc.d/rc.local .

Note that if you edit /etc/hosts you can give friendly names to your shares which will be used ..eg fred-sda2

mike
NFS_gui-1.0.pet
Description 
pet

 Download 
Filename  NFS_gui-1.0.pet 
Filesize  152.03 KB 
Downloaded  291 Time(s) 
NFS-mounter.png
 Description   
 Filesize   24.4 KB
 Viewed   544 Time(s)

NFS-mounter.png


Last edited by mikeb on Thu 28 Nov 2013, 17:52; edited 2 times in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Thu 28 Nov 2013, 08:58    Post subject:  

Watch this space if theres nothing better to do...
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Wed 08 Jan 2014, 10:45    Post subject: Re: NFS Gui for easy file sharing  

mikeb wrote:
Ok though I should package up the NFS dialog I made for Lucid which was aimed at providing easy config of NFS shares assuming the kernel modules are present. Lucid has them but older pups may not. See here for those.
http://murga-linux.com/puppy/viewtopic.php?search_id=528869085&t=45090

The gui automatically adds configs and starts daemons when first run and gives the option to add mounted shares on the fly. You can still manually add shares and start daemons as described in the other how to and that does not interfere with this app. Basically the idea is to give no brainer usability.

Newer pups may not work...I had to use newer rpc /nfs binaries for slax 7 for example but perhaps some feed back here might help sort out compatibility. I do have the files from there to test with. Also noticed mount-FULL lacks nfs support on puppy but busybox is ok which this app should be using via mount.

Also included is a simple daemon that maintains a list of active machines on the LAN every 5 minutes for faster launching...it also keeps my wifi connected Smile . Just use by adding /etc/bin/keep_alive & to /etc/rc.d/rc.local .

Note that if you edit /etc/hosts you can give friendly names to your shares which will be used ..eg fred-sda2

mike


Sorry Mike, was just diverting a heavy spam attack Crying or Very sad

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Wed 08 Jan 2014, 13:11    Post subject:  

aw and I thought I had my first reply Sad

mike
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 546
Location: nyc

PostPosted: Thu 09 Jan 2014, 15:40    Post subject:  

mike, i've installed this on four computers sharing an internet connection. what do i need to do to make the machines aware of which partitions each is sharing?

gui shows nothing other than what was shared by the machine in front of me (precise 5.5, 5.6.1, 5.7, 5.7.1). never had much success with networking, so i'm sure i must be doing something wrong...
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Thu 09 Jan 2014, 16:32    Post subject:  

Ok well the idea is the gui does the background stuff.

drives that can be shared are on the right...double clicking them will add them to the shares list on the left which are mounted by double clicking on them. Other machines should follow the same procedure to appear on the list..a refresh may be needed when new shares are added.

If this is not happening then time to look a little more closely .

Can you mount a share on the same machine?
Are firewalls being used other than the router?

mike
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 546
Location: nyc

PostPosted: Thu 09 Jan 2014, 17:53    Post subject:  

mikeb wrote:
Ok well the idea is the gui does the background stuff.

drives that can be shared are on the right...double clicking them will add them to the shares list on the left which are mounted by double clicking on them. Other machines should follow the same procedure to appear on the list..a refresh may be needed when new shares are added.

If this is not happening then time to look a little more closely .

Can you mount a share on the same machine?
Are firewalls being used other than the router?

mike


pretty sure there's no firewall on at least three of the four (i stopped automatically setting it up at install some time around installing precise 5.5 for the first time. big laptop's install may predate that.
as to "mount a share"--i'm so unfamiliar with networks that that seems like some kind of weird esoteric jargon to me. i've gotten one ftp type thing to work, and i've had some success with Kontrolpack---

so, uh, not sure if i can mount a share.


Confused Embarassed Smile

i can get the partitions to show a green check--they never appear in the other side of the box though.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Thu 09 Jan 2014, 18:04    Post subject:  

Quote:
Newer pups may not work...I had to use newer rpc and nfsd binaries for slax 7 for example but perhaps some feed back here might help sort out compatibility. I do have the files from there to test with. Also noticed mount-FULL lacks nfs support on puppy but busybox is ok which this app should be using via mount.


from my first post.... unfortunately it may well be the problem in this case..... most likely you will need to get the portmap and nfsd packages specifically for precise .... or it may be that precise lacks some of the kernel modules needed. You would probably not want to get into the nitty gritty of this or don't feel familiar enough.

There is a more detailed NFS thread but nothing has ever been contributed for precise or slacko for that matter which is unfortunate as NFS is the native linux/unix method of file sharing.

You sound like you need somethings thats 'install and go' which is lacking for recent puppies which is why I made the thread in the hope that users of such might shed some light on the current status.

mike
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 546
Location: nyc

PostPosted: Thu 09 Jan 2014, 22:12    Post subject:  

mikeb wrote:
Quote:
Newer pups may not work...I had to use newer rpc and nfsd binaries for slax 7 for example but perhaps some feed back here might help sort out compatibility. I do have the files from there to test with. Also noticed mount-FULL lacks nfs support on puppy but busybox is ok which this app should be using via mount.


from my first post.... unfortunately it may well be the problem in this case..... most likely you will need to get the portmap and nfsd packages specifically for precise .... or it may be that precise lacks some of the kernel modules needed. You would probably not want to get into the nitty gritty of this or don't feel familiar enough.

There is a more detailed NFS thread but nothing has ever been contributed for precise or slacko for that matter which is unfortunate as NFS is the native linux/unix method of file sharing.

You sound like you need somethings thats 'install and go' which is lacking for recent puppies which is why I made the thread in the hope that users of such might shed some light on the current status.

mike


guess i'll keep poking around the pile then.

too bad--sharing by partition seems like a nice convenience.

darren
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Fri 10 Jan 2014, 11:07    Post subject:  

Yes sorry..I am a user with the odd thing to help other users... what puppy chooses to support is out of my hands...

Shame as NFS is simple, fast and light ... we been using it for years including with windows.

mike
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 546
Location: nyc

PostPosted: Fri 10 Jan 2014, 13:15    Post subject:  

mikeb wrote:
Yes sorry..I am a user with the odd thing to help other users... what puppy chooses to support is out of my hands...

Shame as NFS is simple, fast and light ... we been using it for years including with windows.

mike


regardless of what puppy supports, you couldn't possibly be more helpful, mike.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Mon 27 Jan 2014, 03:33    Post subject:  

Hi Mike; Long time no talk to... How`s it going?

I was thinking that this was a perfect app for making a AppDir out of.
It`s small and really useful. I don`t see if it does private and public shares.
Sadly NFS is not as popular as SMB, but it`s better in most ways.

I think Samba could be trimmed from about 50 MB to 5 MB or so and be useful.
Really need NFS for Weeners... Or if M$ could just roll over and die... Twisted Evil


Also I wanted a script to list all NFS shares so they can be linked in Rox and Xfe.
HotPup, Rox`s desktop icons could be expanded this way to include NFS & SMB.
Perhaps you could provide a few examples for using: showmount
.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Mon 27 Jan 2014, 06:30    Post subject:  

Private or public.... think that more depends on whether you expose it to the internet and portmap / rpc ports have to be included (check rpcinfo -p {IP}....not heard of that happening for probably obvious reasons ....something more for an encrypted system like webdav or sftp, or sshfs?
Fastest way to infect a windows computer is to expose rpc/samba to the internet...2 minutes I managed Very Happy

Size...well a winner... a sprinkle of standard small kernel modules and the odd small binary. Speed is usually higher than samba since udp can be used though tcpip is available....the server decides who can connect rather than a clients needs to authenticate itself. There is samba-tng which is smaller apparently. By the way the long list in my example is because I added qemu access which is handy.

Its also available on windows.... a small part of services for unix I use though there are others methods. vista/7 support it but only the professional versions unfortunately.

Yes merging into whatever method is used to display drives makes sense... the fiddliest bit is getting ip's of available machines... I have used nmap but mpscan does the job if you kick it into life.

bash-3.1# showmount -e 192.168.1.3
Export list for 192.168.1.3:
/mnt/sda1 192.168.1.2/255.255.255.0
/mnt/hda3 127.0.0.0/255.255.255.0,192.168.1.2/255.255.255.0

is the basic usage...you should easily see whats involved from the GUI .
After all the likes of konqueror do such things but something more cute would be nice.
This gui originally just listed shares..... the shares were done using the normal start up daemon and an exports list but some found setting it up a bit too command lineish so I added the bit to configure and start the shares. Also handy if you do odd things like plugin a SD card and share it to the loony upstairs who wants some photos off it, or play a DVD but you don't have a drive.

We tend to used on the fly mounting/sharing a lot since machines are turned on and off randomly...soft mounts are used for graceful disconnections.

mike
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Mon 27 Jan 2014, 17:49    Post subject:  

Thanks for the reply Mike; I was thinking LAN pw/no-pw type access. Web is another beast.
I used NFS about 15 years ago on Woody as an experiment in music sharing.
I`ll get a chance to examine your gui this week, and check out nmap and mpscan.

If the other guys doing Debian-Live Puppy want it, is it okay to include this.?

Also I recall you having an FTP gui, but maybe I`m wrong, I did find your DropBox gui.

And... How did your rewrite of Zigbert`s pBurn go.? We are collecting tiny apps to include.
.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8229

PostPosted: Mon 27 Jan 2014, 19:27    Post subject:  

Yes go ahead... bear in mind you will want the portmap and nfsd binaries from the repo you are using for the build.. Also not every mount I have come across around here has had NFS support so one to look out for if problems.

ftp...I helped out with the curlftpfs in puppy years ago but thats about it.

NFS access is basically set by the server...the share specifies address ranges allowed and level of access. The gui is puppy like in giving root access with read/write. Clients can choose say read only and sub directories within the limits set by the server.

pburn...ah yes...well the recent change was basically testing out yad with an existing app to see how it could be used. What I have is forked from about version one with on the fly audio burning. Not sure if its suitable for general use though i use it regularly.

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0960s ][ Queries: 12 (0.0062s) ][ GZIP on ]