Author Topic: Getting Wellenreiter Working with New Cacko ROM  (Read 11386 times)

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« on: March 09, 2004, 09:40:16 pm »
I was able to get Wellenreiter working on my Zaurus C860 running the new Cacko ROM (1.20 released March 5) by doing the following:

1.  Download the javab0y version of Wellenreiter and its libaries.  These should be installed to flash memory in the following order:

   libpcap0
   libopie1
   libopie2
   wellenreiter

I believe that javab0y and irongeek will be posting these if you can\'t find them elsewhere.

2.  I have the AmbiCom WL1100C-CF compact flash wifi card.  This card is readily available at CompUSA and other sources for $70 or less (sometimes has big rebates).  The card is nice because it can use either the prism or orinoco drivers.

3.  To run Wellenreiter I had to use the orinoco drivers.  These are in the /etc/pcmcia/.hermes.conf file (hidden file because of the leading dot) and are not used by default in the Cacko distribution.  The default prism drivers are in /etc/pcmcia/wlan-ng.conf.  You can switch from the prism to the orinoco drivers from the Konsole as follows:

   su -
   cd /etc/pcmcia
   mv wlan-ng.conf .wlan-ng.conf
   mv .hermes.conf hermes.conf
   /etc/rc.d/init.d/pcmcia restart

4.  After doing this pull out your wifi card, wait 3 seconds, and reinsert it.  It should again be recognized, but the orinoco drivers will now be used.

5.  To start Wellenreiter you first need to get eth0 hooked up and active.  Do this as follows from the Konsole:

   su -
   cardctl scheme CardResume
   cardctl scheme qpewlan0
   cardctl reset
   iwconfig

6.  If all is correct you will see eth0 listed with a bunch of other stuff following it when you do the iwconfig command.  Assuming that is so, start Wellenreiter by typing its name as root ( do \"su -\" first ) from the Konsole.

7.  Once Wellenreiter is started go to the sniffer configuration screen and select the orinoco drivers.  Click on the name drop down list and select eth0 which should appear.  Then click on the start command and it should work.

8.  When you are all done using Wellenreiter you can execute the following Konsole command to get your card back to normal (this may not always be needed but it doesn\'t hurt):

   su -
   cardctl scheme default

That\'s it (hope I didn\'t forget something).  Please note that for me the hermes orinoco drivers work fine for Wellenreiter and for regular network connections.  They don\'t seem to work for Kismet, however.  To switch back to Kismet you\'ll need to take out the orinoco drivers and put the prism ones back in by doing the following from the Konsole:

   su -
   cd /etc/pcmcia
   mv .wlan-ng.conf wlan-ng.conf
   mv hermes.conf .hermes.conf
   /etc/rc.d/init.d/pcmcia restart

Take out your CF card, wait three seconds, and put it back in.  You\'ll then be back to the original prism driver configuration and kismet should work.

I certainly didn\'t figure this all out by myself.  Most of this appears in other posts and I got a lot of help from javab0y\'s and maslovsky\'s work and comments.  I am a linux newbie, so if others can see a way to simplify this, please speak up.  Finally, the host-ap drivers wouldn\'t work at all for me so I don\'t recommend that you install them.  Good luck!

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Getting Wellenreiter Working with New Cacko ROM
« Reply #1 on: March 10, 2004, 02:07:51 am »
Nice job! Thanks for putting all this togeter and saving me from a lot of typing

LadyBug

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #2 on: March 10, 2004, 04:18:47 am »
If you use the libopie & wellenreiter packages from vanille.de,
you need to mount the root filesystem rw (mount -o remount,rw /) to
be able to successfully install them in Cacko 1.20. You can remount
back to ro after installations (mount -o remount,ro /).

Yeah, after two weeks of active fuzing with various ROMs, kernels,
drivers and kismet/wellenreiter versions, I also have now a working
kismet & wellenreiter setup in my C760 w/ Cacko 1.20 & Symbol CF
card. Just in time for a project that starts next week.
C760, Symbol CF WiFi, Lexar 1GB SD, score of CFs
Currently running pdaXrom.

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Getting Wellenreiter Working with New Cacko ROM
« Reply #3 on: March 10, 2004, 06:15:39 am »
Quote
If you use the libopie & wellenreiter packages from vanille.de,  
you need to mount the root filesystem rw (mount -o remount,rw /) to  
be able to successfully install them in Cacko 1.20. You can remount  
back to ro after installations (mount -o remount,ro /).

Thats\' the first time I hear that. I\'ve installed wellenterter form vanille.de from Sharp feed on both 5500 (Sharp based ROM) and 750 (Cacko based ROM)

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #4 on: March 10, 2004, 08:31:56 am »
javab0y has pointed out to me that instead of physically removing, waiting 3 seconds, and reinserting the CF card you can simply do the following from the Konsole:

cardctl eject
cardctl insert

dan2030

  • Newbie
  • *
  • Posts: 2
    • View Profile
Getting Wellenreiter Working with New Cacko ROM
« Reply #5 on: March 18, 2004, 09:56:49 am »
It all sounds so easy! But i can\'t make it work.. the trouble i\'m having does\'nt sound remotly like what other people experience either.

First off i\'m unsure on which libpcap..

there seem to be two:

http://www.openzaurus.org/official/stable/...0.7.2-1_arm.ipk

and

http://www.mousebusiness.com/libpcap_0.8.1_aj_arm.ipk

I\'m unsure which to use as somewhere states don\'t use openzaurus build which the first one evidently is. But then i read to install libpcap0 which the second one isnt (or perhaps it is?) anyway i\'ve tried both.

the first (libpcap0_0.7.2-1_arm.ipk) doesnt install

# ipkg install libpcap0_0.7.2-1_arm.ipk

zcat: libpcap0_0.7.2-1_arm.ipk: not in gzip format

zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from libpcap0_0.7.2-1_arm.ipk


so I assume the second is correct.


# ipkg install libpcap_0.8.1_aj_arm.ipk
Unpacking libpcap...Done.
Configuring libpcap...Done.
ldconfig: File /home/QtPalmtop/lib/libopiemm2.so.1.8.1 is too small, not checked.

The file /opt/QtPalmtop/lib/libpcap.a now exists.

I downladed the only ipk\'s for Wellenreiter (+ libs) that i can find can find:

http://www.vanille.de/feed/sharp/libopie1_...30718.1_arm.ipk
http://www.vanille.de/feed/sharp/libopie2_...30718.2_arm.ipk
http://www.vanille.de/feed/sharp/opie-well...0030718_arm.ipk

And installed em.

now i try to launch and get this:

wellenreiter: error while loading shared libraries: libpcap.so.0.7: cannot load shared object file: No such file or directory

so did:

ln -s /opt/QtPalmtop/lib/libpcap.a /opt/QtPalmtop/lib/libpcap.so.0.7

When i try to launch as root i got:

Qt/Emebedded data directory no owned by user 0
Aborted

So i set qpe to run as root instead of as zaurus. and restarted.

With qpe now running as root i can launch wellenreiter and find the interface eth0 (hostap_cs driver)

However when i press start the app dies with the following error in the konsole:

wellenreiter: error while loading shared libraries: /opt/QtPalmtop/lib/libopienet2.so.1: undefined symbol: pcap_open_live

Also sometimes when i start the app the screen goes white with themessage \"please wait...\" and the app comes up portraint in a low resolution. I have no idea what determines whetehr it starts in this state or the normal state.

Any ideas what i might be missing would be much apreciated.

Thanks

Dan

vishnja

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #6 on: March 21, 2004, 04:51:10 pm »
thanks dan2030! I had to take very similiar steps as you with my prism2 pretec wlan card and the cacko Daniela rom.
Though I got wellenreiter startet, I couldn\'t select eth0 from the pulldown menu in the configuration screen.
I did everything as toadatrix explained - yet iwconfig would still claim, that eth0 \"has no wireless extensions
everything else gets recognized and the previous steps seemed to be successful....

So what could I try next?

cheers,
Kathrin
C860 with Cacko 1.21 \"Elena\" ROM,
pretec wlan cf, nokia bt cf, ratoc usb host cf, socket lan cf,
sandisk 512 cf/sd, kingston 256 cf

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #7 on: March 21, 2004, 09:10:37 pm »
dan2030 and vishnja:

PM me your email address and I\'ll gladly send you the versions I used to get it all working.  I did you the Ambicon C1100 wifi card, so I can\'t say if this method will work with other cards or not.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Getting Wellenreiter Working with New Cacko ROM
« Reply #8 on: March 22, 2004, 01:55:00 am »
dan: you need libpcap 0.7.2. earlier packages were buggy and missed a link from libpcap.0.7 --] libpcap.so which is why you might add this manually.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

vishnja

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #9 on: March 22, 2004, 05:16:53 am »
Actually, when I come to think of it, it isn\'t maybe a wellenreiter problem after all. Even now, while I\'m surfing on my Zaurus iwconfig would still claim, that my eth0 has no wireless extensions and list no other devices (than lo and eth0).
So why should eth0 appear in wellenreiters pulldown menu?
Is there a way to make them see, that there is a card actually working?

thanks for any advise
Kathrin
C860 with Cacko 1.21 \"Elena\" ROM,
pretec wlan cf, nokia bt cf, ratoc usb host cf, socket lan cf,
sandisk 512 cf/sd, kingston 256 cf

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #10 on: March 22, 2004, 08:38:04 am »
Vishnja,

I was never able to see any wireless extensions using iwconfig until I switched from the wlan-ng.conf to the hermes.conf files as outlined above.  Only after doing that will iwconfig report anything.  I don\'t know why this is the case, but it is for me too.  Frankly, I find that the original prism drivers and the wlan-ng.conf file work best for everything except Wellenreiter.  I only switch to hermes.conf and the orinioco drivers while using Wellenreiter, then I always switch back after I am finished.

vishnja

  • Full Member
  • ***
  • Posts: 135
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #11 on: March 22, 2004, 09:24:21 am »
okay, by using the hermes-drivers for my card as well, I get nice iwconfig output :-))
But now I am as far as Dan it seems, because I get the very same error:


Quote
With qpe now running as root i can launch wellenreiter and find the interface eth0 (hostap_cs driver)

However when i press start the app dies with the following error in the konsole:

wellenreiter: error while loading shared libraries: /opt/QtPalmtop/lib/libopienet2.so.1: undefined symbol: pcap_open_live

Dan

So what is wrong now?

btw. toadatrix: why do you switch back from the hermes drivers? They seem to be working for other applications as well.

Thanks,
Kathrin
C860 with Cacko 1.21 \"Elena\" ROM,
pretec wlan cf, nokia bt cf, ratoc usb host cf, socket lan cf,
sandisk 512 cf/sd, kingston 256 cf

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Getting Wellenreiter Working with New Cacko ROM
« Reply #12 on: March 22, 2004, 10:31:52 am »
vishnja: Read my previous response. Wellenreiter doesn\'t work with lipcap 0.8.1 yet.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #13 on: March 22, 2004, 12:03:13 pm »
I switch back from the heremes drivers after running Wellenreiter because I have found that Kismet won\'t run for me with hermes.  I can connect to a network OK with hermes, but Kismet won\'t work with it.  Not sure why.

toadatrix

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
    • http://
Getting Wellenreiter Working with New Cacko ROM
« Reply #14 on: March 22, 2004, 12:04:53 pm »
vishnja:

Are you using the version of the libraries I sent you?  Be sure to uninstall other versions of the same thing before installing the new libraries.