Yum Refuses To Install Kmod-8188eu From Elrepo
I am having trouble using the realtek wifi chip in my new tp-link usb wifi dongle. Upon plugging it, the device gets registered by the kernel (in /var/log/messages), but that’s about it, no network device is being created (iwconfig does not see it, nothing else works).
A few google searches later I found out that this realtek chip is not supported by the kernel and requires a driver, and that the driver is packaged for C7 as kmod-8188eu in elrepo.
However, yum install kmod-8188eu refuses to install it (full yum output is here: https://pastebin.com/raw/vvak6FCU ), complaining that the following dependencies cannot be met:
–> Processing Dependency: kernel(wireless_send_event) = 0xa02e7e03 for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_submit_urb) = 0x74c6ac58 for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_reset_device) = 0xddd0084e for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_put_dev) = 0xf709107c for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_kill_urb) = 0xa55bf715 for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_get_dev) = 0x372a41af for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_free_urb) = 0x739aecf4 for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_control_msg) = 0xd04e3a9e for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
–> Processing Dependency: kernel(usb_alloc_urb) = 0x12a4948e for package: kmod-8188eu-4.1.4_6773.20130222-4.el7_5.elrepo.x86_64
I’ve never seen such output from yum before — I’m guessing it is asking for a kernel with specific “properties”, and failing to find one.
What is the best way to resolve this? Is there some kernel package somewhere that matches these properties, or is there some other package that provides these features to an existing kernel, or something else?
Or should I just ditch the kmod, and compile the 8188eu driver from source? I’d prefer to avoid this if possible, since I am not a fan of recompiling it every time the kernel is updated in C7. And I might need to use the wifi dongle on multiple machines, anyway.
I’d appreciate any suggestions!
TIA, :-)
Marko
7 thoughts on - Yum Refuses To Install Kmod-8188eu From Elrepo
That output indicates that that kmod package is built for the EL 7.5
kernel and is not compatible with the current kernel. I suggest you file a request to have the kmod-8188eu rebuilt for EL 7.6 at http://elrepo.org/bugs/ .
Akeme
Another alternative may be to pull down the SRPM and run it through rpmbuild to locally create a binary package compatible with the system as it’s currently installed/running.
Users seeing the same issue can now go to:
https://elrepo.org/bugs/view.php?id
[snip]
[snip]
Thanks for the suggestion, bug filed:
https://elrepo.org/bugs/view.php?id
[snip]
[snip]
Thanks, that would certainly be a better solution than manually building the driver from source, since I could install the resulting .rpm on all of my machines. If the bug I just submitted to elrepo doesn’t get resolved for whatever reason, I’ll try that.
Best, :-)
Marko
Well, I wouldn’t call it “hard-coded’, but yes, if the kernel version is not defined from the command line, then whatever the version defined in the spec file is used. :)
By the way, the updated package is now in the elrepo testing repository, e.g.
https://elrepo.org/linux/testing/el7/x86_64/RPMS/kmod-8188eu-4.1.4_6773.20130222-5.el7_6.elrepo.x86_64.rpm
Akemi
Just for the record — the kmod has been rebuilt against the new kernel (thanks for the very fast response!!), and the new version does install successfully.
Of course, then I ran into a separate issue with 8188eu driver requiring the old wext driver, while NetworkManager working only with the new nl80211 driver… After some googling, it seems that this issue is best discussed here:
https://www.thelinuxrain.com/articles/getting-realtek-8188eu-wireless-adapters-to-work-in-linux-and-possibly-other-wireless-realtek-chipsets
Using wicd instead of NetworkManager somehow failed me, but the manual startup of wpa_supplicant did work, and the wifi dongle finally came to life, and works perfectly.
Thanks again to Akemi, and elrepo!
Best, :-)
Marko