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 22 Oct 2014, 08:51
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 2 of 8 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
rcrsn51


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

PostPosted: Sat 18 Dec 2010, 21:51    Post_subject:  

Try:
Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON,username=xxx,password=xxx

or
Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON

or
Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON,guest
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sat 18 Dec 2010, 22:57    Post_subject:  

OK, rcrsn51. You said I should try these 3; here's what happened-

First I did this:
Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON

It asked for a Password, I pressed Enter and it mounted.

I'll unmount and try the other two.

Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON,username=xxx,password=xxx

This worked, didn't ask for a password.

Code:
mount.cifs //192.168.1.100/H-BCP /root/mnt -o servernetbiosname=SHELDON,guest

This also worked, didn't ask for a password.

And so did this work, didn't ask for a password.
Code:
mount.cifs //SHELDON/H-BCP /root/mnt -o servernetbiosname=SHELDON,guest
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sat 18 Dec 2010, 23:07    Post_subject:  

Excellent!

I'll make a new version of samba-login and get back to you.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sat 18 Dec 2010, 23:49    Post_subject:  

I have posted the new version samba-share-mount-1.3.pet at the start of the thread. Please give it a test and report back. Leave the Options field blank.
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sun 19 Dec 2010, 15:26    Post_subject:  

rcrsn51 wrote:
I have posted the new version samba-share-mount-1.3.pet at the start of the thread. Please give it a test and report back. Leave the Options field blank.

Thanks.
I hope more people can test and report.

The version 1.1 worked fine for me, and I was going to say I will take some time to do other things, for a while.

Version 1.3 gave the "No connection to xxx-share!"
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sun 19 Dec 2010, 16:29    Post_subject:  

sheldonisaac wrote:
Version 1.3 gave the "No connection to xxx-share!"

I may have to set up a Win98 machine to test this properly. Wink

Since v1.1 worked, can you do one more test with v1.3? In the Options box, type dom=WORKGROUP. That's the only significant difference between the two versions and maybe the Win98 server needs it.
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sun 19 Dec 2010, 16:46    Post_subject:  

rcrsn51 wrote:
sheldonisaac wrote:
Version 1.3 gave the "No connection to xxx-share!"

I may have to set up a Win98 machine to test this properly. Wink

Since v1.1 worked, can you do one more test with v1.3? In the Options box, type dom=WORKGROUP. That's the only significant difference between the two versions and maybe the Win98 server needs it.


I guess that it's been found to work with such as Windows 2000, XP, etc

OK, I will try the dom=WORKGROUP later this afternoon.

Thanks.

(I'm posting from Opera 10.63 on the "Windows" box, under Puppy '214X-top5')
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sun 19 Dec 2010, 16:50    Post_subject:  

Just to be clear - are you testing with Lupu or with 214x?

Also, could you do a test by putting some dummy data in the Username and Password fields?
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sun 19 Dec 2010, 17:06    Post_subject: Testing the YASSM  

rcrsn51 wrote:
Just to be clear - are you testing with Lupu or with 214x?

Also, could you do a test by putting some dummy data in the Username and Password fields?


Will try.

I've been, and will, test with Lupu, Puppy 5.11 from the netbook, to Win98se on _this_ box

------------------

(a little later)

I _think_ I'm using ver 1.3

The log-in worked with only the share and server (in CAPS). I think it did before? Maybe it was only the Samba share selector which didn't work.

Not sure whether this is what you meant, rcrsn51 ? I did the log-in with dom=WORKGROUP, also worked.

Next: filled in dummy data in the Username and Password fields, but left options blank. Worked.

Next: same as above, but with dom=WORKGROUP. Worked.

Will do one more try, with lower case server and share. Doesn't work.

==============

Tried the Samba share selector with the following .dat,worked.
Code:

#1# Don't change the first nine lines of this file!
#2# The data starts on Line 10.
#3# Each line of data describes a network share.
#4# There are six fields separated by commas. See the sample data below.
#5# The fields are: description, username, password, share, server, workgroup
#6# If the share does not require a login, leave the username and password fields blank.
#7# The workgroup field is optional.
#8# The last line of the file must be EOF.
#9#
BCP,guest,xxx,H-BCP,SHELDON,dom=workgroup
Sources,guest,xxx,SOURCES,SHELDON,dom=WORKGROUP
EOF


Not sure this is version 1.3?
Can you tell from the file dates etc, at bottom?

Quote:

ls -alt
total 44
drwxr-xr-x 3 root root 4096 2010-12-19 16:56 .
-rw-r--r-- 1 root root 551 2010-12-19 16:56 samba-shares.dat
-rw-r--r-- 1 root root 547 2010-12-19 16:55 samba-shares.dat~
-rw-r--r-- 1 root root 614 2010-12-19 16:43 dec19-samba-shares.dat
drwxr-xr-x 2 root root 4096 2010-12-19 16:17 saved
-rwxr-xr-x 1 root root 2372 2010-12-19 12:03 samba-shares
-rwxr-xr-x 1 root root 2999 2010-12-19 12:02 samba-login
-rw-r--r-- 1 root root 50 2010-12-19 08:06 samba-login.set
-rw-r--r-- 1 root root 2853 2010-10-16 13:20 samba-menu.xpm
drwxr-xr-x 3 root root 4096 2010-10-13 11:48 ..
-rw-r--r-- 1 root root 3563 2010-10-08 18:51 samba-login.png
Back to top
View user's profile Send_private_message 
davids45


Joined: 26 Nov 2006
Posts: 652
Location: Chatswood, NSW

PostPosted: Sun 19 Dec 2010, 19:40    Post_subject:  

G'day,
I have been trying your Samba-TNG pet and been happily surprised that it works with three different XP computers on my home network using \\pupserver.

Is the package you've offered in this thread different to those Samba-TNG pets in a way you could outline? I'll be trying this one anyway when I get the chance.

Re the Samba-TNG, I think when I've tried it as a server on my main desktop, when I shut down that Pup, it takes many seconds longer to close - is there be something I should be doing to get the normal quick Puppy close? I found this prolonged shutting down with two Pups (4.2 and 2.4.6) which on re-start and not starting Samba both closed quickly as normal.

Thanks for your excellent dancing lessons,

David S.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sun 19 Dec 2010, 19:53    Post_subject: Re: Testing the YASSM  

sheldonisaac wrote:
Not sure this is version 1.3?


I really should have numbered these better. The new versions have an Options field and the old ones have Workgroup. So your Samba share selector example above is an old version.

Can you confirm that your samba-login test was with a new version? It sounds like the key is to use upper case server and share names.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sun 19 Dec 2010, 20:06    Post_subject:  

davids45 wrote:
Is the package you've offered in this thread different to those Samba-TNG pets in a way you could outline?

The Samba-TNG thread has the samba-tng-rcrsn-client-1.4.pet, which also contains the samba-login and samba-shares programs. Those versions were designed primarily to access the Samba-TNG server.

The versions here are a bit more general so they can work in situations like sheldon's Win98 filesharing machine. If you have a client machine with samba-tng-rcrsn-client-1.4.pet installed, you can install this samba-share-mount-1.3.pet over top of it.

Quote:
Re the Samba-TNG, I think when I've tried it as a server on my main desktop, when I shut down that Pup, it takes many seconds longer to close - is there be something I should be doing to get the normal quick Puppy close? I found this prolonged shutting down with two Pups (4.2 and 2.4.6) which on re-start and not starting Samba both closed quickly as normal.

I have seen slow shutdowns on client machines when I didn't first unmount a share. If the problem is on the server machine, just run samba-stop before quitting.

Edited_time_total
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sun 19 Dec 2010, 20:06    Post_subject: Re: Testing the YASSM  

rcrsn51 wrote:
sheldonisaac wrote:
Not sure this is version 1.3?


I really should have numbered these better. The new versions have an Options field and the old ones have Workgroup. So your Samba share selector example above is an old version.

Can you confirm that your samba-login test was with a new version? It sounds like the key is to use upper case server and share names.


I'm pretty sure the tests were with ver 1.3, but will check again.

Sorry, I realized after I sent the above that I'd used a .dat modified from the one I'd used with ver 1.
Back to top
View user's profile Send_private_message 
rcrsn51


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

PostPosted: Sun 19 Dec 2010, 20:16    Post_subject: Re: Testing the YASSM  

sheldonisaac wrote:
I'm pretty sure the tests were with ver 1.3, but will check again.

It sounds like v1.3 is good, except that the share and server names must be in upper case. (A Win XP server doesn't care.)

If you can confirm this, I'll make another version that automatically converts them to caps.

Version 1.3 now works in Puppy 2.14X on my system with an XP share. Perhaps you can test this sometime with your Win98 share.
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 424
Location: Philadelphia, PA

PostPosted: Sun 19 Dec 2010, 20:40    Post_subject: Re: Testing the YASSM  

rcrsn51 wrote:
sheldonisaac wrote:
I'm pretty sure the tests were with ver 1.3, but will check again.

It sounds like v1.3 is good, except that the share and server names must be in upper case. (A Win XP server doesn't care.)

If you can confirm this, I'll make another version that automatically converts them to caps.

I used the Puppy Package Manager to uninstall all the versions.
Then installed 1.3
And pasted into the .dat the two lines for my Win98 shares.
Code:

# more  /usr/local/samba/client/samba-shares.dat
#1# Don't change the first nine lines of this file!
#2# The data starts on Line 10.
#3# Each line of data describes a network share.
#4# There are six fields separated by commas. See the sample data below.
#5# The fields are: description, username, password, share, server, options
#6# If the share does not require a login, leave the username and password fields blank.
#7# The options field is optional. Multiple options MUST be separated by semicolons.
#8# The last line of the file MUST be EOF.
#9#
BCP,guest,xxx,H-BCP,SHELDON,dom=workgroup
Sources,guest,xxx,SOURCES,SHELDON,dom=WORKGROUP
Meghan's WinXP Share,,,share,acer
Music Collection,public,public,music,pupserver,iocharset=utf8;dom=MYGROUP
EOF
#

I see that "workgroup" is in lower as well as upper case.
It works, both for the Samba share login and for the Samba share selector.
Quote:

Version 1.3 now works in Puppy 2.14X on my system with an XP share. Perhaps you can test this sometime with your Win98 share.

I may be able to.
Thanks again.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 8 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1078s ][ Queries: 13 (0.0120s) ][ GZIP on ]