Asus Wireless PCE-N15 does not show and I cant get the Driver to install

Hi Friends.

I am new to Fedora and this is the first distro where my Asus PCI wireless card has not been recognised out of the box. For the most part I use wired but it is always nice to have wireless.

I have an ASUS PCE-N15 wireless adopter card and below are the details of the machine and the Make error that I receive when I try to build the drivers from the Asus website.

Any assistance would be greatly appreciated.

Thank you

System Information

OS: Fedora release 32 (Thirty Two) x86_64
Kernel: 5.7.7-200.fc32.x86_64
Uptime: 17 mins
Packages: 2168 (rpm)
Shell: bash 5.0.17
Resolution: 1920x1080, 1920x1080
DE: Plasma
WM: KWin
Theme: [Plasma], Adwaita [GTK2]
Icons: [Plasma], breeze [GTK2/3]
Terminal: terminator
CPU: AMD Ryzen 7 1800X (16) @ 3.600GHz
GPU: NVIDIA GeForce GTX 1080 Ti
Memory: 2642MiB / 32097MiB

Make Error

[root@localhost Linux]# make make -C /lib/modules/5.7.7-200.fc32.x86_64/build M=/home/Arctic/Downloads/Linux modules make[1]: Entering directory '/usr/src/kernels/5.7.7-200.fc32.x86_64' CC [M] /home/Arctic/Downloads/Linux/base.o In file included from /home/Arctic/Downloads/Linux/base.c:32: /home/Arctic/Downloads/Linux/wifi.h:913:40: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function); did you mean ‘IEEE80211_NUM_TIDS’? 913 | struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; | ^~~~~~~~~~~~~~~~~~~ | IEEE80211_NUM_TIDS /home/Arctic/Downloads/Linux/base.c:136:10: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function); did you mean ‘IEEE80211_CHAN_2GHZ’? 136 | .band = IEEE80211_BAND_2GHZ, | ^~~~~~~~~~~~~~~~~~~ | IEEE80211_CHAN_2GHZ /home/Arctic/Downloads/Linux/base.c:148:10: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function); did you mean ‘IEEE80211_CHAN_5GHZ’? 148 | .band = IEEE80211_BAND_5GHZ, | ^~~~~~~~~~~~~~~~~~~ | IEEE80211_CHAN_5GHZ /home/Arctic/Downloads/Linux/base.c: In function ‘_rtl_init_mac80211’: /home/Arctic/Downloads/Linux/base.c:319:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function); did you mean ‘IEEE80211_VIF_BEACON_FILTER’? 319 | IEEE80211_HW_BEACON_FILTER | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | IEEE80211_VIF_BEACON_FILTER /home/Arctic/Downloads/Linux/base.c:319:6: note: each undeclared identifier is reported only once for each function it appears in /home/Arctic/Downloads/Linux/base.c:328:13: error: assignment to expression with array type 328 | hw->flags |= IEEE80211_HW_SUPPORTS_PS | | ^~ /home/Arctic/Downloads/Linux/base.c:349:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’ 349 | hw->channel_change_time = 100; | ^~ /home/Arctic/Downloads/Linux/base.c: In function ‘_rtl_init_deferred_work’: /home/Arctic/Downloads/Linux/base.c:374:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] 374 | init_timer(&rtlpriv->works.watchdog_timer); | ^~~~~~~~~~ | init_timers /home/Arctic/Downloads/Linux/base.c:375:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration] 375 | setup_timer(&rtlpriv->works.watchdog_timer, | ^~~~~~~~~~~ | sk_stop_timer /home/Arctic/Downloads/Linux/base.c: In function ‘rtl_action_proc’: /home/Arctic/Downloads/Linux/base.c:858:33: error: ‘struct ieee80211_conf’ has no member named ‘channel’; did you mean ‘chandef’? 858 | rx_status.freq = hw->conf.channel->center_freq; | ^~~~~~~ | chandef /home/Arctic/Downloads/Linux/base.c:859:33: error: ‘struct ieee80211_conf’ has no member named ‘channel’; did you mean ‘chandef’? 859 | rx_status.band = hw->conf.channel->band; | ^~~~~~~ | chandef /home/Arctic/Downloads/Linux/base.c:861:25: error: ‘RX_FLAG_MACTIME_MPDU’ undeclared (first use in this function); did you mean ‘RX_FLAG_MACTIME_END’? 861 | rx_status.flag |= RX_FLAG_MACTIME_MPDU; | ^~~~~~~~~~~~~~~~~~~~ | RX_FLAG_MACTIME_END /home/Arctic/Downloads/Linux/base.c: In function ‘rtl_beacon_statistic’: /home/Arctic/Downloads/Linux/base.c:1132:6: error: implicit declaration of function ‘compare_ether_addr’; did you mean ‘compare_ether_header’? [-Werror=implicit-function-declaration] 1132 | if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid)) | ^~~~~~~~~~~~~~~~~~ | compare_ether_header /home/Arctic/Downloads/Linux/base.c: In function ‘rtl_send_smps_action’: /home/Arctic/Downloads/Linux/base.c:1414:16: error: ‘struct <anonymous>’ has no member named ‘sta’ 1414 | info->control.sta = sta; | ^ /home/Arctic/Downloads/Linux/base.c:1415:25: error: ‘struct ieee80211_conf’ has no member named ‘channel’; did you mean ‘chandef’? 1415 | info->band = hw->conf.channel->band; | ^~~~~~~ | chandef /home/Arctic/Downloads/Linux/base.c: In function ‘rtl_store_debug_level’: /home/Arctic/Downloads/Linux/base.c:1639:8: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration] 1639 | ret = strict_strtoul(buf, 0, &val); | ^~~~~~~~~~~~~~ In file included from ./include/linux/export.h:43, from ./include/linux/linkage.h:7, from ./include/linux/kernel.h:8, from ./include/linux/skbuff.h:13, from ./include/linux/ip.h:16, from /home/Arctic/Downloads/Linux/base.c:30: /home/Arctic/Downloads/Linux/base.c: In function ‘rtl_make_smps_action’: ./include/linux/compiler.h:78:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/asm-generic/bug.h:116:2: note: in expansion of macro ‘unlikely’ 116 | unlikely(__ret_warn_on); \ | ^~~~~~~~ /home/Arctic/Downloads/Linux/base.c:1356:3: note: in expansion of macro ‘WARN_ON’ 1356 | WARN_ON(1); | ^~~~~~~ /home/Arctic/Downloads/Linux/base.c:1357:2: note: here 1357 | case IEEE80211_SMPS_OFF:/* 1 */ /*MIMO_PS_NOLIMIT*/ | ^~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:267: /home/Arctic/Downloads/Linux/base.o] Error 1 make[1]: *** [Makefile:1732: /home/Arctic/Downloads/Linux] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.7.7-200.fc32.x86_64' make: *** [Makefile:27: all] Error 2

Hi @arcticstag

Nasty stuff. Have you tried compiling the driver against Kernel-5.6? 5.7 has been trouble.

@twohot How would I go back to kernel-5.6?

Fedora keeps three kernels … look at the GRUB menu before booting

Thanks, I will try that

So new error this time

Summary

[root@localhost Linux]# make make -C /lib/modules/5.6.6-300.fc32.x86_64/build M=/home/Arctic/Downloads/Linux modules make[1]: *** /lib/modules/5.6.6-300.fc32.x86_64/build: No such file or directory. Stop. make: *** [Makefile:27: all] Error 2 [root@localhost Linux]# make install make -C /lib/modules/5.6.6-300.fc32.x86_64/build M=/home/Arctic/Downloads/Linux modules make[1]: *** /lib/modules/5.6.6-300.fc32.x86_64/build: No such file or directory. Stop. make: *** [Makefile:27: all] Error 2

You don’t seem to have the kernel development packages.
sudo dnf install kernel-headers kernel-devel

Make sure you’re getting packages that match Kernel-5.6.6-300.fc32