Yet Another Samba Share Mounter

Configuration wizards, scanners, remote desktop, etc.
Message
Author
drblock2
Posts: 153
Joined: Mon 19 Jan 2009, 12:38

#41 Post by drblock2 »

This is a wonderful little pet. It works perfectly on my Windows XP LAN.

Can anyone tell me if it is possible to use Samba to share files between machines running puppy? I use ftp for this now, but this is much more limited than actually mounting the remote drive.

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

#42 Post by rcrsn51 »

drblock2 wrote:Can anyone tell me if it is possible to use Samba to share files between machines running puppy? I use ftp for this now, but this is much more limited than actually mounting the remote drive.
You need to install a Samba server package on one of your Puppies. My favourite is Samba-TNG.

Out of curiosity, does your Windows LAN use simple file sharing with open shares or the more complicated version with password security?

drblock2
Posts: 153
Joined: Mon 19 Jan 2009, 12:38

#43 Post by drblock2 »

My Windows LAN uses simple file sharing with open shares.

One interesting observation. If I mount via samba share select, the path to the mounted file system goes via /root/samba. If I mount with pnethood, the path is direct, e.g., /mnt/network/host/share, whereas the samba share select mount has the path /root/Samba/share. This is somewhat inconvenient as the user has to keep this "small detour" in mind when accessing the share with the command line or a file manager.

This should, perhaps, be mentioned in the instructions.

Thanks for the link to Samba-TNG. I will experiment with this asap. This is, I think, very important. It is one thing to maintain compatibility with Windows because we have to deal with Windows computers and quite another to have to rely on ftp because there is no other way for puppy computers to talk to one another.

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

#44 Post by rcrsn51 »

One interesting observation. If I mount via samba share select, the path to the mounted file system goes via /root/samba. If I mount with pnethood, the path is direct, e.g., /mnt/network/host/share, whereas the samba share select mount has the path /root/Samba/share. This is somewhat inconvenient as the user has to keep this "small detour" in mind when accessing the share with the command line or a file manager.

This should, perhaps, be mentioned in the instructions.
It is:
Samba-login uses the folder /root/Samba to hold the mount points.
This was a matter of personal preference on my part. If, when using pnethood, I close the share window, I then have to drill all the way down into /mnt/network to open it again. It seemed much simpler to put the mount points in /root. Most applications start their File>Open dialog there.

kennardly
Posts: 4
Joined: Sat 12 Feb 2011, 14:37

yassm

#45 Post by kennardly »

Is there a way to auto mount the shares at boot ?
Thanks for any response.
Love puppy linux!

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

#46 Post by rcrsn51 »

Deleted.
Last edited by rcrsn51 on Mon 14 Dec 2015, 22:30, edited 15 times in total.

keith_moon
Posts: 1
Joined: Fri 17 Feb 2012, 20:45

Re: Yet Another Samba Share Mounter

#47 Post by keith_moon »

I can't download the pet. Is the download link still valid?

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#48 Post by Makoto »

It's hosted locally on the forum, so, yes, the link should still be valid. However, there's currently an issue or two with the forum (you may have noticed 'garbage' appearing at the top of a page or two, for example), that appears to be interfering with things like the post attachment above. Hopefully, it'll all be sorted, soon.
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

sebus
Posts: 67
Joined: Fri 20 Jan 2012, 20:57

#49 Post by sebus »

It also works fine on Fatdog64, thanks

sebus

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

#50 Post by rcrsn51 »

YASSM v2.2 is posted on Page 1.

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

#51 Post by Geoffrey »

YASSM v2.2 don't run in Saluki, I tried YASSM v2.1 and it works fine, I get this message with v2.2
Attachments
Screenshot-1.jpg
(6.64 KiB) Downloaded 2314 times
[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

#52 Post by rcrsn51 »

Please type the command "iproute" and report the results.

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

#53 Post by Geoffrey »

rcrsn51 wrote:Please type the command "iproute" and report the results.

Code: Select all

# iproute
default via 10.1.1.1 dev eth0  metric 202 
10.0.0.0/8 dev eth0  src 10.1.1.11  metric 202 
127.0.0.0/8 dev lo 
[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

#54 Post by rcrsn51 »

Thanks. What is the IP address of the server you are looking for?

Now try:

Code: Select all

nbtscan -q 10.0.0.0/8
Does this find the server? (You may have to kill this command.) If not, use

Code: Select all

nbtscan -q 10.0.0.0/16
or

Code: Select all

nbtscan -q 10.1.1.0-254

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

#55 Post by Geoffrey »

rcrsn51 wrote:Thanks. What is the IP address of the server you are looking for?
I have 3 nas units ip 10.1.1.2, 10.1.1.3, 10.1.1.7

only the 10.1.1.3 is running to test with


Code: Select all

# nbtscan -q 10.0.0.0/8
# nbtscan -q 10.0.0.0/16
# nbtscan -q 10.1.1.0-254
10.1.1.3         REPOTEC          <server>  REPOTEC          00-00-00-00-00-00
using fping

Code: Select all

LAN IPs found:

10.1.1.1
10.1.1.3
10.1.1.8

Local IP: 10.1.1.11
Attachments
ipinfo.jpg
(24.45 KiB) Downloaded 2259 times
[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

#56 Post by rcrsn51 »

Thanks. One more:

Code: Select all

nbtscan -q 10.1.0.0/16

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

#57 Post by Geoffrey »

rcrsn51 wrote:Thanks. One more:

Code: Select all

nbtscan -q 10.1.0.0/16
That gave no result

Code: Select all

# nbtscan -q 10.1.0.0/16
# 
[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

#58 Post by rcrsn51 »

Thanks. If you run Pnethood from another Puppy (Saluki doesn't have it) can it find your NAS boxes?

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

#59 Post by Geoffrey »

rcrsn51 wrote:Thanks. If you run Pnethood from another Puppy (Saluki doesn't have it) can it find your NAS boxes?
With Pnethood I've never had a problem with other puppy's using a network scan of 3 seconds, Saluki has pnethood but I need to adjust the network scan to 6 seconds then it finds the servers.

I have had this problem with lameSMBxplorer, I was never was able to get it to function correctly, it also had issues with ip's in the 10.1.1.0 range and netmask 255.0.0.0, this was discussed here http://murga-linux.com/puppy/viewtopic. ... 033#440033.

Don't pull your hair out over it, your version 2.1 works fine and it's easier for me to set the shares manually, the only time it's a pain is if someone arrives with a device that I wish to access, but a quick fping scan will find any new ip's.
[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

#60 Post by rcrsn51 »

Thank you for this testing - it has been extremely valuable. I had made some incorrect assumptions about how people set up home networks.

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's interesting that "nbtscan -q 10.1.1.0-254" did work with the default 1 second time interval.

I will be releasing a YASSM v2.3 shortly.

Bill

Post Reply