Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nmap error pcap_open_live(wlan0)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Guest08132015
n00b
n00b


Joined: 13 Aug 2015
Posts: 23

PostPosted: Sat Apr 02, 2016 11:41 am    Post subject: nmap error pcap_open_live(wlan0) Reply with quote

I use gentoo on arm. When I try nmap my local network it exhaust:

Code:
pcap_open_live(wlan0, 256, 0, 200) FAILED. Reported error: live packet capture not supported on this system.


How to solve it?
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Sun Apr 03, 2016 10:51 pm    Post subject: Re: nmap error pcap_open_live(wlan0) Reply with quote

Guest08132015 wrote:
I use gentoo on arm. When I try nmap my local network it exhaust:

Code:
pcap_open_live(wlan0, 256, 0, 200) FAILED. Reported error: live packet capture not supported on this system.


How to solve it?


What sort of ARM system and what sort of WiFi hardware?
Back to top
View user's profile Send private message
Guest08132015
n00b
n00b


Joined: 13 Aug 2015
Posts: 23

PostPosted: Mon Apr 04, 2016 5:16 pm    Post subject: Re: nmap error pcap_open_live(wlan0) Reply with quote

Quote:
What sort of ARM system and what sort of WiFi hardware?


LG Nexus 5Х (ARMv8-A)

wifi chipset - Qualcomm QCA6174 802.11ас Wi-Fi 2x2 MIMO Combo SoC

with android - nmap works fine, but with gentoo I have this issue
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Mon Apr 04, 2016 10:19 pm    Post subject: Re: nmap error pcap_open_live(wlan0) Reply with quote

Guest08132015 wrote:
Quote:
What sort of ARM system and what sort of WiFi hardware?


LG Nexus 5Х (ARMv8-A)

wifi chipset - Qualcomm QCA6174 802.11ас Wi-Fi 2x2 MIMO Combo SoC

with android - nmap works fine, but with gentoo I have this issue


This is out of my comfort zone by far. I use a laptop for this sort of thing!

The error you get seems to indicate that perhaps Android have a different driver for the Qualcomm which supports more features or you have not compiled in enough things in your kernel to support packet capture. Also - do you have the correct firmware for that device?

Does the wifi work at all in Gentoo?
Back to top
View user's profile Send private message
Guest08132015
n00b
n00b


Joined: 13 Aug 2015
Posts: 23

PostPosted: Tue Apr 05, 2016 7:08 pm    Post subject: Re: nmap error pcap_open_live(wlan0) Reply with quote

Quote:
This is out of my comfort zone by far. I use a laptop for this sort of thing!

The error you get seems to indicate that perhaps Android have a different driver for the Qualcomm which supports more features or you have not compiled in enough things in your kernel to support packet capture. Also - do you have the correct firmware for that device?

Does the wifi work at all in Gentoo?


looks like the reason of this in wifi chipset and locked monitoring mode as default. To solve it need to recompile kernel with external wifi card support:

supported wifi card:
TP-Link TL-WN321G
TP-Link TL-WN722N
TP-Link TL-WN821N
TP-Link TL-WN822N
Alfa AWUS036H
Alfa AWUS036NH
Ubiquiti Networks SR71-USB
SMC SMCWUSB-N2
Netgear WNA1000

and then connect it via OTG cable. If I understand it correct.

But I didn't found how packet capture can works on android without it

By the way, it's not a gentoo's issue, in general. And thanks for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum