lk/system/kernel.md

42 lines
659 B
Markdown
Raw Permalink Normal View History

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
```bash
sudo /sbin/lsmod
```
2020-01-02 00:04:35 +00:00
Check which virtual box modules are loaded into memory
```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:
```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.
```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':
```bash
sudo rmmod uvcvideo
```
2020-01-02 00:04:35 +00:00
```bash
sudo modprobe uvcvideo
```
2020-01-02 00:04:35 +00:00