PupServer-435

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#76 Post by rcrsn51 »

Your screenshot is showing a "Windows Network" icon on your desktop. What do you see if you open it up?

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#77 Post by jason.b.c »

rcrsn51 wrote:Your screenshot is showing a "Windows Network" icon on your desktop. What do you see if you open it up?
pretty much nothing..
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

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

#78 Post by rcrsn51 »

In my instructions above for Step 5, just enter the server name. Leave the share name and other fields blank.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#79 Post by jrb »

jason.b.c wrote:
jrb wrote:
jason.b.c wrote:what would the Puppy server name be and how do i create the "share"
The Share name is PUPSERVER and the share is automatically created by Pupserver and is named usr=root passwd=woofwoof. I named it that to make it obvious what the username and password are.
it's still not working for me...

i'll try to post a screenshot... .
Hi Jason,
I presume you clicked on "Windows Network" in the Network Browser and didn't see Pupserver?

Perhaps I have made a mistake in naming the share usr=root passwd=woofwoof. Can't imagine why I left that space in the middle. :roll: Here's what to try:
Go to /etc/opt/samba/smb.conf which contains:

Code: Select all

# Share
   [usr=root passwd=woofwoof]
Change the share name to usr=root_passwd=woofwoof or anything else that doesn't have a space in it and save. Then open a terminal window and type

Code: Select all

samba restart
Then go back to Ubuntu or Debian, refresh or restart the Network browser and see if you can connect to Pupserver.

Best of Luck, J

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

#80 Post by rcrsn51 »

I also suspected that the space in the share name would cause problems, but it doesn't here.

Ubuntu is very slow to detect a Puppy server in Windows Network. (This is true with both Samba-TNG and Pupserver-435.)

But when I ran Connect to Server and just entered the server name, Ubuntu found the "usr=root passwd=woofwoof" share and opened it.

Eventually, it also also found the server under Windows Network.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#81 Post by jrb »

Thanks for the backup rcrsn51. 8)

I haven't run Ubuntu or Debian in years and was afraid I might have to setup a machine just to address Jason's problem.

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

#82 Post by rcrsn51 »

jrb wrote:I haven't run Ubuntu or Debian in years and was afraid I might have to setup a machine just to address Jason's problem.
I do test installs like this using a GRUB2 flash drive.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#83 Post by jrb »

rcrsn51 wrote:I do test installs like this using a GRUB2 flash drive.
Wow! Looks very cool. I'll give it a go this evening. :D

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#84 Post by jason.b.c »

jrb wrote:
jason.b.c wrote:
jrb wrote: The Share name is PUPSERVER and the share is automatically created by Pupserver and is named usr=root passwd=woofwoof. I named it that to make it obvious what the username and password are.
it's still not working for me...

i'll try to post a screenshot... .
Hi Jason,
I presume you clicked on "Windows Network" in the Network Browser and didn't see Pupserver?

Perhaps I have made a mistake in naming the share usr=root passwd=woofwoof. Can't imagine why I left that space in the middle. :roll: Here's what to try:
Go to /etc/opt/samba/smb.conf which contains:

Code: Select all

# Share
   [usr=root passwd=woofwoof]
Change the share name to usr=root_passwd=woofwoof or anything else that doesn't have a space in it and save. Then open a terminal window and type

Code: Select all

samba restart
Then go back to Ubuntu or Debian, refresh or restart the Network browser and see if you can connect to Pupserver.

Best of Luck, J
:oops:
Sorry that i haven't posted back on this in a while, been really busy lately :roll:

I think i may have to throw in the towel on this one.. i dunno.. but i still can't seem to be able to get anything to work...
:(

i've tried again today to connect to pupserver without much luck..

i tried the advice (above) as jrb suggested , changed :


Code: Select all

usr=root passwd=woofwoof
to:

Code: Select all

root


so pretty much made that part as simple as can be..

then opened a terminal and :

Code: Select all

samba restart
although i get a weird error and don't know if it means anything or not..

Code: Select all

killall <something> unable to kill pid <somenumbers>
i'm sure samba has to be running , if i use "top" from the terminal it shows a few entries for samba..

so then from my crunchbang laptop (connected as ethernet and not wireless to the same router as the pupserver machine) i have nautilus , i choose "connect to server" as suggested/explained by rcrsn51, but still it's a no-go..

so then i thought about puppy having pnethood, so from this same laptop i fire up a live puppy (dpup actually) , open up pnethood, it runs and does it's thing , and:

Code: Select all

no server found
from a browser , if i open the config page for my router (10.0.then.the rest) the router shows "PUPSERVER" in it's list of connected devices..

but as for actually connecting to pupserver from another connected machine?? it's like PUPSERVER isn't even there at all... :roll:

i'm at a loss... :lol:
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#85 Post by jason.b.c »

hello??? :lol:
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

User avatar
jason.b.c
Posts: 755
Joined: Wed 08 Feb 2006, 05:32
Location: Marshfield,MO
Contact:

#86 Post by jason.b.c »

bump




still confused :lol:
Puppy is Awesome..!!!!
[url=http://www.puppylinux.com/][img]http://www.browserloadofcoolness.com/sig.png[/img][/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#87 Post by greengeek »

Hi jrb, Pupserver 435 is just what I was looking for. Within 3 minutes I was able to boot from PS435 live cd and make all my files and music available to the rest of the family. Nice job. Thanks.

I am also hoping to use this as a PXE server to encourage the rest of my family to trial Puppy. It seems to work ok (I have tried it with various puppies and several machines with some failures, but mostly successes) but the main problem I am having is that the PXE client cannot access the internet after booting unless I take the Pupserver PC offline. (I tried running the internet connection wizard and it goes through the auto dhcp routine correctly but still won't allow access to the internet till I shut down pupserver). Have you experienced this?

I am using the TNG version you mentioned here:
http://www.murga-linux.com/puppy/viewto ... 6&start=44

I tried installing the dnsmasq and server3 pet mentioned by gcmartin but I had problems with it and wondered if it was conflicting with the tftp server that was already in the PS435 network menu. Also, that other method uses the /tmp folder to hold the netboot folder and initrd etc, whereas the inbuilt tftp server in PS435 seems to use /root/tftpboot for that purpose. I figured I should try to stick with the inbuilt server method.

Is there maybe some simple way to stop the PXE server rather than shutting down? (although that requires a manual intervention for each PXE client attempt..)

I have found some topics that seem related to my problem but its a bit confusing and I wondered if you had a clear recommendation how I should proceed.

Similar topics:
http://www.murga-linux.com/puppy/viewto ... 8&start=13
There was also a topic somewhere which had a post by mhanifpriatama (I think) but I can't seem to find it.

Any thoughts?

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#88 Post by jrb »

greengeek wrote:Any thoughts?
Hi greengeek, I haven't used PS435 in a while, my old P2 fileserver died :( and I've been using a screenless Lenovo S10 lap top with external monitor as my fileserver, printserver and main internet machine. Its running Dpup Exprimo with SambaTNG. Likewise I haven't played with PXE for a while either.

Hopefully I have some PXE ready puppies handy and I can work on your problem. It won't be until tonight though so I'll get back to you.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#89 Post by jrb »

Hello greengeek,

Here's what I have found. The TNG version of Pupserver gave me the same problem that you describe, PXE boots won't connect, wierd. :roll:

So I downloaded the full samba version of Pupserver from page one of this post http://puppylinuxstuff.meownplanet.net/ ... er-435.iso and followed GCMartin's netboot instructions at https://docs.google.com/document/d/1bkM ... edit?hl=en. This worked no problem using ThinSlacko which connected automatically at bootup.

BTW - This netboot method does use the /tmp folder to store the PXE ready initrd.gz and vmlinuz but you can move them wherever you like and then link them into /root/tftpboot/pxelinux.cfg/.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#90 Post by greengeek »

jrb wrote: The TNG version of Pupserver gave me the same problem that you describe, PXE boots won't connect, wierd. :roll:
Hi jrb - thanks for trying that. I will give the other iso a trial. (I previously found that the gcmartin method would not boot one particular laptop I have, whereas the inbuilt netboot server in 435 did manage it, so I will try it again with the other iso and see if the result is the same).

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#91 Post by jrb »

greengeek wrote:
jrb wrote: The TNG version of Pupserver gave me the same problem that you describe, PXE boots won't connect, wierd. :roll:
Hi jrb - thanks for trying that. I will give the other iso a trial. (I previously found that the gcmartin method would not boot one particular laptop I have, whereas the inbuilt netboot server in 435 did manage it, so I will try it again with the other iso and see if the result is the same).
Let me know about that. I've lost all my Pupserver and PXE development files in a harddrive meltdown (I had too much old junk anyway :D ) but I can extract the PXE stuff from PupserverTNG and build a .pet, maybe?

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#92 Post by greengeek »

Ok, here is what I am finding:

PupServer435Original does not appear to have a network entry for the netboot server, so it is necessary to add the gcmartin dnsmasq and server3 pets, and then I need to add the vmlinuz and initrd inside the pxelinux.cfg folder (which seemed odd, since the doc suggests they should be in /tmp/netboot). Anyway, this method does succeed in PXEbooting an Acer Aspire One netbook (which can then connect successfully to the internet), but will not succeed in loading a 1.7Ghz "Penguin systems G731" laptop at all.

PupServer435TNG already has a network entry for a netboot server, so I did not add any pets, I just added the vmlinuz and initrd to the /root/tftpboot folder and it succeeded in PXEbooting both the Aspire netbook and the G731 laptop. However, neither would connect to the internet until after the PupServer was shut down and I reran the "auto dhcp" wizard.

I did find the comment I was looking for from other contributors who had a similar problem with non-internet-connection. It is here:
http://www.murga-linux.com/puppy/viewto ... 07&start=3
It is a bit complex for me to follow at this stage.

I will be doing a bit more experimentation to try and work out if it is the netmasq or server that is causing the lack of connection.

User avatar
jrb
Posts: 1536
Joined: Tue 11 Dec 2007, 19:56
Location: Smithers, BC, Canada

#93 Post by jrb »

greengeek wrote:PupServer435TNG already has a network entry for a netboot server, so I did not add any pets, I just added the vmlinuz and initrd to the /root/tftpboot folder and it succeeded in PXEbooting both the Aspire netbook and the G731 laptop. However, neither would connect to the internet until after the PupServer was shut down and I reran the "auto dhcp" wizard.
Using the TNG version I have the same problem, but I just installed dnsmasq-2.55-1-i486-0.1.pet and the problem went away. :D I can netboot and the client connects to the internet without problem.

You should shut down the original dnsmasq server first, type "ppxe stop", then install the above .pet and type ppxe start (or go to the network menu). For this .pet you must place your links to initrd.gz and vmlinuz in /root/netboot. You can delete /root/tftpboot to avoid confusion.

Let me know if this works satisfactorily for you and I will modify the Pupserver435TNG iso and reupload.

Thanks, J

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#94 Post by greengeek »

OK, thats really interesting. (Many thanks for looking into this!). I wonder if that pet should be included for all versions of puppy instead of the pet that the gcmartin google document refers to.

I haven't tried your pet yet (will do later) - for now I have been up all night trying to find out exactly why gcmartin's version didnt work on PS435TNG and I finally got it to work as follows:

Basically it seems as if there is something wrong with the pxelinux.0 file created by the server3 pet and it is necessary to "borrow" the pxelinux.0 file from TNG and use it to replace the faulty file. Here is what I did:

Boot PS435TNG from live CD pfix=ram
Navigate to /root/tftpboot and rename folder pxelinux.cfg to pxelinux.cfgTNG
Install dnsmasq-2.55-static.pet
Install netboot-server-3.pet
Navigate to /root/tftpboot and remove file pxelinux.0 (which was just created by the server3 pet)
Find the old pxelinux.0 file that is in the pxelinux.cfgTNG folder and put it in as /root/tftpboot/pxelinux.0 (instead of the bad version we just removed)
Place the specially prepared ("netboot-ready") vmlinuz and initrd.gz files into folder /root/tftpboot/pxelinux.cfg folder (which is the new folder created by the server3 pet).
Start the new version of the pxe server by going into the network menu - ignore the entry that says "Netboot Server Netboot - enabling" (which has no icon) and instead click on "Netboot Server" (which does have an icon)

Then boot the PXE client PC. After it boots it is possible to surf the internet fine. Works on a variety of machines tested so far.

EDIT: just confirmed identical behaviour when using Akita8, so not just an issue with PupServer. Definitely something in the server3 pet which creates an incompatibility with my G731 laptop
.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#95 Post by greengeek »

Hi jrb, I'm happy with the way the PXE server side of things is working now (more testing of that to do later) but I have run into an issue with handling of USB drives.

If I boot from live CD everything to do with usb drive handling is working perfectly, but after I install to HDD and run with a pupsave I get a problem as follows:

My system has an inbuilt HDD (my boot partition) and I also have a 16GB USB stick permanently installed (it is partitioned into two ext2 partitions and one FAT32 partition). This usb stick holds my music collection and family files, so it is the one I want to stream from PS435 to my other machines.

When I use the live CD it mounts those usb partitions correctly and allows streaming of that data. The installed version does not. It appears to mount them, but when I look inside each drive (just looking locally on the PS435 machine - not via network) there is no data seen inside the partition - just an orange triangle icon which looks like a shortcut to that partition (eg: sdb2 will have an orange triangle with a superimposed black "shortcut" arrow, and with the text "sdb2" in red). No other files visible. The system also seems to ignore any request to "unmount" the drive - it's "green light" stays on (mounting and unmounting works without problems when running from live CD)

Just wondering if your system displays similar behaviour. I tried a couple of usb sticks, and different ports without change. (which doesn't necessarily mean that the sticks are not at fault, it could be something to do with the way I format them - I will continue to trial this further with other hardware...)

Of course I COULD just transfer all my files to inbuilt HDD, but it is just not going to be big enough - I want PS435 to have an attached 500MB (or bigger) usb storage drive so it is operating as a NAS.

Thanks in advance for any suggestions.

EDIT: if I insert the usb stick after the machine boots and mount it manually by clicking on it, it accesses and shares the data correctly - so it seems to be some issue with the automount procedure rather than incompatibility with the stick etc. Maybe automount happening too soon or something?

Post Reply