Announcement

Collapse
No announcement yet.

Installing USB wifi driver

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing USB wifi driver

    Hi all,

    Brand new Linux user so please bear with me through the learning curve.

    Fresh install of 25.04 on a new SSD drive re-using my old Win10 hardware for the rest of the build. This is intended to remain as a HTPC so really just needs to run Plex, VLC and a browser. The install went fine and I've a working desktop and can see most of the Windows drives with my movies and TV content on but my main issue is wifi. I've temporarily slung a cat 6 across the room to get online but I'm unable to install a driver for the MSI AXE5400 USB dongle I usually use on this device (when it was a Win10 box).

    There is a Linux driver on the MSI website and I've changed the permission on the Install.sh to make it executable but it keeps asking for a password and then failing when I run it. I spent a while last night trying to search for options but didn't find a solution so having to hold my hand up here and ask for help.

    thanks in advance
    Paul

    #2
    Changing the scripts ownership to your user doesn't give the script the rights to install on the system try this instead:

    sudo ./install.sh

    It will ask for your password. It should install then but if not, copy any error messages and post them back here.

    Please Read Me

    Comment


      #3
      Thanks, I thought I'd tried that too. Just so I'm 100% clear where to do this, open Konsole, CD to the location of the install.sh then run sudo ./install.sh or just run the sudo xyz directly in the Konsole?

      I think the issue I had was CD'ing to the Downloads folder. I'd extracted the compressed folder there but CD'ing to /Downloads kept returning a "no such folder" error. IIs the Downloads folder somehow protected so I need to move files out (eg to desktop) to use them?

      Comment


        #4
        Yes, /Downloads does not exist, normally. That would be a directory at your top level (aka '"root")
        You'd need to cd to the full path, , but where you are currently has a bearing as well so
        Code:
        cd /home/username/Downloads
        is the longest way to do it.

        A helpful shortcut for /home/username is ~, so:
        Code:
        cd ~/Downloads
        or if you are already in ~ (very likley if you have just opened Konsole), then
        Code:
        cd Downloads
        -- note there is no slash

        Another trick is to navigate to the directory in Dolphin and hit F4 to open a terminal panel, then run the command.
        Last edited by claydoh; Yesterday, 05:54 AM.

        Comment


          #5
          Thanks claydoh that's really helpful, it didn't occur that Downloads didn't exist in the sense of a regular folder. I'll have a go later. 25 years of Windows learning doesn't get you very far in Linux it would appear

          Comment


            #6
            Originally posted by new666uk View Post
            Thanks claydoh that's really helpful, it didn't occur that Downloads didn't exist in the sense of a regular folder. I'll have a go later. 25 years of Windows learning doesn't get you very far in Linux it would appear
            You'll get there. This is a good start - asking questions here and other places, like r/Kubuntu. You'll usually get a more "refined" answer here because we all use Kubuntu vs. places like Reddit, Stack Exchange, etc., but it doesn't hurt to search those places too.

            Do yourself (and us) a favor and when you post, use "Object & Deviation" type posts and give as many relevant details as you can. "Object" is basically the thing that's wrong and "Deviation" is what is wrong. Fill in as many details as you can, list what you've tried, report exact error messages when you can. Following a "what, where, when, to what extent" may help you put down the needed info and lead to a quicker response.

            As far as this comment: "Downloads didn't exist in the sense of a regular folder" can you explain what you meant? "Downloads" certainly is a folder but it exists in your home folder as Claydoh explained.

            To drill down a bit more, when using the terminal, the file hierarchy starts at "/" (no drive letters like Windows) so when you you put the slash in front of Downloads you said "start the the top and look for the Downloads folder." Which obviously doesn't exist so you got the error.

            You can either use an "implied" path or full path. The full path in this case, as was explain, is "/home/<username>/Downloads". An implied path, is like "start when I am and go from here." So if you are already in "/home/<username>/" then "Downloads/" is the implied path. There's lots more, but I'll stop there.

            Here's a tip: If you need to access the terminal you can very quickly get where you want by using Dolphin (the file manager), navigate to whatever folder you need to be in, then press F4. This will open a terminal pane where you are at the bottom of the Dolphin window. The path will even show in the terminal prompt next to your name and hostname like this " name@hostname:~/Downloads" so you can verify you're in the right location. Pressing F4 again closes the terminal pane.

            Welcome to KFN

            Please Read Me

            Comment


              #7
              Thanks oshunluvr, I'll try to be more verbose.

              Object: to install a driver for an MSI AXE5400 UBS dongle. The Linux driver is available on their site.
              Deviation: running the install.sh results in errors: compile make driver error: 127 and then error 2.

              Efforts:
              I have run lsusb which shows the adapter connected:
              Bus 001 Device 003: ID 0db0:991d Micro Star International 802.11ax WLAN Adapter

              In the folder with the install.sh (and supporting files) I have made it executable with sudo permission. Executing it was generating a compile make driver error: 127 so I have run sudo apt install build-essential which seemed to move things along and now I have Compile make driver error: 2

              Some more research tells me that Linux simply doesn't support the RTL8852C chipset in the MSI AXE5400 dongle so it seems all the above might just be in vain anyway and I'll need to either revert to a Window setup somehow or buy another wifi dongle. I've used an old TP Link nano which worked straight away but is very slow at ~230Mb but at least it works.


              My comment about the Downloads folder not being accessible is perhaps a misunderstanding from my Window experience where the DL folder is wherever you want and has no special permissions. It is there but as you can see I get an error CDing to it:

              ​​​Click image for larger version

Name:	image.png
Views:	5
Size:	62.3 KB
ID:	686993

              thanks
              Paul


              ​​

              Comment


              • oshunluvr
                oshunluvr commented
                Editing a comment
                Linux is case specific. "downloads" does not equal "Downloads"

              #8
              Excellent job detailing your efforts. Too bad it was in vain.

              I see this on the MSi driver page:
              • Description:
                First release for Linux Driver Version: v1.19.2-107-g2751ef875.20221230 (kernel 3.13 ~ 5.15)
              • Note:
                Please disable secure boot before install Linux driver.
              ​Notice the kernel versions supported: 3,13 - 5.15. Unfortunately, you would have to install Kubuntu 24.04 or an older release and install the 5.15 kernel. Then apparently you'd be stuck there unless MSi updated their drivers.

              Please Read Me

              Comment


                #9
                Originally posted by oshunluvr View Post
                3,13 - 5.15. Unfortunately, you would have to install Kubuntu 24.04
                22.04


                Originally posted by new666uk View Post
                ID 0db0:991d

                https://github.com/morrownr/rtl8852cu-20240510

                Not sure how it works for 25.04, but do read the issues section, which may help.


                Also remember LinUX is CaSe SenSitIve so downloads is not the same a s Downloads.

                Comment


                • oshunluvr
                  oshunluvr commented
                  Editing a comment
                  Nice find !
              Working...
              X