Yet Another Samba Share Mounter

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#61 Post by Geoffrey »

rcrsn51 wrote:I was surprised that "nbtscan -q 10.1.0.0/16" did not find your NAS boxes, because I believe that's how Pnethood does it. But maybe "nbtscan -q -t 3000 10.1.0.0/16" would work.
It certainly looks to be a timing issue.

Code: Select all

# nbtscan -q -t 3000 10.1.0.0/16
# nbtscan -q -t 4000 10.1.0.0/16
# nbtscan -q -t 5000 10.1.0.0/16
# nbtscan -q -t 6000 10.1.0.0/16
# nbtscan -q -t 7000 10.1.0.0/16
10.1.1.3         REPOTEC          <server>  REPOTEC          00-00-00-00-00-00
10.1.1.7         NAS              <server>  NAS              00-00-00-00-00-00
# 
Geoff
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#62 Post by rcrsn51 »

Could you repeat that, but with

Code: Select all

nbtscan -q -t xxxx 10.1.1.0-254

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#63 Post by Geoffrey »

rcrsn51 wrote:Could you repeat that, but with

Code: Select all

nbtscan -q -t xxxx 10.1.1.0-254

Code: Select all

nbtscan -q -t 1000 10.1.1.0-254
10.1.1.3         REPOTEC          <server>  REPOTEC          00-00-00-00-00-00
10.1.1.7         NAS              <server>  NAS              00-00-00-00-00-00
Time appears not to effect the result, "t" can be anything higher than "1"

Code: Select all

# nbtscan -q 10.1.1.0-254
10.1.1.7         NAS              <server>  NAS              00-00-00-00-00-00
10.1.1.3         REPOTEC          <server>  REPOTEC          00-00-00-00-00-00
# 
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#64 Post by rcrsn51 »

Thank you again. This has been invaluable testing.

I have posted YASSM v2.3 above. The new samba-search tool should work with your network, but samba-login and samba-select are still available if you need them.

Bill

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#65 Post by Geoffrey »

Brilliant, it works a treat, thankyou very much for this.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#66 Post by rcrsn51 »

What a great test!

Did that list not originally have a scroll bar on it? Or did you resize the window?

I should really make the default height larger for serious file sharers like yourself. :wink:

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#67 Post by Geoffrey »

Yes it did have a scrollbar, I stretched it out to see the contents, works well, thanks again.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#68 Post by rcrsn51 »

I have uploaded a new v2.3 that has a larger default window.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#69 Post by rcrsn51 »

YASSM v2.4.2 adds some improvements to the samba-search tool.

1. The new user interface lets you mount several shares at once without having to rescan the network.

2. You can now scan for shares across multiple subnets.
Last edited by rcrsn51 on Thu 19 Jul 2012, 11:35, edited 1 time in total.

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Yet Another Samba Share Mounter

#70 Post by sheldonisaac »

Hi. Haven't been using LAN for a while. Now on netbook with Lucid Puppy 5.2.8, trying to connect to Win98 server.

(some snipping)
rcrsn51 wrote: If you are logging into a basic Windows XP share, you can leave the Username, Password and Options fields empty.
Yes, it saw a shared directory on a winXP computer, thanks.
Note to firewall users: YASSM needs help finding a share if the client machine is running the Puppy firewall. Add your LAN's network prefix to the server name. For example, acer?192.168.2.0. Note that the last digit is a zero and the question mark character is used as a separator.
Or just try using the full IP address as the server name.
Please excuse, I don't understand that about "LAN's network prefix" ; I tried turning off the firewall on this computer.
Note to Win9X owners: When connecting to a Win9X machine, you must enter the share and server names in UPPER case. And you must include the option servern=SERVER_NAME.
Here's samba-login.set

Code: Select all

 
USER=""
PASSWORD=""
SHARE="E-SHARE"
SERVER="SHELDON"
OPTIONS="domain=WORKGROUP;servern=SHELDON"
Yay, it's working.


Thanks,
Sheldon

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#71 Post by rcrsn51 »

@sheldonisaac: It's nice to hear again from the original YASSM tester! Your Win98 server box is still running?
I don't understand that about "LAN's network prefix" ; I tried turning off the firewall on this computer.
Programs like Pnethood and YASSM need to convert a server's name into its IP address in order to mount its shares. They do it by scanning the network for a server with the correct name and returning the matching IP.

But in some cases, the presence of a firewall can interfere with this procedure. The easiest solution is to turn off the firewall. But if you don't want to do that, YASSM has an alternative.

You can specify the server name as "server?aaa.bbb.ccc.0". Then YASSM will use a different, slower procedure to find the IP address.

You can also use this technique if your network is divided into segments using several routers. By using the server?subnet description, YASSM has a better chance of finding shares on a remote server.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#72 Post by rcrsn51 »

YASSM 2.4.6 is posted above. This version uses mpscan instead of nbtscan as its internal share detection engine. The initial network scan is a little slower, but mpscan is a more reliable tool.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#73 Post by sc0ttman »

Call me thick but I'm a little confused...

I have Samba-TNG installed.. Now I want the GUI frontend that works best with it.

I already have an older version of your samba-tng pet,
and noticed the latest pet does not have the '/usr/local/samba/client' folder, but I do! This folder has samba-login in it, and samba-select ...

I also downloaded your YASSM pet, and looked at that...
Does it work with samba-tng? I plan to simply whack YASSM into my pup, and hope it works with the actual samba-tng stuff already in there from samba-tng-rcrsn-0.5-rc1.pet ....
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#74 Post by rcrsn51 »

The original samba-TNG packages also contained the client programs like samba-login. They were stored in the folder /usr/local/samba/client. But that was causing some confusion over server versus client functionality. So I split the client apps into their own package named YASSM. YASSM 2.4.6 now uses the folder /usr/local/yassm.

Just to be clear, YASSM is not a GUI front-end for samba-TNG. YASSM is an alternative to Pnethood or lameSMBxplorer. But it definitely works as a tool for mounting samba-TNG shares.
I plan to simply whack YASSM into my pup, and hope it works with the actual samba-tng stuff already in there from samba-tng-rcrsn-0.5-rc1.pet
No. You want to install it in other Puppies so they can access the TNG shares or Windows shares, etc.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#75 Post by sc0ttman »

rcrsn51 wrote:I split the client apps into their own package named YASSM. YASSM 2.4.6 now uses the folder /usr/local/yassm.
Ok cool.
Just to be clear, YASSM is not a GUI front-end for samba-TNG. YASSM is an alternative to Pnethood or lameSMBxplorer. But it definitely works as a tool for mounting samba-TNG shares.
OK, just to confirm I am indeed thick... So, let see if this is correct:

1. YASSM is a client, for connecting to ('mounting') samba AND samba-tng shares on OTHER PCs ...
2. And samba-tng-rcrsn-0.5-rc1 is purely for setting up a server, creating a 'share' that others can 'mount'...


Is the above correct?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#76 Post by rcrsn51 »

sc0ttman wrote:OK, just to confirm I am indeed thick... So, let see if this is correct:

1. YASSM is a client, for connecting to ('mounting') samba AND samba-tng shares on OTHER PCs ...
2. And samba-tng-rcrsn-0.5-rc1 is purely for setting up a server, creating a 'share' that others can 'mount'...

Is the above correct?
Yes.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#77 Post by sc0ttman »

OK I made this yesterday, Samba Manager 0.1

It requires both rcrsn51s YASSM and samba-tng
pets to be installed. It adds a menu entry in 'Network'.

It's a simple script, a hack more than anything.

It's a frontend for both YASSM and Samba-TNG,
hopefully clear enough that idiots like me won't
confuse the purpose of the two.

Of course, this is just for users who want it, and
I do not intend this to be part of either the YASSM
or samba-tng-rcrsn51 pkgs..

Here are some screenshots and the pet, below:
Attachments
samba-manager-0.1.pet
(4.45 KiB) Downloaded 1130 times
image-1.png
(31.51 KiB) Downloaded 2496 times
image-2.png
(32.14 KiB) Downloaded 2520 times
image-3.png
(19.91 KiB) Downloaded 2387 times
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#78 Post by rmcellig »

I just installed Puppy Precise 5.4. I can access my shares from the other computers on my LAN but how do I create a share so that I can see it on my other machines. Do I use YASSM or do I have to download Samba Full or do I use Yassm instead?

I know how to set up a share in Puppy Linux 5.2.8 but am not sure how to do it in Precise. Thanks!!

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#79 Post by rcrsn51 »

rmcellig wrote:I just installed Puppy Precise 5.4. I can access my shares from the other computers on my LAN but how do I create a share so that I can see it on my other machines. Do I use YASSM or do I have to download Samba Full?
YASSM is not a Samba server. It is a client app, like Pnethood. It does not create shares. It accesses the shares on other machines.
I know how to set up a share in Puppy Linux 5.2.8 but am not sure how to do it in Precise. Thanks!!
How did you do it in Lupu? Have you tried Samba-TNG in Precise?

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#80 Post by rmcellig »

Looks like I will be testing Samba 4.0. Can hardly wait!

Haven't tried Samba-TNG. Will look into it.

Post Reply