2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "kernel"
|
2022-01-26 22:35:07 +00:00
|
|
|
tags: [ "Documentation", "System" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
Check which kernet modules are loaded into memory
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo /sbin/lsmod
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Check which virtual box modules are loaded into memory
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo /sbin/lsmod | grep vbox
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Virtual box is using vboxpci, vboxnetadp, vboxnetflt, vboxdr.
|
|
|
|
|
|
|
|
Look at what's claiming wifi:
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo lshw -C network
|
|
|
|
```
|
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.
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo modprobe ath9k
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
Modules can also be 'restarted' by removing and adding them, e.g. the video module, 'uvcvideo':
|
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo rmmod uvcvideo
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2023-06-17 19:28:20 +00:00
|
|
|
```bash
|
|
|
|
sudo modprobe uvcvideo
|
|
|
|
```
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
|