maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Kismet + Fully functional WLAN monitor mode for the N900 (https://talk.maemo.org/showthread.php?t=52393)

mail_e36 2010-05-25 19:48

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
I do understand that Titan's Power35 and up will incorporate the new patch, but my question is:

If I am currently running Titan's Power Kernel, do I have to downgrade back to the Nokia kernel to upgrade from PR 1.1 to PR 1.2?

After I upgrade to PR 1.2 can I immediately upgrade to the latest Titan Power Kernel, or do I have to wait for Titan to incorporate PR 1.2 into his kernel?

I realize this is not the ideal audience for this question, but I think the N900 Kismet users are more knowledgeable on these things than the regular N900 users :)

lxp 2010-05-25 22:59

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Quote:

Originally Posted by mail_e36 (Post 676895)
If I am currently running Titan's Power Kernel, do I have to downgrade back to the Nokia kernel to upgrade from PR 1.1 to PR 1.2?

Yes, it is recommended to uninstall the titan kernel before upgrading to PR 1.2. See http://wiki.maemo.org/Kernel_Power#U...ng_to_a_new_PR

Quote:

Originally Posted by mail_e36 (Post 676895)
After I upgrade to PR 1.2 can I immediately upgrade to the latest Titan Power Kernel, or do I have to wait for Titan to incorporate PR 1.2 into his kernel?

All current versions in extras, extras-testing and extras-devel should be compatible with PR1.2. Titan has incorporated the latest minor PR1.2 updates in version 35.
(Source: http://talk.maemo.org/showthread.php?p=676177)

titan 2010-05-26 09:54

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Quote:

Originally Posted by lxp (Post 677360)
Yes, it is recommended to uninstall the titan kernel before upgrading to PR 1.2. See http://wiki.maemo.org/Kernel_Power#U...ng_to_a_new_PR

update: you don't to uninstall before upgrading, just reinstall after the upgrade.

mail_e36 2010-05-27 14:01

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
I have delayed my response since I wanted to test the N900 Kismet application with PR 1.2.

I installed PR 1.2 after doing a complete re-flashof the device, after that I installed the latest Power Kernel from Titan. I have done several reboots and so far Kismet seems to be working properly, I don't have the problem I had before with everything getting autogrouped. I will continue to test this for a few days to see the outcome before having you go through any more work by writing a debug driver or anything else.

The only issue I've encountered so far is after I properly exit Kismet I get a message saying "Kismet is Shutting Down" on xterm but it never drop me back to the prompt unless I press Control C.

Thanks,

Quote:

Originally Posted by mail_e36 (Post 676468)
Below I am posting lxp's response (which was via email), in case other N900 Kismet users are experiencing similar issues:
-----------------------------
I have analysed your pcap file and in combination to your bug
description, I think the problem is due to the driver somehow
misconfigures the wl1251's packet filtering in some special cases. My
patch doesn't touch that part of the driver because my tests showed it
works without modification (for me) so I haven't thought much about it.
I think the bug is triggered by either a special network type or
parameter of a network you connect to before going into monitor mode.
Maybe it is not only caused by a single network but a combination of
different networks if you usually use multiple networks before monitor mode.
It would be good if you could try to determine the network or even
better the parameter itself which causes the problem. At best you would
reboot after every network connect + monitor mode test to get a clean
state for the next try.
I would first suspect ad-hoc networks if you use any because I haven't
tested ad-hoc networking yet.
If you can determine a network which causes the problem, please tell me
the parameters of it:
* network type (infrastructure/ad-hoc),
* encryption type (open/wep/wpa-psk/wpa eap),
* hidden ssid (yes/no) and
* power management (full/half/off)
Maybe you can also suspect a network parameter for triggering the bug.
If you couldn't determine any single network which causes the problem I
think I have to build a debug driver for you, so we can tell for sure
your problem isn't caused by the packet filtering.


lxp 2010-05-28 13:49

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Quote:

Originally Posted by mail_e36 (Post 682847)
I have done several reboots and so far Kismet seems to be working properly, I don't have the problem I had before with everything getting autogrouped.

I like it when bugs resolve themselves. It's much less work :)
If anyone else experiences similar problems with PR1.2 and a recent power kernel, please tell me.

Quote:

Originally Posted by mail_e36 (Post 682847)
The only issue I've encountered so far is after I properly exit Kismet I get a message saying "Kismet is Shutting Down" on xterm but it never drop me back to the prompt unless I press Control C.

I already know that problem, but I haven't found the cause yet. I first didn't even noticed the bug as I am always using Ctrl+C directly in the client to exit Kismet. As far as I know this doesn't produce any corrupted logs or something, so I would also recommend it as a workaround until the other way works again.

blanix 2010-05-31 09:39

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Help me pleaseeee,
The file "/opt/kismet/etc/kismet.conf" doesn`t exist for me. :(

lxp 2010-05-31 17:47

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Quote:

Originally Posted by blanix (Post 691358)
The file "/opt/kismet/etc/kismet.conf" doesn`t exist for me. :(

If you used the stock file manager to search for the file, you couldn't even find it because the stock file manager doesn't show the real root fs. You have to use the terminal or a SSH/SFTP connection to your N900, so you have access to the real root fs.
If you are really sure that the config file doesn't exist, I would recommend to try uninstalling and reinstalling the kismet package through the program manager.
But remember if you can run the kismet server and it doesn't complain about a missing kismet.conf, then it does exist and you only couldn't find it.

blanix 2010-05-31 21:27

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Thanks for the reply, but I installed and reinstalled and not working.
Kismet.conf file does not exist.
http://img715.imageshack.us/img715/2...reenshot58.png

And the server doesn`t work too.
http://img63.imageshack.us/img63/994/screenshot65.png

I have PR1.2 and the latest Titan`s kernel 2.6.28.10power37.
:(

blanix 2010-06-01 09:13

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Thank you for all.
A friend sent me the file "kismet.conf" and now it works.

lxp 2010-06-01 12:42

Re: [Announce] Kismet + Fully functional WLAN monitor mode for the N900
 
Quote:

Originally Posted by blanix (Post 693243)
Thank you for all.
A friend sent me the file "kismet.conf" and now it works.

Good that it's working for you now.
If someone else has the same problem, please tell me. Maybe there is a problem with PR 1.2 and the Kismet package.


All times are GMT. The time now is 17:40.

vBulletin® Version 3.8.8