# connect to wps capable router via push button. Linking a script to show how it works with comments. In this case i used the push button not the pin. I found that I needed instructions from multiple posts above to complete the task as Xubuntu did not have a WPS of any kind that I could find. 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". The access point/wireless router will have a physical button, and other devices may have a physical or software-based button. 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. If your router does not support WPS, go to HP printer setup (Wi-Fi network) for steps to connect the printer to the network with the HP Smart app. 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 PIN: Enter the client’s PIN, and click Connect. WPS or Wifi Protected Setup button allows router and devices (Smart phone, tablets, laptops, etc.) connect faster and easily without providing a password. ![]() Within two minutes, press the WPS button on the client device. Select a setup method: Push Button (Recommended): Click Connect on the screen. Set yourself up a very basic wpa_nf in /etc/wpa_nf. The default PIN is printed on the label of the router. 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' "
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |