-
Notifications
You must be signed in to change notification settings - Fork 87
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
Device does not support radiotap headers #63
Comments
@iyuvalk I'm having the same/similar issue on Raspberry Pi Zero W. You can try changing it manually with a command like: sudo ifconfig wlp0s20f3 down
sudo ifconfig wlp0s20f3 hw ether <some-appropriate-mac>
sudo ifconfig wlp0s20f3 up
ip a And if it worked you'll see: ...
XXX: wlp0s20f3: /* ... */
link/ether <some-appropriate-mac> /* ... */
... If you see Ostensible source of error: // daemon/io.c
163 // Set HW address
164 ifr.ifr_hwaddr.sa_family = 1; /* ARPHRD_ETHER */
165 memcpy(ifr.ifr_hwaddr.sa_data, self, 6);
166 if ((err = ioctl(s, SIOCSIFHWADDR, &ifr)) < 0) {
167 log_error("tun: unable to set HW address"); // Error popping out here
168 close(fd);
169 return err;
170 } After trying to get some insight into what address is being set: // daemon/io.c
167 log_error("tun: unable to set HW address (%s)", ether_ntoa(self)); I see: 12:58:32 ERROR: tun: unable to set HW address (0:0:0:0:0:0)
12:58:32 ERROR: Could not open device: awdl0
12:58:32 ERROR: could not initialize core It seems to me that the address is not being initialized properly. Following the code from open_tun -> io_state_init, it seems like the purpose of this is to set the address to the same one as the // originally: memcpy(ifr.ifr_hwaddr.sa_data, self, 6);
165 memcpy(ifr.ifr_hwaddr.sa_data, <mac_addr_of_my_wlan0_device>, 6); This isn't an actual fix- it still doesn't appear to work (the raspberrypi is not advertised via 13:03:20 INFO : WLAN device: mon0 (addr <my-wlan0-device-mac-addr>)
13:03:20 INFO : Host device: awdl0
13:04:05 INFO : add peer <some-peer-device> ()
13:04:05 INFO : add peer <another-peer-device> ()
13:04:42 WARN : unhandled frame (-1)
13:05:04 WARN : unhandled frame (-1)
13:05:04 INFO : add peer <another-new-peer-device> ()
13:05:08 INFO : remove peer <another-peer-device> () Does anyone know if there's a better way to fix the incorrect address on a mon0 interface? |
I faced same issue with pi 3 model B Easiest solution was to downgrade the kernel to 5.10
Then make sure you donwload all sources again using rpi-source, and rebuild everything: rpi-source |
I'm on Fedora Kinoite 36 kernel 5.19.10-200.fc36.x86_64 with the same Wi-Fi chip, Intel Corporation Wi-Fi 6 AX201, and get the same error. Is there a specific 5.10.x kernel version one should rollback to to get this working? I just want to test and see if replacing the kernel will get this working, but what would be needed to get this to work on newer kernels? |
Hi,
I ran the following commands on a Ubuntu 20.04 on a Dell G3:
And I get this:
By running lspci I saw that the network chip is
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201
Is this expected behaviour? Is there something I can do to fix this?
The text was updated successfully, but these errors were encountered: