Linux I have 2 WIFI Adapter everytime I boot up they switched each other to wlan0 and wlan1

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I have problem everytime I boot up my two wifi adapters switched to wlan0 and wlan1 thus my code is ruined I need your help.



Edit: My OS is ParrotOS on amd64
My Wifiadapters are TP-Link with same models







share|improve this question





















  • Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
    – jc__
    Jul 27 at 13:09
















up vote
0
down vote

favorite












I have problem everytime I boot up my two wifi adapters switched to wlan0 and wlan1 thus my code is ruined I need your help.



Edit: My OS is ParrotOS on amd64
My Wifiadapters are TP-Link with same models







share|improve this question





















  • Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
    – jc__
    Jul 27 at 13:09












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have problem everytime I boot up my two wifi adapters switched to wlan0 and wlan1 thus my code is ruined I need your help.



Edit: My OS is ParrotOS on amd64
My Wifiadapters are TP-Link with same models







share|improve this question













I have problem everytime I boot up my two wifi adapters switched to wlan0 and wlan1 thus my code is ruined I need your help.



Edit: My OS is ParrotOS on amd64
My Wifiadapters are TP-Link with same models









share|improve this question












share|improve this question




share|improve this question








edited Jul 27 at 13:15
























asked Jul 27 at 12:57









Armangido

11




11











  • Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
    – jc__
    Jul 27 at 13:09
















  • Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
    – jc__
    Jul 27 at 13:09















Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
– jc__
Jul 27 at 13:09




Not really sure what you are asking. Please include more information such as what OS you are using and steps you have tried to correct your problem.
– jc__
Jul 27 at 13:09










1 Answer
1






active

oldest

votes

















up vote
1
down vote













You can't rely on the order of default assignments of network interfaces. The numbers will get assigned in the order they finish initializing, which is more or less random. The same holds for all primary device nodes in /dev, BTW, that's why there are symlinks to them.



So either make your own udev rules (see existing questions for that) and assign fixed names for them based on the MAC address or other identification (PCI slot, USB port), or figure out how ParrotOS does predictable network interface names.






share|improve this answer





















    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%2f458838%2flinux-i-have-2-wifi-adapter-everytime-i-boot-up-they-switched-each-other-to-wlan%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
    1
    down vote













    You can't rely on the order of default assignments of network interfaces. The numbers will get assigned in the order they finish initializing, which is more or less random. The same holds for all primary device nodes in /dev, BTW, that's why there are symlinks to them.



    So either make your own udev rules (see existing questions for that) and assign fixed names for them based on the MAC address or other identification (PCI slot, USB port), or figure out how ParrotOS does predictable network interface names.






    share|improve this answer

























      up vote
      1
      down vote













      You can't rely on the order of default assignments of network interfaces. The numbers will get assigned in the order they finish initializing, which is more or less random. The same holds for all primary device nodes in /dev, BTW, that's why there are symlinks to them.



      So either make your own udev rules (see existing questions for that) and assign fixed names for them based on the MAC address or other identification (PCI slot, USB port), or figure out how ParrotOS does predictable network interface names.






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        You can't rely on the order of default assignments of network interfaces. The numbers will get assigned in the order they finish initializing, which is more or less random. The same holds for all primary device nodes in /dev, BTW, that's why there are symlinks to them.



        So either make your own udev rules (see existing questions for that) and assign fixed names for them based on the MAC address or other identification (PCI slot, USB port), or figure out how ParrotOS does predictable network interface names.






        share|improve this answer













        You can't rely on the order of default assignments of network interfaces. The numbers will get assigned in the order they finish initializing, which is more or less random. The same holds for all primary device nodes in /dev, BTW, that's why there are symlinks to them.



        So either make your own udev rules (see existing questions for that) and assign fixed names for them based on the MAC address or other identification (PCI slot, USB port), or figure out how ParrotOS does predictable network interface names.







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jul 27 at 13:40









        dirkt

        13.8k2930




        13.8k2930






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f458838%2flinux-i-have-2-wifi-adapter-everytime-i-boot-up-they-switched-each-other-to-wlan%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?