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.
On Tue, May 14, 2019 at 05:16:59PM +0100, Phil Perry 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.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. -- Jonathan Billings <billings at negate.org>
On 14/05/2019 17:20, Jonathan Billings wrote:> On Tue, May 14, 2019 at 05:16:59PM +0100, Phil Perry 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. > > 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. >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.> I appreciate all the time and effort ELrepo puts into providing > packages. >
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" <pperry at elrepo.org> wrote:>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. > >_______________________________________________ >CentOS mailing list >CentOS at centos.org >https://lists.centos.org/mailman/listinfo/centos
On Tue, May 14, 2019, 9:33 PM qw <applemax82 at 163.com> wrote:> which wifi adapter does centos 7.4 support? >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.>