iwconfig operation not permitted?

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm running the following command:
sudo iwconfig wlan1 essid "wifi network"
I keep getting back:
SET failed on device wlan1 ; Operation not permitted.
On other computers there is no problem.
I'm wondering if I need to change the mode first? How can I go about debugging this issue?
networking iwlwifi
 |Â
show 3 more comments
up vote
1
down vote
favorite
I'm running the following command:
sudo iwconfig wlan1 essid "wifi network"
I keep getting back:
SET failed on device wlan1 ; Operation not permitted.
On other computers there is no problem.
I'm wondering if I need to change the mode first? How can I go about debugging this issue?
networking iwlwifi
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
What mode/type is that interface (iw wlan1 show)?
â dirkt
Nov 6 '17 at 19:51
@dirkt when I use that command I get a long message about how to useiwas if it is the wrong syntax. pastebin.com/AGEq6pw4
â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt on my laptop I can doiw <interface> infofor devices shown onifconfigbut on the embedded device I get backcommand failed: No such device (-19)
â Philip Kirkbride
Nov 6 '17 at 21:04
 |Â
show 3 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm running the following command:
sudo iwconfig wlan1 essid "wifi network"
I keep getting back:
SET failed on device wlan1 ; Operation not permitted.
On other computers there is no problem.
I'm wondering if I need to change the mode first? How can I go about debugging this issue?
networking iwlwifi
I'm running the following command:
sudo iwconfig wlan1 essid "wifi network"
I keep getting back:
SET failed on device wlan1 ; Operation not permitted.
On other computers there is no problem.
I'm wondering if I need to change the mode first? How can I go about debugging this issue?
networking iwlwifi
edited Nov 6 '17 at 21:19
Timothy Martin
4,9542129
4,9542129
asked Nov 6 '17 at 17:33
Philip Kirkbride
2,2922470
2,2922470
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
What mode/type is that interface (iw wlan1 show)?
â dirkt
Nov 6 '17 at 19:51
@dirkt when I use that command I get a long message about how to useiwas if it is the wrong syntax. pastebin.com/AGEq6pw4
â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt on my laptop I can doiw <interface> infofor devices shown onifconfigbut on the embedded device I get backcommand failed: No such device (-19)
â Philip Kirkbride
Nov 6 '17 at 21:04
 |Â
show 3 more comments
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
What mode/type is that interface (iw wlan1 show)?
â dirkt
Nov 6 '17 at 19:51
@dirkt when I use that command I get a long message about how to useiwas if it is the wrong syntax. pastebin.com/AGEq6pw4
â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt on my laptop I can doiw <interface> infofor devices shown onifconfigbut on the embedded device I get backcommand failed: No such device (-19)
â Philip Kirkbride
Nov 6 '17 at 21:04
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
What mode/type is that interface (
iw wlan1 show)?â dirkt
Nov 6 '17 at 19:51
What mode/type is that interface (
iw wlan1 show)?â dirkt
Nov 6 '17 at 19:51
@dirkt when I use that command I get a long message about how to use
iw as if it is the wrong syntax. pastebin.com/AGEq6pw4â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt when I use that command I get a long message about how to use
iw as if it is the wrong syntax. pastebin.com/AGEq6pw4â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt on my laptop I can do
iw <interface> info for devices shown on ifconfig but on the embedded device I get back command failed: No such device (-19)â Philip Kirkbride
Nov 6 '17 at 21:04
@dirkt on my laptop I can do
iw <interface> info for devices shown on ifconfig but on the embedded device I get back command failed: No such device (-19)â Philip Kirkbride
Nov 6 '17 at 21:04
 |Â
show 3 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
I seemed to be able to fix the problem by putting the interface in ad-hoc mode:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode ad-hoc
sudo ifconfig wlan1 up
sudo iwconfig wlan1 essid "wifi network"
Update: I tried the same process with auto, and managed which also worked. The mode master did not work.
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I seemed to be able to fix the problem by putting the interface in ad-hoc mode:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode ad-hoc
sudo ifconfig wlan1 up
sudo iwconfig wlan1 essid "wifi network"
Update: I tried the same process with auto, and managed which also worked. The mode master did not work.
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
add a comment |Â
up vote
0
down vote
accepted
I seemed to be able to fix the problem by putting the interface in ad-hoc mode:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode ad-hoc
sudo ifconfig wlan1 up
sudo iwconfig wlan1 essid "wifi network"
Update: I tried the same process with auto, and managed which also worked. The mode master did not work.
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I seemed to be able to fix the problem by putting the interface in ad-hoc mode:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode ad-hoc
sudo ifconfig wlan1 up
sudo iwconfig wlan1 essid "wifi network"
Update: I tried the same process with auto, and managed which also worked. The mode master did not work.
I seemed to be able to fix the problem by putting the interface in ad-hoc mode:
sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode ad-hoc
sudo ifconfig wlan1 up
sudo iwconfig wlan1 essid "wifi network"
Update: I tried the same process with auto, and managed which also worked. The mode master did not work.
edited Nov 7 '17 at 0:59
answered Nov 6 '17 at 18:03
Philip Kirkbride
2,2922470
2,2922470
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
add a comment |Â
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
1
1
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
But then the interface is in ad-hoc mode, and unless you have lots of other devices in ad-hoc mode and want to make a mesh, that's probably not the mode you want ...
â dirkt
Nov 6 '17 at 19:51
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402885%2fiwconfig-operation-not-permitted%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What is your distro and what version?
â arochester
Nov 6 '17 at 17:52
@arochester Ubuntu 14.04 on an embedded device
â Philip Kirkbride
Nov 6 '17 at 17:55
What mode/type is that interface (
iw wlan1 show)?â dirkt
Nov 6 '17 at 19:51
@dirkt when I use that command I get a long message about how to use
iwas if it is the wrong syntax. pastebin.com/AGEq6pw4â Philip Kirkbride
Nov 6 '17 at 20:24
@dirkt on my laptop I can do
iw <interface> infofor devices shown onifconfigbut on the embedded device I get backcommand failed: No such device (-19)â Philip Kirkbride
Nov 6 '17 at 21:04