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 Tue 28 Apr 2015, 15:54
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Samba full server-client, compile & install. (It's EASY)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

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

PostPosted: Tue 14 Feb 2006, 04:34    Post_subject:  Samba full server-client, compile & install. (It's EASY)  

How to compile and install a full Samba for Puppy 1.0.5 thru 1.0.7

This is used on a small home network with a wired router and guarded by hardware firewall.
Nothing fancy, we are just end users with three computers, and some junkers.
This even worked on the old acer 200mmx in the closet (not recommended, too slow).
This works on our XP (fat 32), Win me, Puppy to Puppy, and other linux operating systems with samba.

1. You need Puppy's compiler file, usr_devx.sfs from one of Puppy's download sites, the main site is:

2. Place in the same directory as your pup001 on a live CD install, or into "/" for a harddrive and reboot.
In the "/", unhide you file manager, you should see .usr_devx (hidden).
On a live CD you may have to resize your pup001 file.

3. Make a copy of smb.conf from: /etc/samba to: /etc/samba/private for save keeping.

4. Download from Samba site, Samba 3.0.21b source code: "http://us2.samba.org/samba/news/#3.0.21b".

5. Untar samba-3.0.21b.tar.gz to your download folder. (We still use guitar, faster)
Or start Xterm, and in the dir. that has samba-3.0.21b.tar.gz in it
(in ROX, right click in the files dir. and in the menu select: Window > Xterm Here), then type in:
gunzip < samba-3.0.21b.tar.gz | tar xvf -

6. Open your new untarred samba-3.0.21b folder, then open the source folder.

7. Open Xterm there (right click and find "Xterm Here" in the menu, as you did above).
Type in:
./configure --prefix=/usr

If all goes well, then at the prompt #, type in:

At the next #, type in:
make install

On our machines it takes about 4-5 minutes (slow Acer PC took 1/2 hr).

8. If all goes well, change the PC's hostname in the hostname and host files in /root/.etc to what you want.

9. Modify smb.conf in: /root/.etc/samba and make a link to it in: /usr/lib
(Press: Ctrl + Shift, and then drag the file: /root/.etc/samba/smb.conf to: /usr/lib and drop it)
(Or in Xterm type in: ln -s /root/.etc/samba/smb.conf /usr/lib)
Add and change these lines in smb.conf

workgroup = MSHOME #(change to the name of your group)
server string = Samba Server %v #(add %v for version)
security = share #(changed from user)

# Add these to bottom

path = /root/ #(you can add a directory to the end of /root/ to tighten security or make a new one)
guest ok = yes

10. Add these lines to /root/.etc/rc.local.
# Start samba
/usr/sbin/smbd | nmbd

11. Reboot and click: [Menu] > Network > LinNeighborhood, then in LinNeighborhood click the [Prefs] button
and mark: [X] Always scan as user, add your Workgroup name and click the [Save] and [Close] buttons.
To check your setup, click the [Add] button and type in: IP-address, and click [Query] to see info.
You should see your hostname, workgroup, and your hostname again followed by Samba Server 3.0.21b
Then double click on each layer to open. You should be able to mount the shares.

We have done this on five Puppy installs and one was a live cd install for test.
Info: Samba operates on port 139 and 445.
Good Luck... duke

Note: There'll be a Bash script to do from Samba source file to compile and install soon!
Also hopefully there'll be a DotPup package made out of this in the not too distant future.
Back to top
View user's profile Send_private_message 

Joined: 21 Apr 2006
Posts: 1

PostPosted: Fri 21 Apr 2006, 18:53    Post_subject: How to compile and install a full Samba for Puppy 1.0.5 thru  

Any progress with the DotPup? I am a linux beginner with no experience of compiling source-code for linux.


Keith Palling
Back to top
View user's profile Send_private_message 

Joined: 18 Aug 2005
Posts: 907
Location: BC Canada

PostPosted: Fri 21 Apr 2006, 19:21    Post_subject:  

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0478s ][ Queries: 12 (0.0041s) ][ GZIP on ]