Ubuntu/Bespin
From charlesreid1
Setup
Aptitude update
During installation, we allow setup to join the wifi network. On first boot, the network manager will be running and will be connected to the same wifi network. We will disable network manager eventually, but first get some software.
sudo apt-get update sudo apt-get -y install vim gnome-tweak-tool net-tools
Set caps lock as a control key.
Internet
We want to configure wifi manually, and disable the network manager. This requires some preparation to manually join a wifi network with wpa supplicant.
First set your wpa supplicant to join a wifi network.
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="yournetworkhere"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="yourpskhere"
}
Next add the 2 usb wifi devices to network interfaces file. The following etc network interfaces file assumes that wlan0 will be joining an existing wifi network, and wlan1 will be in manual mode so it can be used as an AP.
/etc/network/interfaces
allow-hotplug wlan0
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface wlan0 inet dhcp
allow-hotplug wlan1
iface wlan1 inet static
address 192.168.10.1
netmask 255.255.255.0
gateway 192.168.10.1
except actually the iface names were dependent on the mac addresses of the wifi cards.
Finally, start up the wpa supplicant on boot:
/etc/rc.local
Tweaking Gnome
Now tweak it:
- Tweak tools
- Set up like a mac
- plank and startup service
- albert and startup service