Wellenreiter on Qtopia based ROM

From OESF

Revision as of 00:12, 28 November 2004 by Offroadgeek (Talk | contribs)
Jump to: navigation, search

Note: This should work on both the 5x00 and Cxx0 series Zs.

I personally have a 760 with the Cacko Qtopia 1.20 ROM and an Ambicom WL-1100C card, so these procedures may not be exactly the same for all.

Contents

Getting the right drivers installed/working

I'm not sure if it's because I'm using the Ambicom card, but I found all of this to work best when using the orinoco drivers (as opposed to hostap). I did the following to get this working:

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

You may find out that you need/prefer the hostap drivers, or that you need to add your card to the correct conf file, if so refer to bad link (chanaged to different forums, so topic ID is different) for further details/assistance.

Installing the application and dependencies

  1. Download this wellenreiter tarball, and extract the four IPKs.
  2. Install the IPKs in the following order (note the dependencies):
    1. libpcap0 0.7.2 -> none
    2. libopie1 1.1.0 -> none
    3. libopie2 1.8.2 -> libopie1, libpcap0
    4. wellenreiter 1.0.2.1 -> libpcap0, libopie1, libopie2

Minor tweaks

Then you just need to make sure wellenreiter is run as root by default. You can set this by doing one of the following (depending on your skill/preferences):

  • edit the following:
/opt/!QtPalmtop/qpe.sh
and change
QPEUSER=root
QPEGROUP=root

Note: if you do the above option, you'll need to reboot the Z for the changes to take affect.

or you can...

  • Tap & Hold Wellenreiter icon and select "Run as root" option. Wellentreiter will complain that it's not running as root, but it still works.

or you can...

  • If you don't want the whole GUI to run as root (usually a bad idea), you can run Wellenreiter from the command prompt and it stops complaining:
$ su -
  1. wellenreiter
Doing su to a clean root environment (with su -) is important, apparently the QPEUSER environment variable causes the error message.

Setting up a proper network connection

  • Add a new wifi connection via the Network applet with the following settings (assumes Cxx0 model):
Account tab
name it whatever you want (ie. wellenreiter)
Config tab
deselect Non-Spec ESS-ID; "Any" (remove the tick)
type in whatever you want for an ESS-ID
Network Type = Ad-hoc

Channel = 1 (could be any)

TCP/IP tab
deselect Obtain TCP/IP Information Automatically (remove the tick)
IP Address: 1.1.1.1
Subnet Mask: 255.255.255.0
Gateway: 1.1.1.0

Final steps

  • Start the Ad-hoc network connection
  • Launch wellenreiter
  • On the menu, select Sniffer -> Configure
  • I just tapped the "Perform Autodetection" button and it automatically found eth0 and the correct driver (orinoco in my case).
  • You can configure specifics in this menu to have it do various things to your liking, or just click OK to close out of the menu.
  • Start sniffing by selecing on the menu Sniffer -> Start


All credit for this belongs to the people who posted these instructions/suggestions in the forum. I'm just the bafoon that added it to the wiki :) -offroadgeek

Personal tools