Tool/software: Linux
Hi all,
Now I want to enable WPS AP in linux in that WL1831wifi module.
Can you provide some ideas.
Thanks and Regards,
VinothS
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi all,
Now I want to enable WPS AP in linux in that WL1831wifi module.
Can you provide some ideas.
Thanks and Regards,
VinothS
Hi Saurabh,
Still now, we are try in that GUI only.
But, We don't get any response.
So, through command we are try for wps.
I got the error while trying this command on command line interface(CLI)
root@sabresd_6dq:/ # hostapd_cli wps_pbc
Failed to connect to hostapd - wpa_ctrl_open: No such file or directory
How to solve this.?
Regards,
VinothS,
Hi Saurabh,
This one used wpa_cli command for waiting server.
But, in my case hostapd_cli command wait for client.
I saw that user information when i try "hostapd_cli -?".
root@sabresd_6dq:/ # hostapd_cli -?
hostapd_cli v2.5-devel-6.0.1
Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors
usage: hostapd_cli [-p<path>] [-i<ifname>] [-hvB] [-a<path>] \
[-G<ping interval>] [command..]
Options:
-h help (show this usage text)
-v shown version information
-p<path> path to find control sockets (default: /var/run/hostapd)
-a<file> run in daemon mode executing the action file based on events
from hostapd
-B run a daemon in the background
-i<ifname> Interface to listen on (default: first interface found in the
socket path)
Commands:
mib get MIB variables (dot1x, dot11, radius)
sta <addr> get MIB variables for one station
all_sta get MIB variables for all stations
new_sta <addr> add a new station
deauthenticate <addr> deauthenticate a station
disassociate <addr> disassociate a station
sa_query <addr> send SA Query to a station
wps_pin <uuid> <pin> [timeout] [addr] add WPS Enrollee PIN
wps_check_pin <PIN> verify PIN checksum
wps_pbc indicate button pushed to initiate PBC
wps_cancel cancel the pending WPS operation
wps_ap_pin <cmd> [params..] enable/disable AP PIN
wps_config <SSID> <auth> <encr> <key> configure AP
wps_get_status show current WPS status
get_config show current configuration
help show this usage help
interface [ifname] show interfaces/select interface
level <debug level> change debug level
license show full hostapd_cli license
quit exit hostapd_cli
Means when i try "wps_pbc" command
wpa_crtl_open no such file or directory.
I have the doubt, i was set like that in "hostapd.conf" file.
ctrl_interface = /var/run/hostapd
How to solve this.?
These are under README-WPS file.
android.googlesource.com/.../README-WPS
Thanks & Regards,
VinothS,
Hi,
I was used these command.
1. hostapd_cli
2. hostapd_cli wps_pbc
3. hostapd_cli wps_pin
These are the commands for making AP(WPS server).
Regards,
VinothS.