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 23 Oct 2017, 13:36
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 11 of 12 [170 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12 Next
Author Message
rcrsn51


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

PostPosted: Thu 29 Jun 2017, 15:48    Post subject:  

Thanks for the feedback.

Regarding the iocharset option: when I started development of YASSM, I was reluctant to lock in various options for fear that there would be negative effects on users who did not need them.

For example, does the option work with shares on different generations of Windows machines?

It seemed safer to leave it as an option that people can easily add on their own.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 16 Jul 2017, 00:47    Post subject:  

YASSM v3.0 posted above. The search tool recognizes multiple networks.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 16 Aug 2017, 12:19    Post subject:  

YASSM v4.0 is posted above. It is a major revision that combines the previous functions (yassm-search, yassm-select, yassm-login) into one program. It eliminates potential problems that come with searching a network for shares.

------------------------
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 25 Aug 2017, 10:10    Post subject:  

YASSM v4.1 is posted above. There are changes to the user interface.

Once you have done the setup for a share, you can mount it with one click.
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 25 Aug 2017, 14:55    Post subject:  

YASSM v4.1 downloaded and installed in LxPupSc 17.08.24T on one of my core 2 duo Fujitsu S6520 laptops. Took this old user a minute to make the leap from yassm-search to the new interface (I hadn't used 4.0) but the help walkthrough is clear and once set up the single panel UI is neater. Currently my server box is also running on the samba in LxPupSc but in general it runs X-Slacko 4.2, now 4.3. Both the PcManFm in the LxPups and the Thunar in the X- series can connect to the shares but after a period of non-use even though the server box doesn't hibernate or sleep they sometimes fail to connect. Yassm-search always has.
Thanks,

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 25 Aug 2017, 15:51    Post subject:  

Marv wrote:
... but after a period of non-use even though the server box doesn't hibernate or sleep they sometimes fail to connect. Yassm-search always has.

Thanks for testing - I was concerned about this possibility.

In v4, will an unmount-remount operation wake up the server?

In v3, did you need to run the "Wake" operation to wake up the server, or was a new search good enough?

In v3, the Wake operation hit each host on the network with a ping. So try this in v4 when the server goes to sleep:
Code:
 ping -c1 192.168.x.y

Then mount again.
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 25 Aug 2017, 16:57    Post subject:  

In v2 a simple search was enough to wake the server up, thus my preference for the Yassm-search. I will try both the unmount/mount test and the ping test in v4. It will take a bit to get a definitive answer as I need a failure to wake first and I will check the server running both LxPupSc and X-slacko 4.3.
_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 25 Aug 2017, 17:04    Post subject:  

In v3, a search operation did the following:
a. ran pnscan to locate the server
b. ran nmblookup to get its NETBIOS name
c. ran smbclient to get the list of shares
d. ran mount to mount the selected share.

But those middle steps should be unnecessary if you already know where the share is.

So v4 just does the following:
a. runs arp-scan to locate the server
b. runs mount

I have never seen arp-scan have a problem finding a server on the network.

[Edit] Here is something to try:

1. Open /usr/local/bin/yassm
2. Go to line 88
3. Change it to
Code:
 arp-scan -r 5 "$SERVER" .....

This increases the number of retries if the server doesn't respond.
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 25 Aug 2017, 17:18    Post subject:  

So far v4 just works (finds and mounts correctly). I'll keep testing with the combinations I noted above. My NAS and printer addresses are all static to keep life simple in that regard.
_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Fri 25 Aug 2017, 18:30    Post subject:  

I am going to repost v4.1 with the "-r" option. It sounds like the safe thing to do. There is no downside if the server is detected immediately.
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Sat 26 Aug 2017, 10:23    Post subject:  

Still all good here running v4.1 with a single retry, I switched the samba server over to X-Slacko 4.3 from the LxPupSc 17.08.23 I tested with first, doing a fresh frugal install as the X-Slacko savefile was getting pretty shopworn. In short and overnight tests v4.1 found and connected every time. The process is indeed faster than the full search in Yassm-search by a couple of seconds on this network and setup.

Thanks,

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 26 Aug 2017, 10:46    Post subject:  

Marv wrote:
... with a single retry...

Please explain. Are you using the unmodified version of 4.1?

Was your original report of "Server not found" a fluke?

I have posted a new v4.1 that sets RETRIES=4 on line 6.
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Sat 26 Aug 2017, 11:05    Post subject:  

rcrsn51 wrote:
Marv wrote:
... with a single retry...

Please explain. Are you using the unmodified version of 4.1?

Was your original report of "Server not found" a fluke?

I have posted a new v4.1 that sets RETRIES=4 on line 6.
I am using the unmodified 4.1. I have never had a "Server not found" with it. What I said a few posts up was that I would look for that failure. It never has occurred with the unmodified 4.1. I have tested with samba under X-Slacko and LxPupSc so far. Since I haven't had any failures I haven't yet updated to the multiple retry version.
_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sat 26 Aug 2017, 11:48    Post subject:  

OK. I misunderstood this statement:
Quote:
Both the PcManFm in the LxPups and the Thunar in the X- series can connect to the shares but after a period of non-use even though the server box doesn't hibernate or sleep they sometimes fail to connect. Yassm-search always has

Were you referring to the built-in Samba client tools in PcManFm?

IIRC, there were reports by LxPup users that they needed additional wake-up procedures to make previous YASSMs work. But this may be a non-issue with v4.1, especially with the increased RETRIES value.

Bill
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Sat 26 Aug 2017, 12:28    Post subject:  

rcrsn51 wrote:
Were you referring to the built-in Samba client tools in PcManFm?

IIRC, there were reports by LxPup users that they needed additional wake-up procedures to make previous YASSMs work. But this may be a non-issue with v4.1, especially with the increased RETRIES value.

Bill

Yes, it was the built-in client tools. Since I have been using Yassm-search exclusively for quite a while I really don't know if they have changed/improved over time.

Both Yassm-search and now Yassm v4.1 have worked extremely reliably over many LxPups for me on a fairly wide variety of hardware. IIRC also there were some wakeup problems with Yassm not using the -search option. I'll update to the current 4.1 and continue to use it later today.

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 11 of 12 [170 Posts]   Goto page: Previous 1, 2, 3, ..., 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.1286s ][ Queries: 12 (0.0316s) ][ GZIP on ]