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 18 Apr 2014, 20:39
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Puppy-to-Puppy LAN with Samba
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Mon 05 Jun 2006, 22:57    Post subject:  

I am experiencing the same problem as raffy. I feel that I am sooooo close but, as yet, no cigar.

I have installed Samba Server on both machines, changed the workgroup at the top of smb.conf and modified [homes] near the bottom of smb.conf to the following:

[Home]
comment = Home on ibm
path = /root/
guest ok = yes
browseable = yes
writable = yes
valid users = %S

I also tried modifying [public] to following:

#[public]
# path = /root/
# public = yes
# guest ok = yes
# only guest = yes
# writable = yes
# printable = yes

but it didn't seem to make any difference so I commented it out again.

I can successfully query the host in both directions and I seem to be making a connection in both directions but when I try to mount the share I get the "badpw" (bad password) error message. To my knowledge I don't even have a password.

NEWS FLASH: I commented out the "valid users = %S" line and everything works wonderfully. Instead of editing the [homes] section, I should have just followed the instructions on topic 6118 (link provided by duke below).

This is great! The forum community comes through again! I did some of the reading suggested by John Doe and the more I read, the more scared I got. It was looking like something I'd have to spend a lot of time on but in fact it all turned out to be amazingly simple and it works like a dream.

I now can share my Windows files with Puppy and my Puppy files with Puppy. Next up is sharing my Puppy files with Windows (not sure why I'd want to do that since I'll probably be using Windows less and less from now on) but I suspect that will be a piece of cake now that I have Samba Server running on my Puppies.

Thanks again everyone.
Back to top
View user's profile Send private message 
Kal

Joined: 05 May 2005
Posts: 623
Location: California, High Desert

PostPosted: Mon 05 Jun 2006, 23:09    Post subject:  

Your welcome, Duke"s dad.
Good Luck, Kal
Back to top
View user's profile Send private message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Mon 05 Jun 2006, 23:16    Post subject:  

Hi Kal,

Your smb.conf file looks really good to me. I haven't specified everything you have so I guess I'm letting Samba use its defaults in a few areas but that's OK because it works.

You have the line:

socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

I have a vague idea that this might speed sending and receiving by increasing buffer sizes but where do you pull the numbers from? Would they change from system to system or NIC to NIC?
Back to top
View user's profile Send private message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Mon 05 Jun 2006, 23:20    Post subject:  

Kal,

"Duke's Dad"? Is that an inside joke that I'm missing or something?
Back to top
View user's profile Send private message 
Kal

Joined: 05 May 2005
Posts: 623
Location: California, High Desert

PostPosted: Mon 05 Jun 2006, 23:47    Post subject:  

No Joke!
I understand from an expert on this forum, that it is not needed any more. He also said it wouldn't hurt anything. We tested both ways and decided to include it. The other distros, we checked have it in. Sometimes they cut the buffer in half, as in Mepis.
Good Luck, Kal
PS: You might mark this solved.
Back to top
View user's profile Send private message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Tue 06 Jun 2006, 00:11    Post subject:  

Now I think I get it - YOU are Duke's dad, eh?

I couldn't find the speed.txt referred to in the smb.conf example file so I googled it and found this: http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html I guess its a translation of a Japanese page but I got the gist ...... I did notice that they seemed to think there might be some significant performance differences with some NICs if the setting was 8576 instead of 8192. I had no idea of what that meant or why or in which situation (dependant upon mss or something ?????) so I ran away and posted my question.

I think I'll just leave it alone for now........

Mark
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 4981
Location: Arizona, U.S.A.

PostPosted: Tue 06 Jun 2006, 03:49    Post subject:  

The password thing is controlled be the line in the global section: security = share , or security = user
security = user is the normal setup & requires a user password, security = share is not secure... but I use it.
Also in global is needed: guest account = root

In the share definations for no password add the line:
public = yes (and/or) only guest = yes

browseable = yes (makes the share show up in a listing.
rc.samba.gz
Description  Heres a good Samba start file, it goes in: /etc/rc.d
It starts, stops, & restarts Samba server.
gz

 Download 
Filename  rc.samba.gz 
Filesize  413 Bytes 
Downloaded  281 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0549s ][ Queries: 12 (0.0111s) ][ GZIP on ]