please recommend a Puppy & Samba combo
please recommend a Puppy & Samba combo
I have been playing with lupu528 and got everything working nicely, but was not able to use SyncBack Free for Windows with Samba-TNG.
Is there a specific combination of Puppy version and Samba version that would work best together for what I want to do?
Is there a specific combination of Puppy version and Samba version that would work best together for what I want to do?
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Re: please recommend a Puppy & Samba combo
I am running 528 and a version of samba_3_0_26 I tweeked to make it work right. I tried both of the samba pets from the PPM and neither worked correctly. I think the main issue is one of the wrong version of a library getting found first in the path. I took out the "simple sharing" thing because what I do is never covered on that script.toronado wrote:I have been playing with lupu528 and got everything working nicely, but was not able to use SyncBack Free for Windows with Samba-TNG.
Is there a specific combination of Puppy version and Samba version that would work best together for what I want to do?
The fixed pet is too big to attach. If you can't get anything else to work, I will arrange to share it with you.
Re: please recommend a Puppy & Samba combo
Thanks. I pretty much just chose this version (lupu528) at random. Is there another version that would be better for Samba?Moose On The Loose wrote:I am running 528
What sort of tweaks are you talking about? Did you change the code and recompile it?Moose On The Loose wrote: and a version of samba_3_0_26 I tweeked to make it work right. I tried both of the samba pets from the PPM and neither worked correctly. I think the main issue is one of the wrong version of a library getting found first in the path. I took out the "simple sharing" thing because what I do is never covered on that script.
The fixed pet is too big to attach. If you can't get anything else to work, I will arrange to share it with you.
No need to install anything. Also, self network tailoring!
PUP landscape information
Admittedly, the SAMBA that is shown on distrowatch for most PUPs is misleading. MOST every PUPs (excepting for FATDOG and LightHouse64 and PhatSlacko) do NOT come with a full functioning SAMBA. They ONLY include very minimal client services (taken from samba 3.0.26) while disregarding any capability to allow your PUP to share information on its LAN to other PCs. (I do understand that Barry did so to keep the ISO download size to a very minimum.) Thus, for example, if you download a video/audio to any of these PUPs, there is no means to share such like you natively have with all Apple and Microsoft PCs. And, in order to do so, YOU, the user must navigate your way, not only thru PPM for an operational package, but also knowledge or tools to setup your PC.
But, some of the distro owners in Puppy have recognized and addressed this need with the PUPs they provide this community; namely 01Micko, TaZoC, and Kirk as they provide an out-of-the-box (OOTB) experience in the distros they provide this community.
The distro with both automated setup tools and SAMBA, built into a PUP
Both of these PUPs are fully featured and provide built-in LAN services OOTB with little need to install anything for a full desktop experience. Thus, both, use and setup is automated via menu seleciton and no user need know much more than which directory(s) they want to share on the LAN. As well, these distro also will "talk" to all devices manufactured including those manufactured and built in 2013 which use the latest SAMBA-Apple-Microsoft protocols.
Here to help
Admittedly, the SAMBA that is shown on distrowatch for most PUPs is misleading. MOST every PUPs (excepting for FATDOG and LightHouse64 and PhatSlacko) do NOT come with a full functioning SAMBA. They ONLY include very minimal client services (taken from samba 3.0.26) while disregarding any capability to allow your PUP to share information on its LAN to other PCs. (I do understand that Barry did so to keep the ISO download size to a very minimum.) Thus, for example, if you download a video/audio to any of these PUPs, there is no means to share such like you natively have with all Apple and Microsoft PCs. And, in order to do so, YOU, the user must navigate your way, not only thru PPM for an operational package, but also knowledge or tools to setup your PC.
But, some of the distro owners in Puppy have recognized and addressed this need with the PUPs they provide this community; namely 01Micko, TaZoC, and Kirk as they provide an out-of-the-box (OOTB) experience in the distros they provide this community.
The distro with both automated setup tools and SAMBA, built into a PUP
- PhatSlacko is a 32bit PUP which uses the modern SAMBA which "talks" to all known LAN devices.
- Lighthouse64-602 is the 64bit version which does likewise.
Both of these PUPs are fully featured and provide built-in LAN services OOTB with little need to install anything for a full desktop experience. Thus, both, use and setup is automated via menu seleciton and no user need know much more than which directory(s) they want to share on the LAN. As well, these distro also will "talk" to all devices manufactured including those manufactured and built in 2013 which use the latest SAMBA-Apple-Microsoft protocols.
Here to help
Re: No need to install anything. Also, self network tailoring!
Thanks. The OOTB aspect is nice, since I'm a noob, but not the primary concern. I'm thinking I might have better phrased my question as:gcmartin wrote:These 2 address your request for a "Puppy & SAMBA combo".
Please recommend a version of Samba most likely to work with my Windows backup software, and I'll be happy to run whatever flavor of Puppy is required to support that.

If that doesn't change your answer, then I'll give the 32-bit option a try.
Edit: Apparently the PhatSlacko is not for older machines, so the target machine might not be appropriate.
System Specs:
AMD Athlon XP @ 1.67MHz
MSI 6380E
3GB RAM
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Re: please recommend a Puppy & Samba combo
I attempted a compile of the latest version but discovered that the new versions of samba are massively bloated with stuff that makes it hard to get to to compile or work I went back to the binaries of the older versiontoronado wrote:Thanks. I pretty much just chose this version (lupu528) at random. Is there another version that would be better for Samba?Moose On The Loose wrote:I am running 528
What sort of tweaks are you talking about? Did you change the code and recompile it?Moose On The Loose wrote: and a version of samba_3_0_26 I tweeked to make it work right. I tried both of the samba pets from the PPM and neither worked correctly. I think the main issue is one of the wrong version of a library getting found first in the path. I took out the "simple sharing" thing because what I do is never covered on that script.
The fixed pet is too big to attach. If you can't get anything else to work, I will arrange to share it with you.
I did a pet2tgz, unpacked the existing pet and changed it. I moved the code out of /opt and into /usr/bin and /usr/lib.
My pinstall.sh is like this:
Code: Select all
#!/bin/sh
# If we are installing on top of a system with /etc/samba already
# in place, there can be confusion about which configuration file
# is in use. Test for this and fix it.
if test -e /etc/samba ; then
MSG="We have
installed a copy of samba that uses /etc/opt/samba/smb.conf but there
was a previous version that was configured by /etc/samba/smb.conf this can
cause confusion for the user later the easy fix it to make /etc/samba into a link
to /etc/opt/samba. Is this ok to do? "
MSG=$( echo $MSG )
Xdialog --wrap --title "Samba installed" --yesno "$MSG" 0 60
RESULT=$?
else
mkdir /etc/samba
echo "There was no previous version" >/etc/samba/readme.txt
RESULT=0
fi
if [[ "$RESULT" == "0" ]] ; then
DIR=$( date +%Y_%m_%d_%H_%M_%S )
DIR="/etc/opt/samba/Before_$DIR"
mkdir $DIR
mv /etc/samba $DIR
ln -s /etc/opt/samba /etc/samba
fi
I moved the start at boot into /etc/init.d and:
in /etc/init.d/samba
Code: Select all
samba_start() {
if [ -x $EXEC/smbd -a -x $EXEC/nmbd -a -r $CONF ]; then
grep '^[[:blank:]]*path[[:blank:]]*=[[:blank:]]*/mnt/' $CONF | while read LINE ; do
LINE="${LINE/\#*/}"
LINE="${LINE/*mnt\//}"
LINE="${LINE/\/*/}"
if ! ( mount | grep -q "on /mnt/$LINE type" ) ; then
TYPE=$(probepart|grep "^/dev/$LINE|"| cut -d'|' -f2)
OPTION=""
CMD="mount"
case "$TYPE" in
vfat)
NLS_PARAM=""
if [ -f /etc/codepage ]; then #100127...
grep -q -i '850' /etc/codepage && [ "$(echo $LANG|cut -d'.' -f1)" != "en_US" ] && NLS_PARAM=",codepage=850"
grep -q -i '852' /etc/codepage && NLS_PARAM=",codepage=852,iocharset=iso8859-2"
fi
OPTION="-o shortname=mixed,quiet$NLS_PARAM,utf8,$IDOPT"
;;
ntfs)
OPTION="-o $IDOPT"
;;
'')
CMD="echo 'Trouble with:' "
;;
esac
mkdir -p /mnt/$LINE
echo "mount $OPTION -t $TYPE /dev/$LINE /mnt/$LINE" >&2
$CMD $OPTION -t $TYPE /dev/$LINE /mnt/$LINE
fi
done
echo "Starting Samba..."
$EXEC/nmbd -D
$EXEC/smbd -D
fi
}
Re: No need to install anything. Also, self network tailoring!
Base upon what you share, you SHOULD NOT EXPECT any problems in use with your software running on Windows or your hardware.toronado wrote:...
Please recommend a version of Samba most likely to work with my Windows backup software, and I'll be happy to run whatever flavor of Puppy is required to support that.
If that doesn't change your answer, then I'll give the 32-bit option a try. ...
I am certain that PhatSlacko will work and depending on which Athlon you have (that is if it is 64bit version), you could run well with LightHouse as well.
These distro versions can allow you be a NAS on your LAN or just to share stuff from your PUP with others on your LAN.
These distros are OOTB solutions where you merely open it, answer couple questions and you're done.
Most members in this community have had experience with these distro and you can direct any questions about either distro or SAMBA on the threads here in Puppyland. Do not expect any major problems.
Lastly, if you feel that you could somehow get lost, there are several documents that is tailored just for these PUPs on simple steps to run SAMBA...as well. In them, they take steps to provide clarity in your use.
Hope this helps
Re: No need to install anything. Also, self network tailoring!
Thanks. I got the PhatSlacko 5.5.02 installed and running. How do I get started with Samba?gcmartin wrote:These distros are OOTB solutions where you merely open it, answer couple questions and you're done.
Re: No need to install anything. Also, self network tailoring!
Easy.Thanks. I got the PhatSlacko 5.5.02 installed and running. How do I get started with Samba?
Code: Select all
Menu>Network>SAMBA Simple ...
Also there is this thread, where you will get answers from Forum members. (0pps, I cannot put my finger on the thread for all distros, but the steps are almost identical to this document.
Edit: Here is the document which is tailor specifically for PhatSlacko.
Any issues you have, please post them on the PhatSlacko thread and expect assistance.
Here to help
Re: No need to install anything. Also, self network tailoring!
This menu item does not exist.gcmartin wrote:Code: Select all
Menu>Network>SAMBA Simple ...
Also, several of the desktop icons (Write, Calc, Browse) do nothing when you click on them. There was no web browser installed. (I installed Firefox using the PPM and clicking on the Browse icon on the desktop now launches Firefox.)
I'm wondering if perhaps I got a bad download of the ISO. Or my old computer just doesn't support this version.
EDIT: OK, got Samba working now. Tested with the backup software running in Windows and it works.
From reading the Slacko thread I discovered the problem was my frugal install was missing the Adrive SFS.
Oddly, the "write" and "calc" desktop icons still don't work. I'll figure that out later.
Re: No need to install anything. Also, self network tailoring!
Thanks. The only thing that is "too simple" is that it doesn't seem to have a provision for setting up more than one share. I'd like to have more than one share. Is there a config file I can edit to add additional shares?gcmartin wrote:I think you will immediately see how that utility make SAMBA use "too simple".
Re: No need to install anything. Also, self network tailoring!
@Toronado
Your SAMBA question is answered on the PhatSlacko thread.
Here to help
Your SAMBA question is answered on the PhatSlacko thread.
Here to help
Re: No need to install anything. Also, self network tailoring!
Thanks!gcmartin wrote:@Toronado
Your SAMBA question is answered on the PhatSlacko thread.