Hopling Technologies B.V. H5486868 Benutzerhandbuch

Seite von 28
 
 
 
The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright 
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language 
without prior written consent of Hopling Technologies B.V..  
 
 
 
HD.02.104.00001
 
Page: 101(128)
 
 
11.2.10  Event: uploadConfig 
The portal server can signal to the Xnet Viper to send the current configuration to the CONFIG 
server after it receives a hoplingBoot event. This is done by sending back an uploadConfig 
command in the response to the http GET call. See also paragraph 11.2.5. 
 
The parameters sent in the uploadConfig event can be configured in the corresponding 
uploadConfig event file. The event file is found in the directory: 
 
/config/hopling/virtual_gw/virtual_gw_0/events
.  
 
The following are the factory default values that are set. 
 
#------------------------------------------------------------------------+ 
#                                                                        | 
# file: config/hopling/virtual_gw/virtual_gw_0/events/uploadConfig       | 
#                                                                        | 
# Configuration file for the Xnet Viper                               | 
# Hopling Technologies (c) 2004, 2005                                    | 
# Ivo van Ling (support@hopling.com)                                    | 
#                                                                        | 
# This file contains the configuration parameters for the "getConfig"    | 
# event.                                                                 | 
#                                                                        | 
# Last manual update : 06 April 2005                                     | 
#                                                                        | 
#------------------------------------------------------------------------+ 

# These are the Hopling Technologies parameters 
# Event name 
#TITLE="configuration parameters for the uploadConfig event." 
#START 
event uploadConfig 
 
# Additional Hopling parameters 
gateway_ID $GATEWAY_ID 
software_VER $SW_VERSION 
platform_VER $HW_PLATFORM 
macEth0 $MAC_ETH0 
ipEth0 $BR_WAN0_IP 
macEth1 $MAC_ETH1 
ipEth1 $BR_VGW0_IP 
macWlan0 $WIFI_0_MAC 
ipWlan0 $WIFI_0_IP 
wireless_NET $WIFI_0_SSID 
 
 
When an uploadConfig event is generated with the above configuration for the uploadConfig 
event the following URL is called from the Xnet Viper: 
 
http://www.hopling.nl/download_config/log.php?date=20050904193535&hopling=XnetMkI-
c20930&event=uploadConfig&gateway_ID=&software_VER=3.0.1&platform_VER=Net4511&macEth0=00:00:24:c
2:09:30&ipEth0=192.168.10.202&macEth1=00:00:24:c2:09:31&ipEth1=192.168.0.1&macWlan0=00:0c:84:01:
31:8c&ipWlan0=&wireless_NET=Hopling Technologies 0& 
 
At the same time the configuration of the Xnet Viper is sent to the portal web server by POSTing 
the configuration data in a FORM through this URL. 
 
For example, the contents of the file /config/hopling/hopling.conf are POSTed to the portal 
server like this: 
 
VERSION=3.0.1 
CONFIG_METHOD=auto 
CONFIG_SERVER=http://www.hopling.nl 
CONFIG_URL=download_config/factory_defaults.php 
LOG_SERVER=http://www.hopling.nl 
LOG_URL=download_config/log.php 
HOST_NAME= 
GATEWAY_ID= 
LOCATION_ID= 
SUPPLY_DNS=yes 
ENABLE_AP_MON=yes 
AP_DETECT=600