Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Realtek 8211cu #525

Open
LatinSuD opened this issue Jul 2, 2024 · 0 comments
Open

Problem with Realtek 8211cu #525

LatinSuD opened this issue Jul 2, 2024 · 0 comments

Comments

@LatinSuD
Copy link

LatinSuD commented Jul 2, 2024

I got a Realtek USB card and tried this driver:
https://github.com/morrownr/8821cu-20210916

The driver has got a couple issues that affect Kismet.

  1. When the driver is asked for mode using mac80211 api it returns mode 1 (NL80211_IFTYPE_ADHOC ?) despite being in Monitor mode. It should report mode 6 (NL80211_IFTYPE_MONITOR) but it doesn't.
    (If asked through WEXT it will report Monitor mode correctly).

  2. When you try to create a vif the driver kind of hangs. Everything kind of works, but all interface commands hang "ifconfig", "iwconfig", "iw", etc.

I think that none of the existing kismet workarounds would work here.
My workaround is to pretend that the card is not compatible with mac80211, by inserting this line quite soon in the source:
mac80211_socket = NULL;

Oh I just found an easy workaround. I have to tell the driver to be in monitor mode through mac80211 interface before invoking kismet:
iw dev eth3 set monitor none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant