Benutzer-Werkzeuge

Webseiten-Werkzeuge


ap1101-automatisierung

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

ap1101-automatisierung [2017/05/04 17:49]
benny angelegt
ap1101-automatisierung [2017/05/04 20:47] (aktuell)
benny
Zeile 1: Zeile 1:
 ====== AP1101 Automatisierung ====== ====== AP1101 Automatisierung ======
 +
 +===== AP =====
 +  * DHCP Server (zwingend)
 +  * HTTPS Server (optional) 
 +  * HTTP Server (zwingend)
 +  * TFTP Server (zwingend)
 +
 +==== dhcpd.conf (isc-dhcp-server) ====
 +
 +<code>
 +#
 +# Classify stellar Wireless AP as HANAP
 +#
 + 
 +class "HANAP" {
 +  match if substring (option vendor-class-identifier, 0, 4) = "HAP.";
 +}
 + 
 +subnet 192.168.10.0 netmask 255.255.255.0 {
 +  option routers 192.168.10.1;
 +  option broadcast-address 192.168.10.255;
 +  option domain-name-servers 192.168.10.1;
 +  option domain-name "vlan10.home";
 +  option ntp-servers 192.168.10.1;
 +  default-lease-time 6000;
 +  max-lease-time 72000;
 +  # Pool for HANAP
 +  pool {
 +       allow members of "HANAP";
 +       range 192.168.10.10 192.168.10.20;
 +       # Option 66
 +       option tftp-server-name "192.168.10.1";
 +       # Option 67 (instruction file to download via tftp)
 +       option bootfile-name "hap_instruction.ini";
 +  }
 +  pool {
 +       range 192.168.10.21 192.168.10.50;
 +       allow unknown-clients;
 +  }
 +}
 +</code>
 +
 +Instruction Datei muss via DHCP (Offer) Option 67 angeflogen kommen. **Die Namen der Dateien können nicht geändert werden!**
 +In Option 66 muss der Server stehen (IP für TFTP).
 +
 +==== hap_instruction.ini ====
 +<code>
 +imgdesc:"http://192.168.10.1/oaw/hap_imgdesc.ini"
 +imgurlhead:"http://192.168.10.1/oaw/img/"
 +conf:"http://192.168.10.1/oaw/hap_conf.ini"
 +</code>
 +(conf: kann auch HTTPS sein!)
 +
 +==== hap_imgdesc.ini ====
 +<code>
 +config model 'AP1101'
 +    option version '2.1.0.110'
 +    option filename 'AOS-WNG-2.1.0.110.bin'
 +    option md5 '6f92c397067484ff5075484c24c529c5'
 +</code>
 +
 +==== hap_conf.ini ====
 +<code>
 +config ap
 +    option countrycode 'DE'
 +    option password 'blubbla123' <- Needs to be unencrypted, this is for "Administrator" WebGUI password
 + 
 +config wifi-iface "Markt"
 +    option ssid 'Markt' 
 +    option key 'vollsicher'
 +    option encryption 'psk-mixed+tkip+aes'
 +    option network_type 'employee'
 +    option network 'wan'
 + 
 +config wifi-iface "Scanner"
 +    option ssid 'Scanner' 
 +    option key 'vollsicher'
 +    option encryption 'psk-mixed+tkip+aes'
 +    option network_type 'employee'
 +    option network 'wan'
 + 
 +config wifi-iface "FreeWIFI"
 +    option ssid 'FreeWIFI' 
 +    option key 'vollsicher'
 +    option encryption 'psk-mixed+tkip+aes'
 +    option network_type 'employee'
 +    option network 'wan'
 +</code>
 +
 +===== Switch =====
 +(out of scope für den Moment) 
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Zeile 7: Zeile 98:
   * Prüfen welches AOS-WNG Release   * Prüfen welches AOS-WNG Release
   * Konfiguration   * Konfiguration
-  * Update des AOS-WNG? +  * Update des AOS-WNG? => ja, aber nur 1x 
-  * DHCP, HTTPS, TFTP?+  * DHCP, HTTP(S), TFTP? => yep
  
 OmniSwitch Modelle bzgl. die Vendor-Class-Identifier unterstützt von OXO: OmniSwitch Modelle bzgl. die Vendor-Class-Identifier unterstützt von OXO:
Zeile 78: Zeile 169:
 webview wlan cluster-virtual-ip 192.168.92.134 webview wlan cluster-virtual-ip 192.168.92.134
 </code> </code>
- 
- 
-===== AP ===== 
-  * DHCP server (mandatory) 
-  * HTTPS file server (mandatory)  
-  * HTTP file server (mandatory) 
- 
-Via HTTPS, URL path https://<OXO_IP>/securcfg/ 
-Via HTTP, URL path http://<OXO_IP>/tpcfg/ 
- 
-Instruction Datei muss via DHCP Offer option 67 angeflogen kommen. Die Namen können nicht geändert werden! 
-In Option 66 muss der Server stehen (wird dann wohl TFTP machen danach). 
- 
-hap_instruction.ini 
-<code> 
-imgdesc:"http://192.168.92.246/hap_imgdesc.ini" 
-imgurlhead:"http://192.168.92.246/hpimages/" 
-conf:"https://192.168.92.246/hap_conf.ini" 
-</code> 
- 
-hap_instruction.ini (Benny) 
-<code> 
-imgdesc:"http://192.168.0.177/oaw/hap_imgdesc.ini" 
-imgurlhead:"http://192.168.0.177/oaw/img/" 
-conf:"http://192.168.0.177/oaw/hap_conf.ini" 
-</code> 
-(conf: kann auch HTTPS sein!) 
- 
-hap_conf.ini 
-<code> 
-config ap 
-    option countrycode 'US' 
-    option password '123456' 
-    option clustervip '192.168.92.134’ 
- 
-config wifi-iface "staff" 
-    option ssid 'staff_ssid'  
-    option key 'staff_12345678'  
-    option network 'vlan1' 
- 
-config wifi-iface "voice" 
-    option ssid 'voice_ssid'  
-    option key 'voice_87654321'  
-    option network 'vlan3' 
- 
-config wifi-iface "guest" 
-    option ssid 'guest_ssid'  
-    option key ‘guest_23334353’ 
-    option network 'vlan1' 
-</code> 
- 
-hap_conf.ini (Benny) 
-<code> 
-config ap 
-    option countrycode 'DE' 
-    option password '123456' 
-    option clustervip '192.168.10.200’ 
- 
-config wifi-iface "staff" 
-    option ssid 'staff_ssid'  
-    option key 'wpakey12345'  
-    option network 'vlan11' 
-</code> 
- 
-hap_imgdesc.ini 
-<code> 
-config model 'AP1101' 
-    option version '2.1.1' 
-    option filename 'hos-r21-sysupgrade.bin'  
-    option md5 '1234567890' 
-</code> 
- 
-<code> 
-pi@watchtux:/srv/tftp $ md5sum OAW-AP1101_3.0.0.39.bin  
-f711848f4c8a9b1352400cdffd96ef29  OAW-AP1101_3.0.0.39.bin 
-</code> 
- 
-hap_imgdesc.ini (Benny) 
-<code> 
-config model 'AP1101' 
-    option version '3.0.0.39' 
-    option filename 'OAW-AP1101_3.0.0.39.bin'  
-    option md5 'f711848f4c8a9b1352400cdffd96ef29' 
-</code> 
- 
ap1101-automatisierung.txt · Zuletzt geändert: 2017/05/04 20:47 von benny