Simply, Teaching Puppy to SAMBA (share folders to LAN users)
Hello
Thanks rcrsn51 for your interest.
You have done a good resume
From XP, you CAN send a large file to pupshare? YES
From another Puppy machine, you CAN send a large file to pupshare? YES
From Vista or Win7, you CANNOT send a large file to pupshare? YES it is impossible
Can you DOWNLOAD large files from the Samba server to a Vista client? YES and I can open them on the samba server and save them on the samba server if they stay on the samba server during the job.
Have you tried one of the full Samba packages instead of Samba-TNG?
No so I 'll test it next week .
My tests are executed from xp pro (no domain) vista home and seven familial
Alain
Thanks rcrsn51 for your interest.
You have done a good resume
From XP, you CAN send a large file to pupshare? YES
From another Puppy machine, you CAN send a large file to pupshare? YES
From Vista or Win7, you CANNOT send a large file to pupshare? YES it is impossible
Can you DOWNLOAD large files from the Samba server to a Vista client? YES and I can open them on the samba server and save them on the samba server if they stay on the samba server during the job.
Have you tried one of the full Samba packages instead of Samba-TNG?
No so I 'll test it next week .
My tests are executed from xp pro (no domain) vista home and seven familial
Alain
Hi Alain,alaindu22 wrote:From Vista or Win7, you CANNOT send a large file to pupshare? YES it is impossible
rcrsn51 PM'd me to ask if my setup would transfer large files. Here's what I told him:
I thought I'd include my /usr/local/samba/etc/smb.conf here. Notice that I changed the workgroup name from "pupgroup" to "Workgroup". I seem to remember that was important. Perhaps the source of your troubles? (Make sure that "Workgroup" is the proper name for your Win7 install however)Just used windows explorer (computer?) on my wife's win7 machine to copy and paste a 1Gb file onto my slacko53 with Samba-TNG. Took about 90 seconds, no problem.
I've got Samba-TNG embedded in an SFS that loads at bootup, I don't remember what version it is and I vaguely remember modding smb.conf and setting up autostart but otherwise standard.
Code: Select all
[global]
dns proxy = no
max log size = 50
security = user
workgroup = Workgroup
server string = Puppy Samba-TNG Server
domain master = no
domain logons = no
netbios name = puppyserver
printcap name = cups
load printers = yes
[usr=root_passwd=woofwoof]
path = /
writable = yes
[printers]
path = /tmp
printable = yes
guest ok = yes
This works in all Linux'es.rmcellig wrote:What am I doing wrong? I am using Puppy 528 in a Full install
sh-4.1# mkdir /srv/Downloads
mkdir: cannot create directory `/srv/Downloads': No such file or directory
Code: Select all
mkdir -p /srv/Downloads
Linux mkdir requires use of -p parm to create multi-level directories from current location.
Hope this helps
Since I have had cause to be working alot with Samba lately one thing was annoying me. No simple solution to map a network drive from a pup client.
This little script does just that and plonks an icon on the desktop, unmountable too. (only if you use rox as a desktop). It also puts a link in $HOME, in case you don't use rox desktop.
I made it mainly for myself but why not share?
You can run the script from wherever you want, also has a Startup item which has a 2 minute timeout. It only supports one share, use Pnethood if you want to mount more shares.
It has a very simple setup gui. Everything you need should be in recent Pups, (mount.cifs, nmblookup). No need for samba to use this from a client only machine. It automatically overlays all your current icon themes with the SMB logo and makes a new icon called drivesmb48.png. Try switching icon themes .
Have fun!
EDIT: almost forgot, the smb logo! You must place it in /usr/share/icons or the script will die.
This little script does just that and plonks an icon on the desktop, unmountable too. (only if you use rox as a desktop). It also puts a link in $HOME, in case you don't use rox desktop.
I made it mainly for myself but why not share?
You can run the script from wherever you want, also has a Startup item which has a 2 minute timeout. It only supports one share, use Pnethood if you want to mount more shares.
It has a very simple setup gui. Everything you need should be in recent Pups, (mount.cifs, nmblookup). No need for samba to use this from a client only machine. It automatically overlays all your current icon themes with the SMB logo and makes a new icon called drivesmb48.png. Try switching icon themes .
Have fun!
EDIT: almost forgot, the smb logo! You must place it in /usr/share/icons or the script will die.
- Attachments
-
- smb_overlay.png
- put this in /usr/share/icons
- (1.16 KiB) Downloaded 2057 times
-
- map_drive.tar.gz
- (1.55 KiB) Downloaded 1213 times
-
- netdrive.png
- (25.81 KiB) Downloaded 1984 times
Puppy Linux Blog - contact me for access
Great.01micko wrote:Since I have had cause to be working alot with Samba lately one thing was annoying me. No simple solution to map a network drive from a pup client.
This little script does just that and plonks an icon on the desktop, unmountable too. (only if you use rox as a desktop). It also puts a link in $HOME, in case you don't use rox desktop.
I made it mainly for myself but why not share?
You can run the script from wherever you want, also has a Startup item which has a 2 minute timeout. It only supports one share, use Pnethood if you want to mount more shares.
It has a very simple setup gui. Everything you need should be in recent Pups, (mount.cifs, nmblookup). No need for samba to use this from a client only machine. It automatically overlays all your current icon themes with the SMB logo and makes a new icon called drivesmb48.png. Try switching icon themes .
Have fun!
EDIT: almost forgot, the smb logo! You must place it in /usr/share/icons or the script will die.
Another idea: TaZoC's LH64b4. If you're still has his running, look at his OOTB smb.conf. There is mention in the Global section for use of simlinks and allowing LAN use of these.
I also believe that I "may" have simlinked using your SLACKO-SAMBA as well, but, I'll have to check when I'm home again on that.
Mind you, this relates to, say, using the Public folder in my "SAMBA Simple Management" widget to "extend" what is shared via that "common" locaton.
Hope this is in the same forest as your post.
- Attachments
-
- SSM screen.png
- SAMBA Simple Management Widget
- (36.68 KiB) Downloaded 2030 times
Code: Select all
# smbd -restart
# nmbd - restart
Code: Select all
# smbd - restart
# nmbd - restart
Thanks so much for this. Very easy to use. I was up and running almost straight away!
Thanks to the contributors here, I was able to implement Samba on Puppy with ease. In contrast to several years ago when I tried to get Samba working on a Red Hat box - and failed miserably - this time the practical examples got me up and running in a short evening. I was even able to add my Windows users so my few remaining Windows boxes (Win98 and Win2k, nothing later) can log in automagically.
Part of what makes Puppy a success is the teamwork and camaraderie of this forum. Thanks again.
The only further issue that I'd like to see discussed here would be security. My router blocks smb requests from the Internet, so when I had a lot of Windows boxes, I never worried much about my privacy. Is there anything I should be concerned about with Samba?
Part of what makes Puppy a success is the teamwork and camaraderie of this forum. Thanks again.
The only further issue that I'd like to see discussed here would be security. My router blocks smb requests from the Internet, so when I had a lot of Windows boxes, I never worried much about my privacy. Is there anything I should be concerned about with Samba?
-
- Posts: 3
- Joined: Sat 15 Mar 2014, 04:49
Re: Simply, Teaching Puppy to SAMBA (share folders to LAN users)
[quote="gcmartin"]Digressing for a moment to “level set
You can add or change password(s) or any user you define. If you have never set up the user before, you would do an add. If its an existing user that you had added before there is no need to add.
If you have not already done so, one option for the very 1st time is to set your root system password to be your SAMBA root password. Assuming you are using a standard Puppy where you are the root user, I do this with ONLY this command (exactly as you see it):There is much information on the Internet as most everyone uses it in distro releases.
A Google such on any topic will also net you an abundance of useful ideas.
Here to help
Code: Select all
# smbpasswd -a firsttimeusername
Code: Select all
# smbpasswd
Code: Select all
# smbpasswd -a
A Google such on any topic will also net you an abundance of useful ideas.
Here to help
2014 Full-SAMBA and Instructions
I don't believe so. And, SAMBA V4.x is the very latest as it includes newer LAN protocols than the older SAMBA's V3 found on the forum, in many PUP distros, do not include.There is no particular reason for this except merely oversight. 01Micko has made his SAMBA V4 PETs available to any developer upon request. His version have a builtin Menu utility to insure easy simple SAMBA use (and understanding) when installed on any PUP.
These new protocols have been built into newer manufactured devices and have been built-into MACs and Windows for sharing for years before SAMBA V4.
The other thread is here. See this thread for some more accurate information of SAMBA distros use in Puppyland.
I have been given a 2014 Full-SAMBA PET here for 32bit Slacko users
These new protocols have been built into newer manufactured devices and have been built-into MACs and Windows for sharing for years before SAMBA V4.
The other thread is here. See this thread for some more accurate information of SAMBA distros use in Puppyland.
I have been given a 2014 Full-SAMBA PET here for 32bit Slacko users
Followed this guide (in principle) many times to setup SAMBA. Finally built a dedicated NAS, and I went through it again.
Thanks for this. I do this stuff just enough to never remember how to do it when I need to.
One thing though. At least in Tahrpup if you install via the package manager, the smb.conf file is in /etc/samba not /etc/opt/samba. That should save some irritation.
Also in Tahrpup auto-install for SAMBA doesn't work for me. Have to use the old style GUI to get it to actually install. Otherwise it looks as if everything is fine, but none of the commands work, because the actual SAMBA package doesn't get installed. No idea why.
Thanks again for this. Saved my butt more than once.
Thanks for this. I do this stuff just enough to never remember how to do it when I need to.
One thing though. At least in Tahrpup if you install via the package manager, the smb.conf file is in /etc/samba not /etc/opt/samba. That should save some irritation.
Also in Tahrpup auto-install for SAMBA doesn't work for me. Have to use the old style GUI to get it to actually install. Otherwise it looks as if everything is fine, but none of the commands work, because the actual SAMBA package doesn't get installed. No idea why.
Thanks again for this. Saved my butt more than once.
"In a world that exists without walls and fences, who needs Windows and Gates?"
Thanks @Sketchman.
You brought to my attention a problem with that thread's opening post. That post was done in the days of SAMBA V3. And, the post does NOT make it apparent that there is a newer thread which addresses SAMBA VERSION 4 and all the up to date, redesigned system changes and security updates that are a part of SAMBA V4 (SAMBA4).
I will update that opening post. In the meantime, here's the link to the newer PUP thread. ===> look at this thread The newer thread will soon be updated with guides for later PUPs that have come out over the last 2 quarters.
I encourage anyone installing SAMBA in any of today's PUPs to install SAMBA4. It is 3X smaller and its execution is streamlined with better security. BTW, SAMBA3 is no longer going to be supported by world's community SAMBA developers (a testament to how good SAMBA4 has become), AFAIK.
Of course, SAMBA development is open and can be found at SAMBA.org.
You brought to my attention a problem with that thread's opening post. That post was done in the days of SAMBA V3. And, the post does NOT make it apparent that there is a newer thread which addresses SAMBA VERSION 4 and all the up to date, redesigned system changes and security updates that are a part of SAMBA V4 (SAMBA4).
I will update that opening post. In the meantime, here's the link to the newer PUP thread. ===> look at this thread The newer thread will soon be updated with guides for later PUPs that have come out over the last 2 quarters.
I encourage anyone installing SAMBA in any of today's PUPs to install SAMBA4. It is 3X smaller and its execution is streamlined with better security. BTW, SAMBA3 is no longer going to be supported by world's community SAMBA developers (a testament to how good SAMBA4 has become), AFAIK.
Of course, SAMBA development is open and can be found at SAMBA.org.
hi
my wine says:
isn't that a samba thing? ppm says samba client is already installed.
note, this was not doing anything related to shares or samba, that i know of. Just trying to run basic wine stuff.
do i also need winbind and/or libpam-winbind from ppm?
on LxPupPrecise-14.02-pae-sp1: Linux puppypc4369 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
thx!
(also asked elsewhere on this forum, no solution yet)
my wine says:
Code: Select all
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
note, this was not doing anything related to shares or samba, that i know of. Just trying to run basic wine stuff.
do i also need winbind and/or libpam-winbind from ppm?
on LxPupPrecise-14.02-pae-sp1: Linux puppypc4369 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
thx!
(also asked elsewhere on this forum, no solution yet)
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]