K
K
krll-k2015-02-12 19:40:08
linux
krll-k, 2015-02-12 19:40:08

airodump-ng: how to install iwconfig or iw on android system?

airodump-ng: how to install iwconfig or iw on android system?

[email protected]:/ $ su
[email protected]:/ # uname -a
Linux localhost 3.0.8-1218740 #1 PREEMPT Fri Apr 26 18:03:32 KST 2013 armv7l GNU/Linux
[email protected]:/ # ifconfig
[email protected]:/ # busybox ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:98409 (96.1 KiB)  TX bytes:98409 (96.1 KiB)

rmnet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:100.66.20.234  Mask:255.255.255.252
          inet6 addr: fe80::3d11:4295:3001:d625/64 Scope:Link
          UP RUNNING  MTU:1500  Metric:1
          RX packets:39016 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37434 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:31850248 (30.3 MiB)  TX bytes:4176275 (3.9 MiB)

wlan0     Link encap:Ethernet  HWaddr E8:4E:84:ED:8D:9B
          inet6 addr: fe80::ea4e:84ff:feed:8d9b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:507 errors:0 dropped:0 overruns:0 frame:0
          TX packets:485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:245634 (239.8 KiB)  TX bytes:23437 (22.8 KiB)

[email protected]:/ #
[email protected]:/ $ su
[email protected]:/ # uname -a
Linux localhost 3.0.8-1218740 #1 PREEMPT Fri Apr 26 18:03:32 KST 2013 armv7l GNU/Linux
[email protected]:/ # ifconfig
[email protected]:/ # busybox ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:98409 (96.1 KiB)  TX bytes:98409 (96.1 KiB)

rmnet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:100.66.20.234  Mask:255.255.255.252
          inet6 addr: fe80::3d11:4295:3001:d625/64 Scope:Link
          UP RUNNING  MTU:1500  Metric:1
          RX packets:39016 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37434 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:31850248 (30.3 MiB)  TX bytes:4176275 (3.9 MiB)

wlan0     Link encap:Ethernet  HWaddr E8:4E:84:ED:8D:9B
          inet6 addr: fe80::ea4e:84ff:feed:8d9b/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:507 errors:0 dropped:0 overruns:0 frame:0
          TX packets:485 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:245634 (239.8 KiB)  TX bytes:23437 (22.8 KiB)

[email protected]:/ #

In busybox, it turned out neither iw nor iwconfig in order to put the network card into monitor mode. How to install iw or iwconfig in my android, or how to put my card into monitor mode using programs available from busybox?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Golovanenko, 2016-12-19
@keshavredina

Download or build iw www.onlyxool.net/porting-iw-tools-to-android , place it in /system/xbin , give it permission to execute. Command iw (interface name) interface add mon0 type monitor to translate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question