RCayre / mirage

Mirage is a powerful and modular framework dedicated to the security analysis of wireless communications.
https://homepages.laas.fr/rcayre/mirage-documentation
MIT License
245 stars 42 forks source link

UserWarning: Failed to create a device file using `uinput` module #28

Closed GoulongWang closed 2 years ago

GoulongWang commented 2 years ago

Hi RCayre,

I followed the instruction at this page, but something wrong when I entered sudo mirage . The message displayed

UserWarning: Failed to create a device file using uinput module. Sending of events may be limited or unavailable depending on plugged-in devices

image

Could you help me fix this?

My Environment : Ubuntu20.04 in Window Subsystem Linux 2

RCayre commented 2 years ago

Hi, thanks for reporting. Unfortunately, the problem is linked to keyboard library, which doesn't work on WSL. You should open an issue here: https://github.com/boppreh/keyboard

Or use a regular Linux to run Mirage.