pUPnGO 2012

A home for all kinds of Puppy related projects
Message
Author
User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#141 Post by greengeek »

starhawk wrote:, or just clicking on it in [insert browser here]?
Just clicking on the links. I've tried again in another puppy, using seamonkey and theres no problem downloading, and also tried loading Links27 into pupngo and that works too. Must be something up with Dillo. When I connect to the download page with Dillo I see the attached image (which looks slightly different to what I see with Links and very different to what I see with seamonkey):
Attachments
download fail1.png
(21.85 KiB) Downloaded 1225 times
download fail2.png
(10.96 KiB) Downloaded 1323 times

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#142 Post by Keef »

Ibidem

udhcpc is present and working, although originally I couldn't get it to. Tried again using your default.script, and with a bit of fiddling with my wireless script, I'm up and running.

greengeek

All I did in rc.local was add the name of my script, but had to include its path, eg

Code: Select all

 /usr/bin/wifi-up
You could also copy the contents of your script to rc.local, but it is probably cleaner and easier to manage to keep it separate.

Also - I get the same as you using Dillo when trying the download. Works ok in Opera on pupngo though.

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

#143 Post by greengeek »

Keef wrote:Works ok in Opera on pupngo though.
You have opera working on pupngo? Do you have a static available?

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#144 Post by Keef »

I have Opera-Next sitting in a folder outside of any save file, so it gets used by other puplets. Just did an ldd on the binary and added any missing libs.

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

#145 Post by greengeek »

When I use the pet installer it gives me this message:
"A package with the name - Linux - is already installed. You will have to remove the package before doing a reinstall. Would you like to run the uninstaller now?"
However, if I run the uninstaller it does not find any packages to uninstall. The package I am currently trying to install is a midori static made by technosaurus, but I also got a similar message a couple of days ago when trying to install a different pet - although I can't remember which pet that was. (was probably the links27.pet)
Are there known problems with the installer/uninstaller or could it be related to an unsuitable choice of pet?
Last edited by greengeek on Sun 23 Dec 2012, 19:27, edited 1 time in total.

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

#146 Post by greengeek »

Keef wrote:I have Opera-Next sitting in a folder outside of any save file,
Just had a look at Next - it seems like a development version of Opera that sits separately to any installed version (maybe cache etc is separate?) but not quite like a true static - is that how you see it?

maddox
Posts: 454
Joined: Fri 28 Sep 2007, 20:37
Location: sometimes in France

#147 Post by maddox »

hi goingnuts, would like to try out the latest version on some older hardware catching cobwebs.
just downloaded it from your mediafire link -> http://www.mediafire.com/download.php?34szetetgso0fet
no cookies necessary/javascript necessary ~54KB/s
.. just wondering if the console calculated md5sum is correct (no indication on the 1st page of your post)
md5sum pUPnGO_V412_160612.iso
417baa52faaa023e4637130741d64bdc pUPnGO_V412_160612.iso

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#148 Post by goingnuts »

greengeek: There might be issues with the installer - long time since I made it and haven't reviewed it lately. If you could provide links to pets pr other archives that gives problems I will look into it.

For the downloads via dillo: Might be missing javascript abilities - the link provided must be download-able by wget...

maddox:
Seems to be ok - the original has:
417baa52faaa023e4637130741d64bdc pUPnGO_V412_160612.iso

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#149 Post by starhawk »

You are being watched carefully, goingnuts ;)

From the French section of the forum: http://murga-linux.com/puppy/viewtopic.php?t=83226

Ibidem
Posts: 549
Joined: Wed 26 May 2010, 03:31
Location: State of Jefferson

#150 Post by Ibidem »

FYI: Debian uses a trick with wpa_cli that lets you run the DHCP client at the right time, consistently.
First, background:
wpa_cli is the way you can control wpa_supplicant from the CLI.
When you run it, you can type several commands, the most useful being:

Code: Select all

help
scan - search for new networks (DOES NOT LIST!)
scan_results - list all networks found at the last scan
disconnect 
reconnect - reconnects if (it realizes that) there is no connection
reassociate -reconnect, unconditionally.
terminate - kill wpa_supplicant
select_network - Select a pre-configured network to associate with.
list_networks - list all pre-configured networks.
reconfigure - reload the configuration file
Second, the commandline syntax:

Code: Select all

 wpa_cli  [args] #This form gives an interactive prompt where you type the commands
wpa_cli [args] <command> #Runs <command>, displays output, exits
wpa_cli [args] -a <action_script> [-B] 
#This form runs wpa_cli as a daemon.
#When you do this, wpa_cli executes <action_script> on connection/disconnection
#with interface name as $1 and CONNECTED or DISCONNECTED as $2

Arguments:
-p /path/to/control/sockets 
#This should match ctrl_interface in your wpa_supplicant.conf
-i iface
#This should match -i iface in wpa_supplicant invocation
-h, -v
#The usual version/help messages
Third, the actual trick:
Start the dhcp client from an action script.
Here's aproximately what you'd need to do (bare minimum, DHCP connection):
NOTE: I have not tested this, it's based on the Debian documentation.
In /sbin/wpa_act:

Code: Select all

#!/bin/sh
case $2 in
CONNECTED)
udhcpc -i $1 -h `hostname`
;;
DISCONNECTED)
;;
*)
;;
esac
In your script (the one that starts the dhcp client right now:

Code: Select all

#!/bin/sh
ifconfig eth1 up
sleep 2
wpa_supplicant -B -D wext -i eth1 -c /etc/wpa_supplicant.conf 
#You shouldn't need to sleep here, unless wpa_supplicant doesn't 
#create a control socket soon enough: try sleep 1 in that case
wpa_cli -B -i eth1 -p /var/run/wpa_supplicant -a /sbin/wpa_act
You may also want to automatically rescan, attempt reassociation, etc. when disconnected. But be cautious, since you may want to turn the internet OFF sometime...

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

#151 Post by greengeek »

goingnuts wrote:And here is a new Xorg-pack with everything coming from P412
Install via "pkginstall.sh pupngo_xorg_pack_412.pet"
exit to prompt
run "xorgwizard"
start x again by "xwin"
If everything works you should be in Xorg.
Do not run the xorgwizard from within X as it will fail - only from command prompt.
Hi goingnuts, do you still have that xorg pack? I tried to download but it seems to have gone from the 4ceedeca server.

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#152 Post by goingnuts »

Ibidem: Thanks for the scripts & explanations!
starhawk: Thanks for the pointer - I was not aware...
greengeek: Re-uploaded the pupngo_xorg_pack_412.pet here

As for the wifi-things - anyone tried the sns-retro?

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

#153 Post by greengeek »

Thanks for the xorg pet - I will be having a tinker with that over the next few weeks.

Just tried the sns-retro in a live CD session and it works perfectly for me on a Toshiba TE2100 laptop with intel wireless (2915ABG I seem to remember, but not 100% sure). Haven't tried it yet in an installed session.

The pet loads the sns-retro program to /bin.

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

#154 Post by greengeek »

Couldn't wait - had to try the xorg pet this morning. It installs easily and worked well. All I had to do was as Starhawk suggested and change the xorg.conf file to reflect my 1024x768 resolution. I did notice that console fonts are very bad when xorg is running. (although other onscreen fonts are fine).
EDIT:ok I see the fonts were already noted here:http://murga-linux.com/puppy/viewtopic. ... 1&start=91

Most importantly, this pet allows Freeoffice to run now (no more xRender initialise fault). I tried using the Freeoffice Textmaker and made a one page document with text and an inserted image, and saved it as .doc and also exported as pdf. Both worked fine. Very happy. More indepth tests later.

Heres the bad console fonts:
Attachments
xorg pet console font bad.png
Fonts within console are bad but other fonts onscreen (desktop and rox) are good
(19.08 KiB) Downloaded 781 times

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

#155 Post by greengeek »

technosaurus wrote:You can "remaster" any squashfs by mounting it
mount pup.sfs /dir
The copying its contents
cp -arf /dir /newdir
Add files to /newdir and
dir2sfs newdir
Check out my manual remaster howto in the howto section.
I've just had a read through your guide and it seems I need to manually add the extra pet files etc into the original sfs. However I thought I had already achieved that by adding the pets etc into my running system (and therefore into the savefile at shutdown time). Why is it not possible/easy to automatically "merge" the savefile into the original sfs?

If I'm mounting the old sfs to manually graft the new files into it can I also mount my savefile and just copy across the files I need from there instead of starting again with turning the pets into tgz etc and copying them in?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#156 Post by technosaurus »

greengeek wrote:Why is it not possible/easy to automatically "merge" the savefile into the original sfs?

If I'm mounting the old sfs to manually graft the new files into it can I also mount my savefile and just copy across the files I need from there instead of starting again with turning the pets into tgz etc and copying them in?
you _can_, but I wouldn't recommend it especially if you plan to redistribute it. Your save file contains save data and other personal info and system specific settings. I wrote an alternative remaster wizard a few years back that allowed such mischief, but it is impossible to to know all the dumb stuff a user will do, so I decided to let that ill conceived idea bit rot.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

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

#157 Post by greengeek »

technosaurus wrote:so I decided to let that ill conceived idea bit rot.
Thanks. Point taken :)

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

wpa_cli & wpa_supplicant

#158 Post by Keef »

Ibidem

Tried those scripts and it works perfectly. First tried it on Wary (clean frugal install, but no worries about having to install driver or firmware), and now running from pUPnGO12.

Ibidem
Posts: 549
Joined: Wed 26 May 2010, 03:31
Location: State of Jefferson

#159 Post by Ibidem »

Keef: glad to hear that it worked.

goingnuts: do you think that the udhcpc script and (especially this part) the wpa_cli trick might be useful for sns-retro?
This would replace the "sleep 1" loop parsing the output of wpa_cli around lines 110-115 in rc.network.

maddox
Posts: 454
Joined: Fri 28 Sep 2007, 20:37
Location: sometimes in France

#160 Post by maddox »

test bed hp xe4100 laptop 1.2Ghz 792Mb ram fr-ch-latin1 kbd, yea a fast laptop to test under these circumstances.
/var/log/messages -> pupngo user.warn kernel: Unable to load NLS charset iso8859-1
fixed by modprobe nls_iso8859-1 (btw is nls_cp437 built into the kernel? not displayed in lsmod output)
I then ran modprobe nls_cp850 as certain fr/be/nl/ch/ca/latin users require it (accents/translations).

pupngo -> default res 800x600x16 (global 'fixed' font renders badly, some chars are partially bold jwm/apps/console)
fixed by changing res to 1024x768x16 using the 'setresolution.sh'

plugged in a usb stick with some mp3 songs
partitions were correctly detected (fast), clicked on song to play in rox .. nothing
looked in 'mime-types' defaultaudioplayer , looked in /usr/local/bin.. doesn't exist
ran menu audiovideo .. audio player -> xhippo 3.5 : dragged file to xhippo, clicked on file in xhippo, wow sound

another test bed acer laptop t508 500Mhz 378M ram
default res 800x600x16, like someone else, pink screen but bearly readable (pink with black lines through the text)
running setresolution.sh
I need to write down the resolutions as I can't correctly see what's displayed on the screen: complete white/green/yelow/black and try them 1 by 1
maybe I could try -swaprgb (or something like that) as an extra xvesa option

Post Reply