Connect to an Access Point using IWCONFIG












0















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!










share|improve this question













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
















0















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!










share|improve this question













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














0












0








0








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!










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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



















  • 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










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer




























      0














      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.






      share|improve this answer


























        0












        0








        0







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 19 '11 at 16:12









        freethinkerfreethinker

        2,74031519




        2,74031519






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to make a Squid Proxy server?

            第一次世界大戦

            Touch on Surface Book