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

Wireless and bluetooth card blocked after start #72

Open
AguirreIF opened this issue Jan 13, 2024 · 1 comment
Open

Wireless and bluetooth card blocked after start #72

AguirreIF opened this issue Jan 13, 2024 · 1 comment

Comments

@AguirreIF
Copy link

Hi, I'm using kloak 0.2.49 on GNU/Linux Debian Trixie. After starting kloak with $ sudo kloak -v my WiFi and bluetooth disconnects. Both devices are shown soft blocked in rfkill:

$ sudo rfkill list
0: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: yes
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no

How can I avoid this?

Thanks,

@AguirreIF
Copy link
Author

There is some kind of conflict with rfkill. This is my list of devices:

$ sudo rfkill
ID TYPE      DEVICE                      SOFT         HARD
 0 bluetooth tpacpi_bluetooth_sw desbloqueado desbloqueado
 2 wlan      phy0                desbloqueado desbloqueado
26 bluetooth hci0                desbloqueado desbloqueado

If I listen for rfkill events I get:

$ sudo rfkill events
2024-10-02 11:02:34,766250-03:00: idx 0 type 2 op 0 soft 0 hard 0
2024-10-02 11:02:34,766287-03:00: idx 2 type 1 op 0 soft 0 hard 0
2024-10-02 11:02:34,766291-03:00: idx 26 type 2 op 0 soft 0 hard 0

and then start kloak:

$ sudo kloak -v
Found keyboard at: /dev/input/event0
Found mouse at: /dev/input/event1
Found mouse at: /dev/input/event2
Found keyboard at: /dev/input/event7
Found keyboard at: /dev/input/event15
Waiting 500 ms...
********************************************************************************
* Started kloak : Keystroke-level Online Anonymizing Kernel
* Maximum delay : 20 ms
* Reading from  : /dev/input/event0
*                 /dev/input/event1
*                 /dev/input/event2
*                 /dev/input/event7
*                 /dev/input/event15
* Rescue keys   : KEY_LEFTSHIFT + KEY_RIGHTSHIFT + KEY_ESC
********************************************************************************

this events are received by rfkill, the devices are "soft blocked":

2024-10-02 11:03:02,066024-03:00: idx 0 type 2 op 2 soft 1 hard 0
2024-10-02 11:03:02,162654-03:00: idx 2 type 1 op 2 soft 1 hard 0
2024-10-02 11:03:12,410336-03:00: idx 26 type 2 op 2 soft 1 hard 0
2024-10-02 11:03:12,410406-03:00: idx 26 type 2 op 1 soft 1 hard 0

and if I stop kloak they are enabled again:

2024-10-02 11:03:20,844097-03:00: idx 0 type 2 op 2 soft 0 hard 0
2024-10-02 11:03:20,844179-03:00: idx 2 type 1 op 2 soft 0 hard 0
2024-10-02 11:03:21,270879-03:00: idx 27 type 2 op 0 soft 0 hard 0

I don't know if this is a kloak or rfkill issue.

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