iwconfig operation not permitted?

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question






















  • 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 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














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?







share|improve this question






















  • 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 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








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 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
















  • 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 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















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










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.






share|improve this answer


















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























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.






share|improve this answer


















  • 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














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.






share|improve this answer


















  • 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












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.






share|improve this answer














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.







share|improve this answer














share|improve this answer



share|improve this answer








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












  • 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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)