Linux Administration for Nerds

Copyright 2018 Brian Davis - CC-BY-NC-SA

Networking

Wireless Bootstrap

Frequently after installing Debian I find that I need to update the wireless firmware to get networking working. This involves manually downloading packages from debian's website and copying over via flash drive. Then installing using dpkg -i package.deb.

Packages

Edit /etc/network/interfaces

auto wlan0
iface wlan0 inet dhcp
    wpa-ssid <SSID>
    wpa-psk <KEY>

Note that wireless-tools is not sufficient. I found the interface would come up and request DHCP would fail. Installing wpasupplicant is required.

If you have intermittent success and notice that wget and apt-get are trying to use ipv6 addresses, uncomment following line in /etc/gai.conf to prefer ipv4

precedence ::ffff:0:0/96  100

After wireless is working install network-manager-kde to get both network-manager and a KDE applet for setting it.

Add user to group netdev. in /etc/NetworkManager/NetworkManager.conf s/managed=false/managed=true/

service network-manager restart

Proxy for yum

In vi /etc/yum.conf

proxy=http://host:port
proxy_username=user
proxy_password=password

or

unset HISTFILE
export http_proxy='http://user:password@host:port'