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 Fri 15 Dec 2017, 10:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
Yet Another Samba Share Mounter
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 12 [175 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12 Next
Author Message
lemmy999

Joined: 12 Jan 2008
Posts: 104

PostPosted: Sun 22 Feb 2015, 12:57    Post subject:  

Aha!! Updated my version of Yassm to 2.7, edited yassm-select to include the Windows share that I wanted to access and rebooted. And everything now works!!

Thank you for your help ( and this very useful application, which will make my father-in-laws life a little easier)
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 13 Mar 2015, 15:09    Post subject:  

Bonjour,
I was running an old version of Puppy today (4.3.1) and accidentally (or by chance!) noticed that, using yassm 2.4, I could access to an usb key plugged on my Internet box, what I couldn't do with later versions 2.6 and 2.7! I thought it was my box or any misconfigured permission/password which was the cause of the problem but it is finally not the case.

Have you any idea of what's wrong?

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Fri 13 Mar 2015, 15:25    Post subject:  

YASSM v2.7 uses a new scanning method based on a tool called pnscan. Earlier versions used mpscan, but the 4.x Puppies may have contained a different version of mpscan.

Pnethood used a different tool called nbtscan!

Based on a variety of tests, it appears that v2.7 works better than the older versions of YASSM. But that may not be true in your case.

With v2.7, did you try using Wake or Rescan?

[Edit] In v2.7, was the share detected by YASSM-search? This may be a situation where new Puppies need to use the "sec=ntlm" option in YASSM-login.
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 13 Mar 2015, 19:48    Post subject:  

Bonsoir,
Thanks for your quick reply!
Quote:
Pnethood used a different tool called nbtscan!
Pnethood doesn't "see" my usb key, contrary to yassm.
Quote:
did you try using Wake or Rescan?

Not needed. I just couldn't mount it...
Quote:
In v2.7, was the share detected by YASSM-search? This may be a situation where new Puppies need to use the "sec=ntlm" option in YASSM-login.

... and with the option "sec=ntlm", all works fine. Cool
Thanks.

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 14 Mar 2015, 13:19    Post subject:  

Bonjour,
rcrsn51 wrote:
Do you want the share to be automatically unmounted if it has not been used for a while? I think that would be too difficult to implement.

For those who are interested in, the French team did it!
Arrow Please see this thread.

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 03 Dec 2015, 06:55    Post subject:  

Bonjour,
A Puppy user sent this message to me (Google translation), using yassm to access to a machine running Windows 10 (I cannot reproduce this...)
Quote:
I tried the option sec=ntlm, but unsuccessfully.
My other machines under Linux have not this access problem.
A smbclient -L ip-pc-windows gives me a NET_STATUS_ACCES_DENIED
The firewall is deactivated.

What could I suggest to him to solve this problem?

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Thu 03 Dec 2015, 11:44    Post subject:  

Every version of Windows makes sharing more complicated. The only way I could get it to work in Win10 was by turning password protected sharing OFF.

Right-click on the shared folder > Properties > Sharing

At the bottom, click on Network and Sharing Center.

Select All Networks.

Select Turn off password protected sharing.

I thought that I once has this working with password protected sharing ON, but I couldn't get it to work this time.
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 03 Dec 2015, 11:59    Post subject:  

Thanks...
_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 04 Dec 2015, 06:46    Post subject:  

Bonjour,
rcrsn51 wrote:
I thought that I once has this working with password protected sharing ON, but I couldn't get it to work this time.

Here is the answer of this Puppy/yassm user:
Quote:
Thank you for the information.
However it is not the nature of the problem because I had already set the sharing under Windows without password.
I always try empirically from time to time to find a solution.
The distributions based on Ubuntu reach it with no problem at all. Mageia, based on RedHat also.
My technical knowledge under Linux is insufficient to understand what makes that some distributions reach it with no problem at all while others not.

Is there really nothing to do, because if it is a handicap for now, it should be more severe for the future... especially for maintainers who bet everything on yassm?

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Fri 04 Dec 2015, 12:19    Post subject:  

@Argolance: What Puppy version is causing the problem? I am seeing the same problem with a Win10 share in some Puppies like Precise. This command fails
Code:
smbclient -NL aaa.bbb.cc.dd

For some reason, Slacko Puppies work, even though they use the same version of smbclient!

Here is what fixed it for me in Precise.

1. Go here and get the samba4_basic_tahrpup-4.1.9.pet.

2. Get the patch file for your particular Puppy.

3. Get the samba4_client-4.1.9.pet.

You need to install the Samba server package in Step 1 because it has dependencies for the Samba client tools.

I have not checked to see if Precise also has a problem with Win7 shares. I would assume that someone has already done so. [Edit] I did a quick test of Precise 571 with a Win7 share and it worked correctly OOTB, including password-protection.

I tried many ways to get the Win10 share working with password-protected sharing turned ON, but they all failed. I wonder if this works in other Linuxes?

Last edited by rcrsn51 on Fri 04 Dec 2015, 16:37; edited 1 time in total
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Fri 04 Dec 2015, 12:53    Post subject:  

Bonsoir,
Quote:
What Puppy version is causing the problem?

Puppy 5.7.1
Thank you a lot: I transfer this to the Puppy user...

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 05 Dec 2015, 12:27    Post subject:  

Bonsoir,
Quote:
Here is what fixed it for me in Precise.

It works!
I was wondering if Samba4 should replace Samba TNG or if it is better to keep both?

Merci.
Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Sat 05 Dec 2015, 13:01    Post subject:  

Argolance wrote:
It works!

Tres bien.
Quote:
I was wondering if Samba4 should replace Samba TNG

Yes. The Samba4 Basic server works with more client devices than TNG (like Android tablets) and it has a control panel app, which TNG does not.
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3147
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 05 Dec 2015, 13:23    Post subject:  

And what about the already existing /usr/local/samba directory? If I create an update pet package, what is to be kept, deleted, modified?

Thanks.

_________________

Back to top
View user's profile Send private message Visit poster's website 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Sat 05 Dec 2015, 14:14    Post subject:  

Samba-TNG is self-contained in /usr/local/samba. Its start/stop scripts are in /usr/local/bin. Samba4 Basic does not use any of these, so you can safely delete them.

I was curious about how the mainstream Linuxes work with Windows 10 shares, so I booted Ubuntu 14. It had the same problem - it could only mount the share if password-protection was OFF.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 12 [175 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Network
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.0579s ][ Queries: 12 (0.0125s) ][ GZIP on ]