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

cannot set wireless channel #86

Open
wbakker opened this issue Jan 26, 2018 · 1 comment
Open

cannot set wireless channel #86

wbakker opened this issue Jan 26, 2018 · 1 comment

Comments

@wbakker
Copy link

wbakker commented Jan 26, 2018

I can put the adapter in monitoring mode. But it is not possible to change the wireless channel. See debug log below.

root@raspberrypi:/home/wouter# uname -a
Linux raspberrypi 4.9.78-v7+ #1084 SMP Thu Jan 25 18:05:49 GMT 2018 armv7l GNU/Linux

root@raspberrypi:/home/wouter# iw --debug phy phy0 set channel 6
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 44
    .type = 22 <0x16>
    .flags = 5 <REQUEST,ACK>
    .seq = 1516956550
    .port = -1388313896
  [GENERIC NETLINK HEADER] 4 octets
    .cmd = 2
    .version = 0
    .unused = 0
  [PAYLOAD] 24 octets
    08 00 01 00 00 00 00 00 08 00 26 00 85 09 00 00 ..........&.....
    08 00 27 00 00 00 00 00                         ..'.....
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 64
    .type = 2 <ERROR>
    .flags = 0 <>
    .seq = 1516956550
    .port = -1388313896
  [ERRORMSG] 20 octets
    .error = -95 "Operation not supported"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .type = 22 <0x16>
    .flags = 5 <REQUEST,ACK>
    .seq = 1516956550
    .port = -1388313896
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Operation not supported (-95)
@revmischa
Copy link

I have the exact same iseue

root@ubuntu:~# iw --debug phy phy0 set channel 6
-- Debug: Sent Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 60
    .type = 28 <0x1c>
    .flags = 5 <REQUEST,ACK>
    .seq = 1539528432
    .port = 369101486
  [GENERIC NETLINK HEADER] 4 octets
    .cmd = 2
    .version = 0
    .unused = 0
  [PAYLOAD] 40 octets
    08 00 01 00 00 00 00 00 08 00 26 00 85 09 00 00 ..........&.....
    08 00 9f 00 00 00 00 00 08 00 27 00 00 00 00 00 ..........'.....
    08 00 a0 00 85 09 00 00                         ........
---------------------------  END NETLINK MESSAGE   ---------------------------
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [NETLINK HEADER] 16 octets
    .nlmsg_len = 80
    .type = 2 <ERROR>
    .flags = 0 <>
    .seq = 1539528432
    .port = 369101486
  [ERRORMSG] 20 octets
    .error = -95 "Operation not supported"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .type = 28 <0x1c>
    .flags = 5 <REQUEST,ACK>
    .seq = 1539528432
    .port = 369101486
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Operation not supported (-95)

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

2 participants