nmcli -- control the network manager from the command line :) http://manpages.ubuntu.com/manpages/maverick/man1/nmcli.1.html