Open 54926 opened 1 year ago
Which version of raspberry os are you running this? It seems the bundled python doesn't have requests module installed
Enable monitor mode, bcm4355c0 Pi4 5.10.92-v7l+
root@raspberrypi:/home/pi/nexmon/patches/bcm43455c0/7_45_189/nexmon_csi/utils/makecsiparams# iw phy iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}' interface add mon0 type monitor command failed: Operation not supported (-95)
root@raspberrypi:/home/pi# iw dev phy#0 Interface mon0 ifindex 4 wdev 0x2 type monitor channel 157 (5785 MHz), width: 80 MHz, center1: 5775 MHz txpower 31.00 dBm Interface wlan0 ifindex 3 wdev 0x1 type managed channel 157 (5785 MHz), width: 80 MHz, center1: 5775 MHz txpower 31.00 dBm
how to solve it, thank you
and after reboot pi@raspberrypi:~ $ iw dev phy#0 Interface wlan0 ifindex 3 wdev 0x1 type managed channel 7 (2442 MHz), width: 20 MHz, center1: 2442 MHz txpower 31.00 dBm
I think it's because of the symbolic link of the python. In my case, symbolic link 'python' was linked in python2. After changing it to python3.7, it worked
"sudo wget https://raw.githubusercontent.com/RPi-Distro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update"
Traceback (most recent call last): File "/usr/local/bin/rpi-source", line 14, in
import urllib.request, urllib.parse, urllib.error
ImportError: No module named request