

If all went well, you should have a line under this new network titled psk. Verify with cat /etc/wpa_nf your newly updated config-file. Run sudo dhclient **your_interface** to get IP from the AP (assuming DHCPd were enabled). This will update the wpa_nf file, as specified from the command line, with a static configuration for this new network. Type the command save, which should output another "OK". What you want to see is CTRL-EVENT-CONNECTED, which will indicate that the PIN was accepted and that you're now associated. Wait a few more seconds as wpa_supplicant picks up the BSSID and tries to associate and perform key negotiation. Where xx:xx:xx:xx:xx:xx is your BSSID from your scan results.

Issue scan_result after a few seconds to show the results from your scanĪdd our BSSID and PIN: wps_reg xx:xx:xx:xx:xx:xx 12345678 Issue scan to scan for existing access-points. Verify that it's working by issuing command status. This will start a interactive wpa_cli session. Start wpa_supplicant in daemon mode: sudo wpa_supplicant -B -Dwext -i**your_interface** -c/etc/wpa_nf This command will overwrite any pre-exsiting wpa_nf file!: echo -e "ctrl_interface=/var/run/wpa_supplicant\nctrl_interface_group=0\nupdate_config=1" | sudo tee /etc/wpa_nf Set yourself up a very basic wpa_nf in /etc/wpa_nf. Have to replace it with the Interface that you got from this When you see Your_Interface in the next commands know that you You will get "Selected interface 'your interface' " Solution from your interface with this command
