Benutzer-Werkzeuge

Webseiten-Werkzeuge


hardware:vap11g_wlan_bridge

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
hardware:vap11g_wlan_bridge [2012/01/21 16:06] reinholdhardware:vap11g_wlan_bridge [2013/03/13 10:42] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 30: Zeile 30:
 |   8-9  | Length of the data (bytes 10-...), in lower endian | |   8-9  | Length of the data (bytes 10-...), in lower endian |
 |  10-length  | Data contents (in configuration file format) | |  10-length  | Data contents (in configuration file format) |
 +|             | (First two bytes of a return package are STATUS) |
 | length+1 - 63  | padding with ''0x00'' to have at least 64 bytes. | | length+1 - 63  | padding with ''0x00'' to have at least 64 bytes. |
  
Zeile 41: Zeile 42:
  
  
 +===== Order of commands to configure the device =====
  
 +  - Broadcast of ''0x00 0x00'' (detect available devices, request device info), 5 seconds timeout
 +    - device info response (''0x00 0x00'' command, 0x38 bytes return data)
 +  - ''0x00 0x00'' to each detected MAC address, device info response
 +  - Let the user select one of the detected devices to be configured
 +  - ''0x00 0x01'' request status to selected device, status response
 +  - ''0x01 0x01'' send config (command 9107: start WLAN scan), status response
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00)
 +  - Wait 10 seconds for the WLAN scan to complete
 +  - ''0x01 0x01'' send config (command 9100: get config), status response
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with full configuration (2 packets)
 +    - ''0x02 0x01 0x03'' request for further packet, no response at all
 +  - Ask the user for the wireless network, security settings and passphrase
 +  - ''0x00 0x01'' request status, status response
 +  - ''0x01 0x01'' send config (config format with all changed settings), status response
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00)
 +  - ''0x00 0x01'' request status, status response
 +  - ''0x01 0x01'' send config (command 9002: reset device), status response
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00)
  
-==== USB packet data format ====+Full packet sniff obtained with wireshark: {{:hardware:vap11g:vap11g_config.txt|vap11g_config.txt}}
  
-After this this 12/13 bytes header follows the actual content of the packet, which consists of ''\n''-separated lines (i.e. 0x0a linefeed). Each entry has the form+===== Communication structure of configuration data exchange ===== 
 + 
 +==== Sending a command to the device ==== 
 +  - ''0x01 0x01'' send config (command 9107: start WLAN scan), status response 
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00), some (random?) data after the end 
 + 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 01 01   ........'Q...... 
 +  0010  01 00 00 00 00 00 07 00 39 31 30 37 3a 0d 0a      ........9107:.. 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 01 01   ..'Q............ 
 +      0010  00 00 00 00 00 00 02 00 00                        ......... 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  02 00 00 00 00 00 00 00                           ........ 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  01 00 00 00 00 00 02 00 00 00 00 00 8c 61 0e d0   .............a.. 
 + 
 +==== Requesting data from the device ==== 
 + 
 +  - ''0x01 0x01'' send config (command 9100: get config), status response 
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with full configuration (2 packets) 
 +    - ''0x02 0x01 0x03'' request for further packet, no response at all 
 + 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 01 01   ........'Q...... 
 +  0010  01 00 00 00 00 00 07 00 39 31 30 30 3a 0d 0a      ........9100:.. 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 01 01   ..'Q............ 
 +      0010  00 00 00 00 00 00 02 00 00                        ......... 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  02 00 00 00 00 00 00 00                           ........ 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  01 00 00 00 01 00 32 00 00 00 30 30 30 31 20 42   ......2...0001 B 
 +      0020  4f 58 5f 4e 41 4d 45 3a 56 41 50 31 31 47 0a 30   OX_NAME:VAP11G.0 
 +      0030  30 30 32 20 4d 41 43 5f 41 44 44 52 3a 30 30 31   002 MAC_ADDR:001 
 +      0040  37 31 33 31 31 46 43 44 30 0a                     71311FCD0. 
 +  [2nd response packet directly afterward: 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  02 00 00 00 00 00 85 03 00 00 37 30 30 30 20 53   ..........7000 S 
 +      0020  53 49 44 3a 54 72 61 66 6f 73 74 61 74 69 6f 6e   SID:Trafostation 
 +      [... Rest of packet] 
 +      0380  35 37 62 38 65 35 2c 32 2c 47 2c 31 2c 31 30 0b   57b8e5,2,G,1,10. 
 +      0390  0a 37 30 32 32 20 42 41 4e 44 3a 30 0a            .7022 BAND:0. 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  03 00 00 00 00 00 00 00                           ........ 
 + 
 + 
 +===== Configuration data format ===== 
 + 
 +Configuration data consists of ''\n''-separated lines (i.e. 0x0a linefeed). Each entry has the form
   OPTIONID [OPTIONNAME]:VALUE   OPTIONID [OPTIONNAME]:VALUE
 The OPTIONID followed by an ordinary space (0x20). The ''OPTIONNAME'' is typically empty when sending data from the USB host to the device. VALUE can be empty or any other string describing the option value. The OPTIONID followed by an ordinary space (0x20). The ''OPTIONNAME'' is typically empty when sending data from the USB host to the device. VALUE can be empty or any other string describing the option value.
- 
-^  byte(s)  ^ value   ^ description ^ 
-|  0   | 0x40 (@)     | magic byte indicating a command from the device | 
-|  1-2   | 0x0000 (\0\0)    | Unknown, always 0 | 
-|  3-4   | content length  | Length of the packet contents (excluding this header), LITTLE ENDIAN (lower byte first) | 
-|  5-12  | sendername     | boxname of the sending device (something like "PT9E2D2F", "PT" + last 6 bytes of MAC) | 
  
 ==== Device option ranges ==== ==== Device option ranges ====
Zeile 73: Zeile 132:
 |  9100     | Request configuration from the device | full device config | |  9100     | Request configuration from the device | full device config |
 |  9107     | Start wlan scan  | empty (only header) | |  9107     | Start wlan scan  | empty (only header) |
-|  9971     | Unknown (only called for ad-hoc after network scan)  | ''1'' | 
  
-==== USB detection / device capabilities ==== 
  
-One USB request (command ''9100''), returning all configuration options, each on a separate line (0x0a linefeed) character as described above. +Sample configuration returned by the 9100 command: 
-For a list of all options, see below. +  0001 BOX_NAME:VAP11G 
- +  0002 MAC_ADDR:00171311FCD0 
-  0040  40 00 06 00 58 58 58 58 58 58 58 58 39 31 30 30   @...XXXXXXXX9100 +  7000 SSID:Trafostation 
-  0050  3a 0a                                             :+  7001 DOMAIN:16 
-      0040  40 00 00 e3 03 50 54 39 45 32 44 32 46 30 30 30   @....PT9E2D2F000 +  7002 CHANNEL: 
-      0050  31 20 42 4f 58 5f 4e 41 4d 45 3a 57 50 54 39 45   1 BOX_NAME:WPT9E +  7003 SECMODE:3 
-      0060  32 44 32 46 0a 30 30 31 32 20 54 43 50 49 50 5f   2D2F.0012 TCPIP_ +  7004 KEY_LEN:32
-      0070  50 20 3a 45 6e 61 62 6c 65 0a 30 31 30 30 20 4c   P :Enable.0100 L +
-      0080  31 5f 50 52 4f 55 54 3a 50 31 0a 30 31 30 31 20   1_PROUT:P1.0101  +
-      0090  4c 31 5f 50 52 45 53 54 3a 0a 30 31 30 32 20 4c   L1_PREST:.0102 L +
-      00a0  31 5f 50 4f 53 54 52 3a 0a 30 31 30 33 20 4c 31   1_POSTR:.0103 L1 +
-      00b0  5f 43 48 47 4c 46 3a 4e 6f 0a 30 31 32 30 20 4c   _CHGLF:No.0120 L +
-      00c0  32 5f 50 52 4f 55 54 3a 50 31 0a 30 31 32 31 20   2_PROUT:P1.0121  +
-      00d0  4c 32 5f 50 52 45 53 54 3a 0a 30 31 32 32 20 4c   L2_PREST:.0122 L +
-      00e0  32 5f 50 4f 53 54 52 3a 0a 30 31 32 33 20 4c 32   2_POSTR:.0123 L2 +
-      00f0  5f 43 48 47 4c 46 3a 4e 6f 0a 30 31 34 30 20 4c   _CHGLF:No.0140 L +
-      0100  33 5f 50 52 4f 55 54 3a 50 31 0a 30 31 34 31 20   3_PROUT:P1.0141  +
-      0110  4c 33 5f 50 52 45 53 54 3a 0a 30 31 34 32 20 4c   L3_PREST:.0142 L +
-      0120  33 5f 50 4f 53 54 52 3a 0a 30 31 34 33 20 4c 33   3_POSTR:.0143 L3 +
-      0130  5f 43 48 47 4c 46 3a 4e 6f 0a 34 30 30 30 20 49   _CHGLF:No.4000 I +
-      0040  50 5f 41 44 44 52 3a 30 2e 30 2e 30 2e 30 0a 34   P_ADDR:0.0.0.0.4 +
-      0050  30 30 31 20 47 41 54 45 57 41 59 3a 30 2e 30 2e   001 GATEWAY:0.0. +
-      0060  30 2e 30 0a 34 30 30 32 20 4d 41 53 4b 20 20 20   0.0.4002 MASK    +
-      0070  3a 30 2e 30 2e 30 2e 30 0a 34 30 31 30 20 54 43   :0.0.0.0.4010 TC +
-      0080  50 5f 49 4e 54 3a 30 0a 34 30 31 31 20 54 43 50   P_INT:0.4011 TCP +
-      0090  5f 43 4e 54 3a 30 0a 34 30 31 32 20 57 49 4e 53   _CNT:0.4012 WINS +
-      00a0  5f 49 50 3a 30 2e 30 2e 30 2e 30 0a 34 30 32 30   _IP:0.0.0.0.4020 +
-      00b0  20 44 48 43 50 5f 4d 4f 44 45 3a 45 6e 61 62 6c    DHCP_MODE:Enabl +
-      00c0  65 0a 37 30 30 30 20 53 53 49 44 3a 6b 61 69 6e   e.7000 SSID:kain +
-      00d0  68 6f 66 65 72 0a 37 30 30 31 20 44 4f 4d 41 49   hofer.7001 DOMAI +
-      00e0  4e 3a 31 30 0a 37 30 30 32 20 43 48 41 4e 4e 45   N:10.7002 CHANNE +
-      00f0  4c 3a 36 0a 37 30 30 33 20 53 45 43 4d 4f 44 45   L:6.7003 SECMODE +
-      0100  3a 32 0a 37 30 30 34 20 4b 45 59 5f 4c 45 4e 3a   :2.7004 KEY_LEN: +
-      0110  30 0a 37 30 30 35 20 44 45 46 41 55 4c 54 4b 45   0.7005 DEFAULTKE +
-      0120  59 3a 30 0a 37 30 30 36 20 4b 45 59 30 3a 0a 37   Y:0.7006 KEY0:.7 +
-      0130  30 30 37 20 4b 45 59 31 3a 0a 37 30 30 38 20 4b   007 KEY1:.7008 K +
-      0040  45 59 32 3a 0a 37 30 30 39 20 4b 45 59 33 3a 0a   EY2:.7009 KEY3:. +
-      0050  37 30 31 32 20 41 55 54 48 45 4e 3a 31 0a 37 30   7012 AUTHEN:1.70 +
-      0060  31 33 20 4d 4f 44 45 3a 30 0a 37 30 31 34 20 4c   13 MODE:0.7014 L +
-      0070  49 4e 4b 49 4e 46 4f 3a 53 54 41 54 45 3a 44 69   INKINFO:STATE:Di +
-      0080  73 63 6f 6e 6e 65 63 74 65 64 3b 43 48 41 4e 4e   sconnected;CHANN +
-      0090  45 4c 3a 36 3b 54 58 52 41 54 45 3a 30 3b 54 58   EL:6;TXRATE:0;TX +
-      00a0  3a 30 3b 52 58 3a 30 3b 51 55 41 4c 49 54 59 3a   :0;RX:0;QUALITY: +
-      00b0  4e 6f 74 20 41 70 70 6c 69 63 61 62 6c 65 3b 53   Not Applicable;+
-      00c0  54 52 45 4e 47 54 48 3a 4e 6f 74 20 41 70 70 6c   TRENGTH:Not Appl +
-      00d0  69 63 61 62 6c 65 3b 0a 37 30 31 37 20 57 50 41   icable;.7017 WPA +
-      00e0  3a 57 50 41 32 0a 37 30 31 38 20 50 53 4b 41 4c   :WPA2.7018 PSKAL +
-      00f0  53 45 54 3a 30 0a 37 30 31 39 20 50 53 4b 4b 45   SET:0.7019 PSKKE +
-      0100  59 3a 72 65 69 6e 68 6f 6c 64 0a 37 30 32 30 20   Y:reinhold.7020  +
-      0110  50 53 4b 41 4c 3a 54 4b 49 50 3b 41 45 53 3b 0a   PSKAL:TKIP;AES;+
-      0120  37 30 32 31 20 53 55 52 56 45 59 3a 0a 37 30 32   7021 SURVEY:.702 +
-      0130  33 20 57 50 41 32 41 4c 3a 54 4b 49 50 3b 41 45   3 WPA2AL:TKIP;AE +
-      0040  53 3b 0a 37 30 32 34 20 53 54 41 4d 4f 44 45 3a   S;.7024 STAMODE: +
-      0050  30 0a 37 30 32 35 20 41 50 43 48 41 4e 4e 45 4c   0.7025 APCHANNEL +
-      0060  3a 36 0a 37 30 32 36 20 43 48 4d 4f 44 45 3a 31   :6.7026 CHMODE:1 +
-      0070  0a 37 30 33 30 20 57 4c 4d 4f 44 45 3a 30 0a 37   .7030 WLMODE:0.7 +
-      0080  31 30 30 20 41 50 53 53 49 44 3a 57 50 54 5f 35   100 APSSID:WPT_5 +
-      0090  30 34 35 35 41 0a 37 31 30 33 20 41 50 53 45 43   0455A.7103 APSEC +
-      00a0  4d 4f 44 45 3a 30 0a 37 31 30 34 20 41 50 4b 45   MODE:0.7104 APKE +
-      00b0  59 5f 4c 45 4e 3a 30 0a 37 31 30 35 20 41 50 44   Y_LEN:0.7105 APD +
-      00c0  45 46 41 55 4c 54 4b 45 3a 30 0a 37 31 30 36 20   EFAULTKE:0.7106  +
-      00d0  41 50 4b 45 59 30 3a 0a 37 31 30 37 20 41 50 4b   APKEY0:.7107 APK +
-      00e0  45 59 31 3a 0a 37 31 30 38 20 41 50 4b 45 59 32   EY1:.7108 APKEY2 +
-      00f0  3a 0a 37 31 30 39 20 41 50 4b 45 59 33 3a 0a 37   :.7109 APKEY3:.7 +
-      0100  31 31 32 20 41 50 41 55 54 48 45 4e 3a 31 0a 37   112 APAUTHEN:1.7 +
-      0110  31 31 38 20 41 50 50 53 4b 41 4c 53 45 54 3a 30   118 APPSKALSET:+
-      0120  0a 37 31 31 39 20 41 50 50 53 4b 4b 45 59 3a 0a   .7119 APPSKKEY:+
- +
-++++The configuration data in human-readable form:| +
-  0001 BOX_NAME:WPT9E2D2F +
-  0012 TCPIP_P :Enable +
-  0100 L1_PROUT:P1 +
-  0101 L1_PREST: +
-  0102 L1_POSTR: +
-  0103 L1_CHGLF:No +
-  0120 L2_PROUT:P1 +
-  0121 L2_PREST: +
-  0122 L2_POSTR: +
-  0123 L2_CHGLF:No +
-  0140 L3_PROUT:P1 +
-  0141 L3_PREST: +
-  0142 L3_POSTR: +
-  0143 L3_CHGLF:No +
-  4000 IP_ADDR:0.0.0.0 +
-  4001 GATEWAY:0.0.0.0 +
-  4002 MASK   :0.0.0.0 +
-  4010 TCP_INT:0 +
-  4011 TCP_CNT:0 +
-  4012 WINS_IP:0.0.0.0 +
-  4020 DHCP_MODE:Enable +
-  7000 SSID:kainhofer +
-  7001 DOMAIN:10 +
-  7002 CHANNEL:6 +
-  7003 SECMODE:2 +
-  7004 KEY_LEN:0+
   7005 DEFAULTKEY:0   7005 DEFAULTKEY:0
-  7006 KEY0: +  7006 KEY0:0000000000000000000000000000000000000000000000000000000000000000 
-  7007 KEY1: +  7007 KEY1:0000000000000000000000000000000000000000000000000000000000000000 
-  7008 KEY2: +  7008 KEY2:0000000000000000000000000000000000000000000000000000000000036400 
-  7009 KEY3: +  7009 KEY3:0000000000000000000000000000000364002B092A0900000000000000000000 
-  7012 AUTHEN:1+  7012 AUTHEN:3
   7013 MODE:0   7013 MODE:0
-  7014 LINKINFO:STATE:Disconnected;CHANNEL:6;TXRATE:0;TX:0;RX:0;QUALITY:Not Applicable;STRENGTH:Not Applicable;+  7014 LINKINFO:SSID:Trafostation\x0bSTATE:Scanning\x0bCHANNEL:\x0bSECURITY:3\x0bTX:0\x0bRX:0\x0bQUALITY:Poor(0%)\x0bSTRENGTH:Poor(0%)\x0b
   7017 WPA:WPA2   7017 WPA:WPA2
-  7018 PSKALSET:0 +  7018 PSKALSET:
-  7019 PSKKEY:reinhold +  7019 PSKKEY:12345678 
-  7020 PSKAL:TKIP;AES; +  7020 PSKAL:TKIP; 
-  7021 SURVEY: +  7021 SURVEY:[see below] 
-  7023 WPA2AL:TKIP;AES; +  7022 BAND:0
-  7024 STAMODE:0 +
-  7025 APCHANNEL:+
-  7026 CHMODE:1 +
-  7030 WLMODE:0 +
-  7100 APSSID:WPT_50455A +
-  7103 APSECMODE:+
-  7104 APKEY_LEN:+
-  7105 APDEFAULTKE:+
-  7106 APKEY0: +
-  7107 APKEY1: +
-  7108 APKEY2: +
-  7109 APKEY3: +
-  7112 APAUTHEN:+
-  7118 APPSKALSET:+
-  7119 APPSKKEY: +
-++++ +
-++++Example when print server is connected to a WLAN:| +
-  @....PT9E2D2F +
-  0001 BOX_NAME:WPT9E2D2F +
-  0012 TCPIP_P :Enable +
-  0100 L1_PROUT:P1 +
-  0101 L1_PREST: +
-  0102 L1_POSTR: +
-  0103 L1_CHGLF:No +
-  0120 L2_PROUT:P1 +
-  0121 L2_PREST: +
-  0122 L2_POSTR: +
-  0123 L2_CHGLF:No +
-  0140 L3_PROUT:P1 +
-  0141 L3_PREST: +
-  0142 L3_POSTR: +
-  0143 L3_CHGLF:No +
-  4000 IP_ADDR:128.131.192.44 +
-  4001 GATEWAY:128.131.192.1 +
-  4002 MASK   :255.255.248.0 +
-  4010 TCP_INT:0 +
-  4011 TCP_CNT:0 +
-  4012 WINS_IP:0.0.0.0 +
-  4020 DHCP_MODE:Enable +
-  7000 SSID:tunet +
-  7001 DOMAIN:10 +
-  7002 CHANNEL:5 +
-  7003 SECMODE:0 +
-  7004 KEY_LEN:0 +
-  7005 DEFAULTKEY:+
-  7006 KEY0: +
-  7007 KEY1: +
-  7008 KEY2: +
-  7009 KEY3: +
-  7012 AUTHEN:1 +
-  7013 MODE:0 +
-  7014 LINKINFO:STATE:Associated - BSS ID = B4:A4:E3:B4:F7:23;SSID:tunet;CHANNEL:5;TXRATE:48;TX:0;RX:1440;QUALITY:Low(20%);STRENGTH:Low(20%); +
-  7017 WPA:WPA2 +
-  7018 PSKALSET:0 +
-  7019 PSKKEY: +
-  7020 PSKAL:TKIP;AES+
-  7021 SURVEY: +
-  7023 WPA2AL:TKIP;AES; +
-  7024 STAMODE:0 +
-  7025 APCHANNEL:+
-  7026 CHMODE:1 +
-  7030 WLMODE:0 +
-  7100 APSSID:WPT_50455A +
-  7103 APSECMODE:+
-  7104 APKEY_LEN:+
-  7105 APDEFAULTKE:+
-  7106 APKEY0: +
-  7107 APKEY1: +
-  7108 APKEY2: +
-  7109 APKEY3: +
-  7112 APAUTHEN:+
-  7118 APPSKALSET:+
-  7119 APPSKKEY: +
-+++++
  
-==== Retrieving WLAN access points ==== 
  
-  * A 9107 command initiates a WIFI scan on the device 
-    * after 5 seconds, the full configuration is requested (9100 command).  
-    * The results of the scan are stored in the ''7021 SURVEY'' variable. 
-    * If that variable is empty, the 9107 wifi scan and the 9100 are repeated 
-  * Break when the survey returns results. 
- 
- 
-  0040  40 00 07 00 58 58 58 58 58 58 58 58 39 31 30 37   @...XXXXXXXX9107 
-  0050  3a 0d 0a                                          :.. 
-      0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F 
-  [5 seconds pause] 
-  0040  40 00 07 00 58 58 58 58 58 58 58 58 39 31 30 30   @...XXXXXXXX9100 
-  0050  3a 0d 0a                                          :.. 
-      0040  40 00 00 e3 03 50 54 39 45 32 44 32 46 30 30 30   @....PT9E2D2F000 
-      0050  31 20 42 4f 58 5f 4e 41 4d 45 3a 57 50 54 39 45   1 BOX_NAME:WPT9E 
-      [...] 
-      0120  37 30 32 31 20 53 55 52 56 45 59 3a 65 64 75 72   7021 SURVEY:edur 
-      0130  6f 61 6d 0c 62 34 61 34 65 33 62 34 66 37 32 30   oam.b4a4e3b4f720 
-      0040  2c 35 2c 47 2c 38 2c 31 30 2c 30 0b 77 6c 61 6e   ,5,G,8,10,0.wlan 
-      0050  69 70 73 65 63 0c 62 34 61 34 65 33 62 34 66 37   ipsec.b4a4e3b4f7 
-      0060  32 31 2c 35 2c 47 2c 30 2c 32 30 2c 30 0b 61 6d   21,5,G,0,20,0.am 
-      0070  61 63 69 2e 61 74 0c 30 30 31 64 37 65 33 30 64   aci.at.001d7e30d 
-      0080  38 30 62 2c 36 2c 47 2c 34 2c 31 30 2c 30 0b 55   80b,6,G,4,10,0.U 
-      0090  50 43 30 31 31 30 32 35 0c 30 30 31 65 36 39 36   PC011025.001e696 
-      00a0  32 64 31 66 61 2c 31 2c 47 2c 31 2c 31 30 2c 30   2d1fa,1,G,1,10,0 
-      00b0  0b 74 75 6e 65 74 0c 62 34 61 34 65 33 62 34 66   .tunet.b4a4e3b4f 
-      00c0  37 32 33 2c 35 2c 47 2c 30 2c 31 30 2c 30 0b 0a   723,5,G,0,10,0.. 
-      [...] 
  
 Format of the ''7021 SURVEY'' variable: Format of the ''7021 SURVEY'' variable:
Zeile 311: Zeile 177:
   UPC011025[formfeed]001e6962d1fa,1,G,1,10,0[linetab]   UPC011025[formfeed]001e6962d1fa,1,G,1,10,0[linetab]
   tunet[formfeed]b4a4e3b4f723,5,G,0,10,0[linetab]   tunet[formfeed]b4a4e3b4f723,5,G,0,10,0[linetab]
- 
-=== Ad-hoc network === 
-Network discovery works with the same ''9100'' and ''9107'' commands, but afterwards one additional ''9971'' command is sent: 
- 
-  0040  40 00 06 00 58 58 58 58 58 58 58 58 39 39 37 31   @...XXXXXXXX9971 
-  0050  3a 0a                                             :. 
-      0040  40 00 00 01 00 50 54 39 45 32 44 32 46 31         @....PT9E2D2F1 
  
 ==== Setting the wlan access point ==== ==== Setting the wlan access point ====
  
 Changing settings on the device works by simply sending a new configuration file containing only those options that should be changed.  Changing settings on the device works by simply sending a new configuration file containing only those options that should be changed. 
-Example: WLAN settings: ESSID "tunet", no encryption or authentication, addresses via DHCP +Example: WLAN settings: ESSID "kainhofer", passphrase "reinhold", addresses via DHCP
- +
-  0040  40 00 09 01 58 58 58 58 58 58 58 58 34 30 30 30   @...XXXXXXXX4000 +
-  0050  20 3a 30 2e 30 2e 30 2e 30 0a 34 30 30 31 20 3a    :0.0.0.0.4001 : +
-  0060  30 2e 30 2e 30 2e 30 0a 34 30 30 32 20 3a 30 2e   0.0.0.0.4002 :0. +
-  0070  30 2e 30 2e 30 0a 34 30 32 30 20 3a 45 6e 61 62   0.0.0.4020 :Enab +
-  0080  6c 65 0a 34 30 32 31 20 3a 45 6e 61 62 6c 65 0a   le.4021 :Enable. +
-  0090  34 30 32 32 20 3a 45 6e 61 62 6c 65 0a 35 30 30   4022 :Enable.500 +
-  00a0  30 20 3a 0a 35 30 30 33 20 3a 0a 35 31 30 31 20   0 :.5003 :.5101  +
-  00b0  3a 0a 35 31 30 32 20 3a 0a 35 31 30 34 20 3a 0a   :.5102 :.5104 :. +
-  00c0  35 31 30 33 20 3a 0a 37 30 30 30 20 3a 74 75 6e   5103 :.7000 :tun +
-  00d0  65 74 0a 37 30 30 31 20 3a 0a 37 30 30 32 20 3a   et.7001 :.7002 : +
-  00e0  35 0a 37 30 30 33 20 3a 30 0a 37 30 30 34 20 3a   5.7003 :0.7004 : +
-  00f0  30 0a 37 30 30 35 20 3a 30 0a 37 30 30 36 20 3a   0.7005 :0.7006 : +
-  0100  0a 37 30 30 37 20 3a 0a 37 30 30 38 20 3a 0a 37   .7007 :.7008 :.7 +
-  0110  30 30 39 20 3a 0a 37 30 31 32 20 3a 31 0a 37 30   009 :.7012 :1.70 +
-  0120  31 33 20 3a 30 0a 37 30 31 38 20 3a 30 0a 37 30   13 :0.7018 :0.70 +
-  0130  31 39 20 3a 0a 37 30 32 34 20 3a 30 0a 37 30 32   19 :.7024 :0.702 +
-  0040  35 20 3a 35 0a 37 30 32 36 20 3a 31 0a 37 30 33   5 :5.7026 :1.703 +
-  0050  30 20 3a 30 0a                                    0 :0. +
-      [empty response] +
-  0040  40 00 06 00 58 58 58 58 58 58 58 58 39 30 30 32   @...XXXXXXXX9002 +
-  0050  3a 0a                                             :. +
-      1.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F +
-      2.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F +
-      3.) [empty]+
  
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 01 01   ........'Q......
 +  0010  01 00 00 00 00 00 85 00 37 30 30 30 20 3a 6b 61   ........7000 :ka
 +  0020  69 6e 68 6f 66 65 72 0a 37 30 30 31 20 3a 31 36   inhofer.7001 :16
 +  0030  0a 37 30 30 32 20 3a 30 0a 37 30 30 33 20 3a 32   .7002 :0.7003 :2
 +  0040  0a 37 30 30 34 20 3a 33 32 0a 37 30 30 35 20 3a   .7004 :32.7005 :
 +  0050  30 0a 37 30 30 36 20 3a 0a 37 30 30 37 20 3a 0a   0.7006 :.7007 :.
 +  0060  37 30 30 38 20 3a 0a 37 30 30 39 20 3a 0a 37 30   7008 :.7009 :.70
 +  0070  31 32 20 3a 33 0a 37 30 31 33 20 3a 30 0a 37 30   12 :3.7013 :0.70
 +  0080  31 38 20 3a 30 0a 37 30 31 39 20 3a 72 65 69 6e   18 :0.7019 :rein
 +  0090  68 6f 6c 64 0a 37 30 32 32 20 3a 30 0a            hold.7022 :0.
  
 ++++Human-readable form of the config data sent to the device:| ++++Human-readable form of the config data sent to the device:|
-  @...XXXXXXXX +  7000 :kainhofer 
-  4000 :0.0.0.0 +  7001 :16 
-  4001 :0.0.0.0 +  7002 :0 
-  4002 :0.0.0.0 +  7003 :2 
-  4020 :Enable +  7004 :32
-  4021 :Enable +
-  4022 :Enable +
-  5000 : +
-  5003 : +
-  5101 : +
-  5102 : +
-  5104 : +
-  5103 : +
-  7000 :tunet +
-  7001 : +
-  7002 :5 +
-  7003 :0 +
-  7004 :0+
   7005 :0   7005 :0
   7006 :   7006 :
Zeile 374: Zeile 205:
   7008 :   7008 :
   7009 :   7009 :
-  7012 :1+  7012 :3
   7013 :0   7013 :0
   7018 :0   7018 :0
-  7019 : +  7019 :reinhold 
-  7024 :0 +  7022 :0
-  7025 :5 +
-  7026 :1 +
-  7030 :0+
 ++++ ++++
- 
-=== Ad-hoc network settings === 
- 
-  0040  40 00 79 00 58 58 58 58 58 58 58 58 37 30 32 34   @.y.XXXXXXXX7024 
-  0050  20 3a 31 0a 37 30 32 35 20 3a 36 0a 37 30 32 36    :1.7025 :6.7026 
-  0060  20 3a 31 0a 37 30 33 30 20 3a 31 0a 37 31 30 30    :1.7030 :1.7100 
-  0070  20 3a 72 65 69 6e 68 6f 63 0a 37 31 30 33 20 3a    :reinhoc.7103 : 
-  0080  30 0a 37 31 30 34 20 3a 30 0a 37 31 30 35 20 3a   0.7104 :0.7105 : 
-  0090  30 0a 37 31 30 36 20 3a 0a 37 31 30 37 20 3a 0a   0.7106 :.7107 :. 
-  00a0  37 31 30 38 20 3a 0a 37 31 30 39 20 3a 0a 37 31   7108 :.7109 :.71 
-  00b0  31 32 20 3a 31 0a 37 31 31 38 20 3a 30 0a 37 31   12 :1.7118 :0.71 
-  00c0  31 39 20 3a 0a                                    19 :. 
-      [empty response] 
-  0040  40 00 06 00 58 58 58 58 58 58 58 58 39 30 30 32   @...XXXXXXXX9002 
-  0050  3a 0a                                             :. 
-      1.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F 
-      2.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F 
-      3.) [empty] 
- 
-++++Human-readable form of the config data sent to the device:| 
-  @.y.XXXXXXXX 
-  7024 :1 
-  7025 :6 
-  7026 :1 
-  7030 :1 
-  7100 :reinhoc 
-  7103 :0 
-  7104 :0 
-  7105 :0 
-  7106 : 
-  7107 : 
-  7108 : 
-  7109 : 
-  7112 :1 
-  7118 :0 
-  7119 : 
-++++ 
- 
-==== Resetting the device ==== 
- 
-The device is reset with the ''9002'' command, but the timing is extremely relevant to prevent USB errors and/or USB interface being still held open. 
- 
- 
-  0040  40 00 06 00 58 58 58 58 58 58 58 58 39 30 30 32   @...XXXXXXXX9002 
-  0050  3a 0a                                             :. 
-      1.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F 
-      2.) 0040  40 00 00 00 00 50 54 39 45 32 44 32 46            @....PT9E2D2F 
-      3.) [empty] 
- 
  
  
Zeile 437: Zeile 216:
  
 ^  Var.ID  ^Var.Name^value^comments^ ^  Var.ID  ^Var.Name^value^comments^
-|  0001  |"BOX_NAME"|WPT9E2D2F  | +|  0001  |"BOX_NAME"|VAP11G  | 
-|  0012  |"TCPIP_P "|Enable  +|  0002  |"MAC_ADDR"|00171311FCD0  | 
-|  0100  |"L1_PROUT"|P1 +|  7000  |"SSID"|kainhofer  |
-|  0101  |"L1_PREST"+
-|  0102  |"L1_POSTR"+
-|  0103  |"L1_CHGLF"|No +
-|  0120  |"L2_PROUT"|P1 +
-|  0121  |"L2_PREST"+
-|  0122  |"L2_POSTR"+
-|  0123  |"L2_CHGLF"|No +
-|  0140  |"L3_PROUT"|P1 +
-|  0141  |"L3_PREST"+
-|  0142  |"L3_POSTR"+
-|  0143  |"L3_CHGLF"|No +
-|  4000  |"IP_ADDR"|128.131.192.44 +
-|  4001  |"GATEWAY"|128.131.192.1 +
-|  4002  |"MASK   "|255.255.248.0 +
-|  4010  |"TCP_INT"|0 +
-|  4011  |"TCP_CNT"|0 +
-|  4012  |"WINS_IP"|0.0.0.0 +
-|  4020  |"DHCP_MODE"|Enable +
-|  4021  |  -      | Enable | FIXME: Unknown | +
-|  4022  |  -      | Enable | FIXME: Unknown | +
-|  5000  |  -      |  | FIXME: Unknown | +
-|  5003  |  -      |  | FIXME: Unknown | +
-|  5101  |  -      |  | FIXME: Unknown | +
-|  5102  |  -      |  | FIXME: Unknown | +
-|  5103  |  -      |  | FIXME: Unknown | +
-|  5104  |  -      |  | FIXME: Unknown +
-|  7000  |"SSID"|tunet  |+
 |  7001  |"DOMAIN"|10  | |  7001  |"DOMAIN"|10  |
 |  7002  |"CHANNEL"|5  | |  7002  |"CHANNEL"|5  |
Zeile 478: Zeile 230:
 |  7012  |"AUTHEN"|1  | |  7012  |"AUTHEN"|1  |
 |  7013  |"MODE"|0  | |  7013  |"MODE"|0  |
-|  7014  |"LINKINFO"|STATE:Associated - BSS ID = B4:A4:E3:B4:F7:23;SSID:tunet;CHANNEL:5;TXRATE:48;TX:0;RX:1440;QUALITY:Low(20%);STRENGTH:Low(20%) |+|  7014  |"LINKINFO"|Trafostation\x0bSTATE:Scanning\x0bCHANNEL:\x0bSECURITY:3\x0bTX:0\x0bRX:0\x0bQUALITY:Poor(0%)\x0bSTRENGTH:Poor(0%)\x0b  |
 |  7017  |"WPA"|WPA2  | |  7017  |"WPA"|WPA2  |
 |  7018  |"PSKALSET"|0  | |  7018  |"PSKALSET"|0  |
Zeile 484: Zeile 236:
 |  7020  |"PSKAL"|TKIP;AES;  | |  7020  |"PSKAL"|TKIP;AES;  |
 |  7021  |"SURVEY" | |  7021  |"SURVEY" |
-|  7023  |"WPA2AL"|TKIP;AES; +|  7022  |"BAND"| 0 |
-|  7024  |"STAMODE"|0  | +
-|  7025  |"APCHANNEL"|5 +
-|  7026  |"CHMODE"|1 +
-|  7030  |"WLMODE"|0 +
-|  7100  |"APSSID"|WPT_50455A +
-|  7103  |"APSECMODE"|0 +
-|  7104  |"APKEY_LEN"|0 +
-|  7105  |"APDEFAULTKE"|0 +
-|  7106  |"APKEY0"+
-|  7107  |"APKEY1"+
-|  7108  |"APKEY2"+
-|  7109  |"APKEY3"+
-|  7112  |"APAUTHEN"|1 +
-|  7118  |"APPSKALSET"|0 +
-|  7119  |"APPSKKEY"|  |+
  
hardware/vap11g_wlan_bridge.1327162006.txt.gz · Zuletzt geändert: 2013/03/13 10:42 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki