User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Raspbian Stretch: issue with BCM43xx wireless and scapy

Thu Aug 17, 2017 8:35 pm

the following python 2.x code worked on raspbian jessie prior to april 2017 using the pi0w or the pi3b integrated wifi ... it no longer functions on Stretch but if I plug in a tenda usb dongle it works fine and returns the mac address of an amazon dash button or a esp8266-01s device joining the network.

Code: Select all

#! /usr/bin/env python
from scapy.all import sniff
from scapy.all import ARP

def arp_monitor_callback(pkt):
    if ARP in pkt and pkt[ARP].op in (1,2): #who-has or is-at
        return pkt.sprintf("%ARP.hwsrc% %ARP.psrc%")

sniff(prn=arp_monitor_callback, filter="arp", store=0)
doing a iw list shows that the tenda supports interface mode monitor where the pi integrated wifi does not show it
however in the jessie version it does not show monitor mode either and it works...

At this point my work around will be to stay at pre april 2017 jessie.. but if I need to advance to stretch I will have to purchase
a wifi dongle for each electric switch controller .. I sure would appreciate an answer to this stumper!

thanks,
-don

User avatar
Stinkys
Posts: 1
Joined: Mon Aug 21, 2017 7:51 am
Location: BNE, Australia

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Mon Aug 21, 2017 8:08 am

Hi don,

I have just come across this issue also. Did you end up finding a workaround or staying on Jessie March release?


- Stinkys.

User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Mon Aug 21, 2017 9:25 am

No work around just staying on Jessie March release or use an external wifi usb dongle. It is sort of a regression issue where it worked and now doesn’t. It will get harder to fix I fear since it never worked on stretch and they will not go back to Jessie any longer. Thanks for noticing this and maybe you will be more successful than I have been in getting this issue addressed.. They had some nice projects based on this but they no longer work with the integrated wifi.
-don


User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Mon Aug 21, 2017 9:51 am

Are you suggesting that I post the question to that link? I’ve searched that link and I don’t see any answers yet..

User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Mon Aug 21, 2017 10:07 am

So in reading through the topic I saw a mention of the Broadpwn fix..maybe that is the culprit? I made a post to the topic and maybe someone will comment. Of course the more people who chime in on this would help elevate the issue’s visibility..thanks

User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Tue Aug 22, 2017 10:45 am

It is not the brcm80211 firmware..I found it was when I upgraded the kernel. To 1.20170703-1

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5758
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Tue Aug 22, 2017 10:49 am

Then it might be best to open an issue here:
https://github.com/raspberrypi/linux

User avatar
dliloch
Posts: 168
Joined: Wed Jun 27, 2012 6:28 pm
Location: cleveland, ohio usa

Re: Raspbian Stretch: issue with BCM43xx wireless and scapy

Tue Aug 22, 2017 11:43 am

Thanks! I just did..appreciate the tips..I just did not know how to proceed...

Return to “Troubleshooting”