maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N9 aircrack problem (https://talk.maemo.org/showthread.php?t=82323)

SaQ 2012-02-14 09:37

N9 aircrack problem
 
Hello

I managed to install aircrack-ng to my N9. But i cant use any of command like "airmon-ng" or "aircrack-ng", i get only "Operation not permitted" :confused:

I use command "ssh root@localhost" to get Root.
If i use "devel-su" for root, i can't find all commands that aircrack uses

So i have aircrack-ng installed without errors, but i can't use it. I get only "operation not permitted" :mad:

Please help me, I really loved aircrack in my N900. And i love to get it work on my N9. So what should i do :confused:

ps. Sorry for my bad English :p

GrimyHR 2012-02-14 09:45

Re: N9 aircrack problem
 
Quote:

Originally Posted by SaQ (Post 1164819)
Hello

I managed to install aircrack-ng to my N9. But i cant use any of command like "airmon-ng" or "aircrack-ng", i get only "Operation not permitted" :confused:

I use command "ssh root@localhost" to get Root.
If i use "devel-su" for root, i can't find all commands that aircrack uses

So i have aircrack-ng installed without errors, but i can't use it. I get only "operation not permitted" :mad:

Please help me, I really loved aircrack in my N900. And i love to get it work on my N9. So what should i do :confused:

ps. Sorry for my bad English :p

try writing new wlan drivers with everything aircrack needs like packet injection :p

SaQ 2012-02-14 10:01

Re: N9 aircrack problem
 
We can look later for those drivers :D

The main thing here is: "operation not permitted" How can i get full root privileges.:confused:

This happens too when i try compile from source

# ./configure: Permission denied
# make: Operation not permitted
# make install: Operation not permitted

zszabo 2012-02-14 21:19

Re: N9 aircrack problem
 
I Had no problem building AC-NG (and Kismet as well); my problem was getting the programs to communicate properly with wlan0. I think aegis allows root to change the interface mode to monitoring, provided the interface is manually (i.e. via settings) deactivated first. Not sure though, its been a while since I checked.

Mentalist Traceur 2012-02-15 06:18

Re: N9 aircrack problem
 
I maintain aircrack-ng for the N900, and upon hearing this, am glad I don't have to for the N9. I can't really say much useful info on the subject - I don't know how permissions work with the various programs on the N9, with the above-mentioned Aegis crap. Can you disable Aegis on the N9 completely temporarily, and see if that makes executing aircrack-ng binaries work?

qwazix 2012-02-15 06:37

Re: N9 aircrack problem
 
maybe try with develsh? I think it has higher previliges than devel-su

SaQ 2012-02-15 07:52

Re: N9 aircrack problem
 
Thanks qwazix!:D

develsh give me the permissions to run aircrack. But still, in develsh, i tried command:

#./configure

it still give me "Permission denied"

when i tried compile wireshark from source. Now command "make" give me only "makefile not found" even if there is makefile.am.

I wonder why :confused:

nieldk 2012-02-15 09:52

Re: N9 aircrack problem
 
Quote:

Originally Posted by SaQ (Post 1165273)
Thanks qwazix!:D

develsh give me the permissions to run aircrack. But still, in develsh, i tried command:

#./configure

it still give me "Permission denied"

when i tried compile wireshark from source. Now command "make" give me only "makefile not found" even if there is makefile.am.

I wonder why :confused:

From which folder are you trying to compile ?
If you are compiling in /home/user/Mydocs/<some-folder>, this would belong to user "user" and root will be denied permissions
You should try to compile from /root/<some-dir> when you are using user "root"

Also, you will most likely need to flash the open-mode kernel once it is compiled and you are ready to mess with the wlan drivers. This will disable all the Aegis crap. Dont think the open-mode kernel is necessary for compiling though!

-Tyler- 2012-02-15 10:32

Re: N9 aircrack problem
 
Quote:

Originally Posted by SaQ (Post 1164819)
Hello

I managed to install aircrack-ng to my N9.

how did make it?? can you share with the community the process please i think a lot of people will love have aircrack-ng running in N9.

The problem with aircrack-ng and the majority of pentesting programs is that you need to run it as root, and devel-su is not exactly root, aegis is here and there causing troubles.

My recomendation after three weeks of running harmattan open mode, is that you flash the open kernel and you forget from aegis forever, with the open kernel the N9 works totally like a N900 no more aegis anymore, and true root in terminal without problems.

but be aware you will have to flash again the N9 a lost all of your applications, because the open kernel needs to get flashed together with the original image of harmattan provide by nokia.

SaQ 2012-02-15 12:14

Re: N9 aircrack problem
 
I made a little tutorial for it:
http://talk.maemo.org/showthread.php...light=aircrack.

I hope we can get it working properly in n9.:)


All times are GMT. The time now is 23:03.

vBulletin® Version 3.8.8