Since I’m having issue getting KDE Network Manager to compile I have found a great little utility. CNetworkManager While not feature complete yet more then suffices for connecting to my WPA2 encrypted wireless router. It could still use connecting with static IP address and and specifying routes and host servers, etc. Best of all it is a python script.
You need to install cnetworkmanager.conf to /etc/dbus-1/system.d/ I recommend this even if you have one with similar settings for knetworkmanager or nm-applet.
Here is how I use it.
./cnetworkmanager -C my-ap --wpa-pass=secretsnottold
cnetworkmanager 0.8.1 - Command Line Interface for NetworkManager
pbkdf2 66cd7020f6df8dc9198943edba802e87b36db345da9bdd5187030c789892
Connected: /org/freedesktop/NetworkManager/ActiveConnection/2
^Z
[1]+ Stopped ./cnetworkmanager -C my-ap --wpa-pass=secretsnottold
verbalshadow@tao:~/code/cnetworkmanager$ bg
[1]+ ./cnetworkmanager -C my-ap --wpa-pass=secretsnottold &
verbalshadow@tao:~/code/cnetworkmanager$
If you look you can see that I ran it, stopped it, and then made it a background proccess using ‘bg’ you can bring it back to the forground by using ‘fg’
This is a great program, especially when you have broken X.
This is a great utility but a testament to the fundamental retardedness of some things things in Linux that Network Manager did not have a way to interface with it via the command-line by default. Its also retarded that at least on Ubuntu and Debian systems, using NetworkManager and iwconfig to control the wireless interface are mutually exclusive. If you want to use iwconfig then you have to completely kill off all running processes related to Network Manager. Retarded. Retarded. Retarded.
Totally agree with Althea
Where did you get the pbkdf2 binary ?