Ubuntu wireless configuration from command line

Generate passphrase: wpa_passphrase <myssid> <mypassword> > /etc/wpa_supplicant.conf Edit /etc/network/interfaces: auto <wireless-interface> iface <wireless-interface> inet static address 10.1.1.10 netmask 255.255.255.0 wireless-essid <myssid> gateway 10.1.1.1 post-up wpa_supplicant wpa_supplicant -B -Dnl80211 -i<wireless-interface> -c/etc/wpa_supplicant.conf post-down killall -q wpa_supplicant dns-nameservers 8.8.8.8 Here you need to find out your wifi adapter's driver using wpa_supplicant --help. In my case it is nl80211 … Continue reading Ubuntu wireless configuration from command line

Openvswitch Cheat Sheet

Add libvirt network to be used with open vswitch Create an xml file like below (it is going to be listed in networks) <network> <name>obr0</name> <forward mode='bridge'/> <bridge name='obr0'/> <virtualport type='openvswitch'/> </network> The name of the network The forward mode is set to bridge The bridge name is the bridge name The virtualport is set to openvswitch Then introduce this network to … Continue reading Openvswitch Cheat Sheet

Debian Bring Manually Configured Interface Up at Boot/Reboot

Edit /etc/network/interfaces and make following changes: 1.Add interface to auto line (your interface name may change and number of interfaces may also change). This change makes interface to be brought up at boot time: auto lo eth0 eth1 eth2 2.Add following lines for each interface. This change will make interface to be manually configured: iface … Continue reading Debian Bring Manually Configured Interface Up at Boot/Reboot