Skip to content

Instantly share code, notes, and snippets.

View MichaelBelgium's full-sized avatar

Michael V. MichaelBelgium

View GitHub Profile
@MichaelBelgium
MichaelBelgium / debian-wifi.md
Created July 5, 2025 10:52
Wireless Intel connections on debian

This is a guide to make newer Intel wifi cards get detected by Debian, to show ip addr show

The clue is to upgrade the kernel and intel firmware.

Import backports

echo "deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware" >> /etc/apt/sources.list

apt get update && apt get upgrade

@MichaelBelgium
MichaelBelgium / wsl2-hosts-sync.ps1
Created June 5, 2020 07:46
WSL v2 windows hosts sync (powershell - updates domains to wsl2 ip)
# Requires -RunAsAdministrator
# Only works for WSL v2, this is completely not needed for WSL v1 where u always can use 127.0.0.1 in hosts file
Clear-Host
if ((Get-InstalledModule "Carbon" -ErrorAction SilentlyContinue) -eq $null) {
Install-Module -Name 'Carbon' -AllowClobber
}
Import-Module 'Carbon'