Wi-fi no Debian via terminal

Para instalar wifi ou wireless no Debian via terminal utilize o wpa_supplicant

# apt-get install wpasupplicant

edite o arquivo /etc/network/interface

auto ath0
iface ath0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

edite o arquivo /etc/wpa_supplicant/wpa_supplicant.conf

network={
ssid=”wireless-is-a-lie”
psk=”passw0rd”
}

fontes:

https://blog.nelhage.com/2008/08/using-wpa_supplicant-on-debianubuntu/

https://sempreupdate.com.br/como-conectar-wifi-via-terminal-linux/

Remover kernels antigos

Para verões novas do Linux ou ubuntu:
$ sudo apt autoremove

Para verões antigas:
$ echo $(dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n '/'`uname -r`'/q;p') $(dpkg --list | grep linux-headers | awk '{ print $2 }' | sort -V | sed -n '/'"$(uname -r | sed "s/\([0-9.-]*\)-\([^0-9]\+\)/\1/")"'/q;p') | xargs sudo apt-get -y purge

Fontes:

.
https://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu