Network Samba

Configuration wizards, scanners, remote desktop, etc.
Message
Author
autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#1 Post by autumnleaves »

I'm probably doing something wrong. I installed the two pets as per the instructions. When I type samba-start in console, I get
"bash: samba-start: console not found"

When I run samba-login (after dragging to desktop) with default settings I get a dialogue box saying "no connection to pupshare"

On the plus side Pnethood now shows a tab for pupserver, but does not show a drive. It still sees the Windows machine and allows me to connect to the drive there.

Where to next?

Thanks.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Where did you type "samba-start"? You have an icon on your desktop that opens a window for typing commands. You can check that Samba is running with the "ps" command.

Also, does your Puppy setup have a /mnt/home folder? You can tell with the command "ls /mnt/home".

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#3 Post by autumnleaves »

Thanks again.

I used the console on the Puppy 5.2 desktop.
samba-start now does nothing.
is /mnt/home gives me "bash: is: command not found"

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#4 Post by autumnleaves »

but I checked and there is a /mnt/home folder.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#5 Post by autumnleaves »

ps command shows several services in usr/local/samba/sbin loaded.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

The "ls" command is typed with an "ell".

When you type the "ps" command, you should see ten processes running, starting with nmbd and ending with smbd.

It sounds like the server is running. Go to a client machine and see if you can connect to it.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Samba network on Puppy

#7 Post by autumnleaves »

Sorry, I used "is". Ls does show the content of the folder. The 10 programs are running on Puppy.

From the XP machine, Network Places does see the Puppy but there are no shared drives, so cannot log onto them.

gcmartin

check your system for smb or smbd

#8 Post by gcmartin »

Couple of question where we might be better able to zero-in on your problem.
  • Which SAMBA did you install? (How did you get SAMBA on your system)
  • Which Puppy are you using? (Several recent Puppies changed fs structure and rules and it looks like you are using Puppy 5.2)
Should be snap to help you after this.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#9 Post by autumnleaves »

You are very kind.

I think Samba came with the the distro though I don't know what version. The Puppy is 5.2. How can I find the version of Samba?

Why isn't there a GUI for this?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#10 Post by rcrsn51 »

Go back to the Samba-TNG tutorial and follow the instructions for making a desktop shortcut.

ie. Right click on the desktop - New - Shortcut - \\pupserver
Last edited by rcrsn51 on Tue 18 Jan 2011, 21:41, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Network Samba

#11 Post by rcrsn51 »

autumnleaves wrote:I think Samba came with the distro though I don't know what version.
I installed the two pets as per the instructions.
Now I'm confused as to what you are running.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

More of Samba

#12 Post by autumnleaves »

When I create the windows shortcut I am told that the file \\pupserver cannot be found.

I installed the two samba-tng pets as per the tutorial. However I do not know what was installed with the distro. You think you're confused...?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post by rcrsn51 »

Do you have firewalls running on either your Puppy or Windows machine that might be blocking access to the server?

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#14 Post by autumnleaves »

Ahahh! After turning off firewalls I was able to connect to \\pupserver using root/woofwoof. Thank you.

Is it now possible to add other shared drives and remove the username/password requirement?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Network Samba

#15 Post by rcrsn51 »

autumnleaves wrote:Ahahh! After turning off firewalls I was able to connect to \\pupserver using root/woofwoof. Thank you.
Excellent!
Is it now possible to add other shared drives and remove the username/password requirement?
That's what the tutorial is for. :wink:

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#16 Post by autumnleaves »

I can almost guarantee that it won't work for me.
E.g., I uncommented map to guest in the conf file, stopped and restarted samba, but a username/password are still required when connecting from the Windows machine.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#17 Post by rcrsn51 »

That's because your current "pupshare" share does not have "guest" access. Add the following line to its smb.conf entry.

Code: Select all

[pupshare]
....
guest ok = yes

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#18 Post by autumnleaves »

No luck. Now Samba-login does not work on the puppy machine, and from the Windows machine I am told that pupshare on pupserver (or pupserver on pupshare) is not accessible.

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Last try

#19 Post by autumnleaves »

Here is the conf file:

[global]
dns proxy = no
max log size = 50
domain master = no
domain logons = no
workgroup = pupshare
netbios name = pupserver
server string = Puppy Samba-TNG Server
security = user
map to guest = Bad Password
;printcap name = cups
load printers = yes

[pupshare]
path = /mnt/home
writable = yes
guest ok = yes

[printers]
path = /tmp
printable = yes
guest ok = yes

autumnleaves
Posts: 125
Joined: Sat 08 Jan 2011, 01:24

Network Samba

#20 Post by autumnleaves »

Here is the rc.local file:
#version upgrade, any prior content of rc.local moved to /tmp/rc.local
pure-ftpd -zMbBADHk 90 -e -U 022:022

if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
sleep 20
samba-start

Post Reply