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" <billings at negate.org> wrote:>On Mon, May 13, 2019 at 10:50:31PM +0800, qw wrote: >> I use CentOS 7.4, And where to find wifi driver? > >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. > >-- >Jonathan Billings <billings at negate.org> >_______________________________________________ >CentOS mailing list >CentOS at centos.org >https://lists.centos.org/mailman/listinfo/centos
On Tue, May 14, 2019 at 10:13:35AM +0800, qw wrote:> 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?Looks like you've found the only official source code. It looks like someone else has (unofficial) code here: https://github.com/abperiasamy/rtl8812AU_8821AU_linux 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.) -- Jonathan Billings <billings at negate.org>
> On Tue, May 14, 2019 at 10:13:35AM +0800, qw wrote: >> 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'.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>> >> >> 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? > > Looks like you've found the only official source code. > > It looks like someone else has (unofficial) code here: > > https://github.com/abperiasamy/rtl8812AU_8821AU_linux > > 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.) > > -- > Jonathan Billings <billings at negate.org> > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
On 14/05/2019 13:09, Jonathan Billings wrote:> On Tue, May 14, 2019 at 10:13:35AM +0800, qw wrote: >> 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? > > Looks like you've found the only official source code. > > It looks like someone else has (unofficial) code here: > > https://github.com/abperiasamy/rtl8812AU_8821AU_linux > > 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.) >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.