Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Kernel Headers #52

Open
54926 opened this issue Sep 21, 2023 · 4 comments
Open

Get Kernel Headers #52

54926 opened this issue Sep 21, 2023 · 4 comments

Comments

@54926
Copy link

54926 commented Sep 21, 2023

"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

@zeroby0
Copy link
Collaborator

zeroby0 commented Sep 21, 2023

Which version of raspberry os are you running this? It seems the bundled python doesn't have requests module installed

@54926
Copy link
Author

54926 commented Sep 22, 2023

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

@54926
Copy link
Author

54926 commented Sep 22, 2023

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

@L-JB
Copy link

L-JB commented Feb 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants