Connect to an Access Point using IWCONFIG
I have done the follow steps.
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan (I see my access point without problem)
then...
- sudo iwconfig wlan0 essid MY_ESSID key s:MY_PASSWORD
I get the follow error:
Error for wireless request "Set
Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
I used s: because I want to pass and ASCII password.
What is the error?
Thank you!
linux
migrated from stackoverflow.com May 20 '11 at 11:17
This question came from our site for professional and enthusiast programmers.
add a comment |
I have done the follow steps.
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan (I see my access point without problem)
then...
- sudo iwconfig wlan0 essid MY_ESSID key s:MY_PASSWORD
I get the follow error:
Error for wireless request "Set
Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
I used s: because I want to pass and ASCII password.
What is the error?
Thank you!
linux
migrated from stackoverflow.com May 20 '11 at 11:17
This question came from our site for professional and enthusiast programmers.
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11
add a comment |
I have done the follow steps.
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan (I see my access point without problem)
then...
- sudo iwconfig wlan0 essid MY_ESSID key s:MY_PASSWORD
I get the follow error:
Error for wireless request "Set
Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
I used s: because I want to pass and ASCII password.
What is the error?
Thank you!
linux
I have done the follow steps.
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan (I see my access point without problem)
then...
- sudo iwconfig wlan0 essid MY_ESSID key s:MY_PASSWORD
I get the follow error:
Error for wireless request "Set
Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
I used s: because I want to pass and ASCII password.
What is the error?
Thank you!
linux
linux
asked May 19 '11 at 15:51
Dail
migrated from stackoverflow.com May 20 '11 at 11:17
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com May 20 '11 at 11:17
This question came from our site for professional and enthusiast programmers.
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11
add a comment |
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11
add a comment |
1 Answer
1
active
oldest
votes
Since you're trying to connect to an AP advertising WPA2-PSK, you will have to use wpa_supplicant.
There are GUI frontend apps to connect, you could try wicd or networkmanager.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f286174%2fconnect-to-an-access-point-using-iwconfig%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Since you're trying to connect to an AP advertising WPA2-PSK, you will have to use wpa_supplicant.
There are GUI frontend apps to connect, you could try wicd or networkmanager.
add a comment |
Since you're trying to connect to an AP advertising WPA2-PSK, you will have to use wpa_supplicant.
There are GUI frontend apps to connect, you could try wicd or networkmanager.
add a comment |
Since you're trying to connect to an AP advertising WPA2-PSK, you will have to use wpa_supplicant.
There are GUI frontend apps to connect, you could try wicd or networkmanager.
Since you're trying to connect to an AP advertising WPA2-PSK, you will have to use wpa_supplicant.
There are GUI frontend apps to connect, you could try wicd or networkmanager.
answered May 19 '11 at 16:12
freethinkerfreethinker
2,74031519
2,74031519
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f286174%2fconnect-to-an-access-point-using-iwconfig%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you trying to connect to an access point which is advertising wpa-psk/wpa2-psk? If you trying to use a wep passphrase, try doing it with your interface down.
– freethinker
May 19 '11 at 16:07
is wpa2-psk.... is iwconfig no good for it ?
– Dail
May 19 '11 at 16:09
no, you will have to use wpa_supplicant to connect to a wpa2-psk AP
– freethinker
May 19 '11 at 16:11