Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: SamK on October 01, 2010, 04:30:03 AM

Title: Network Browsing via GUI
Post by: SamK on October 01, 2010, 04:30:03 AM
This post didn't generate much of a response,
http://forum.tinycorelinux.net/index.php?topic=1116.0
so here goes again as a slight variation.

Is there a GUI network browser in the TC3.1 repo that enables the mounting of shares?  Preferably one that isn't linked to a particular desktop suite or browser.

How do other users do this currently.  Does anyone have a favourite way which they use, that is not available in the repo?  Has anyone made an extension for private use and is successfully using it?

I'm not asking them to publish and maintain their preferred app - just mention it and perhaps indicate why they like it.
 
Title: Re: Network Browsing via GUI
Post by: beerstein on October 01, 2010, 07:10:28 AM
Hello: I looking at a similar solution. I learned that mc (midnight commander)
can mount partitions on a networked ps (ftp or http?)
I have no clou how to do it but would like to learn how?

Thank you
Title: Re: Network Browsing via GUI
Post by: andrewb on October 03, 2010, 06:34:06 PM
I guess this is what you're looking for. I don't think it has been made into an extension yet:

http://freshmeat.net/projects/linneighborhood/
Title: Re: Network Browsing via GUI
Post by: beerstein on October 04, 2010, 04:06:04 AM
Hi: Thank you for the tip. Can we use an extension from another distri?
Which, by the way is the closest to tiny core - debian? the old DSL Linux? or Knoppix?

have a good day
Title: Re: Network Browsing via GUI
Post by: SamK on October 04, 2010, 04:49:09 AM
I guess this is what you're looking for. I don't think it has been made into an extension yet:

http://freshmeat.net/projects/linneighborhood/

Hi, thanks for the suggestion.

Having previously looked at both linneighborhood, and pyNeighborhood, both do indeed allow browsing the network howerver, neither of them now seem able to mount samba shares.  I know it was possible as I have used both of them in the past for this. 

This inability to mount shares was partly the reason for starting the thread.

The best candidate I have found at the moment is gigolo:
http://www.uvena.de/gigolo/index.html
This works reliably and well on the systems I have tested it on.  From the home page:
Quote
Gigolo is a frontend to easily manage connections to local and remote filesystems using GIO/GVfs... It allows you to quickly connect/mount a remote filesystem... It is part of the Xfce Goodies project... though it does not have any hard Xfce dependencies and can be used on other desktop environments as well. The only hard dependency is GTK2 (2.12 or newer).

From my non-coders perspective, it seems that TC may already have some of the elements gigolo requires.  If this is the case perhaps one of the experienced TC packagers might find it interesting also.
 
Title: Re: Network Browsing via GUI
Post by: Rich on April 23, 2011, 05:48:53 PM
I've looked at a lot of these packages and one of the problems I have is that they pull in a lot of
baggage with them. The way I see it is that there are two things required:

1. Some way to get a list of available shares. Armed with that the mount command can be used.
2. A GUI to list and mount/unmount the shares.

You can use smbtree from the Samba package for the list, it weighs in at a mere 3.7Mb, don't forget
to include it's dependency libwbclient.so.0, another 40Kb. I decided to write my own version of
smbtree. It's < 28Kb unstripped, < 12Kb stripped, and has no dependencies. It's output looks like:
Code: [Select]
tc@box:~/findshares/src$ time ./findshares
findshares version 0.90 April 23,2011
Copyright Richard A. Rost April 23,2011

I am box

SLUSH-O-MATIC 
         RICHMAIN        192.168.1.43  1st Floor
                NETGEAR         
                NETWORKTOOLS     
                IPC$             Remote Inter Process Communication

WORKGROUP     
         GERRYLAPTOP     192.168.1.45  Gerry's Laptop
                My Documents     
                IPC$             Remote IPC
                ADMIN$           Remote Admin
                C$               Default share

MYGROUP       
         BITBUCKET       192.168.1.47  TC Samba Server
                public           Usable by all
                smalldrive       Temporary workspace
                IPC$             IPC Service (TC Samba Server)

real    0m 0.48s
user    0m 0.00s
sys     0m 0.00s
tc@box:~/findshares/src$

The proportional font used on the forum messed up the alignment a bit. It's compiled under TC3.4 but
I copied it to my file server running TC2.1 and it runs just fine there too. It's been tested against Win98,
Windows XP, and samba running on TC and Debian. I don't have wireless so I don't know how it will fair
with that. If anyone is interested in doing some testing let me know. If the results look promising I will
try my hand at a GUI.

Title: Re: Network Browsing via GUI
Post by: b1ackmai1er on April 25, 2011, 12:57:43 AM
Maybe you could ask if this functionality can be added to fluff?
Title: Re: Network Browsing via GUI
Post by: tinypoodle on April 25, 2011, 01:10:48 AM
Using sshfs-fuse it should be possible to access files over the network with any (GUI) file manager.
Title: Re: Network Browsing via GUI
Post by: Rich on April 25, 2011, 01:21:37 AM
@tinypoodle: The info tab for sshfs-fuse seems to imply an ftp protocol, or am I missing something?
Title: Re: Network Browsing via GUI
Post by: tinypoodle on April 25, 2011, 01:33:28 AM
Not exactly ftp, but a running sftp server is required to run on the boxes to be accessed.

See also
http://forum.tinycorelinux.net/index.php?topic=1738.0
and other threads which could be found by doing a search for "sshfs".
Title: Re: Network Browsing via GUI
Post by: Rich on April 25, 2011, 01:44:49 AM
But this is about mounting Windows and Samba shares which use SMB protocol.
Title: Re: Network Browsing via GUI ???
Post by: tinypoodle on April 25, 2011, 01:56:10 AM
The topic title is
Quote
Network Browsing via GUI
and Reply #6 asked about functionality to be added to fluff,
so I meant to point out an approach how fluff could be used to browse network.

Besides from that, the keywords "windows", "samba", "smb" have no presence anywhere else in this thread except from your Reply #5.
Other than that, approaches involving ftp, http, GIO/GVfs have been discussed in earlier posts.
Title: Re: Network Browsing via GUI
Post by: curaga on April 25, 2011, 01:58:04 AM
Looking forward to seeing the source :)
Title: Re: Network Browsing via GUI
Post by: Rich on April 25, 2011, 02:19:54 AM
The topic could have been named better. And yes, you are correct, except for my post, post #4, and
the subject of the link in post #1, Samba is never mentioned.

b1ackmai1er ask about fluff, not me.
Title: Re: Network Browsing via GUI
Post by: tinypoodle on April 25, 2011, 02:35:47 AM
Got confused by getting a question from you upon my reply to b1ackmai1er.
Post in question corrected accordingly.
Title: Re: Network Browsing via GUI
Post by: SamK on April 25, 2011, 02:58:52 AM
This sounds good and promising.

Are you intending to add your app to the TC3 repository with a status of testing or is it available for download from your web site?

Additionally do you want to establish some form of testing parameters or are you OK with simply receiving feedback?
   
Title: Re: Network Browsing via GUI
Post by: Rich on April 25, 2011, 03:43:50 AM
I would like to contribute it to the repository after some initial testing in a few network environments
besides my own. I'm afraid I do not have a web site.

I'm just looking for some simple testing. Does it discover all the shares on your network. I have tested
against Win98, Windows XP, and Samba running on TC and Debian. If someone could test against
Vista and Windows 7, that would help. While I think it will work, I do not have wireless, so testing that
would also help. If the program encounters a non-fatal error it will spit out the line number of the error
and continue listing shares. I need the line numbers and any info you feel may be relevant to help me
figure out what happened.  The other thing I need is the core file if you get the program to print out
a  signal 11  message and gzip the core file and email it to me.

Once I'm satisfied that the CLI version is running correctly I plan to re-use the bulk of the code for a
GUI version for mounting shares.

Title: Re: Network Browsing via GUI
Post by: gmc on May 09, 2019, 10:06:43 PM
@Rich - did you ever develope a GUI for finding/mounting network shares?
Title: Re: Network Browsing via GUI
Post by: Rich on May 09, 2019, 10:29:05 PM
Hi gmc
No, but I did write a command line program that scans your LAN for both Windows and NFS shares called  findshares.  It scans
from all the network cards it finds in your computer. There's a thread if you want to read more about it here:
http://forum.tinycorelinux.net/index.php/topic,16735.0.html#top
Title: Re: Network Browsing via GUI
Post by: gmc on May 10, 2019, 01:35:02 AM
Hi Rich -- I have enjoyed using findshares, thank you for writing that code.  I just stumbled acros the post from way back in time that said you were planning on writing a GUI from the findshares code.  I thought that after all these many years you might have gotten it done.  But I certainly would not want to see you rush into anything hasty.  Seriously though, I suspect you are way too busy helping hapless users like me figure out how TC works to ahve time to spend on projects like that.  Too bad Nautilus can't browse network shares, that would take care of my needs rather nicely.

Anyawy, have a great day!