How to Compile a USB WiFi Driver from source code…? [closed]

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












0















I purchased a Wireless USB Wifi Adapter with a CD-ROM and instructions. The instructions are only for Windows, but the CD-ROM has folders for Windows, MAC, iOs, and Linux.



I'm using Kubuntu 18.04 LTS, but Kubuntu doesn't recognize the adapter. In the CD's Linux folder, I see a file named 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO after extracting to my Desktop.



I used lots of advice from here and other sites in my terminal and all the commands in terminal say: no such file or directory after doing cd Desktop in terminal. The dir command shows the in Desktop along with two others: Desktop and Trash.



It's a simple Ralink RT3070 150Mbps 2.4G wifi adapter. Has anyone had any experience with this? I installed gcc and build-essential before attempting to compile. What else can I do?










share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, Jeff Schaller, Michael Homer, Christopher, JigglyNaga Jan 2 at 16:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

    – mosvy
    Dec 31 '18 at 23:11












  • or the linux-firmware-nonfree package

    – mosvy
    Dec 31 '18 at 23:33






  • 1





    It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

    – roaima
    Jan 1 at 14:04






  • 1





    "Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

    – roaima
    Jan 1 at 14:05











  • Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

    – terdon
    Jan 2 at 1:09















0















I purchased a Wireless USB Wifi Adapter with a CD-ROM and instructions. The instructions are only for Windows, but the CD-ROM has folders for Windows, MAC, iOs, and Linux.



I'm using Kubuntu 18.04 LTS, but Kubuntu doesn't recognize the adapter. In the CD's Linux folder, I see a file named 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO after extracting to my Desktop.



I used lots of advice from here and other sites in my terminal and all the commands in terminal say: no such file or directory after doing cd Desktop in terminal. The dir command shows the in Desktop along with two others: Desktop and Trash.



It's a simple Ralink RT3070 150Mbps 2.4G wifi adapter. Has anyone had any experience with this? I installed gcc and build-essential before attempting to compile. What else can I do?










share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, Jeff Schaller, Michael Homer, Christopher, JigglyNaga Jan 2 at 16:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

    – mosvy
    Dec 31 '18 at 23:11












  • or the linux-firmware-nonfree package

    – mosvy
    Dec 31 '18 at 23:33






  • 1





    It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

    – roaima
    Jan 1 at 14:04






  • 1





    "Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

    – roaima
    Jan 1 at 14:05











  • Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

    – terdon
    Jan 2 at 1:09













0












0








0








I purchased a Wireless USB Wifi Adapter with a CD-ROM and instructions. The instructions are only for Windows, but the CD-ROM has folders for Windows, MAC, iOs, and Linux.



I'm using Kubuntu 18.04 LTS, but Kubuntu doesn't recognize the adapter. In the CD's Linux folder, I see a file named 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO after extracting to my Desktop.



I used lots of advice from here and other sites in my terminal and all the commands in terminal say: no such file or directory after doing cd Desktop in terminal. The dir command shows the in Desktop along with two others: Desktop and Trash.



It's a simple Ralink RT3070 150Mbps 2.4G wifi adapter. Has anyone had any experience with this? I installed gcc and build-essential before attempting to compile. What else can I do?










share|improve this question
















I purchased a Wireless USB Wifi Adapter with a CD-ROM and instructions. The instructions are only for Windows, but the CD-ROM has folders for Windows, MAC, iOs, and Linux.



I'm using Kubuntu 18.04 LTS, but Kubuntu doesn't recognize the adapter. In the CD's Linux folder, I see a file named 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO after extracting to my Desktop.



I used lots of advice from here and other sites in my terminal and all the commands in terminal say: no such file or directory after doing cd Desktop in terminal. The dir command shows the in Desktop along with two others: Desktop and Trash.



It's a simple Ralink RT3070 150Mbps 2.4G wifi adapter. Has anyone had any experience with this? I installed gcc and build-essential before attempting to compile. What else can I do?







networking wifi drivers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 1:12









terdon

129k32253428




129k32253428










asked Dec 31 '18 at 22:02









J. ParmenterJ. Parmenter

6




6




closed as unclear what you're asking by Rui F Ribeiro, Jeff Schaller, Michael Homer, Christopher, JigglyNaga Jan 2 at 16:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Rui F Ribeiro, Jeff Schaller, Michael Homer, Christopher, JigglyNaga Jan 2 at 16:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

    – mosvy
    Dec 31 '18 at 23:11












  • or the linux-firmware-nonfree package

    – mosvy
    Dec 31 '18 at 23:33






  • 1





    It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

    – roaima
    Jan 1 at 14:04






  • 1





    "Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

    – roaima
    Jan 1 at 14:05











  • Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

    – terdon
    Jan 2 at 1:09

















  • I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

    – mosvy
    Dec 31 '18 at 23:11












  • or the linux-firmware-nonfree package

    – mosvy
    Dec 31 '18 at 23:33






  • 1





    It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

    – roaima
    Jan 1 at 14:04






  • 1





    "Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

    – roaima
    Jan 1 at 14:05











  • Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

    – terdon
    Jan 2 at 1:09
















I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

– mosvy
Dec 31 '18 at 23:11






I'm not sure this will help you, but try installing the firmware-ralink package (apt-get install firmware-ralink as root). I don't think you have to compile anything, it's either lack of firmware or some udev/NetworkManager glitch (but I may be of course wrong)

– mosvy
Dec 31 '18 at 23:11














or the linux-firmware-nonfree package

– mosvy
Dec 31 '18 at 23:33





or the linux-firmware-nonfree package

– mosvy
Dec 31 '18 at 23:33




1




1





It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

– roaima
Jan 1 at 14:04





It's not clear to me what the actual issue is, here. Clearly there's a problem trying to install a standalone driver, but you've also thrown in some problems with not being able to change directory (cd). If you can show the actual commands you've used and the precise error messages someone will be able to help with that part. But actually it seems like you don't need any of this complex build/install stuff at all, and instead you just need to install the right package.

– roaima
Jan 1 at 14:04




1




1





"Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

– roaima
Jan 1 at 14:05





"Why is trying to compile and install a simple driver such a hassle..in Linux..? All these directions from Linux users don't work [...]" You haven't shown us which directions you've used, so none of us can usefully comment or provide alternative suggestions where you might have gone wrong.

– roaima
Jan 1 at 14:05













Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

– terdon
Jan 2 at 1:09





Hi and welcome to the site. You seem to have been attempting to reply to comments by flagging them for moderator attention. That won't get to the people you're trying to reach . You should be able to see an "Add comment" button. Click on that and then use @username to reply to the user you want to answer. So, for instance, use @terdon to reply to me.

– terdon
Jan 2 at 1:09










1 Answer
1






active

oldest

votes


















1














The file 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO, if it's the same one as in here, is for Linux kernel versions 2.4 and 2.6, and hasn't been updated since year 2012. It is probably way too old for Kubuntu 18.04 LTS. You could say this is the Linux equivalent of a driver for Windows XP.



The standard Linux driver for Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices is called rt2800usb and is already included in modern Linux kernels, so you won't need to compile anything from source. It only needs the firmware files to work. In Debian (and its descendant Kubuntu), these firmware files used to be in a specific firmware-ralink package, but on modern versions they have been unified into a single firmware-misc-nonfree package that covers several hardware manufacturers.



So connect your system temporarily to a wired network, fire up the package management tool and install the appropriate firmware package. Then reboot, or even just unplug & re-plug the wireless adapter.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The file 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO, if it's the same one as in here, is for Linux kernel versions 2.4 and 2.6, and hasn't been updated since year 2012. It is probably way too old for Kubuntu 18.04 LTS. You could say this is the Linux equivalent of a driver for Windows XP.



    The standard Linux driver for Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices is called rt2800usb and is already included in modern Linux kernels, so you won't need to compile anything from source. It only needs the firmware files to work. In Debian (and its descendant Kubuntu), these firmware files used to be in a specific firmware-ralink package, but on modern versions they have been unified into a single firmware-misc-nonfree package that covers several hardware manufacturers.



    So connect your system temporarily to a wired network, fire up the package management tool and install the appropriate firmware package. Then reboot, or even just unplug & re-plug the wireless adapter.






    share|improve this answer



























      1














      The file 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO, if it's the same one as in here, is for Linux kernel versions 2.4 and 2.6, and hasn't been updated since year 2012. It is probably way too old for Kubuntu 18.04 LTS. You could say this is the Linux equivalent of a driver for Windows XP.



      The standard Linux driver for Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices is called rt2800usb and is already included in modern Linux kernels, so you won't need to compile anything from source. It only needs the firmware files to work. In Debian (and its descendant Kubuntu), these firmware files used to be in a specific firmware-ralink package, but on modern versions they have been unified into a single firmware-misc-nonfree package that covers several hardware manufacturers.



      So connect your system temporarily to a wired network, fire up the package management tool and install the appropriate firmware package. Then reboot, or even just unplug & re-plug the wireless adapter.






      share|improve this answer

























        1












        1








        1







        The file 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO, if it's the same one as in here, is for Linux kernel versions 2.4 and 2.6, and hasn't been updated since year 2012. It is probably way too old for Kubuntu 18.04 LTS. You could say this is the Linux equivalent of a driver for Windows XP.



        The standard Linux driver for Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices is called rt2800usb and is already included in modern Linux kernels, so you won't need to compile anything from source. It only needs the firmware files to work. In Debian (and its descendant Kubuntu), these firmware files used to be in a specific firmware-ralink package, but on modern versions they have been unified into a single firmware-misc-nonfree package that covers several hardware manufacturers.



        So connect your system temporarily to a wired network, fire up the package management tool and install the appropriate firmware package. Then reboot, or even just unplug & re-plug the wireless adapter.






        share|improve this answer













        The file 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO, if it's the same one as in here, is for Linux kernel versions 2.4 and 2.6, and hasn't been updated since year 2012. It is probably way too old for Kubuntu 18.04 LTS. You could say this is the Linux equivalent of a driver for Windows XP.



        The standard Linux driver for Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072, RT3370, RT3572, RT5370, RT5372, RT5572 devices is called rt2800usb and is already included in modern Linux kernels, so you won't need to compile anything from source. It only needs the firmware files to work. In Debian (and its descendant Kubuntu), these firmware files used to be in a specific firmware-ralink package, but on modern versions they have been unified into a single firmware-misc-nonfree package that covers several hardware manufacturers.



        So connect your system temporarily to a wired network, fire up the package management tool and install the appropriate firmware package. Then reboot, or even just unplug & re-plug the wireless adapter.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 2 at 8:16









        telcoMtelcoM

        16.1k12144




        16.1k12144












            Popular posts from this blog

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

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay