Skip to content

Commit

Permalink
released embracing-man-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwitzd committed Jul 31, 2024
1 parent 384626c commit 3935c01
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock
/.hugo_build.lock

### Environment ###
.env
18 changes: 11 additions & 7 deletions content/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ hidemeta = true
showtoc = false
+++

#### 15.07.2024

* Added `docker-compose.yml`

#### 20.05.2024

* Enhanced CSP to allow images to be loaded from OneDrive
Expand All @@ -17,8 +21,8 @@ showtoc = false
* Added [ai.txt](/ai.txt)
* Added [robots.txt](/robots.txt)
* Added [privacy policy](/privay) in the footer
* Added *staticwebapp.config.json* used by Azure Static Apps to set security headers
* Added config/development/server.yaml to test security headers
* Added `staticwebapp.config.json` used by Azure Static Apps to set security headers
* Added `config/development/server.yaml` to test security headers
* Added 404 page

#### 13.05.2024
Expand All @@ -31,17 +35,17 @@ showtoc = false

#### 09.05.2024

* Added README.md
* Added .gitignore
* Added `README.md`
* Added `.gitignore`
* Added [Architecture page](/architecture)
* Added Hope in the [whoami page](/whoami)
* Removed the annoing CSS 'post-footer' to keep the pages shorter

#### 08.05.2024
#### 08.05.202`

* Extendend the [whoami page](/whoami)
* changed website description in the hugo.yaml
* Fixed baseurl in hugo.yaml
* changed website description in the `hugo.yaml`
* Fixed baseurl in `hugo.yaml`

#### 05.05.2024

Expand Down
39 changes: 39 additions & 0 deletions content/posts/disable-wifi-power-saving.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
+++
title = 'Disable WiFi Power Saving in Linux'
date = 2024-07-15T06:01:20Z
draft = true
+++

We recently rearranged some space in our apartment and unfortunately my office desk ended up in the exact opposite corner of my router. My Arch Linux quickly started dropping the WiFi connection every 2-3 minutes while my Windows 11 laptop was working perfectly.

I started to investigate and the **Power Management** parameter in the `iwconfig` command caught my attention

```
wlp108s0 IEEE 802.11 ESSID:"WiFi"
Mode:Managed Frequency:5.5 GHz Access Point: 21:AF:FE:23:E1:A4
Bit Rate=117 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=49/70 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:11 Missed beacon:0
```

Searching on the internet, I quickly realised that I was not alone: some people claim that this setting increases latency and others that WiFi drops out. So I decided to turn it off`

Create the file `/etc/NetworkManager/conf.d/wifi-powersave-off.conf` with the following content:

```
[connection]
# Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
wifi.powersave = 2
```

To apply the new setting restart `NetworkManager` deamon:

```bash
sudo systemctl restart NetworkManager
```

The downside is that your laptop will use more battery power as the WiFi card never goes into sleep mode.
5 changes: 5 additions & 0 deletions content/posts/dnscrypt-proxy-home-dns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = 'Dnscrypt Proxy Home Dns'
date = 2024-07-31T04:47:14Z
draft = true
+++
2 changes: 1 addition & 1 deletion content/posts/embracing-man-pages.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = 'Embracing Man Pages'
date = 2024-07-11T19:49:49Z
draft = true
draft = false
+++

Nowadays, the browser is always open on my computer and I spend most of my time there. If there is a problem or I need to look up the parameters of a command, the first thing I do is look it up on the web. Now I want to go back to using man pages and rediscover the romance and essence that they convey.
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
services:
myblog:
image: docker-hugo
container_name: myblog
ports:
- "1313:1313"
user: ${UID}:${GID}
volumes:
- ~/Github/schwitzd.me:/site
command: server --bind 0.0.0.0 -D
tty: true
stdin_open: true

0 comments on commit 3935c01

Please sign in to comment.