Author Topic: SLapAss  (Read 6185 times)

wizzard

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • http://
SLapAss
« on: June 29, 2004, 09:16:13 am »
Hi
I was wondering if anyone has tried the Simple Linux access point ASSociator (SLapAss) from http://undertow.2y.net/zaurus/SLapASS/. I tried to install it in my 5600 but it doesn't show up in the packages to be installed. Does it even work with the 5600?
SL 5600 PXA250 with Watapon 1.6
Kingston 256MB SD/ Canon 32MB CF/ Pretec WiFi 802.11b

(Still) Looking for a suitable case

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
SLapAss
« Reply #1 on: June 29, 2004, 02:08:19 pm »
Quote
Hi
I was wondering if anyone has tried the Simple Linux access point ASSociator (SLapAss) from http://undertow.2y.net/zaurus/SLapASS/. I tried to install it in my 5600 but it doesn't show up in the packages to be installed. Does it even work with the 5600?
Are you running Opie on your Z? The version of SlapASS your link points to seems to ba an Opie based app.

Cheers,
Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

slocaus

  • Full Member
  • ***
  • Posts: 243
    • View Profile
    • http://
SLapAss
« Reply #2 on: June 29, 2004, 03:17:13 pm »
From the ZSI description:

Quote
SLapASS is a simple tool written only in bourne shell using Opie-SH as a front end.

Only runs on OZ/Opie.
Handheld:. Sl-5500 tkcROM 1.0 (defunct) * apps on ext2 Lexar 256 SD
Desktop:. Mandrakelinux 10.2 Cooker * kernel 2.6.11
Both computers run linux, proud to be MS Free

wizzard

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • http://
SLapAss
« Reply #3 on: June 29, 2004, 03:50:50 pm »
"Only runs on OZ/Opie. "

OK. Thats why it didn't show up. Any way this can be made to work under Sharp ROM?
SL 5600 PXA250 with Watapon 1.6
Kingston 256MB SD/ Canon 32MB CF/ Pretec WiFi 802.11b

(Still) Looking for a suitable case

slocaus

  • Full Member
  • ***
  • Posts: 243
    • View Profile
    • http://
SLapAss
« Reply #4 on: June 29, 2004, 04:17:27 pm »
You will need to repackage it for the Opie installer (search here for instructions) and then there are probably a bunch of opie libraries you need.  Or contact the author of SlapAss?!?
Handheld:. Sl-5500 tkcROM 1.0 (defunct) * apps on ext2 Lexar 256 SD
Desktop:. Mandrakelinux 10.2 Cooker * kernel 2.6.11
Both computers run linux, proud to be MS Free

wizzard

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • http://
SLapAss
« Reply #5 on: June 29, 2004, 08:19:51 pm »
Thanks slocaus.
But I couldn't find the instructions. Will ask the author.
SL 5600 PXA250 with Watapon 1.6
Kingston 256MB SD/ Canon 32MB CF/ Pretec WiFi 802.11b

(Still) Looking for a suitable case

Joshp

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • http://
SLapAss
« Reply #6 on: June 29, 2004, 11:36:38 pm »
Has any one got this app to work.  I downlad it and whan I hit the icon nothing happens.

JP

Joshp

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • http://
SLapAss
« Reply #7 on: June 29, 2004, 11:50:46 pm »
Never Mind I did not have opie-sh installed.

JP

slocaus

  • Full Member
  • ***
  • Posts: 243
    • View Profile
    • http://
SLapAss
« Reply #8 on: June 30, 2004, 12:39:36 am »
Quote
Thanks slocaus.
But I couldn't find the instructions. Will ask the author.
From the "unofficial FAQ"
http://www.zaurususergroup.com/modules.php...parent_id=0#213
Handheld:. Sl-5500 tkcROM 1.0 (defunct) * apps on ext2 Lexar 256 SD
Desktop:. Mandrakelinux 10.2 Cooker * kernel 2.6.11
Both computers run linux, proud to be MS Free

wizzard

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • http://
SLapAss
« Reply #9 on: June 30, 2004, 12:28:57 pm »
Thanks again.
Is there a way this can be done entirely on the Z? I got the error message 'ar not found' when I tried to do this from the terminal:
"Peel apart an OPIE package with the 'ar' tool on desktop Linux: ar -x myopiepackage.ipk

Then repackage the bits in the Sharp format:
tar zcvf myopiepackage.ipk ./debian-binary ./data.tar.gz ./control.tar.gz"

Unfortunately I don't run Linux on my desktop nor do I have access to one.
SL 5600 PXA250 with Watapon 1.6
Kingston 256MB SD/ Canon 32MB CF/ Pretec WiFi 802.11b

(Still) Looking for a suitable case

slocaus

  • Full Member
  • ***
  • Posts: 243
    • View Profile
    • http://
SLapAss
« Reply #10 on: June 30, 2004, 12:40:56 pm »
The included Zaurus version of busybox does not support ar format:
http://lists.debian.org/debian-arm/2002/06/msg00022.html

Maybe one of these will?
http://www.killefiz.de/zaurus/search.php?q=busybox&x=0&y=0

How I found the above (Google is your friend):  
http://www.google.com/search?num=100&hl=en...rus&btnG=Search
Handheld:. Sl-5500 tkcROM 1.0 (defunct) * apps on ext2 Lexar 256 SD
Desktop:. Mandrakelinux 10.2 Cooker * kernel 2.6.11
Both computers run linux, proud to be MS Free

kcurrie

  • Newbie
  • *
  • Posts: 14
    • View Profile
SLapAss
« Reply #11 on: July 03, 2004, 04:16:28 am »
Hello all, I'm the author of SLapASS.    Please *DO* forward any questions to me you have-- I'll try my best to answer them.  Email me at kcurrie@undertow.2y.net

SLapASS really IS a simple program-- if you're having problems with it bring open a shell (embeddedKonsole) and run it with tracing:
 sh -x /opt/QtPalmtop/bin/SLapASS

..and see what errors you get.

For it to work, assuming you want to use the Kismet functionality you need to have a *working* Kismet configuration.   For just using it to switch between preconfigured networks kismet isn't required.

I've got my Z all jacked up with all kinds of programs but I tried to make sure that nothing I have as standard on mine but non-standard elsewhere crept into the program.  

As for why it doesn't show up as an installed package on the Sharp rom-- I have no idea, as  from what I've read there is no difference between an OZ ipkg and a Sharp ipkg.  I built the packages mostly manually as well, just using tar, gzip and md5sum.  

To my great surprise there has been ~450 downloads in the last 10-11 days, so apparently there is SOME interest there, although I've only recieved a few emails about it.
I personally got sick of having to manually reconfig my networking under OZ all the time because the Oz network app can't seem to store multiple configs-- even though it has a dropdown box which would appear to offer that functionality...

SLapASS actually was just a simple offshoot of another program I'm writing, and I thought it'd be useful to write it in just /bin/sh so it'd run just about anywhere (except for the Opie-SH requirement).   If there is interest, I could *possibly* hack it to work either WITH Opie-SH or just as a command line app.    The other program I'm writing has basically the same functionality as SLapASS and only runs via cmd line, but is written in perl, which I'd assume most people don' t have installed.

..if there was a  half-deceit replacement to Opie-SH that could be used as a frontend as easily as Opie-SH I'd be thrilled to use... anybody know of such a thing?

I found a bug in SLapASS today yesterday while waiting to go into surgery-- if it fails to associate it tells you so and then tells you it associated :-)  Instead of "break" I should have had "exit 1" on that line... a new version should be up soon.  
Any other features people would like?

Out of curiosity the other day I also hacked up a simple script which varies the volume of the Z according to the wireless strength.  Why you ask?  So you can listen to something like a wave file or mp3 and determine if you are getting farther away from an access point or closer without having to look at your Z (or even have if visable) :-)

I've got a ton of other stuff I just haven't bother to package up or even drop in my bin directory too.... stuff like swapd which is a swap daemon which creates swapfiles as required and deletes them when done... works pretty good on the Z for creating swapfiles in the ram disk....  other stuff  like a patched proxychains, various hacking tools, etc.
If anybody wants anything really cool out there, please let me know :-)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
SLapAss
« Reply #12 on: July 03, 2004, 07:17:03 am »
I'm running the cacko rom for a little while to see what it's all about, I assume it doesn't handle ar ipks.

Assuming the above is correct you can grab a version of opie-sh which is tar.gz encoded from www.killefiz.de/zaurus

Also the SLapASS package installed fine for me.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

wizzard

  • Full Member
  • ***
  • Posts: 154
    • View Profile
    • http://
SLapAss
« Reply #13 on: July 03, 2004, 12:48:32 pm »
I gave up. I couldn't even install busybox,  so couldn't try the excellent suggestions given. Can only hope that the author will release a version compatible with the Sharp ROM.
SL 5600 PXA250 with Watapon 1.6
Kingston 256MB SD/ Canon 32MB CF/ Pretec WiFi 802.11b

(Still) Looking for a suitable case

kcurrie

  • Newbie
  • *
  • Posts: 14
    • View Profile
SLapAss
« Reply #14 on: July 05, 2004, 12:31:24 am »
Eh?  busybox is installed on the Sharprom to begin with, is it not?  I mean, that's what nearly all the binaries in /bin are symlinks to-- right??  I haven't run the sharp rom for a while, but I can't image a Z could even boot without busybox installed.    If I remember correctly, the shell (sh) that is used on the sharp rom is also part of busybox.   In case anybody isn't aware, busybox is a binary that functions as a ton of various commands.  To make busybox work as (say) grep, just ensure that there is a symlink pointing to the busybox binary with the name of grep. ...the same goes for the rest of the commands it functions as.


..anyway...

If for some reason the ipk won't install, just do this (assuming you have the SLapASS.ipk file in /mnt/card/tmp);

cd /mnt/card/tmp
tar zxvf SLapASS.ipk
cd /
tar zxvf /sd/tmp/data.tar.gz

Now try running it like this:
 
/opt/QtPalmtop/bin/SLapASS

If you end up with some errors,  you can try running the script with the -x option to /bin/sh so it shows the commands it's executing:

sh -x /opt/QtPalmtop/bin/SLapASS

Is there anybody here who was able to get this working on the Sharp rom?

I'm not aware of anything I've done that would be OZ specific, but I've been running OZ for so long that I may have missed something obvious :-)