| Author |
Message |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4005 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: Sun 04 Jun 2006, 20:01 Post subject:
|
|
Good old MU to the rescue again, what a guy! As he would say, "Woof, woof!"
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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: 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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: 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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Mon 05 Jun 2006, 00:57 Post subject:
|
|
Blame Mark, he put the package together
|
|
Back to top
|
|
 |
duke93535

Joined: 05 May 2005 Posts: 192 Location: California , High Desert
|
Posted: 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
|
|
 |
Sparky2
Joined: 31 May 2006 Posts: 26
|
Posted: 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
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4005 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4636 Location: Manila
|
Posted: Mon 05 Jun 2006, 20:50 Post subject:
Ask |
|
Gee, thanks - now I ask
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.
|
|
Back to top
|
|
 |
Kal
Joined: 05 May 2005 Posts: 620 Location: California, High Desert
|
Posted: 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
|
|
 |
|