morrownr / 8814au

Linux Driver for USB WiFi Adapters that are based on the RTL8814AU Chipset
Other
478 stars 88 forks source link

Raspberry Pi can't build drivers(Twister OS) #43

Closed ScriptedAnar closed 2 years ago

ScriptedAnar commented 2 years ago

image

I am kind of new to linux. I get an error on the last step of building the drivers. I have done sudo update and upgrade and i still get it.

All i want is to get my Netgear A7000 to work on my raspberry Pi 400, that's all i care.

morrownr commented 2 years ago

@ScriptedAnar

Welcome to Linux. I'll try to help. I've never used Twister so you need to help me help you.

You mentioned you are using Twister OS but you did not mention which version. Is it Twister OS - For Raspberry Pi 4 (32 bit)?

I also need to know the distro that Twister is based from. Is it based from Debian, Raspberry Pi OS or Ubuntu?

I think the main problem with your installation is that some installation steps were skipped or the wrong option was selected. We need to get to the answers of the above questions before we can make progress.

Regards

ScriptedAnar commented 2 years ago

Twister OS is a 32-bit OS based on the Raspberry Pi 4 32 bit. I am using the Pi 400 which is pretty much the same with the Pi 4

I am using the latest version of the Twister OS as you can see in the screenshot image image

I had even tried to put windows on the Pi but the drivers weren't working again cause probably the one is made for x86 and cpu is on Arm.

Like all i want is to have my Pi working 24/7 so the wifi adapter works(5 Ghz band) and broadcast the internet for my wireless devices. I literally don't care about anything else. I will put any OS you tell me in it or do anything to get it working.

Regards and thank you for your help

ScriptedAnar commented 2 years ago

@morrownr Honestly dude i love computers and stuff just as much as you do. But sometimes don't you get that feeling that you want to swear at them really bad? I tried to install the drivers once again by removing the driver and reinstall it and it just worked while i had done it like 6 times yesterday and yes i had tried to restart. The hell with computers sometimes.

And honestly out of my heart you can't imagine how much i appreciate you for making this possible while you didn't get paid for this when companies should had made this.

morrownr commented 2 years ago

Twister OS is a 32-bit OS based on the Raspberry Pi 4 32 bit.

Noted.

I am using the Pi 400 which is pretty much the same with the Pi 4.

Noted.

Like all i want is to have my Pi working 24/7 so the wifi adapter works(5 Ghz band) and broadcast the internet for my wireless devices.

Now I have a good understanding of where you want to go with this. These USB WiFi adapters are very flexible and can do so many different things that it can be hard to help unless you understand what end state a person is looking for.

So it sounds to me like you want to use your Pi 400 as a wifi access point providing 5 GHz to various devices. Correct?

That is cool. I do that with a Pi 4. Works great and is up 24/7. What would help me now is to understand how your internet service is getting from your provider to the Pi 400. For example: I have a cable modem and CAT 6 ethernet cable goes from the cable modem to my Pi 400.

Recommendation for os: Raspberry Pi OS 32 bit ( Raspberry Pi OS with desktop and recommended software )

The reason is that this is a very solid, well supported os (and I am very familiar with it which means I am better able to help you.

Here is a little homework for you:

https://github.com/morrownr/7612u/blob/main/Bridged_Wireless_Access_Point.md

That is a document I maintain here to help folks set up wireless access points. For now, just read the document and try to understand some of what it says. I realize it is a long document but I am here to answer questions.

We can try this with your 8814au based adapter and we can probably get it going but here are some things for you to note. The 8814au based adapters use a lot of electricity. Why does this matter? The USB subsystem on Pi 3b, 3b+ and 4b can only handle up to 1200 mA of current total and the 8814au based adapters can and do use 800 mA or more. That leaves very little margin for error and not much juice for anything else you may want to plug into a USB port. I assume the Pi 400 is the same as the Pi 4b in this regard.

Anyway, my point being is that other adapters that use less electricity are more suited. The adapter I use for 5 GHz on my Pi 4b is a Alfa AWUS036ACM. It is an AC1200 adapter that uses around 360 mA during heavy usage. That is great as it leaves plenty of juice for other things. Other adapters based on mt7612u chipset also use low amounts of electricity and work well with Pi's. Here is a link that will shows some of those adapters:

https://github.com/morrownr/USB-WiFi

One thing you have not mentioned is what distance of range are you looking for?

That is probably enough for now. Let me know what questions you have.

I literally don't care about anything else. I will put any OS you tell me in it or do anything to get it working.

Regards and thank you for your help

morrownr commented 2 years ago

@morrownr Honestly dude i love computers and stuff just as much as you do. But sometimes don't you get that feeling that you want to swear at them really bad?

Oh, it is more than a feeling. I do swear at them often. I support a variety of systems with various configurations. It is like solving a mystery everyday.

I tried to install the drivers once again by removing the driver and reinstall it and it just worked

So, the driver installed? Now that I have a better understanding of Twister I was going to tell you to pay attention during Steps 3 and 8:

3. Option for Raspberry Pi OS

    $ sudo apt install -y raspberrypi-kernel-headers bc build-essential dkms git
8. Option for 32 bit operating systems to be installed to Raspberry Pi hardware

    $ ./raspi32.sh

You have to run those exactly like I have them. I can't tell you if Twister has changed something from Raspberry Pi OS because I don't know. I do know that the installation works wonderfully on the 32 bit Raspberry Pi OS.

And honestly out of my heart you can't imagine how much i appreciate you for making this possible while you didn't get paid for this when companies should had made this.

You are welcome. All I ask is that you pay it forward by helping others. I've been running Linux since around '94 and many Linux users have helped me so I am paying it forward.

Regards