Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 07:16
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO 2012
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 25, 26, 27 Next
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Wed 03 Oct 2012, 15:49    Post subject:  

starhawk: thx

greengeek: I found that mp (minimal profit) text editor seems to work ok with copy paste between applications without crashing the source application - still a mystery why beaver and other gtk1.2 apps does that. mp has a different way of selecting text (right mouse button and mark outer points of that is to be selected) but normal shift-key and arrows/ctrl-c/ctrl-v works as well.

Attached tar.gz file - use "tar -xzf mp-3.3.18b.tar.gz" to unpack and copy the extracted files to /
mp-3.3.18b.tar.gz
Description  mp-3.3.18b_static build (texteditor with code highlight)
gz

 Download 
Filename  mp-3.3.18b.tar.gz 
Filesize  470.96 KB 
Downloaded  125 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Wed 03 Oct 2012, 16:20    Post subject:  

cs423x was carried over from 431 into 432 it looks like. At least, the source tarball isn't around in /lib/modules/all-firmware/ ... however...

http://www.alsa-project.org/main/index.php/Matrix:Module-cs4236 should be of some significant use Wink

...lifted SNS from Puplite5. The entire set of icons that should be there are not, but everything else ought to be. Obvious dependencies are iwconfig and ifconfig -- I've not included those because I'd be quite surprised if you didn't already have them.

Also not included is a symlink. /usr/sbin/sns should be linked to ../local/simple_network_setup/sns .

Everything else needed should be in there. I've done my usual trick of preserving heirarchy... files are as follows:
../SNS-puplite5/etc/simple_network_setup/
../SNS-puplite5/usr/local/simple_network_setup/help_security
../SNS-puplite5/usr/local/simple_network_setup/rc.network
../SNS-puplite5/usr/local/simple_network_setup/sns
../SNS-puplite5/usr/sbin/ndiswrapper
../SNS-puplite5/usr/sbin/ndiswrapper-buginfo
../SNS-puplite5/usr/sbin/wpa_cli
../SNS-puplite5/usr/sbin/wpa_passphrase
../SNS-puplite5/usr/sbin/wpa_supplicant

I did not include ndiswrapperGUI.sh because it does not work. AFAIK one cannot copy or archive symlinks properly, so that's why I didn't copy the one mentioned above. All of that said, once you backport the scripts all to GTK1 and stick in iwconfig and ifconfig (if not pulling from Puppy 420, you might want to double-check the commands -- also I don't know their deps) it *should* work fine.

You get a proper tarball of this stuff, since Xarchiver (no Pupzip in Puplite5) doesn't want to gz a directory for some reason. I've made the tarball in Windows XP using 7zip and gzip together.

...and last, but not least...

THANK YOU for putting up with my inane never-ending questions Very Happy I really do appreciate it, and I am remiss in not saying that sooner.
sns-puplite5.tar.gz
Description  Tarball of Simple Network Setup, liberally stolen from Puplite 5.0 (a Puppy 420 derivative).
gz

 Download 
Filename  sns-puplite5.tar.gz 
Filesize  158.4 KB 
Downloaded  126 Time(s) 

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Wed 03 Oct 2012, 17:15    Post subject:  

goingnuts / starhawk

Sorry to butt in, but it may help to have a newer version of the sns script, as it supports profiles. Barry's blog
Originally you had to re-enter everything after a reboot.
I've attached the two main files from /usr/local/simple_network_setup/

I did try stripping this down to CLI level once...
but failed miserably!
rc.network.gz
Description  rc.network script with dummy .gz extension
gz

 Download 
Filename  rc.network.gz 
Filesize  12.96 KB 
Downloaded  137 Time(s) 
sns.gz
Description  sns script with dummy .gz extension
gz

 Download 
Filename  sns.gz 
Filesize  40.24 KB 
Downloaded  123 Time(s) 
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Wed 03 Oct 2012, 17:23    Post subject:  

Hey, I didn't know about that. Should be really useful, then.

Thanks, Keef!

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 562
Location: Staffordshire

PostPosted: Wed 03 Oct 2012, 17:55    Post subject:  

...back again.

Hope this is not too off-topic, but may be of interest. For some time I have been messing with 4M Linux, an odd little distro with an almost amusingly bad website.
Anyway, the full distro has plenty of faults, but I got interested in the 'core' version. 4M boots with just a bzImage and an intrd.gz.
The initrd contains:
Code:

init (symlink to BB)
/dev/console null tty1...tty6
/etc/init.d/ inittab
    /init.d/rcS
/lib/ld-2.10.1.so
     ld-linux.so.2
     libc-2.10.1.so
     libc.so.6
     libm-2.10.1.so
     libm.so.6
/sbin/busybox init (symlink to BB)

The rcS script sets up the filesystem, profile etc. 4M uses 'addons' which are just tar.gz packages of libs and programs etc. They can be included in etc/init.d to be used straight away.
This structure is easy to clone with the vmlinuz and libs from any Puppy - I'm currently using Wary libs/kernel. I did find that it would not boot with 412 files, but I recompiled BusyBox (with everything), and that worked, so might have been a missing applet or two.
I have been using various static apps that have been posted on the pupngo threads, and have got a gui using the files pinched from pupngo 2012. I had managed to get my wifi working (using the static wpa builds), but it's not having it at the moment for some reason. Shame, because I've got Opera-Next working on it now. Oh well...
Because it is so 'barebones' it means you have to really work on finding the dependencies to get things working - the static apps are a great help though. Termcap is needed for a start.
There is no persistence, (no way to save), but it is just for experimenting with.
Might be useful as a test bed, especially for static apps.
I've attached the rcS in case it takes anyones interest.
rcS.gz
Description 
gz

 Download 
Filename  rcS.gz 
Filesize  13.72 KB 
Downloaded  124 Time(s) 
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Wed 03 Oct 2012, 18:04    Post subject:  

Of note, one small bit of advanced knowledge I do have is that PET files are basically *.tar.gz (aka tarball) archives with an md5sum appended somehow (I don't recall how, but IIRC the whole thing is spelled out at puppylinux.org somewhere).
_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Sun 07 Oct 2012, 02:27    Post subject:  

Posted a first try of SNS with gtkdialog1 here. Not so much work going to gtk1 but removing xmessage-stuff and enabling ash-only took time. Also had to compile a newer dhcpcd, a static ethtool+ifplugstatus. But seems to work. Used the Puplite version but plan to go for the version Keef pointed at.
Keef: You mentioned you needed Termcap - what exactly are you missing? Is it the termcap.info files?
And the 4M looks worth a closer look - thanks!
starhawk: I was wondering if the sound is a driver missing or the absent of ALSA that gives problems? I do not know if ALSA can be done static at all - but as you are already having some of the shared libs for Xorg you might try adding a std ALSA-system? Anyway I will try to look into ALSA and the cs423x-stuff in 431.

Attached a static build of blinky-0.8...has retro look but with a low resource demand.

Add: Attached static build of alsalib/alsautils but stripped for most bins not needed for running alsaconf. The alsaconf is a slitaz script that runs with ash (original needs bash). I am not able to test this throughly - guess its mostly relevant for configuring ISA soundcards. Maybe worth a try - starhawk?
alsa_lib_utils_static_20121007.pet
Description  cut down alsalib/utils - static linked
pet

 Download 
Filename  alsa_lib_utils_static_20121007.pet 
Filesize  944.13 KB 
Downloaded  371 Time(s) 
blinky.gz
Description  static blinky-0.8 tray network monitor - just rename to blinky
gz

 Download 
Filename  blinky.gz 
Filesize  247.17 KB 
Downloaded  363 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Sun 07 Oct 2012, 11:41    Post subject:  

goingnuts: I look forward to trying all 3 Very Happy

I assume that for pUPnGO 2012 I do not need to install any GTK, just the SNS, ALSA, and Blinky *.pets?

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Sun 07 Oct 2012, 13:07    Post subject:  

starhawk wrote:
goingnuts: I look forward to trying all 3 Very Happy

I assume that for pUPnGO 2012 I do not need to install any GTK, just the SNS, ALSA, and Blinky *.pets?

Hope they work - and yes - no gtkdialog1 needed in pupngo2012 - its already there Smile
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Sun 07 Oct 2012, 13:14    Post subject:  

Re: GTK -- that's what I thought.

Re: testing -- I'll do that in a minute Wink

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2536
Location: Everybody knows this is nowhere...

PostPosted: Sun 07 Oct 2012, 14:21    Post subject:  

SNS = dead in the water.

Apparently there is no easy way to associate a driver with a physical device unless it is done automatically -- which pUPnGO2012 DOES NOT.

Plugged in a spare Netgear WG111v3 adapter, having installed the SNS pet and the extra-drivers SFS. Nothing showed up in SNS about the adapter, except for a Windows option (I will NOT use ndiswrapper). modprobe was used, and it loaded the correct WiFi module as listed on WikiDevi (very handy site, that). However, ifconfig and iwconfig would not recognize the device. /dev/wlan0 doesn't exist so that may be part of the issue.

Is there an RXVT command that says, "take this effing driver that's loaded and stuff it into a USB port"?

Also, how do I properly get Blinky working? In the /root/Startup directory it displays in the upper-left corner of the screen.

Haven't tried sound yet.

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 777

PostPosted: Sun 07 Oct 2012, 15:16    Post subject:  

Do not know about the wifi-driver thing...If driver present and recognized (including firmware drivers) they are normally loaded during boot...If the extra driver are not present at boot but installed after boot they might not be picked up - but unsure how to get you further there. I think if the right drivers are loaded ifconfig/iwconfig will give you some response...
I have the SNS--retro working with pupngo2012 on an asus eeepc900 and on stationary pc with usb-zd1211 wireless-stick. Also the wired network adapters on both machines are recognized and connected.

For blinky add the below to /root/.jwmrc-tray
Code:
<Swallow name="blinky">
blinky -bg "#DCDAD5"
</Swallow>
just after the pmfree swallow line
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Sun 07 Oct 2012, 16:03    Post subject:  

if anyone is looking to do a no-rox version, I wrote some C that checks file extension and gives you the MIME-type:
http://murga-linux.com/puppy/viewtopic.php?t=80916
These are the ones that (by default - not necessarily in pet packages) are semicolon separated in .desktop files as
MimeType=application/vnd.ms-asf;application/vnd.rn-realmedia;...

You can just grep `mimetype $filename` /usr/share/applications/*.desktop to find which programs can run it.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2090
Location: New Zealand

PostPosted: Sun 07 Oct 2012, 18:26    Post subject:  

starhawk wrote:
/dev/wlan0 doesn't exist so that may be part of the issue.

Does it maybe show up as an ethx instead of wlanx?
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Sun 07 Oct 2012, 19:06    Post subject:  

it could be ath0 on this older kernel too, may be a good time to try a later LTS kernel (2.6.32?)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 25, 26, 27 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0938s ][ Queries: 12 (0.0190s) ][ GZIP on ]