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 20 Aug 2014, 02:57
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 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 17:35    Post_subject:  Puppy-to-Puppy LAN with Samba  

Here is the scenario:

Two Windows 2000 machines running Puppy 1.09CE from CD. If I have either machine running Windows and the other one running Puppy, I can easily use LinNeighborhood from the Puppy machine to browse all my files on the Windows machine. That part is easy. Now I would like to find the easiest way to allow one machine running Puppy to browse the other machine running Puppy. I've done some poking around and there are posts about NFS, ssh, httpd, fuse, etc., etc. but it is all a bit confusing to me. One post (http://www.murga.org/~puppy/viewtopic.php?t=5797&highlight=) talks about setting up Samba for Puppy-to-Puppy sharing but it is not quite clear just exactly how to do this. I'm guessing that I will have to change my samba.conf on both computers but there is so much in there that it is a bit daunting.

The post I refer to above has this:

I've had Samba on my computer, with a harddrive2 installed on puppy 1.0.7, since the first of the year, all seams well. I have KDE 3.5 and tried smb4k, but i found that the standard LinNeighborhood worked great. After compiling samba 3.0.21a, just started smbd & nmbd with LinNeighborhood. Configured smb.config and all puppies see each other on the home net. Also linked smb.config to /etc/samba/smb.config from /usr/lib. Also compiled with --prefix=/usr. duke

How does one do this? How does one start smbd and nmbd with LinNeihbourhood? Is this done from the Programs tab of Preferences? How does one link smb.config to /etc/samba.config from /use/lib? What is it that needs to be compiled?

Is there an easier way? I guess ftp would work but then I would have to send the files from the machine where they reside instead of being able to browse them on the remote machine.

Any tips or tricks would be greatly appreciated.[/quote]
Back to top
View user's profile Send_private_message 
sunburnt


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

PostPosted: Sun 04 Jun 2006, 19:38    Post_subject:  

Sparky2; There's a Samba server DotPup package that MU has on his site, I tried to get the url but couldn't find it.

ADDENDUM: I found it! ... http://dotpups.de/dotpups/Network/
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 20:01    Post_subject:  

Good old MU to the rescue again, what a guy! As he would say, "Woof, woof!" Very Happy

I'll try it a little later and post back here about how it worked. I'm guessing I'll still have to do some fiddling in the samba.conf file but we'll tackle that when I get there.

Thanks, sunburnt.
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 20:31    Post_subject:  

Well, I downloaded MU's Samba Server dotpup and installed it. I think I installed it anyway, I doubled clicked on the .pup file, unzipped it and ran the installer. What do I do now? I suspect that I have to do the samba.conf thing now. I would guess that I have to start by creating a group for my Puppy machines. How do I do this? I have changed the hostnames (machines) but I think maybe I need a workgroup (like in Windows) so that LinNeighborhood will successfully query the host. Please be patient with me - I don't really know what I'm doing.......

I did google for samba server setup but I suspect the info is either disto-specific or meant for conventional Linux installations - Puppy isn't quite conventional, is it?
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sun 04 Jun 2006, 21:07    Post_subject:  

Sparky2 wrote:
What do I do now?


file:///usr/share/samba/swat/help/welcome.html

#smbd --help
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 21:49    Post_subject:  

Yikes! There's no simple step-by-step there, is there? I guess I've got some reading and some homework to do, eh? No matter, I will get it, eventually .......

Grrrrrrrr!

Easy boy, easy!
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 22:09    Post_subject:  

swat sounds pretty cool (Samba Web Administration Tool) - is it available in Puppy or is there a dotpup? I've tried it from the console but it doesn't seem to work (in 1.09CE) - not even in a browser from http://localhost:901
if not, too bad, so sad, maybe I will have to figure out how to configure samba server manualy.
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sun 04 Jun 2006, 22:16    Post_subject:  

Poke around in that directory where the help file is. There are a couple big html help files. They don't link off the main one I posted.
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Sun 04 Jun 2006, 22:27    Post_subject:  

You are cruel, John Doe, very cruel. You have sentenced me to another lost evening poking the Puppy !
Back to top
View user's profile Send_private_message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Mon 05 Jun 2006, 00:57    Post_subject:  

Blame Mark, he put the package together Laughing
Back to top
View user's profile Send_private_message 
duke93535


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

PostPosted: Mon 05 Jun 2006, 01:01    Post_subject:  

Sparky2
You can read how to config samba, you might want to download samba 3.0.22. IF you have any Questions you can ask. There is a minor problem with mu 's dotput , you might want to save your rc.samba file so you can put it back.:
http://www.murga.org/~puppy/viewtopic.php?t=6118
duke
Back to top
View user's profile Send_private_message 
Sparky2

Joined: 31 May 2006
Posts: 26

PostPosted: Mon 05 Jun 2006, 02:22    Post_subject:  

Thanks, duke, and thanks, sunburnt. I have given up for tonight but I will try your solutions tomorrow, they look promising .......

Thanks for responding.
Back to top
View user's profile Send_private_message 
sunburnt


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

PostPosted: Mon 05 Jun 2006, 14:06    Post_subject:  

Actually it was jmarsden that made the Samba server dotpup package, MU was nice enough to host it.

duke93535 is correct about the rc.samba file, I replaced it with the std. one, ask & I'll post it for download.

Sparky2; Just look at the /etc/samba/smb.conf file & at the bottom you'll see the share definitions.

[pub]
path = /home/public
browseable = yes
guest ok = yes
read only = no

Just change it to what you want, also you must decide on using passwords or not, I don't... not secure.
There's only a few things in smb.conf to change, servername, domain name, share access, hostsallow, etc.
Reading on the key words like those above is a good idea & not hard (easier than most stuff).
It's a good idea to learn to edit smb.conf as Swat is weard, tricky to setup, & wipes smb.conf.
Just ask if your having trouble & someone or myself can write a simple smb.conf file for you.
Back to top
View user's profile Send_private_message 
raffy

Joined: 25 May 2005
Posts: 4762
Location: Manila

PostPosted: Mon 05 Jun 2006, 20:50    Post_subject: Ask  

Gee, thanks - now I ask Very Happy

A ready config (that includes those "private" sections that it creates at startup if not found) will be very useful, especially with comments about how to get things working.

In two occasions, I tried to use it, but it always asks for a password (I was accessing it from Windows machines). I could not disable that password requirement.

The manual is ready and long, but I guess I did not find (or had no time to find) the solution to that problem. Embarassed
Back to top
View user's profile Send_private_message 
Kal

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

PostPosted: Mon 05 Jun 2006, 22:53    Post_subject:  

Here is my smb.conf from testparm, just copy and paste into text editor. Save as text and name it "smb.conf". In /etc/samba/ save your old smb.conf in a hold folder or rename.
Drop the new one in place. Make a folder in /root call it "Downloads" and it should work after a reboot. Just tried going to Puppy with XP, no problem. I am sure there is much better, but this is a starting point.


_________________________________________________________________________

[global]
workgroup = MSHOME
server string = Samba Server %v
security = SHARE
log file = /var/log.%m
max log size = 50
server signing = auto
paranoid server security = No
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
preferred master = No
domain master = No
dns proxy = No
ldap ssl = no
message command = /usr/local/bin/LinPopUp "%f" "%m" %s; rm %s
read only = No
case sensitive = No
msdfs proxy = no

[printers]
comment = All Printers
path = /usr/spool/samba/
guest ok = Yes
printable = Yes
browseable = No

[Home]
path = /root/Downloads
#you need a /root/Downloads folder for this to work exactly
guest ok = Yes
___________________________________________________________________________
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
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.0752s ][ Queries: 13 (0.0048s) ][ GZIP on ]