USB-N13 C1

Issues related to configuring your network
Post Reply
tblanc
Posts: 3
Joined: 2019/02/12 16:15:23

USB-N13 C1

Post by tblanc » 2020/11/20 10:22:36

Dear All,

I found in your forum that the ASUS USB-N13 was compatible with Centos7. I read that it was an ootb device, that gives me great hope...

ootb is an urban legend... :)

LINUX version : Linux pc-224 3.10.0-1127.19.1.el7.x86_64 #
Bus 001 Device 004: ID 0b05:18f1 ASUSTek Computer, Inc.

Trying to install the driver I get several errors like this :

Code: Select all

home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_sta_assoc’:
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:4324:18: error: ‘STATION_INFO_ASSOC_REQ_IES’ undeclared (first use in this function)
   sinfo.filled = STATION_INFO_ASSOC_REQ_IES;
                  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_dump_station’:
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:5763:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_SIGNAL;
                    ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:5765:20: error: ‘STATION_INFO_INACTIVE_TIME’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_INACTIVE_TIME;
                    ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_preinit_wiphy’:
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9489:18: error: ‘WIPHY_FLAG_SUPPORTS_SCHED_SCAN’ undeclared (first use in this function)
  wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
                  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9500:16: error: incompatible types when assigning to type ‘const struct wiphy_wowlan_support *’ from type ‘const struct wiphy_wowlan_support’

/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9818:2: warning: (near initialization for ‘rtw_cfg80211_ops.get_station’) [enabled by default]
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9833:2: warning: initialization from incompatible pointer type [enabled by default]
  .add_virtual_intf = cfg80211_rtw_add_virtual_intf,
  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9833:2: warning: (near initialization for ‘rtw_cfg80211_ops.add_virtual_intf’) [enabled by default]
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9850:2: warning: initialization from incompatible pointer type [enabled by default]
  .add_station = cfg80211_rtw_add_station,
  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9850:2: warning: (near initialization for ‘rtw_cfg80211_ops.add_station’) [enabled by default]
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9851:2: warning: initialization from incompatible pointer type [enabled by default]
  .del_station = cfg80211_rtw_del_station,
  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9851:2: warning: (near initialization for ‘rtw_cfg80211_ops.del_station’) [enabled by default]
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9852:2: warning: initialization from incompatible pointer type [enabled by default]
  .change_station = cfg80211_rtw_change_station,
  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9852:2: warning: (near initialization for ‘rtw_cfg80211_ops.change_station’) [enabled by default]
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9899:2: warning: initialization from incompatible pointer type [enabled by default]
  .mgmt_tx = cfg80211_rtw_mgmt_tx,
  ^
/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:9899:2: warning: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx’) [enabled by default]

/home/tblan/Downloads/ASUS_USB-N13_C1_20191031/Linux/RTL8192FU_RTL8725AU_linux_v5.8.6_33905.20190604_COEX20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/include/../os_dep/linux/ioctl_cfg80211.h:415:27: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
 #define NL80211_BAND_5GHZ IEEE80211_BAND_5GHZ
 
20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:1218:4: error: too few arguments to function ‘cfg80211_disconnected’
    rtw_cfg80211_disconnected(pwdev, reason, NULL, 0, locally_generated, GFP_ATOMIC);

20190509-0d01/driver/rtl8192FU_rtl8725AU_WiFi_linux_v5.8.6_33905.20190604_COEX20190509-0d01/os_dep/linux/ioctl_cfg80211.c:1211:27: error: ‘CFG80211_SME_CONNECTING’ undeclared (first use in this function)
   if (pwdev->sme_state == CFG80211_SME_CONNECTING) {

Do you think I'm waiting my time or there is a possibility to get it working on my system? I tried several things but I'm lost now. The kernel is old but I have to stick with this one.
If not could you please advice on which wireless dongle I should buy?
Thank you for your help.
Th

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: USB-N13 C1

Post by TrevorH » 2020/11/20 16:01:33

I'm not seeing anything that supports that USB vendor/device id.

Code: Select all

[root@centos7 ~]# grep -i 0b05 /lib/modules/$(uname -r)/modules.* | grep -i 18f1
[root@centos7 ~]# 
Your best bet if you want to see if a driver can be supplied for this card is to raise a Request For Enhancement ticket on the ELRepo bugtracker and see if they can build a kmod package for it. ELRepo is a third party yum repo that concentrates on providing hardware support for devices that are not included in the main distro.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply