Page 2 of 3

Posted: Sat 19 Jul 2008, 00:17
by disciple
Samba don't start, it says: permission denied.
Good, we have found the problem.
For some strange reason either the samba daemons themselves, or the start script rc.samba, aren't set to be executable. From your description, I'm not sure which is the case.

If you see a message like this:
# /etc/rc.d/rc.samba start
bash: /etc/rc.d/rc.samba: Permission denied
Then right-click (in ROX) on rc.samba->File 'rc.samba'->Permissions, and choose to make it executable.

If you see a message like this:
# /etc/rc.d/rc.samba start
/etc/rc.d/rc.samba: line 14: /usr/sbin/nmbd: Permission denied
/etc/rc.d/rc.samba: line 15: /usr/sbin/smbd: Permission denied
then use the same method to make smbd and nmbd executable.

Posted: Sat 19 Jul 2008, 09:26
by lcrimail
I have configured rc.samba succesfully but when I execute /etc/rc.d/rc.samba start ...(see the image below).

I don't succeed to execute the libdm command...(see the image)

Posted: Sat 19 Jul 2008, 09:35
by lcrimail
Otherwise when I execute Testparm this is the message:

Posted: Sat 19 Jul 2008, 21:21
by disciple
Oh, OK. So you're using the official samba package again (the dotpup doesn't need libdm).

You can get libdm from http://www.murga-linux.com/puppy/viewto ... 728#145728

Make a link to it called libdm.so.0, and make sure it is executable.

Hopefully that will be the last problem to solve

Posted: Sun 20 Jul 2008, 11:22
by lcrimail
the response is like the photo in attachment.

now how can i browse the windows network from puppy?

Posted: Sun 20 Jul 2008, 12:37
by lcrimail
ip ip urrà!!!!

i can see puppy computer in windows network, i can share with windows.

Into my mac computer I don't see puppy, it's compatible samba with mac?

I have another problem, i would like to do the same thing in puppy 4.0 but samba 3.026 installs itself in another directory, the opt directory, and it doesn't install properly because rc.samba file doesn't exist.

If I digit this command into terminal:

/usr/sbin/smbd

puppy says: no such file or directory

What do I have to do?

Posted: Sun 20 Jul 2008, 23:05
by disciple
smbd must be somewhere else. Try just running `smbd` in a terminal. If nothing happens, I guess you can search for it with pfind.
But I think even if it doesn't have rc.samba, that package must have some way of starting itself automatically when you boot puppy.
Into my mac computer I don't see puppy, it's compatible samba with mac?

Maybe try googling it. I don't know how old your mac is - if I remember correctly, newer macs can use samba, but don't by default.
now how can i browse the windows network from puppy?
With pnethood or LinNeighborhood - one should be built into your Puppy.

Posted: Mon 21 Jul 2008, 07:32
by lcrimail
Puppy4
smbd is into /opt/samba/sbin directory.
rc.samba doesn't exist
I write this line "/opt/samba/sbin/smbd" into rc.local. Samba starts when i boot puppy4 but computer is invisible on the lan.
If I ping...puppy4 receives the package.

Pnethood do see all the network but none computer puppy4.

My mac do see other pc with windows on the lan but not puppy4

I should test with puppy3.1

Posted: Mon 21 Jul 2008, 09:22
by disciple
I think you need to run nmbd for Puppy to show up on the network, and smbd to share things.

Posted: Mon 21 Jul 2008, 10:32
by lcrimail
wow i resolved also with puppy 4 and it's more simple than 3.1

thank you!!!!

Ciaooooo

Puppy 4.00 as a Samba file server & CUPS printer server(USB)

Posted: Wed 13 Aug 2008, 21:48
by mawebb88
Objective to share files on a Puppy Linux laptop to Windows XP machines and also to use the Puppy machine to as a printer server from Windows XP machines on a wired and wireless LAN.

Just spent some considerable time getting this working.

First tried to just used CUPS v1.1.23 as came with Puppy 4.00 to get CUPS lpd/lpr working. Added to the XP machines the extra printing protocol thats required “Other Network File and Print Services

Posted: Wed 13 Aug 2008, 22:51
by disciple
Hmmm...
I think there must have been some small thing missing for your Samba sharing, and you are now sharing your printer in the other way (I can't remember what it is called, and I haven't tried it, as it would require extra software on my Win98 clients). I imagine if you stopped Samba, you could still print...

At least you can print now.