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 Wed 27 May 2015, 06:10
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 8 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 Next
Author Message
disciple

Joined: 20 May 2006
Posts: 6513
Location: Auckland, New Zealand

PostPosted: Sat 18 May 2013, 22:48    Post subject:  

peebee wrote:
Would have to try a different puppy - no pnethood any more in Slacko5.5....

Try installing it. It is more informative if you test on the same system.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
tomfoo13ry

Joined: 08 Jun 2013
Posts: 1

PostPosted: Sat 08 Jun 2013, 02:22    Post subject:  

Thank you for this pet rcrsn51. It is very useful.

I was having a problem with automount but it seems to have resolved itself after a few reboots.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2395
Location: UK

PostPosted: Thu 11 Jul 2013, 19:03    Post subject:  

I can never find any shares with YASSM...

Why do I get this error? I've got your packages installed, samba-tng, yassm, etc.. What else am I missing?!

Code:
/usr/local/yassm/samba-search: line 103: nmblookup: command not found


From which (wary) pet package can i get this file any any other related files??

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5467
Location: Finland

PostPosted: Thu 11 Jul 2013, 19:11    Post subject:  

# find /mnt/sda6/woof-july3-raring/woof-out_x86_x86_ubuntu_raring/packages-raring -name nmblookup
/mnt/sda6/woof-july3-raring/woof-out_x86_x86_ubuntu_raring/packages-raring/samba_client/usr/bin/nmblookup

http://distro.ibiblio.org/quirky/pet_packages-common/samba_client-3.0.37.pet
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Thu 11 Jul 2013, 19:36    Post subject:  

sc0ttman wrote:
From which (wary) pet package can i get this file any any other related files??

What Puppy are you using? Nmblookup has been included since 4.3.1 or earlier. However, it was sometimes located in /opt/samba/bin and that folder was added to the search path.
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2395
Location: UK

PostPosted: Fri 12 Jul 2013, 04:16    Post subject:  

rcrsn51 wrote:
sc0ttman wrote:
From which (wary) pet package can i get this file any any other related files??

What Puppy are you using? Nmblookup has been included since 4.3.1 or earlier. However, it was sometimes located in /opt/samba/bin and that folder was added to the search path.

I'm using akita, which was turbopup back in the day, maybe that;s why it was missing... anyway, i added it, and yassm works fine... cheers.

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Scooby

Joined: 03 Mar 2012
Posts: 414

PostPosted: Sat 08 Mar 2014, 17:48    Post subject:  

HOw to use

/etc/init.d/rc.yassm ?

Code:
case "$1" in
  start)
  ;;
  stop)
    for M in $HOME/YASSM/*; do
      umount-FULL $M  > /dev/null 2>&1
      rmdir $M > /dev/null 2>&1
    done
  ;;
esac


IS it for shutdown script?

Also I was thinking would it be possible to add a button to samba-login that
puts info into samba-select.dat?
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1034
Location: france

PostPosted: Tue 23 Dec 2014, 10:51    Post subject:  

Hi,
I like to use Yassm : very easy to use and works fine.
Thank you rcrsn51.
But i would like to have a timeout after a share is not in use : is there an option for that ?
Thank you again,
Philippe
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 23 Dec 2014, 11:21    Post subject:  

augras wrote:
But i would like to have a timeout after a share is not in use

Please explain. 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.
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1034
Location: france

PostPosted: Tue 23 Dec 2014, 13:22    Post subject:  

rcrsn51 wrote:
Do you want the share to be automatically unmounted if it has not been used for a while?

It's exactly what i'm looking for.
Autofs do it, but to be authenticate everything is clear in a file and yassm is a better way for that.
Philippe
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Tue 23 Dec 2014, 13:29    Post subject:  

augras wrote:
Autofs do it

Sorry, but that is far too complicated for YASSM.
Back to top
View user's profile Send private message 
augras

Joined: 11 Nov 2013
Posts: 1034
Location: france

PostPosted: Tue 23 Dec 2014, 13:44    Post subject:  

Thank you for your quick answer.
And "just" for a time out after the share is mount, is it possible ?
Philippe
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Mon 19 Jan 2015, 09:10    Post subject:  

YASSM v2.7 has several important changes.

1. The program filenames samba-login, etc. are now yassm-login, etc. This is to avoid any confusion with other Samba tools.

2. The user configuration files have moved from /root/.config/yassm to /root/.yassm.

3. YASSM-search continues to identify shares by their server name. But now it sends the server's IP address to YASSM-login. This is a more reliable way to mount shares.

4. If you select a "hidden" share, the procedure is unchanged. Enter the username and password. Click the Shares button. Select a share. Enter any required options. Click Mount.

5. If you run YASSM-login as a separate tool, you can still use server names.

6. YASSM-select can use either server names or IP addresses. But the latter are preferred, provided that they are static.

7. Previous versions of YASSM-search had an option for scanning alternate subnets. This feature has been removed. If anyone still wants it, please post a request.
Back to top
View user's profile Send private message 
lemmy999

Joined: 12 Jan 2008
Posts: 92

PostPosted: Sun 22 Feb 2015, 05:04    Post subject:  

Nice tool. Only problem I am having is with "automount on boot" Your instructions state
Quote:
4. Drag the file yassm-automount into your Startup folder.


I don't have a yassm-automount file in /usr/local/yassm but do have a samba-automount file. I've had a quick look at it and reckon its the same file. Is that correct?

On reboot my YASSM directory is on the desktop, clicking it I can see the Windows share I want to access but its empty.
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Sun 22 Feb 2015, 08:43    Post subject:  

lemmy999 wrote:
I don't have a yassm-automount file in /usr/local/yassm but do have a samba-automount file. I've had a quick look at it and reckon its the same file. Is that correct?

See my post above yours. In v2.7, the program names have changed.

Quote:
On reboot my YASSM directory is on the desktop, clicking it I can see the Windows share I want to access but its empty.

Automount uses the yassm-select database for its mounting information. Do you have your Windows share set up correctly in yassm-select?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 8 of 9 [125 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9 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.0814s ][ Queries: 13 (0.0059s) ][ GZIP on ]