DevHeads.net

where to find wifi driver

Hi,

I use CentOS 7.4, And where to find wifi driver?

Thanks!

Regards

Andrew

Comments

Re: where to find wifi driver

By Jonathan Billings at 05/13/2019 - 10:53

On Mon, May 13, 2019 at 10:50:31PM +0800, qw wrote:
I suggest you start by using the latest CentOS 7, 1810 (based on RHEL
7.6). Anything older isn't supported and most likely won't work with
any 3rd-party kernel drivers.

Also, which wifi driver do you want? There are many. Try looking at
the output of 'lspci' to get hardware name.

Re: where to find wifi driver

By qw at 05/13/2019 - 22:13

Hi,

I use the wifi adaptor, Edimax AC1200, and its driver can be downloaded from 'http://www.edimax.com.tw/edimax/download/download/data/edimax/tw/download/for_home/wireless_adapters/wireless_adapters_ac1200_dual-band/ew-7822ulc'.

I fail to compile its GPL Source Code on CentOS 7.4.

Where to get its rpm drivers, or how to compile its GPL Source Code?

Thanks

Regards

Andrew

At 2019-05-13 22:53:02, "Jonathan Billings" < ... at negate dot org> wrote:

Re: where to find wifi driver

By Jonathan Billings at 05/14/2019 - 08:09

On Tue, May 14, 2019 at 10:13:35AM +0800, qw wrote:
Looks like you've found the only official source code.

It looks like someone else has (unofficial) code here:

<a href="https://github.com/abperiasamy/rtl8812AU_8821AU_linux" title="https://github.com/abperiasamy/rtl8812AU_8821AU_linux">https://github.com/abperiasamy/rtl8812AU_8821AU_linux</a>

It isn't a driver supported by the CentOS kernel, nor any 3rd-party
repositories that I know of. You'll either have to get it to work
yourself or use a newer kernel (which isn't something supported on
CentOS, but provided by 3rd party repos such as elrepo.org.)

Re: where to find wifi driver

By Phil Perry at 05/14/2019 - 12:16

On 14/05/2019 13:09, Jonathan Billings wrote:
I'm generally not willing to package these Realtek sources for
Enterprise Linux as the code is often heavily dependant upon kernel
versioning with lots of conditionals. This approach simply does not work
on RHEL (or CentOS), where for example el7 uses a nominal 3.10.0 kernel
but has a wifi stack that is backported from linux-4.14. For these
Realtek drivers to be properly supported on RHEL (and CentOS), Realtek
need to perform RHEL versioning checks (RHEL_MAJOR and RHEL_MINOR) in
addition to their kernel versioning checks.

My advice - if Realtek isn't prepared to support the device on RHEL (or
CentOS), purchase an adapter that is natively supported.

Re: where to find wifi driver

By qw at 05/15/2019 - 00:32

which wifi adapter does centos 7.4 support?

Could Centos give a list of those supported wifi adapters?

Thanks!

Regards

Andrew

At 2019-05-15 00:16:59, "Phil Perry" < ... at elrepo dot org> wrote:

Re: where to find wifi driver

By John Pierce at 05/15/2019 - 01:05

It's CentOS 7. 4 was just a roll-up update from a couple years ago, you
should run "yum update" to stay current.

Could Centos give a list of those supported wifi adapters?
That would be the rhel 7 hardware compatibility list. Sadly, they don't
sort it by device type so it can be ungainly to search.

Re: where to find wifi driver

By Jonathan Billings at 05/14/2019 - 12:20

On Tue, May 14, 2019 at 05:16:59PM +0100, Phil Perry wrote:
Yeah, sorry, I wasn't volunteering you to support this, but rather
suggesting to the original poster that they might have better luck
building it against an elrepo kernel than a CentOS kernel.

I appreciate all the time and effort ELrepo puts into providing
packages.

Re: where to find wifi driver

By Phil Perry at 05/14/2019 - 17:16

On 14/05/2019 17:20, Jonathan Billings wrote:
No problem, and you are absolutely spot on that these drivers will be
far easier to build against a vanilla kernel than a heavily backported
RHEL/CentOS distro kernel.

Still, if it were me, for the sake of $20 I'd rather go buy something
that's natively supported out of the box than spend the next 5-10 years
constantly wrestling with unsupported code.

Re: where to find wifi driver

By Johnny Hughes v... at 05/14/2019 - 10:10

Looking at the source code, it seems to provide some version of realtek
driver.

Since you run CentOS 7.4 it may be a good time to upgrade to current 7.6
release and see if it already supports your device.

Simon