I have a Java program to run on an Ubuntu box. This program should ask the user to enter the login and password of the wifi network with which it wants to connect and then the Java program must use the login and pass to connect automatically.
iwconfigm but it doesn't work
I launched the command:
iwconfig wlan0 essid login key pass Error for wireless request "Set Encode" (8B2A) invalide argument "pass"
So, how do I connect to the wireless network via the command line?