Hi everyone,
I'm running OpenWrt 22.03.2 on a Linksys WRT3200ACM and trying to add an Alfa AWUS036H wifi adapter
I've already read topics about that, but didn't manage to make it work.
The kmod-rtl8187 package is installed, and device visible :
root@router:~# dmesg | grep -i rtl
[ 18.602229] ieee80211 phy2: hwaddr 00:c0:ca:17:e2:0d, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 18.626732] rtl8187: Customer ID is 0xFF
[ 18.631470] rtl8187: wireless switch is on
[ 18.635654] usbcore: registered new interface driver rtl8187
root@router:~# lsusb
Bus 001 Device 002: ID 0bda:8187 Manufacturer_Realtek_RTL8187_ RTL8187_Wireless_LAN_Adapter
It's also visible on Luci, and i can scan networks without problems and connect to them.
But when i try to enable an AP :
Sat Jun 24 23:38:35 2023 daemon.notice netifd: Wireless device 'radio3' is now down
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Failed to create interface wlan2
Sat Jun 24 23:38:35 2023 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy2.conf (phy wlan2) --> new PHY
Sat Jun 24 23:38:35 2023 daemon.err hostapd: Could not read interface wlan2 flags: No such device
Sat Jun 24 23:38:35 2023 daemon.notice hostapd: nl80211: Driver does not support authentication/association or connect commands
Sat Jun 24 23:38:35 2023 daemon.notice hostapd: nl80211: deinit ifname=wlan2 disabled_11b_rates=0
Sat Jun 24 23:38:35 2023 daemon.err hostapd: Could not read interface wlan2 flags: No such device
Sat Jun 24 23:38:35 2023 daemon.err hostapd: nl80211 driver initialization failed.
Sat Jun 24 23:38:35 2023 daemon.notice hostapd: wlan2: CTRL-EVENT-TERMINATING
Sat Jun 24 23:38:35 2023 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan2 wasn't started
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Command failed: ubus call hostapd config_add {"iface":"wlan2", "config":"/var/run/hostapd-phy2.conf"} (Invalid argument)
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Usage: ubus [<options>] <command> [arguments...]
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Options:
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -s <socket>: Set the unix domain socket to connect to
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -t <timeout>: Set the timeout (in seconds) for a command to complete
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -S: Use simplified output (for scripts)
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -v: More verbose output
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -m <type>: (for monitor): include a specific message type
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): (can be used more than once)
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): -M <r|t> (for monitor): only capture received or transmitted traffic
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758):
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Commands:
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - list [<path>] List objects
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - call <path> <method> [<message>] Call an object method
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - subscribe <path> [<path>...] Subscribe to object(s) notifications
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - listen [<path>...] Listen for events
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - send <type> [<message>] Send an event
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - wait_for <object> [<object>...] Wait for multiple objects to appear on ubus
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): - monitor Monitor ubus traffic
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758):
Sat Jun 24 23:38:35 2023 daemon.notice netifd: radio3 (6758): Device setup failed: HOSTAPD_START_FAILED
Sat Jun 24 23:38:35 2023 daemon.notice netifd: Wireless device 'radio3' set retry=0
Sat Jun 24 23:38:35 2023 daemon.crit netifd: Wireless device 'radio3' setup failed, retry=0
Sat Jun 24 23:38:35 2023 daemon.notice netifd: Wireless device 'radio3' is now down
Can someone help me please ??