2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "kernel"
|
2025-02-12 14:01:15 +00:00
|
|
|
tags: [ "system" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
Check which kernel modules are loaded into memory:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
su root
|
|
|
|
/sbin/lsmod
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Check which virtual box modules are loaded into memory
|
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
```sh
|
|
|
|
/sbin/lsmod | grep vbox
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Virtual box is using vboxpci, vboxnetadp, vboxnetflt, vboxdr.
|
|
|
|
|
|
|
|
Look at what's claiming wifi:
|
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
```sh
|
|
|
|
lshw -C network
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
If this shows that the device is 'unclaimed' then it's time to add a module, e.g. ath9k.
|
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
```sh
|
|
|
|
modprobe ath9k
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Modules can also be 'restarted' by removing and adding them, e.g. the video module, 'uvcvideo':
|
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
```sh
|
|
|
|
rmmod uvcvideo
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2025-02-12 14:01:15 +00:00
|
|
|
```sh
|
|
|
|
modprobe uvcvideo
|
2023-06-17 19:28:20 +00:00
|
|
|
```
|