Hey guys , recently installed Manjaro and am fascinated by the wonders its has to offer but this issue has been a big one for me to handle since I am a absolute beginner in the Linux space so I figured it would be best to take help of those who are better aware of Linux then I am
I installed Manjaro 21.04 Xfce today on my machine . During the Live install I noticed that the Network Manager would display the available Wi-Fi networks but when connected to , will time out and say couldn’t connect to the network … I figured it might get solved when I install a copy of Manjaro on my PC but the issue persists even in the Installed version . I am using a TP-Link WN821N external USB network adapter which works flawlessly on Windows and even on some other distros of Linux Like Xubuntu and Mint …
My entire work is based on Networking and since I am new to Linux I really couldn’t figure out a fix , so any help suggestions and help would be appreciated
Note :
I gained these results via a live install of Manjaro so if this was not how it was supposed to be please let me know since I had to remove Manjaro from the last time due to the network problem and have to use Windows for the time being …
That looks like something that would work out !!
But the issue is that since I cannot connect to the internet so how do I access the links you attached while in Manjaro ? Maybe separately on a thumb drive ? Btw I have done installing Manjaro locally on my machine again …
And also you mentioned , “Install the headers” . What does that mean (sorry for being an absolute dumb head at this)? And what do I do with the drivers in the links you mentioned ? I mean how do I install them ? Like I know stuff in Windows so is there like any executable file like there is in Windows which I could simply run and install the drivers off ? That would be easy but I am willing to take any hard steps too …
Well, this is not a binary, where you could just install it. Lemme explain:
The first link shows the AUR Repo. It contains the PKGBUILD. That is a recipe to build (compile) the driver.
The second link is the repo, which contains the source code of the driver.
(Both links are just there for reference, the commands below do the whole job for you.)
The linux headers are needed to be included at the building process, so that it fits your kernel. On every kernel upgrade, the driver must be compiled again (which is done automatically).
The really easy way is to have a temporary wired internet connection, install and build that stuff and then use the wirless connection, but it is also possible to download prepare that stuff before. But you need a bit more knowledge than just typing 3 commands on the terminal.
Ok bud got it , so we have to this the hard way I presume , ready for it , but how ?
As I told you before am an absolute beginner and even worse in Arch-based Linux than In Debian so can you please just make it a little easier by telling what commands I shall input to make this work ?
After that there should be another file with the suffix *.tar.zst.
Copy / Upload these 2 *.tar.zst files on a web service or via windows share outside the virtualbox. These 2 files should fit the kernel which is on the ISO.
On the Installation without Internet, mount the usb stick which contains the packages and install them:
sudo pacman -U /path/to/flashdrive/*.tar.zst
Reboot and the driver should be available.
I didn’t test everything fully myself, but this theoretically what I do in this situation. If you stuck somewhere, just ask.
Ok , I tried all of the commands on a installed copy of Manjaro on VirtualBox and most of em went without a hitch but this one(even tried on the live install and gave me the error) …
makepkg -sf
When I enter this command ,I keep getting this error … ==> ERROR: Cannot find the fakeroot binary. ==> ERROR: Cannot find the strip binary required for object file stripping.
That might be different on Windows, but you have to add a Share, and point to a folder which is on windows. This folder will be then available via samba on the file manager inside the virtual box. How it can be reached depends on your DE (KDE, Gnome, XFCE).