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 Thu 17 Apr 2014, 07:18
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Need "make" command to install samba
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
ginod

Joined: 10 Jan 2006
Posts: 2

PostPosted: Tue 10 Jan 2006, 05:02    Post subject:  Need "make" command to install samba  

Hi,

I have installed Puppy Linux yesterday and I must say it's a wonderful Linux version with lots of capacities!

Now, I'm struggling to install Samba on Puppy Linux. In the tutorial that says how to compile Samba, I need the "make" command, but Puppy Linux does not recognize this command. Is there a way to let this command work? Or can you install Samba in another way?
I already see the windows computers (linneighbourhood), but they don't see me.

Is there also a keyboard shortcut to access the start menu, like [ALT]+[S] in Windows?

grtz,

Gino
Back to top
View user's profile Send private message 
gnomen


Joined: 11 Jul 2005
Posts: 65
Location: NORWAY

PostPosted: Tue 10 Jan 2006, 05:12    Post subject:  

I think you need usr_devx to have make work
ftp://ibiblio.org/pub/linux/distributions/puppylinux/usr_devx.sfs

What aspects of samba are you looking for? Smbmount works.. LinNeighbourhood is included..

_________________
fake it until you make it
Back to top
View user's profile Send private message 
ginod

Joined: 10 Jan 2006
Posts: 2

PostPosted: Tue 10 Jan 2006, 05:34    Post subject:  

Thanks.
I would like to let the windows computers see me in the network. Now, I already see them in LinNeighbourhood.
Back to top
View user's profile Send private message 
robert

Joined: 02 Aug 2005
Posts: 35

PostPosted: Wed 11 Jan 2006, 21:23    Post subject: I needed samba for something I'm working on.  

Hi
I'm working on a PC that will be a MP3 "server". I'm using puppy because MD is compiled into the kernel. I'm gonna do a several docs with all the steps I took to create this.
1. Modules
2. Raid (mdadm)
3. Samba

Hopefully others can put it to use. The Samba doc is pretty much finished. I haven't walked through it step by step to check for readability and spelling yet.

ginod
Read this and tell me what's confusing/mispelling/whatever.

Robert

Another part of the mp3 doc:

Reasons why I moved some of the files and subdirs:
I created the subdir structure /mnt/home/MP3server. There are several subdir's under the MP3Server subdir. Why was all of this created? The objective was to be able to upgrade puppy by installing new image.gz, ldlinux.sys, syslinux.cfg, vmlinuz, and usr_cram.fs files without losing the work I've already done. I realize I will have to re symlink at least the samba subdir structure. I have a script to do this. Here are the steps I have done. If you see any mistakes or mistypes, please send me an email or PM with details (I'm not telepathic Smile. This is an example. It can be modified to suit your needs.



Samba:

This is a big program to compile. This should be done on a hard drive.
1. Download samba-3.0.20b.tar.gz
2. Uncompress the samba-3.0.20b.tar.gz file.
3. Go to the samba-3.0.20b/source subdir is a CLI window.
4. Type ./configure
5. Type the make command. Compiling will take several minutes.
6. Type the "make install &> the_subdir_you_placed_the samba-3.0.20b.tar.gz file\samba-files-location.txt
7. Edit the samba-files-location.txt file. All the files are installed to the /usr/local/samba subdir.
8. Move the files from their installed loaction /usr/local/samba to the /mnt/home/MP3Server/samba subdir.
9. The samba subdir has to be symlinked to work correctly

ln -s /mnt/home/MP3Server/samba /usr/local/samba


Other things to do for samba to work correctly:

1. Additions to the /etc/services file

netbios-ns 137/tcp # nbns
netbios-ns 137/udp # nbns
netbios-dgm 138/tcp # nbdgm
netbios-dgm 138/udp # nbdgm
netbios-ssn 139/tcp # nbssn
netbios-ssn 139/udp # nbssn

swat 901/tcp # Add swat service used via inetd

2. This is the smb.conf file I created for my MP3 server.

smb.conf

# Global parameters
[global]
workgroup = HOME
netbios name = MP3Server
server string = MP3Server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
hosts allow = 192.168.0.0/255.255.255.0
printing = cups

[music]
comment = Music
path = /mnt/raid/music
admin users = administrator
read only = No
guest ok = Yes

3. I manually created the /etc/samba/smbusers file.

####
# User mapping file
####
# File Format
# -----------
# Unix_ID = Windows_ID
#
# Examples:
# root = Administrator
# janes = "Jane Smith"
# jimbo = Jim Bones
#
# Note: If the name contains a space it must be double quoted.
# In the example above the name 'jimbo' will be mapped to Windows
# user names 'Jim' and 'Bones' because the space was not quoted.
######################################################################
root = Administrator
####
# End of File
####
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 12 Jan 2006, 01:04    Post subject:  

You don't really need samba to have windows "see" your puppy computers.

Here is a HOWTO to do that with the tools provided in Puppy.
http://www.murga.org/~puppy/viewtopic.php?t=2163&highlight=share
Back to top
View user's profile Send private message Visit poster's website 
robert

Joined: 02 Aug 2005
Posts: 35

PostPosted: Mon 16 Jan 2006, 00:11    Post subject:  

Quote:
In most linux distributions you would do that using a NFS (Network file system) share or a SAMBA share. Puppy does not provide those services but that does not mean that everything is lost, you can use FTP and you will barelly notice the diference from windows.


I need a samba share to sync mp3s on a windows pc to the mp3s on the server. There's a windows tool called treediff that makes this pretty easy. I eventually want to go to rsync. FTP isn't as easy as cut/copy and paste.

robert
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 16 Jan 2006, 00:41    Post subject:  

robert wrote:
FTP isn't as easy as cut/copy and paste.
I would say it is.

Did you read the part on using the Windows explorer in the link I sent?

Quote:
From Windows:

1. Open windows explorer (or internet explorer)
2. Make sure that it shows the address bar. If it is not showing, you can right click in any tool bar and select the address bar from the pop-up menu.
3. In the address bar enter the following address ( replace <puppyIPaddress> with the actual Ip address of your puppy computer):
ftp://<PuppyIPaddress>/
and press ENTER.
4. Enter the user name and password for one of the users that you created in puppy. and click OK.

You can drag'n drop from the shared puppy folder to the windows computer.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
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.0553s ][ Queries: 12 (0.0050s) ][ GZIP on ]