Howto: Set up a simple (insecure) Windows compatible network

How to do things, solutions, recipes, tutorials
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#31 Post 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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#32 Post 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)
Attachments
Immagine 1.png
(16.48 KiB) Downloaded 3148 times

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#33 Post by lcrimail »

Otherwise when I execute Testparm this is the message:
Attachments
Immagine 2.png
(21.3 KiB) Downloaded 5011 times

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#34 Post 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
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#35 Post by lcrimail »

the response is like the photo in attachment.

now how can i browse the windows network from puppy?
Attachments
Immagine 1.png
(10.96 KiB) Downloaded 3116 times

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#36 Post 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?

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#37 Post 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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#38 Post 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

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#39 Post by disciple »

I think you need to run nmbd for Puppy to show up on the network, and smbd to share things.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

lcrimail
Posts: 25
Joined: Mon 30 Jun 2008, 14:22
Location: Italia

#40 Post by lcrimail »

wow i resolved also with puppy 4 and it's more simple than 3.1

thank you!!!!

Ciaooooo

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

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

#41 Post 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
Last edited by mawebb88 on Sat 19 Sep 2009, 18:30, edited 6 times in total.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#42 Post 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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply