The time now is Fri 20 Apr 2018, 20:26
All times are UTC - 4 |
Page 1 of 4 [48 Posts] |
Goto page: 1, 2, 3, 4 Next |
Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Wed 13 Oct 2010, 03:13 Post subject:
Samba server in SFS |
|
For precise Puppies:
samba-4.0.9-precise.sfs
http://shino.pos.to/party/bridge.cgi?puppy/precise/opt/
For the Lucid Puppy:
samba-4.0.9-lucid.sfs
http://shino.pos.to/party/bridge.cgi?puppy/lupu/opt/
Code: | ./configure --prefix=/opt/samba --localstatedir=/var/samba --with-configdir=/etc/samba --target=i486-pc-linux-gnu |
(Older versions)
A SFS file of more recent stable version of samba.
For Slacko, there is a samba sfs made by 01micko:
http://www.smokey01.com/01micko/slacko/samba_full-3.6.1-s.sfs
For all Puppy 5.x
Get samba-3.5.6-w5.sfs from here. (Upload: 13 Feb 2011)
Note that the config file position is moved as for this sfs:
Find /etc/samba/smb.conf.sample, copy it and edit as /etc/samba/smb.conf.
From the virtual terminal, type: /etc/init.d/smb restart
The examle is guest account = spot, and the directory /root/spot is sharable from the public.
See /etc/samba/README-samba-3.5.6-w5.txt.
This sfs is large, includes all the development files, swat and documents.
Concider to use rcrsn51's Samba-TNG if you like a small pet.
For Puppy-4.x
samba-3.0.26-3-{sfs4,sfs3}.sfs from here
Note: the config file is at /etc/opt/samba/smb.conf
You may find PET package but be caution: This size of PET easily fills up your RAM.
Using the PET on 512MB RAM PC without swap may corrupts. Also note that it consumes 130MB pupsave space.
CHANGES:
samba-3.5.6-w5.sfs (Upload: 13 Feb 2011) for all Puppy-5.x.
samba-3.5.6-1-lucid.sfs(Update: 16 Feb 2011)
- Cofigfile moved to /etc/samba/smb.conf
- Start up script(/etc/init.d/smb) makes sure essential directories are created
samba-3.5.6-lucid.sfs (Update 27Dec 2010)
- New release of upstream.
- PET packages also available.
samba-3.5.5-lucid-1.sfs (Update: 18 Nov 2010)
- Add log and spool directories(/var/log/samba, /var/spool/samba)
- Start up script(/etc/init.d/smb) auto mount shared drive.
- Configuration sample(/etc/opt/samba/smb.conf,sample) shared printer for cups
NOTE: configure options for samba-3.5.6-w5
Code: | ./configure --prefix=/opt/samba --localstatedir=/var/samba --with-privatedir=/var/samba/private --with-logfilebase=/var/log/samba --with-configdir=/etc/samba --target=i486-pc-linux-gnu --disable-netapi --without-ldap |
(OLD options)
Code: | ./configure --prefix=/opt/samba --localstatedir=/var/opt/samba --with-configdir=/etc/opt/samba --target=i486-pc-linux-gnu --disable-netapi --without-ldap |
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Mon 07 Oct 2013, 01:50; edited 13 times in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 14 Oct 2010, 21:14 Post subject:
TIPS: shared folders |
|
TIPS
Quick start:
- Hostname: Edit /etc/hostname to identify your PC with a unique name in your LAN.
Its default is 'puppypc'. After changing the hostname, say 'newname', restart PC or type: 'hostname newname'.
- Config file: The config file is /etc/opt/samba/smb.conf.
Find /etc/opt/samba/smb.conf.example, copy it and edit as /etc/opt/samba/smb.conf.
The examle is guest account = spot, and the directory /root/spot is sharable from the public.
- Startup: From the virtual terminal, type: /etc/init.d/smb restart
The samba starts at every boot of Puppy thanks to the start up script /etc/init.d/smb.
- Scan by pnethood or lameSMBxplorer. You can find your PC with the name 'puppypc' or the newname, and the shared 'spot'
ADDING SHARED FOLDERS:
Edit the config file /etc/opt/samba/smb.conf and restart samba.
Config example
Make a directory /mnt/home/public. The /mnt/home should be linux partition. Make its permission '1777'.
Code: | [public]
# the path should be readable and writable by the guest account
path = /mnt/home/public
force group = spot
public = yes
guest ok = yes
writable = yes
printable = no
create mask = 0765 |
You can make shared folders on another partition than /mnt/home.
The file system can be any of file systems, but for Windows's NTFS, usr 'force user = root'(thanks to kanehekili).
Code: | [public]
# user root for ntfs
path = /mnt/home/public
force user = root
public = yes
guest ok = yes
writable = yes |
You can share the whole partition, say '/mnt/sda2' or some directory, say '/mnt/sda2/video'.
Code: | [video]
# the path should be readable and writable by the guest account
path = /mnt/sda2/video
force group = spot
public = yes
guest ok = yes
writable = yes
printable = no
create mask = 0765 |
The shared directory should be readable and writable with the user 'spot'.
In case the shared partition is of Windows FAT, reboot PC or do next step.
Stop samba... '/etc/init.d/smb stop'.
Unmount the partition.
Start samba... '/etc/init.d/smb start'.
The partition is automatically mounted with the owner is the user 'spot'.
See the tips as for the samba-TNG:
http://www.murga-linux.com/puppy/viewtopic.php?t=60204
Another document on samba:
http://www.murga-linux.com/puppy/viewtopic.php?t=60981
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Sat 18 Dec 2010, 07:05; edited 5 times in total
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11889 Location: Stratford, Ontario
|
Posted: Sun 17 Oct 2010, 11:22 Post subject:
Re: Samba 3.5.5 for Lucid Puppy Subject description: SFS file |
|
shinobar wrote: | Concider to use rcrsn51's Samba-TNG if you like a small pet. Although I have not yet tested it on Lucid. |
It works fine for me in Lucid, but additional feedback would be appreciated.
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: Sun 17 Oct 2010, 19:43 Post subject:
Teach your QuickSET Puppy to Share files, folders and more. |
|
For those coming from Windows or new to sharing stuff from Linux with your local LAN users, here's a document to get you started "Simply, Teaching Puppy to SAMBA".
The SAMBA 3.5.5 that are provided should help each one of us.
Enjoy this ability to share from Puppy to your LAN.
_________________ Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Last edited by gcmartin on Tue 14 Dec 2010, 05:22; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 18 Nov 2010, 05:42 Post subject:
Update: samba-3.5.5-lucid-1.sfs Subject description: shared printer ready |
|
CHANGES:
samba-3.5.5-lucid-1.sfs (Update: 18 Nov 2010)
- Add log and spool directories(/var/log/samba, /var/spool/samba)
- Start up script(/etc/init.d/smb) auto mount shared drive.
- Configuration sample(/etc/opt/samba/smb.conf,sample) shared printer for cups
If your Puppy has printers, you can use it on another PC's on the net.
If the another PC runs Windows, you need samba print share.
You need to make new printer entry in the CUPS on the print server Puppy.
The new entry does not have any driver, works raw mode.
The Windows client PC needs to install the printer driver for Windows.
The new version samba-3.5.5-lucid-1.sfs is shared printer ready.
Refer the settings on /etc/opt/samba/smb.cof.sample to setup the samba, the step 3 above.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Thu 18 Nov 2010, 06:53; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 18 Nov 2010, 05:59 Post subject:
Step 1: Cofigure the CUPS Subject description: to allow remote access |
|
Step 1: Cofigure the CUPS of the print server Puppy to allow remote access.
Menu > Setup > Setup Wizard > CUPS Printer Wizard
Press Administration on the new launched browser.
Mark on all the checkbox regarding shered access.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Thu 18 Nov 2010, 06:35; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 18 Nov 2010, 06:02 Post subject:
Shered printer, STEP 2 Subject description: Add raw mode printer |
|
Shared printer via samba
Step 2: Add raw mode printer on the print server
Puppy.Menu > Setup > Setup Wizard > CUPS Printer Wizard
Press 'Administration' on the new launched browser.
Press 'Add printer'
Select the local printer found, then 'Continue'.
Input simple name, will be seen in the network, say 'rawprinter'.
Mark on the 'Sharing' checkbox, then 'Continue.
Select 'Another Make/Manufacturer'.
Select 'Raw'.
Model: 'Raw Queue (en)'
Set 'Defailt Options'
Made the 'rawprinter' as a Local Raw Printer
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Thu 18 Nov 2010, 06:34; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 18 Nov 2010, 06:03 Post subject:
Shared printer, Step 3 Subject description: Configure the samba |
|
Shared printer via samba
Step 3: Configure the samba on the print server Puppy.
Copy /etc/opt/samba/smb.conf.example to /etc/opt/samba/smb.conf. Maybe nothing to modify.
Restart samba with typing: /etc/init.d/smb restart
Code: | [global]
security = share
map to guest = Bad User
null passwords = Yes
guest account = spot
load printers = yes
printcap name = cups
printing = cups
[printers]
comment = All Printers
user account = spot
create mode = 0700
# the permission of the path should be 1777
path = /var/spool/samba
browseable = yes
public = yes
guest ok = yes
printable = yes
# allow Windows to use its printer driver
use client driver = yes |
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Thu 18 Nov 2010, 06:10; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 18 Nov 2010, 06:04 Post subject:
Shared printer, Step 4 Subject description: Configure the printer on the client Windows. |
|
Shared printer via samba
Step 4: Configure the printer on the client Windows.
Make the Windows client as network share enabled.
Find the shared printer from the Windows client.
Install the printer driver for the Windows.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: Thu 18 Nov 2010, 16:45 Post subject:
CUPS - SAMBA printing |
|
The steps offered here allows ANY Microsoft PC to print thru to the Printer attached to this Puppy PC.
RAW mode explanation ==> RAW mode simply means that Puppy is ONLY going to pass the print job to the printer without ANY interference.
This means that ALL PCS are responsible for having the correct driver in order for their prints to show up correctly on the printer. (This is one method of sharing printers and this method has been used since the days of Windows95 (1995). It works for any printer(s) you want to share from your Puppies!)
Hope this helps...
_________________ Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
|
Back to top
|
|
 |
maxpro4u

Joined: 19 Jun 2010 Posts: 293 Location: Rittman,Ohio,USA, In dog years,I'm dead
|
Posted: Sun 19 Dec 2010, 21:47 Post subject:
|
|
I just tried this on 515 and macpup511- works great
Thank you shinobar for the clear instructions. Finding this post was the hard part
_________________ Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: Wed 22 Dec 2010, 19:01 Post subject:
Latest PUP5.2 PPM |
|
Have you seen latest PUP5.2 PPM?
See you PM
_________________ Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 23 Dec 2010, 01:15 Post subject:
Samba PET |
|
Yes, I see several samba PET in the 'official' Puppy repositories.
But I don't know what works and/or what doesn't. I have never made samba PET because it becomes so large.
I am providing and can support samba server only in SFS.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: Sun 26 Dec 2010, 06:37 Post subject:
SAMBA |
|
Shinobar. Something strange. See PM
After reading that, see my post
_________________ Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 6730 Location: Earth
|
Posted: Tue 28 Dec 2010, 13:33 Post subject:
What haopened ??? |
|
Edit 1:01PM EST. Give me 2 hours to download 517 and try again from scratch. I will deliver subsequent console logs demonstrating findings for you.
Shinobar, as you have seen from my post, there are issues with both your PET-SFS and with Mobeus's that surfaced in PUP5.2 development.
I don't know what changed, but something certainly did. But, moving on, the question is can we get a SAMBA that behaves in PUP5.2 the way it did in prior PUPs.
To start, I would like the sample smb.conf that delivers with every SAMBA version I have worked with over the past 10 years. Yes, its a very confusing file, but, the instructions that are crafted instructs all to save it as a reference before starting. (and certainly, it does provide a "base" samba startup file if you just wanted to do local testing)
Next, Mobeus's PET installation cleverly Put a screen up on the desktop to get anyone of us started with SAMBA when the PET completed.
Next, most of the people in the forum world for most distros (Fedora/Ubuntu/SUSE/Madriva/Knoppix) refer to the SAMBA daemons as "smbd" and "nmbd". These are what any user who post for help in any Linux forum will be guided in using. In your latest, you have dropped the "d" which is fine for "Personalizing", but a red-herring if anyone ask for help in the Linux forums. So you may want to change that.
Further, I noticed that you had done some work in breaking out pieces of SAMBA as if to modularize it. I noticed a post you made of SAMBA memory in a PET. It confused me because when I went back to look at the memory use I cannot corraborate your findings. In fact, even though SAMBA libraries take some memory, Mobeus's PET didn't seem to achieve what you saw. If we must, we need to indicate that SAMBA is recommended to run on Puppies of a certain size when users want to share information out over the LAN.
Lastly the libraries that the SAMBA.org refers to for SAMBA. What do you think should be done as we progress forward in Puppy. Should we stay with the standard?
If we stay as close to the Linux-SAMBA standard, our user community will be able to find very consistent documentation and forum help should thay have to use this. Staying close to the standard and not attempting to modularize on our own might insure we deliver a stable implementation for the users. Its got to be consistent, stable, and documented (I'll help with this)
I only offer this as some points of why I am saying SAMBA is not working in PUP5.2. Its not a problem that you created, but it IS a problem now that we has lost this functionality in the PUP5 system.
Now, tell me how I can help the cause. PM me or email me if you must.. Here to Help.
P.S. Remember, that this one product intends to some simple LAN sharing as well as save us 10s of thousands of doallars when its used. My 2011 objective is to document how to set Puppy up to run as a PDC which saves having to pay M$
_________________ Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
|
Back to top
|
|
 |
|
Page 1 of 4 [48 Posts] |
Goto page: 1, 2, 3, 4 Next |
|
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
|