OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: toadatrix 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!
-
Nice job! Thanks for putting all this togeter and saving me from a lot of typing
-
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.
-
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)
-
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
-
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 (http://www.openzaurus.org/official/stable/feed/libpcap0_0.7.2-1_arm.ipk)
and
http://www.mousebusiness.com/libpcap_0.8.1_aj_arm.ipk (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/libopie1_0.9.9-20030718.1_arm.ipk)
http://www.vanille.de/feed/sharp/libopie2_...30718.2_arm.ipk (http://www.vanille.de/feed/sharp/libopie2_1.8.1-20030718.2_arm.ipk)
http://www.vanille.de/feed/sharp/opie-well...0030718_arm.ipk (http://www.vanille.de/feed/sharp/opie-wellenreiter_0.9.9-20030718_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
-
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
-
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.
-
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.
-
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
-
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.
-
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:
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
-
vishnja: Read my previous response. Wellenreiter doesn\'t work with lipcap 0.8.1 yet.
-
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.
-
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.
-
Thank you so much toadatrix and mickeyl (It\'s a great program, Mickey!)!
It was of course the wrong library... I had some versions of it, but libpcap0.8.1 was the only one willing to install (like Dan reproted..)
NOW, with the libpcap toadatrix send me everything is smoothly running :-)
Maybe it\'s a good idea to put this version in the feed of wellenreiter Mickey?
Thanks again,
Kathrin
-
Wonderful, I am glad you got it to work.
Have you, or anyone else, been able to get Nemesis installed and working? I need some help with it as the pointers on irongeek\'s website don\'t seem to work with the Cacko ROM.
-
no, couldn\'t install it :-(
-
could somebody write howto about wellenrieiter and cacko rom 1.21a?
I am searching through internet, not only on that forum but only on some home pages and I am confused alot.
I have 760 with cacko 1.21 with hotfix and Dlink660W wifi card and I cannot push everything to work. Ive installed all libs and program itself - 4 ipk\'s.
ive try hints in that thread and from other sites and nothing.
After I change drivers zaurus stoped recognize my card. so no internet etc. I cannot start wellenreiter in root from console also.
uffffffff.
its soo stressing......
Piotr
-
is there anyway to get it work with a card which is not working with orinoco driver ?
-
is there anyway to get it work with a card which is not working with orinoco driver ?
Try hostap drivers
-
After I change drivers zaurus stoped recognize my card. so no internet etc. I cannot start wellenreiter in root from console also.
uffffffff.
its soo stressing......
Piotr
If yopu read HOWTOS and forums carefully, you\'ll know that there is a pretty much standard procedure to make your card being recognised by the drivers. You need to add information obtained form cardctl ident command into a configuration file:
/etc/pcmcia/hermes.conf - if you use orinico drivers
/etc/pcmcia/hostap.conf - if you use hostap drivers
/etc/pcmcia/wlan-ng.conf - if you use default wlan-ng drivers
Then restart pcmcia (/etc/rc.d/init.d/pcmcia restart) or reboot your zaurus.
-
If yopu read HOWTOS and forums carefully.
Sorry, I am complete newbee and I have to learn so much. few days ago It was even problem for me to edit files under console.
obvious things for you take me lot of time so sorry.
I do search forum but every step was pain for me.
Anyway, thanks for your help.
Piotr
-
If yopu read HOWTOS and forums carefully.
Sorry, I am complete newbee and I have to learn so much. few days ago It was even problem for me to edit files under console.
obvious things for you take me lot of time so sorry.
I do search forum but every step was pain for me.
Anyway, thanks for your help.
Piotr
Install Midnight Commander (available for download here) and use it\'s built-in editor to edit files in console.
Also, there are some other Qtopia GUI text editors available. Don;t use the built-in editor to edit system files, because it appends .txt extention to them upon save.
-
is there anyway to get it work with a card which is not working with orinoco driver ?
Try hostap drivers
I finally got it working by adding informations found in cardctl ident in hermes.conf (or .hermes.conf) - think this should work for all those who don\'t get their cards recognised by orinoco drivers
-
Too bad this only works with orinocodrivers. I can\'t use them on my card. Only wlan-ng will work for me.
I\'ve tried the hostap drivers, but nogo. I inserted the cardctl ident info in de conf-file, but connecting to a wifinetwork doesn\'t work.
I seems it stops here. I\'ve been trying to get Wellenreiter and Kismet to work on while, but it just doesn\'t. So I\'ll give up for now. :cry: Let\'s see if there are beter versions available in a few months. :wink:
-
Let\'s see if there are beter versions available in a few months.
Probably not. Too much things to handle for too few people in not enough time.
If there is only one author working on a program and no one sends patches or helps otherwise to bring the project forward, why bother with an open source development model at all?
I\'m considering to release future Wellenreiter versions as closed-source commercial applications.
-
oh.. bad news but understand wht your mean.
i will starting to save more pocket money.....
my coming shopping list:
1. PSP
2. C9x0
3. wellenreiter III
ciao!
-
In the secondary menu (that thing you get when you press and hold on the icon), I set Wellenreiter to use root privileges when running. However, when I run it, I still get the \"You have started Wellenreiter II as non-root\" message. What is limited functionality, anyhow?