AWUS036h no driver

laptop with connected USB AWUS036h
I installed "openwrt-23.05.5-x86-64-generic-ext4-combined-efi.img.gz" on the laptop
root@OpenWrt:/# iwconfig			(there are 2 wireless device one internal the other the AWUS036h)
		lo	no wireless extension
		eth0	no wireless extension
root0OpenWrt:/# uci show | grep wifi-iface				nothing
root@OpenWrt:/# opkg install kmod-rtl8187
		$ opkg_install_cmd: Connot install pâckage kmod-rtl8187

boot Finnix 126 Live on the same laptop
root@tty: iwconfig
	lo	no wireless extension
	enp0s25	no wireless extension
	wls1	
	wlx00c0...

Post lsusb when you have it hooked up.

Did you run opkg update before attempting the install ?

ubus call system board
opkg update
opkg install kmod-rtl8187 usbutils
lsusb

Thanks for your answer.

root@OpenWrt:/# ubus call system board
{
	"kernel": "5.15.167",
	"hostname": "OpenWrt",
	"system": "Intel(R) Core(TM)2 Duo CPU	P8600  @ 2.40GHz",
	"model": "Hewlett-Packard HP EliteBook 6930p",
	"board_name": "hewlett-packard-hp-elitebook-6930p",
	"rootfs_type": "ext4",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.5",
		"revision": "r24106-10cc5fcd00",
		"target": "x86/64",
		"description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
	}
} 
root@OpenWrt:/# opkg update
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/telephony/Packages.sig
Signature check passed.
root@OpenWrt:/# opkg install kmod-rtl8187 usbutils
Unknown package 'kmod-rtl8187' .
Installing usbutils (014-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/usbutils_014-1_x86_64.ipk
Installing libatomic1 (12.3.0-4) to root...
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/x86/64/packages/libatomic1_12.3.0-4_x86_64.ipk
Installing libusb-1.0-0 (1.0.26-3) to root...
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/base/libusb-1.0-0_1.0.26-3_x86_64.ipk
Installing libevdev (1.13.0-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/libevdev_1.13.0-1_x86_64.ipk
Installing libudev-zero (1.0.1-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/x86_64/packages/libudev-zero_1.0.1-1_x86_64.ipk
Configuring libevdev.
Configuring libatomic1.
Configuring libusb-1.0-0.
Configuring libudev-zero.
Configuring usbutils.
Collected errors:
opkg_install_cmd: Cannot install package kmod-rtl8187.
root@OpenWrt:/# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 004 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 006 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 002 Device 002: ID 0bda:8187 Manufacturer_Realtek_RTL8187_ RTL8187_Wireless
Bus 002 Device 001: ID 1d6b:0002 Linux 5.15.167 ehci_hcd EHCI Host Controller
Bus 008 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.167 ehci_hcd EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 005 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller

What's your use case ?

Read Alfa AWUS036H usb adapter - #5 by slh.

Yes I did an update before, even more than one.

Since there's no kmod-rtl8187 (anymore?), you could try
opkg install kmod-rtl8xxxu

Thank you for your answer, Itested your command but it did not bring the wlan's

Yes, thats in the referred thread that only client and monitor modes are available.

... and you still haven't told us your use case.

I use these AWUS036h since 20 years they works perfect using Kali.
Now for the first time i created a PC with OpenWrt to make a wifi to lan bridge.
The laptop internal Wlan device and the USB AWUS036h are not visible. On the same PC I booted with finnix 126 and borh devices are working.

Which kernel versions are those two running?

Ok, produce lsiusb and ethtool -i wlan0 and iw list from there?

root@OpenWrt:/# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 004 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 006 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 002 Device 002: ID 0bda:8187 Manufacturer_Realtek_RTL8187_ RTL8187_Wireless
Bus 002 Device 001: ID 1d6b:0002 Linux 5.15.167 ehci_hcd EHCI Host Controller
Bus 008 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.167 ehci_hcd EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
Bus 005 Device 001: ID 1d6b:0001 Linux 5.15.167 uhci_hcd UHCI Host Controller
root@OpenWrt:/# ethtool -i wlan0
Cannot get Driver information: No such device
root@OpenWrt:/# iw list	(nothing in return)
root@OpenWrt:/#

I asked what kale kernel uses as a driver.
try xxxu driver.

Thanks for answering.
try xxxu driver.
	# xxxu driver
	xxxu: command not found
---
┌──(root㉿kali)-[/home/kali]
└─# lspci -v   
.................
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection			
        Subsystem: Intel Corporation WiFi Link 5100 AGN
        Physical Slot: 1
        Flags: bus master, fast devsel, latency 0, IRQ 31
        Memory at d8600000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number xxxxxxxxxxxxxxxx
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
------
┌──(root㉿kali)-[/home/kali]
└─# lsusb -v

Bus 008 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter			
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8187 RTL8187 Wireless Adapter
  bcdDevice            1.00
  iManufacturer           1 Manufacturer_Realtek_RTL8187_
  iProduct                2 RTL8187_Wireless
  iSerial                 3 xxxxxxxx
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0027
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 Wireless Network Card
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         0 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              5 Bulk-IN,Bulk-OUT,Bulk-OUT
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

lsmod, sir.

1 Like

ethtool -i to show driver driving network interface?

# lsmod                             
Module                  Size  Used by
nls_ascii              16384  2
nls_cp437              20480  2
vfat                   24576  2
fat                    90112  1 vfat
uas                    32768  0
usb_storage            81920  2 uas
btusb                  65536  0
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                45056  1 btusb
btmtk                  16384  1 btusb
bluetooth             950272  5 btrtl,btmtk,btintel,btbcm,btusb
jitterentropy_rng      16384  1
ctr                    16384  0
drbg                   45056  1
ansi_cprng             16384  0
ecdh_generic           16384  1 bluetooth
ecc                    40960  1 ecdh_generic
crc16                  16384  1 bluetooth
qrtr                   49152  4
iwldvm                167936  0
rtl8187                61440  0
mac80211             1175552  2 iwldvm,rtl8187
snd_hda_codec_hdmi     81920  1
snd_hda_codec_analog    20480  1
snd_hda_codec_generic    98304  1 snd_hda_codec_analog
ledtrig_audio          16384  1 snd_hda_codec_generic
iwlwifi               360448  1 iwldvm
libarc4                16384  1 mac80211
eeprom_93cx6           16384  1 rtl8187
snd_hda_intel          57344  3
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog
cfg80211             1134592  4 iwldvm,iwlwifi,mac80211,rtl8187
snd_hda_core          122880  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               159744  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
pata_pcmcia            20480  1
ppdev                  24576  0
snd_timer              49152  1 snd_pcm
snd                   126976  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec,snd_timer,snd_pcm
hp_wmi                 24576  0
pcmcia                 77824  1 pata_pcmcia
coretemp               20480  0
soundcore              16384  1 snd
platform_profile       16384  1 hp_wmi
pcspkr                 16384  0
sparse_keymap          16384  1 hp_wmi
iTCO_wdt               16384  0
joydev                 28672  0
yenta_socket           53248  0
intel_pmc_bxt          16384  1 iTCO_wdt
pcmcia_rsrc            24576  1 yenta_socket
pcmcia_core            36864  3 pcmcia,pcmcia_rsrc,yenta_socket
iTCO_vendor_support    16384  1 iTCO_wdt
watchdog               45056  1 iTCO_wdt
rfkill                 36864  6 hp_wmi,bluetooth,rtl8187,cfg80211
wmi_bmof               16384  0
parport_pc             40960  0
hp_accel               28672  0
sg                     40960  0
parport                73728  2 parport_pc,ppdev
ac                     20480  0
serio_raw              20480  0
tpm_infineon           20480  0
lis3lv02d              32768  1 hp_accel
acpi_cpufreq           32768  1
evdev                  28672  13
sunrpc                692224  1
binfmt_misc            24576  1
vmwgfx                405504  0
drm_ttm_helper         16384  1 vmwgfx
fuse                  176128  5
efi_pstore             16384  0
configfs               57344  1
ip_tables              36864  0
x_tables               61440  1 ip_tables
autofs4                53248  2
squashfs               73728  1
loop                   32768  2
overlay               159744  1
isofs                  53248  1
sd_mod                 65536  2
t10_pi                 16384  1 sd_mod
crc64_rocksoft_generic    16384  1
crc64_rocksoft         20480  1 t10_pi
crc_t10dif             20480  1 t10_pi
crct10dif_generic      16384  1
sr_mod                 28672  1
crc64                  20480  2 crc64_rocksoft,crc64_rocksoft_generic
cdrom                  81920  2 isofs,sr_mod
crct10dif_common       16384  2 crct10dif_generic,crc_t10dif
ahci                   49152  2
libahci                49152  1 ahci
i915                 3330048  5
drm_buddy              20480  1 i915
i2c_algo_bit           16384  1 i915
sha512_ssse3           49152  1
drm_display_helper    212992  1 i915
cec                    61440  2 drm_display_helper,i915
rc_core                69632  1 cec
ttm                    94208  3 vmwgfx,drm_ttm_helper,i915
libata                401408  3 libahci,ahci,pata_pcmcia
sha512_generic         16384  1 sha512_ssse3
drm_kms_helper        229376  3 vmwgfx,drm_display_helper,i915
sdhci_pci              77824  0
cqhci                  32768  1 sdhci_pci
firewire_ohci          45056  0
sdhci                  81920  1 sdhci_pci
psmouse               184320  0
ehci_pci               20480  0
uhci_hcd               57344  0
e1000e                315392  0
ehci_hcd              102400  1 ehci_pci
ptp                    36864  1 e1000e
scsi_mod              282624  6 sd_mod,usb_storage,uas,libata,sg,sr_mod
firewire_core          86016  1 firewire_ohci
scsi_common            16384  6 scsi_mod,usb_storage,uas,libata,sg,sr_mod
mmc_core              212992  3 sdhci,cqhci,sdhci_pci
lpc_ich                28672  0
crc_itu_t              16384  1 firewire_core
usbcore               344064  7 ehci_pci,usb_storage,ehci_hcd,btusb,uas,rtl8187,uhci_hcd
usb_common             16384  3 usbcore,ehci_hcd,uhci_hcd
pps_core               24576  1 ptp
drm                   663552  11 vmwgfx,drm_kms_helper,drm_display_helper,drm_buddy,drm_ttm_helper,i915,ttm
video                  65536  1 i915
wmi                    36864  3 hp_wmi,video,wmi_bmof
battery                28672  0
button                 24576  0
                                                                                                                                                            
┌──(root㉿kali)-[/home/kali]
└─#
└─# ethtool -i wlan1
driver: rtl8187
version: 6.1.0-kali5-amd64
firmware-version: N/A
expansion-rom-version: 
bus-info: 8-6:1.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
                                                                                                                                                            
┌──(root㉿kali)-[/home/kali]
└─# ethtool -i wlan0
driver: iwlwifi
version: 6.1.0-kali5-amd64
firmware-version: 8.83.5.1 build 33692 5000-5.uco
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
                                                                                                                                                            
┌──(root㉿kali)-[/home/kali]
└─#