Jump to content
MikeN

RTL8187 (ALFA Network AWUS036H)

Recommended Posts

1. Installing packages for USB support on OpenWRT

opkg update
opkg install kmod-usb-core 
opkg install kmod-usb-uhci
opkg install kmod-usb-ohci
opkg install kmod-usb2
insmod usb-ohci
insmod usbcore
insmod uhci
insmod ehci-hcd

2. AWUS036h driver install on OpenWRT

opkg update
opkg install kmod-rtl8187

3. Test if AWUS036h driver is installed properly

lsusb

If the drivers were properly installed, you should receive a message like this:

Bus 001 Device 001: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter

 

Share this post


Link to post
Share on other sites

Looks like the kernel is too old to do any of this now:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-core:
 *      kernel (= 4.14.176-1-342af9e4f67b3447c53216ab8e3b12a1)
 * opkg_install_cmd: Cannot install package kmod-usb-core.

I saw trying to load a usb ethernet adapter and got the same response. Doesn't seem to be a way in Openwrt to pull backwards compatible drivers from old repos.

Share this post


Link to post
Share on other sites
On 4/24/2020 at 3:58 PM, Skinny said:

Looks like the kernel is too old to do any of this now:


Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-core:
 *      kernel (= 4.14.176-1-342af9e4f67b3447c53216ab8e3b12a1)
 * opkg_install_cmd: Cannot install package kmod-usb-core.

I saw trying to load a usb ethernet adapter and got the same response. Doesn't seem to be a way in Openwrt to pull backwards compatible drivers from old repos.

You can try with --force-depends for kernel modules. We do the same thing on the Pineapple automatically.

Share this post


Link to post
Share on other sites
Posted (edited)
22 hours ago, Foxtrot said:

You can try with --force-depends for kernel modules. We do the same thing on the Pineapple automatically.

Thanks for the response. I gave it a shot and it looked promising but still failed out at the end.

Configuring kmod-libphy.
Configuring kmod-mii.
Configuring kmod-usb-net.
Configuring kmod-usb-net-asix-ax88179.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-asix-ax88179:
 *      kernel (= 4.14.176-1-342af9e4f67b3447c53216ab8e3b12a1)

I was trying to install a driver for an Ethernet adapter I was working with. Looks like it was going well for the dependencies but then failed to actually load what I wanted.

<<<UPDATE>>>

Strangely, I rebooted the Owl and went back in to try the process again. This time is says there was a successful installation:

opkg install kmod-usb-net-asix-ax88179 --force-depends
Package kmod-usb-net-asix-ax88179 (4.14.176-1) installed in root is up to date.

Now I just need to figure out how to bring up an Ethernet interface as it appears that does not happen automatically. Looks like it's not as simple as ifconfig eth0 up.

Edited by Skinny

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...