The Network Menu :: WiFi


param.cgi?cmd=getwirelessattr

Get your Camera´s WLAN Configuration

  • wf_enable: 1 (WiFi enabled), 0 (WiFi disabled)
  • wf_ssid: SSID (max. 32 Characters) (network name)
  • wf_bssid : BSID (max. 32 Characters) (preferred access point MAC address)
  • wf_auth: 0 (no encryption), 1 (WEP), 2 (WPA-PSK), 3 (WPA2-PSK), 4 (WPA2/WPA3), 5 (WPA3) (automaticlly set by wpa supplicant)
  • wf_key: Key max. 63 Characters (Allowed special characters: &="`) Note: The password can be SET but will not be returned in a GET request!
  • wf_enc: Key type 0 (TKIP), 1 (AES) (automaticlly set by wpa supplicant)
  • wf_mode: 0 (infra), 1 (ad-hoc) (automaticlly set by wpa supplicant)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getwirelessattr

cmd="getwirelessattr";
wf_enable="1";
wf_ssid="linksys";
wf_bssid="";
wf_auth="0";
wf_enc="0";
wf_mode="0";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getwirelessattr&user=admin&pwd=instar

cmd="getwirelessattr";
wf_enable="1";
wf_ssid="linksys";
wf_bssid="";
wf_auth="0";
wf_enc="0";
wf_mode="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setwirelessattr&wf_ssid=linksys&wf_enable=1&wf_auth=3&wf_key=1234567890&wf_enc=1&wf_mode=0

cmd="setwirelessattr";
response="200";

param.cgi?cmd=searchwireless

Search for WiFi Access Points

  • wf_ssid: SSID
  • wf_bssid: BSSID
  • wf_freq: WiFi Frequency
  • wf_signal: WiFi Signal Strength
  • wf_auth: WiFi Authentication Mode
  • wf_enc: WiFi Encryption Mode
  • wf_chn: WiFi Channel

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=searchwireless

cmd="searchwireless";
wf_ssid[0]="TP-Link_BB2D_5G";
wf_bssid[0]="0c:80:63:79:bb:2c";
wf_freq[0]="5180";
wf_signal[0]="46";
wf_auth[0]="WPA2";
wf_enc[0]="AES";
wf_chn[0]="36";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=searchwireless&user=admin&pwd=instar

cmd="searchwireless";
wf_ssid[3]="WithMedia-WIFI_2.4G";
wf_bssid[3]="64:64:4a:89:f8:de";
wf_freq[3]="2437";
wf_signal[3]="89";
wf_auth[3]="WPA2";
wf_enc[3]="AES";
wf_chn[3]="6";
response="200";

param.cgi?cmd=getchkwireless

Test your WiFi Settings

  • wf_ssid: SSID

  • wf_bssid: BSSID

  • wf_key: WiFi password

  • wf_chkresult: Result of the connection attempt:

{
    "SUCCESS": "0",
    "AUTH_FAILURE": "-1",
    "ASSOC_FAILURE": "-2",
    "UNKNOWN_FAILURE": "-3",
    "NETWORK_NOT_FOUND": "-4"
}

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getchkwireless&wf_ssid=FRITZ!WLAN&wf_key=1234567890

cmd="getchkwireless";
wf_chkresult="0";
response="200";

param.cgi?cmd=getadhocattr

WiFi Access Point Settings

  • adhoc_ssid: WiFi Access Point SSID
  • adhoc_pass: Access password
  • adhoc_auth: WiFi authentication [0,1]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getadhocattr

cmd="getadhocattr";
adhoc_ssid="mycamera";
adhoc_pass="1234567890";
adhoc_auth="1";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=setadhocattr&adhoc_ssid=mycamera&adhoc_pass=1234567890&adhoc_auth=1

cmd="setadhocattr";
response="200";

param.cgi?cmd=getwpsattr

Enable WPS triggered by Reset Button

  • wps_enable: 1 (WPS enabled), 0 (WPS disabled)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getwpsattr

cmd="getwpsattr";
wps_enable="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getwpsattr&user=admin&pwd=instar

cmd="getwpsattr";
wps_enable="1";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setwpsattr&wps_enable=0

cmd="setwpsattr";
response="200";

param.cgi?cmd=getwifimac

Get your Camera´s WiFi MAC Address

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getwifimac

var wifimac="28:ad:3e:75:e0:28 "; var wifitype="7601 "; 

param.cgi?cmd=getlanmac

Get your Camera´s Ethernet MAC Address

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getlanmac

var lanmac="10:D1:DC:21:8F:96"; 

param.cgi?cmd=getwifistatus

Get your Camera´s WiFi State

WIP

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getwifistatus

cmd="getwifistatus";


response="200";