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
Need "make" command to install samba
I think you need usr_devx to have make work
ftp://ibiblio.org/pub/linux/distributio ... r_devx.sfs
What aspects of samba are you looking for? Smbmount works.. LinNeighbourhood is included..
ftp://ibiblio.org/pub/linux/distributio ... r_devx.sfs
What aspects of samba are you looking for? Smbmount works.. LinNeighbourhood is included..
fake it until you make it
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 . 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
####
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 . 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
####
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.p ... ight=share
Here is a HOWTO to do that with the tools provided in Puppy.
http://www.murga.org/~puppy/viewtopic.p ... ight=share
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.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.
robert
I would say it is.robert wrote:FTP isn't as easy as cut/copy and paste.
Did you read the part on using the Windows explorer in the link I sent?
You can drag'n drop from the shared puppy folder to the windows computer.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.