Skip to content

Instantly share code, notes, and snippets.

@edwardtheharris
edwardtheharris / firmware-install.sh
Last active November 16, 2025 23:53
ArchLinux install missing firmware
#!/bin/bash
pacstrap -K /mnt base base-devel linux linux-firmware linux-headers linux-firmware-intel intel-ucode btrfs-progs dosfstools neovim networkmanager git man-db man-pages texinfo
# You will need to use `yay` or some other Pacman tool with access to the AUR.
yay -Syyu --noconfirm aic94xx-firmware ast-firmware linux-firmware-qlogic wd719x-firmware upd72020x-fw
## Install Glances
pacman -Syyu --noconfirm python-brotli python-fs python-lxml python-lxml python-pyqt5 python-reportlab python-scipy python-unicodedata2 python-zopfli tk python-olefile python-defusedxml python-railroad-diagrams python-jinja pyside6 python-pyqt6 python-pyqt5 python-gobject python-wxpython python-cairo python-cairocffi python-tornado imagemagick ffmpeg ghostscript texlive-binextra texlive-fontsrecommended python-certifi python-inflect wdiff texlive-latexrecommended python perl-ipc-system-simple perl-file-homedir perl-yaml-tiny perl-tk java-runtime dialog ed mupdf-tools biber perl-tk python-twisted python-pycares gtk4 gdk-pixbu
@markan
markan / vpncfix.md
Created August 21, 2015 17:52
shimo/vpnc "ERROR: can't send packet: Can't assign requested address"

The problem

I've frequently been bit by failures restarting my vpn on my Mac. The connection may appear to start up in Shimo (the menu icon will change) but it looks like vpnc can't connect.

Looking at the log, we see the connection gets stuck

ERROR: can't send packet: Can't assign requested address

This has plagued me for a while, and my only fix has been to restart the machine. I hate restarting my machine. So I finally made time to dig in and find a better solution