slaxer_pup "cooking version" released 5-19-2010

Under development: PCMCIA, wireless, etc.
Message
Author
big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#41 Post by big_bass »

Hey Tony

lets do it the manual hard way first

Code: Select all

which Xdialog 


/usr/bin/Xdialog


Code: Select all

 ldd /usr/bin/Xdialog
linux-gate.so.1 => (0xffffe000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bcb000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b49000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7b32000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7b1b000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7b13000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7ae3000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7a86000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7a66000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7a63000)
libdl.so.2 => /lib/libdl.so.2 (0xb7a5f000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb79d2000)
libc.so.6 => /lib/libc.so.6 (0xb78d6000)
libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7805000)
libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb7801000)
libm.so.6 => /lib/libm.so.6 (0xb77df000)
libXi.so.6 => /usr/X11R7/lib/libXi.so.6 (0xb77d7000)
libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb77b0000)
libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb77a4000)
libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb779d000)
libXinerama.so.1 => /usr/X11R7/lib/libXinerama.so.1 (0xb779a000)
libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb7794000)
libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb778c000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7766000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7708000)
libz.so.1 => /lib/libz.so.1 (0xb76f9000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb76dc000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb76ab000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb75df000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb75d5000)
/lib/ld-linux.so.2 (0xb7f32000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb75d2000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb75cd000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb75b1000)
#





now lets do it the easy way

click on this

Code: Select all

/root/slaxer_pkg_tools2.2
*I wrote a complete GUI package management system
from scratch its called slaxer_pkgtools2.2

select dependency
select Xdialog as an example only
enjoy the easy way :D
*only works for packages installed as slackware type packages



thanks for reporting back and glad you tried again with
the new package
I hope this little how to helps clear up the dependency questions

Joe
Attachments
menu-packagetools .png
(25.7 KiB) Downloaded 1538 times
dependency-viewer.png
(43.13 KiB) Downloaded 1548 times
Xdialog-depends.png
(30.54 KiB) Downloaded 1547 times

2lss
Posts: 225
Joined: Sun 20 Sep 2009, 23:54

#42 Post by 2lss »

hey big_bass

Nice job on slaxer pup! :D I gave it a spin on my eeepc 900 and was very impressed. There are a few slight problems though.

When I shut down, I never get a chance to make a pupsave. I just get the message "session not saved" and it shuts off. I checked and it is running in pupmode 5, so maybe there is an issue in the shutdown script.

About every 5 to 6 seconds the mouse cursor freezes for a split second. Also noticed the same thing when scrolling a document or entering text. Not sure if there is some kind of background process causing the problem or a driver issue.

Other than that good deal!

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#43 Post by pakt »

Hej Joe,

Nice update you got here on your solid and dependable Slaxer_Pup-4.12 :P

Good idea putting a date on the versions. Makes it easier to keep track of them.

I've put away my ARM-based hardware for a while to concentrate on a couple of surplus HP t5525 Thin Clients I picked up. These have VIA Eden 800 MHz CPUs, 128 MB RAM and 256 MB Flash memory, perfect for running SlaxerPup in other words :wink:

What I have in mind is to make a special *server* version of SlaxerPup to run on hardware like this. I was inspired by bchafy's Xin server puplet (http://www.murga-linux.com/puppy/viewtopic.php?t=55154) which I have been running on the HP t5525.

What I have decided so far is to have the 'SlxrPupServer' puplet work as a printer server and a simple NAS (Network-Attached Storage: the HP t5525 has 4 USB 2.0 ports) for storing and sharing files on a USB HD or Flash drive. I may also try to add some streaming server app and a torrent client (need to figure out how first :wink: )

I've already got the printer server part working. I downloaded the p910nd printer daemon source, installed amigo's src2pkg and it compiled easily. Works great with my *2* USB printers, an Epson inkjet and a Brother laser, attached at the same time. Just need to configure CUPS for each printer (using the JetDirect/socket raw printing protocol) on the client PCs and you're ready to print through the HP server :D

Thanks for sticking with SlaxerPup 8)

Paul

PS Almost forgot to thank you for compiling the audio and wifi drivers for the eBox-2300. I'll test them soon and report back.
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#44 Post by pakt »

BTW, here are a couple of apps I compiled using src2pkg to add to your collection.

Note that the forum doesn't allow the .tgz suffix - just remove the .ace ending after downloading.

Afterwards, just click on the file to install in SlaxerPup-cooking 8)
Attachments
p910nd-0.93-i486-1.tgz.ace
p910nd: a small daemon that can turn an old PC into a printer server
(18.28 KiB) Downloaded 498 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#45 Post by pakt »

A brief howto for the p910nd printer server daemon

Short description from the p910nd man page

p910nd is a small printer daemon intended for diskless workstations that does not spool to disk but passes the job directly to the printer. Normally a lpr daemon on a spooling host connects to it with a TCP connection on port 910n (where n=0, 1, or 2 for lp0, 1 and 2 respectively). p910nd is particularly useful for diskless Linux workstations such as those set up with LTSP and embedded devices that have a printer hanging off them. Common Unix Printing System (CUPS) supports this protocol, it's called the AppSocket protocol and has the scheme socket://. LPRng also supports this protocol and the syntax is lp=remotehost%9100 in /etc/printcap.

Installing the daemon

Download p910nd-0.93-i486-1.tgz and install in SlaxerPup by clicking on the file name.

You can test it by simply executing p910nd in a terminal
# p910nd &

If you want the daemon to start at every bootup, just include the above line (without the #) in /etc/rc.d/rc.local.

Using the daemon

On your client PC, configure the printer in CUPS. When CUPS asks which URI to use, choose 'socket://' and add the IP address of the 'server', i.e. the PC running the printer daemon (choosing a static IP address for the printer server makes things easier ;-)) followed by a colon and the port number).

Example URI: socket://192.168.0.15:9100

That's it!

Advanced - using two printers on the same server

Two printers on the same server is a little more complicated, but I did get it to work. Here's where the 'lsusb' utility came in handy. Two instances of the daemon need to run and the server must somehow determine which daemon controls which physical USB port.

Here's how I did it

1. Connect both printers to USB ports on the server.

2. Start up two printer daemons (in a terminal or in rc.local). The daemons will change name to reflect which port they use.

# p910nd -f /dev/usb/lp0 0 &
# p910nd -f /dev/usb/lp1 1 &

3.
Run lsusb in a terminal and check the output. For example:
# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 04f9:0027 Brother Industries, Ltd HL-2030 Laser Printer
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04b8:0005 Seiko Epson Corp. Stylus D88+
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
#

Note that here the Epson printer is on Bus 001 and the Brother printer on Bus 002.

4. On your client PC, add the two printers in CUPS. For example if the printer server has the IP address 192.168.0.15:

Epson printer - Device URI: socket://192.168.0.15:9100
Brother printer - Device URI: socket://192.168.0.15:9101

Here's how the choice was made: The Epson printer has the lower bus number, so give it the first port number (9100). The Brother printer then gets the next higher port number (9101).

I found out the above by experimentation. There is probably a better way to determine which logical port (9100/9101) connects to which physical USB port. Perhaps someone can enlighten me :wink:

BTW, this printer daemon will also work with parallel port printers, but I haven't tested that.
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#46 Post by pakt »

Hej Joe,

I finally got around to fixing the 'FATAL: Module usbhid not found.' message that occurs during booting.

This happens because a script tries to modprobe the usbhid module but SlaxerPup's kernel already has the usbhid module compiled in it.

'modprobe usbhid' actually occurs in two scripts:

/etc/rc.d/functions4puppy4
/usr/X11R7/bin/xwin

I've modified these scripts and have attached them in a tarball.

Paul
Attachments
usbhid-fix.tar.gz
just unpack and copy the files over the originals
(40 KiB) Downloaded 555 times
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#47 Post by big_bass »

Hey Paul (pakt)

wonderful stuff all about the server set up I will write you a PM too later with more details ( I have an all package build which is easier to modify for this type of use )

could you re upload the usbhid-fix.tar.gz it was empty

I did fix the other location that message pops up in the initrd.gz
but missed the other two you fixed thanks

I will add them in thanks
Joe

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#48 Post by pakt »

While I'm at it, here's a modified initrd.gz for SlaxerPup-cooking 8)

bchafy has done some wonderful stuff with his Xin puplet

(http://www.murga-linux.com/puppy/viewtopic.php?t=55154)

One of the innovations in Xin is a new kind of re-mastering - a simple and fast way that doesn't require a pupsave file or burning a CD.

It works like this: During bootup, if a folder named 'precfg' is found in the top directory of the boot CD/USB/HD or frugal install, the contents are overlayed the file system.

For example, if folder precfg contains the file /etc/rc.d/rc.local, it replaces the original in the file system. Great for simple mods and troubleshooting :P

In bchafy's own words: "A precfg area for faster re-mastering, no need to regenerate a .SFS every time you want to change the core, and no need for a hard drive to store customizations"

I have added a slightly modified version of bchafy's code in SlaxerPup's initrd.gz. It works as I have described above.

Enjoy :D
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#49 Post by pakt »

big_bass wrote:could you re upload the usbhid-fix.tar.gz it was empty
Hmm, strange - I just downloaded it and it wasn't empty.

Joe, please try downloading it again and see if it is ok
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#50 Post by big_bass »

Hey Paul

don't know why it wouldnt open only in a new version of xarchiver :?

thanks I packaged it up
http://www.puppy2.org/slaxer/usbhidfix- ... 3_SLXR.txz


I added this to the slack-desc

Code: Select all

 usbhidfix:  usbhidfix (suppress usbhid error message)
 usbhidfix:
 usbhidfix: thanks to pakt





I'll test the initrd looks very interesting 8)
this has a lot of ideas running in my head now
of what could be done

a big thanks
Joe

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#51 Post by pakt »

Glad you got the download to work and thanks for packaging it up.
big_bass wrote:I'll test the initrd looks very interesting 8)
this has a lot of ideas running in my head now of what could be done
Yep, precfg re-mastering opens up a bunch of possibilities. For example, a precfg folder with special software can be added to an iso file (bchafy did this with his Xin puplet iso).

I'll be using a precfg folder on my bootable SlaxerPup-cooking USB stick to develop SlxrPupServer, adding stuff and testing as I go along :)
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#52 Post by big_bass »

Hey Paul

what I am working on now is a TXZ package build

its called TXZ_pup

( I did remove cups but upgraded cups as packages to 1.39)
but cups is much larger with the packages

it is already working and tomorrow I will up load a minor bug fix version
since it gets built using packages all the sticky problems of removing packages is overcome because I dont register the packages with petget it is100% handled by
slackwares package tools I had to build about 400 packages to do it but that hard part is behind me now from here its much easier to modify and maintain

or someone else like the special project you want to build

I didnt go crazy with a bunch of untested packages I maintained the slaxer_pup logical approach

its a lot cleaner to install a package and then remove it
you never know how that multiple layering could end up like a multi level game of chess

I still do think its a good Idea to have more options you never know when that special option will come in handy


I included all your fixes except the initrd
I have to test that one still

Joe

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#53 Post by Aitch »

Hey Joe

ttuuxxx said, "here's a Rox plugin that allows you to open and extract txz format files with Fileroller, Slackware packages uses this format.
ttuuxxx"

http://murga-linux.com/puppy/viewtopic. ... 497#433497

Aitch :)

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#54 Post by big_bass »

Aitch
that pet you posted adds mime types to non updated puplets

but slaxer pup has the needed ones built in already and more

so that pet is not needed and will clobber my globs files

what could be used is the standard official file roller package itself unmodified

slaxer has its own decompression tools built in called
unzipper_dragNdrop5 all written in bash


Joe

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#55 Post by pakt »

big_bass wrote:what I am working on now is a TXZ package build

its called TXZ_pup
big_bass wrote: it is already working and tomorrow I will up load a minor bug fix version
since it gets built using packages all the sticky problems of removing packages is overcome because I dont register the packages with petget it is100% handled by
slackwares package tools I had to build about 400 packages to do it but that hard part is behind me now from here its much easier to modify and maintain

or someone else like the special project you want to build
Ah, you've been busy Joe 8)

I wasn't aware of TXZ_pup before so I'm looking forward to testing it (version 7-13-2010).

If I understand you right, I'll be able to remove any packages I don't need for my server version easily using your built-in tools.

Does TXZ_Pup replace SlaxerPup-cooking ?

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#56 Post by big_bass »

Hey Paul (pakt)

slaxer_pup cooking is the result of a progressive bug fixing and adding features never available before I started on it such as slackwares pkgtools

such as puppy was never booted from a non puppy configured kernel before

puppy has never used another package management for core packages before
official puppy now can convert slackware packages to pets then install the with petget

I dont use petget to install core packages so just like slackware I gained that
feature to uninstall installed core packages

so on a server a full install could be modified by removing what you wanted
cleanly and seeing all the files that will be removed by checking the package first with the package viewer

slaxer pup was the tool to set a stable workbench so I could build TXZ_pup

the major differences between the two is in the core packages and how I built the two

TXZ pup has a micro base (which consist of no packages ) not a fat free no packages !! then all the program packages are added
allowing for repairs to packages or replacement of packages and even the micro base package so everything can be modified just that alone is a major break though
in a new way to build getting everything set up to do that took some jumping into deep water and trying some new ideas that worked :D


slaxer pup cooking is solid but some fixes were added to the base early on directly during its creation to test ideas


TXZ pup is 100 times more flexible to modify and build for the long term support and I am more disciplined to make bug fix packages for everything it will develop very quickly
Im using it now as I type this

Joe

JIGNESH_MODI
Posts: 40
Joined: Fri 06 Mar 2009, 01:00
Location: Pune (India)
Contact:

#57 Post by JIGNESH_MODI »

i m using bsnl 3g usb datacard of teracom so plz help me to connecting it to internet... thanks in advance :lol:

User avatar
l2ulinux
Posts: 140
Joined: Tue 25 Jan 2011, 13:40
Location: Blountstown, Fl.

drivers

#58 Post by l2ulinux »

I wanted to try your release but can not us my internet. Can you help with driver.

Post Reply