mfruba / kernel

151 stars 103 forks source link

could not load module "8188eu.ko": Unknown Symbol in module #4

Open CraftedPvP opened 7 years ago

CraftedPvP commented 7 years ago

I downloaded the repo and went to the first file you uploaded the one for 4.9.0 and did the commands like so

make
make install
insmod /lib/modules/4.9.0-kali3-amd64/kernel/drivers/net/wireless/8188eu.ko

but on the third command I can't load the modules

insmod: ERROR: could not load module /lib/modules/4.9.0-kali3-amd64/kernel/drivers/net/wireless/8188eu.ko: No such file or directory

I went to the file directory and I saw nothing was there except some files and folders. problem I could see "8188eu.ko" where I saved the repo in. Should I run the command there instead?

mfruba commented 7 years ago

Hi, Yes you can load it. 'insmod /lib/modules/4.9.0-kali3-amd64/kernel/drivers/net/wireless/8188eu.ko' does not work because you have probably slightly different version of kernel so you have to use path with proper kernel version.

CraftedPvP commented 7 years ago

problem

Thanks for the quick reply. Oh ok. I'm fairly new to Linux version. My version is 4.9.0-kali4-amd64. But apparently this error showed. insmod: ERROR: could not insert module /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8188eu.ko: Unknown symbol in module

problem What can I do to fix it?

CraftedPvP commented 7 years ago

I did the 3rd command again and now it said Couldn't load module "8188eu.ko":. File exist What should I do to fix it?

mfruba commented 7 years ago

You have to unload previous driver Run: rmmod 8188eu

CraftedPvP commented 7 years ago

well that's also a problem since it reverts back to the title's error problem. problem

mfruba commented 7 years ago

Probably this will solve your problem: modprobe cfg80211

If not then provide output from dmesg

CraftedPvP commented 7 years ago

I did modprobe and the 3rd command to install. It printed out no message. Curious, I plugged back my usb adapter and it didn't work. I did dmesg and I can see a lot of errors on my usb adapter.

dmesg problem problem1

Gucci1-wp commented 7 years ago

Hi CraftedPvP

Did you get your TP-Link wireless adapter to work ? I'm experiencing the same issue as you...

Please let me know

CraftedPvP commented 7 years ago

Hi Gucci1-wp unfortunately I've asked multiple people and I did some research and well you won't be able to get it to work. Another thing is the one who posted the repo is not responding anymore. Either he doesn't know how to fix our problem or he's busy. It's best if we get a new adapter

ViezeVingertjes commented 7 years ago

Works flawlessly on the raspberry, so should be able to replicate that with a regular linux right?

Rajssss commented 7 years ago

@ViezeVingertjes is monitor mode is working?

jhanggj commented 7 years ago

I have the same issue that CraftedPvP posted.

jhanggj commented 7 years ago

Hi All,

I find this trick.

  1. Please check *.ko by using "file 8188eu.ko" command to check its' kernel version is the same as your OS kernel version?

  2. The wifi dongle should need to insert it first, and typesudo insmod 8188.ko. That will work.

ViezeVingertjes commented 7 years ago

@Rajssss Yes on the raspberry (raspbian) i had it all (including monitor mode) working within 5 minutes, but now i am trying to reproduce this on a 'normal' debian installation and no succes so far. Might be because i am using Virtualbox though, not sure.

I used the auto installer for the raspberry from https://gist.github.com/kmonsoor/59c47d05d8c6cb397c15cd5eba7909e8 (instructions are on top of the file).

Ruflead commented 6 years ago

@ViezeVingertjes how you do that..??

Are you completely enable monitor mode on Tl wn722n v2. ???

Torub commented 4 years ago

modprobe cfg80211

root@kali:~# cd rtl8188eus/ root@kali:~/rtl8188eus# ls 8188eu.ko 8188eu.o dkms-install.sh Kconfig os_dep 8188eu.mod BUILD_FOR_NETHUNTER.md dkms-remove.sh Makefile platform 8188eu.mod.c core hal modules.order README.md 8188eu.mod.o dkms.conf include Module.symvers ReleaseNotes.pdf root@kali:~/rtl8188eus# insmod /lib/modules/5.3.0-kali2-amd64/kernel/drivers/net/wireless/8188eu.ko insmod: ERROR: could not insert module /lib/modules/5.3.0-kali2-amd64/kernel/drivers/net/wireless/8188eu.ko: Unknown symbol in module root@kali:~/rtl8188eus# module bash: module: command not found root@kali:~/rtl8188eus# dmesg | tail -n 1 [ 2999.735119] 8188eu: Unknown symbol cfg80211_mgmt_tx_status (err -2) root@kali:~/rtl8188eus# modprobe cfg80211 root@kali:~/rtl8188eus# insmod /lib/modules/5.3.0-kali2-amd64/kernel/drivers/net/wireless/8188eu.ko root@kali:~/rtl8188eus# root@kali:~/rtl8188eus#

is it succesful nothing shows

MrRa88it commented 3 years ago

i think kernal version not support to Driver (out of date)

haxor-dot commented 3 years ago

I was having kinda same issue with my TP-LINK WN722N adapter. Was just freaking about why it's not working. Tried many tutorials but none worked for me. People sometimes put something like "r8188eu" or "8188eu" in blacklist in "etc/modprobe.d/realtek.conf" while following a tutorial on how to enable monitor mode. So I whitelisted the driver by just deleting the line which contains "blacklist r8188eu" or "blacklist 8188eu" and after a reboot it was working. The adapter showed up in the menu.

sIm0ny commented 2 years ago

I was having kinda same issue with my TP-LINK WN722N adapter. Was just freaking about why it's not working. Tried many tutorials but none worked for me. People sometimes put something like "r8188eu" or "8188eu" in blacklist in "etc/modprobe.d/realtek.conf" while following a tutorial on how to enable monitor mode. So I whitelisted the driver by just deleting the line which contains "blacklist r8188eu" or "blacklist 8188eu" and after a reboot it was working. The adapter showed up in the menu.

Hello How did you blacklist the two Drivers?

haxor-dot commented 2 years ago

How did you blacklist the two Drivers?

I did not black list both of them I said you can blacklist the driver which you want to (or have to)