USB WiFi adapter not working

Hi All,

Just wanted to check if anyone managed to get a “Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter” to work. This is an usb passthrough device from proxmox to ipfire vm. Drivers seems to be loaded properly according to lsusb -

Bus 009 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

This works when used with pfsense but with ipfire i get the below error.

[root@kong ~]# hostapd /etc/hostapd.conf -i blue0
nl80211: Could not configure driver mode
nl80211: deinit ifname=blue0 disabled_11b_rates=0
nl80211 driver initialization failed.
blue0: interface state UNINITIALIZED->DISABLED
blue0: AP-DISABLED 
blue0: CTRL-EVENT-TERMINATING 
hostapd_free_hapd_data: Interface blue0 wasn't started
[root@kong ~]# 

Here is the hostapd.conf which was generated automatically.

driver=nl80211
country_code=LK
country3=0x49 # indoor
ieee80211d=1
ieee80211h=1
channel=6
local_pwr_constraint=3
spectrum_mgmt_required=1
hw_mode=g
logger_syslog=-1
logger_syslog_level=4
auth_algs=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
disassoc_low_ack=1
ssid2="LeWires"
utf8_ssid=1
noscan=1
ieee80211w=0
wpa=2
wpa_passphrase=
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

In iw list, master or ap is not listed as a supported mode. So maybe its loaded the wrong driver?

Check the loaded driver:

lsusb → DEVICE-ID

find /sys | grep drivers.*DEVICE-ID

Found only below drivers related to the wifi card.

This is on old Realtek module that not support nl80211.
It support only the obsolete linux-wext which IPFire not use.

3 Likes