;
;	RTL8186 system configuration file for AP mode
;
;	$Id: config-ap.txt,v 1.2 2005/07/13 07:43:31 CAMEO+brian Exp $
;
;	Copyright (c) Realtek Semiconductor Corp., 2004. All Rights Reserved.

; Hardware setting
; ---------------------------------------------------------------------------
HW_NIC0_ADDR=00e04c818621	; Ethernet LAN address
HW_NIC1_ADDR=00e04c818622	; WAN mac address

; WLAN0 interface. Note: "WLAN0" means 8186 embedded wlan controller
HW_WLAN0_WLAN_ADDR=00e04c818621	; wlan0 MAC address
HW_WLAN0_REG_DOMAIN=1		; FCC=1, IC=2, ETSI=3, SPAIN=4, FRANCE=5, MKK=6, 
ISRAEL=7
HW_WLAN0_RF_TYPE=7		; 7 - RTL8225(11b/g), 8 - RTL8255(11b/g/a)
HW_WLAN0_TX_POWER_CCK=11 11 11 11 11 11 11 11 11 11 11 11 11 11 ; channel 1~14 Tx power for CCK
HW_WLAN0_TX_POWER_OFDM=18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18
				; channel 1~14 Tx power for OFDM
HW_WLAN0_ANT_DIVERSITY=0	; 1 - enable diversity, 0 - disable diversity
HW_WLAN0_TX_ANT=0		; Tx antenna, 0 - A , 1 - B
HW_WLAN0_INIT_GAIN=4		; baseband initial gain value
HW_WLAN0_CCA_MODE=0		; CCA mode
HW_WLAN0_LED_TYPE=5	; Except 0/1 is hardware wired, others are controlled by software
			; 	WLAN-LED0		WLAN-LED1
			; =============================================================
			;  0	tx			rx
			;  1	enabled/tx/rx		N/A
			;  2	link			tx/rx (data, management packet)
			;  3	link/tx/rx		N/A (data packet)
			;  4	link			tx-data/rx-data (data packet)
			;  5	link/tx-data/rx-data	N/A (data packet)
			;  6	enable			tx/rx (data packet)
			;  7	enable/tx-data/rx-data  N/A (data packet)

HW_WLAN0_TX_POWER2_CCK=8 8 8 8 8 8 8 8 8 8 8 8 8 8 ; channel 1~14 Tx power for CCK
HW_WLAN0_TX_POWER3_CCK=5 5 5 5 5 5 5 5 5 5 5 5 5 5 ; channel 1~14 Tx power for CCK
HW_WLAN0_TX_POWER4_CCK=2 2 2 2 2 2 2 2 2 2 2 2 2 2 ; channel 1~14 Tx power for CCK
HW_WLAN0_TX_POWER2_OFDM=15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15
				; channel 1~14 Tx power for OFDM
HW_WLAN0_TX_POWER3_OFDM=12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
				; channel 1~14 Tx power for OFDM
HW_WLAN0_TX_POWER4_OFDM=9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9
				; channel 1~14 Tx power for OFDM


; Firmware factory-default setting
; ---------------------------------------------------------------------------
; LAN interface
DEF_DEVICE_NAME="TRENDnet"	; device logical namem, referred by uPNP IGD name
DEF_ELAN_MAC_ADDR=000000000000	; Ethernet MAC clone address
DEF_IP_ADDR=192.168.1.100	; ip address
DEF_DHCP_CLIENT_START=192.168.1.101	; DHCP client range - start address
DEF_DHCP_CLIENT_END=192.168.1.200	; DHCP client range - end address
DEF_SUBNET_MASK=255.255.255.0		; subnet mask
DEFAULT_GATEWAY=0.0.0.0		; default route
DEF_DHCP=0			; DHCP mode, 0 - fixed ip, 1 - dhcp client, 2 - dhcp server
DEF_STP_ENABLED=0		; spanning tree protocol flag, 0 - disable, 1 - enable

DEF_DHCP_LEASE_TIME=604800	; 1 week

DEF_FW_CHECKSUM="18b8"	; total image checksum (webpage.bin+linux.bin)

; web management
DEF_SUPER_NAME=super		; supervisor user name, if NULL, supervisor account will be disabled
DEF_SUPER_PASSWORD=super	; supervisor user password, if NULL, supervisor account will be disabled
DEF_USER_NAME=			; user name
DEF_USER_PASSWORD="admin"	; user password

DEF_SCRLOG_ENABLED=0		; system Log flag, 0 - disabled, 1 - enabled (not supported yet)
DEF_AUTODISCOVERY_ENABLED=1	; auto-discovery flag, 0 - disabled, 1 - enabled
DEF_OP_MODE=0			; operation mode, 0 - gateway mode (LAN:br0(eth0+wlan0), WAN:eth1)
				; 		  1 - bridge mode (LAN:br0(eth0+eth1+wlan0))
				; 		  2 - WISP(wireless ISP) mode (LAN:br0(eth0+eth1), WAN:wlan0)
DEF_WISP_WAN_ID=0		; wlan interface id for WISP mode. 0 - use wlan0 as WAN and OP_MODE is set WISP.
				; 	1 - use wlan0 as WAN and OP_MODE is set WISP.	

; WLAN0 interface. Note: "WLAN0" means 8186 embedded wlan controller
DEF_WLAN0_WLAN_MAC_ADDR=000000000000; clone mac address
DEF_WLAN0_SSID=TRENDnet		; SSID
DEF_WLAN0_CHANNEL=6		; channel number
DEF_WLAN0_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
DEF_WLAN0_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
DEF_WLAN0_WEP64_KEY2=0000000000
DEF_WLAN0_WEP64_KEY3=0000000000
DEF_WLAN0_WEP64_KEY4=0000000000
DEF_WLAN0_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
DEF_WLAN0_WEP128_KEY2=00000000000000000000000000
DEF_WLAN0_WEP128_KEY3=00000000000000000000000000
DEF_WLAN0_WEP128_KEY4=00000000000000000000000000
DEF_WLAN0_WEP_DEFAULT_KEY=0	; default tx key id (0-3)
DEF_WLAN0_WEP_KEY_TYPE=1	; key type, 0 - ASCII, 1 - hex
DEF_WLAN0_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
DEF_WLAN0_RTS_THRESHOLD=2432	; RTS threshold, 0 - 2347
DEF_WLAN0_BASIC_RATES=15	; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN0_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_WLAN0_BEACON_INTERVAL=119	; beacon interval in ms(20-1024) default:100
DEF_WLAN0_PREAMBLE_TYPE=0	; preamble type, 0 - long preamble, 1 - short preamble
DEF_WLAN0_AUTH_TYPE=0		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
DEF_WLAN0_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
DEF_WLAN0_WLAN_DISABLED=0	; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
DEF_WLAN0_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
DEF_WLAN0_RATE_ADAPTIVE_ENABLED=1	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
DEF_WLAN0_MACAC_NUM=0		; existing table entry number for mac access control
DEF_WLAN0_MACAC_ENABLED=0	; wlan mac access control flag, 0 - disable, 1 - enable
DEF_WLAN0_DTIM_PERIOD=3		; DTIM period
DEF_WLAN0_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
DEF_WLAN0_BAND=3		; bit mask of band selection, 1-11b, 2-11g, 4-11a
DEF_WLAN0_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
DEF_MACAC_NUMMODE=0		; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

DEF_WLAN0_ENCRYPT=0		; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
DEF_WLAN0_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
DEF_WLAN0_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
DEF_WLAN0_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN0_WPA_PSK=		; WPA PSK value
DEF_WLAN0_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
DEF_WLAN0_RS_IP=0.0.0.0		; Radius serverIP address
DEF_WLAN0_RS_PORT=1812		; Radius server port
DEF_WLAN0_RS_PASSWORD=		; Radius server password
DEF_WLAN0_RS_2IP=0.0.0.0		; Radius server2 IP address
DEF_WLAN0_RS_2PORT=1812		; Radius server2 port
DEF_WLAN0_RS_2PASSWORD=		; Radius server2 password
DEF_WLAN0_RS_MAXRETRY=3		; Max retry of Radius server
DEF_WLAN0_RS_INTERVAL_TIME=5	; Interval time of retry
DEF_WLAN0_WPA2_PRE_AUTH=0	; WPA2 pre-authentication flag, 0 - disable, 1 - enable
DEF_WLAN0_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
DEF_WLAN0_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
DEF_WLAN0_IAPP_DISABLED=0	; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
DEF_WLAN0_PROTECTION_DISABLED=0	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

DEF_WLAN0_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
DEF_WLAN0_WDS_NUM=0		; existing table entry number for WDS AP
DEF_WLAN0_WDS_WEP=0		; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
DEF_WLAN0_WDS_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
DEF_WLAN0_WDS_WEP64_KEY2=0000000000
DEF_WLAN0_WDS_WEP64_KEY3=0000000000
DEF_WLAN0_WDS_WEP64_KEY4=0000000000
DEF_WLAN0_WDS_WEP128_KEY1=00000000000000000000000000 ; WEP-128bits key1~key4
DEF_WLAN0_WDS_WEP128_KEY2=00000000000000000000000000
DEF_WLAN0_WDS_WEP128_KEY3=00000000000000000000000000
DEF_WLAN0_WDS_WEP128_KEY4=00000000000000000000000000
DEF_WLAN0_WDS_WEP_DEFAULT_KEY=0	; default tx key id (0-3)
DEF_WLAN0_WDS_WEP_KEY_TYPE=1	; key type, 0 - ASCII, 1 - hex
DEF_WLAN0_WDS_PSK_FORMAT=0	; psk format, 0 - ACSII, 1 - hex
DEF_WLAN0_WDS_PSK=		; psk value

DEF_WLAN0_EASYCFG_ENABLED=1	; easy-config flag, 0-disable, 1-enable
DEF_WLAN0_EASYCFG_MODE=1	; easy-config mode, 1 - button, 2 - QA 
DEF_WLAN0_EASYCFG_ALG_REQ=32	; request encryption (client mode), 4-TKIP, 32-AES
DEF_WLAN0_EASYCFG_ALG_SUPP=36	; support encryption (AP mode), TKIP+AES
DEF_WLAN0_EASYCFG_SCAN_SSID=REALTEK_EASY_CONFIG ; SSID used by easy-config

DEF_WLAN0_ANTENNA_TRANSMIT_POW=0	; 0-power 100%, 1-power 75%, 2-power 50%, 3-power 12.5%


; Firmware current-used setting
; ---------------------------------------------------------------------------
; LAN interface
DEVICE_NAME="TRENDnet"		; device logical namem, referred by uPNP IGD name
ELAN_MAC_ADDR=000000000000	; Ethernet MAC clone address
IP_ADDR=192.168.1.100		; ip address
DHCP_CLIENT_START=192.168.1.101	; DHCP client range - start address
DHCP_CLIENT_END=192.168.1.200	; DHCP client range - end address
SUBNET_MASK=255.255.255.0	; subnet mask
DEFAULT_GATEWAY=0.0.0.0		; default route
DHCP=0				; DHCP mode, 0 - fixed ip, 1 - dhcp client, 2 - dhcp server
STP_ENABLED=0			; spanning tree protocol flag, 0 - disable, 1 - enable

DHCP_LEASE_TIME=604800	; 1 week

FW_CHECKSUM="18b8"	; total image checksum (webpage.bin+linux.bin)

; web management
SUPER_NAME=super		; supervisor user name, if NULL, supervisor account will be disabled
SUPER_PASSWORD=super		; supervisor user password, if NULL, supervisor account will be disabled
USER_NAME=			; user name
USER_PASSWORD="admin"		; user password

; system management
SCRLOG_ENABLED=0		; system Log flag, 0 - disabled, 1 - enabled (not supported yet)
AUTODISCOVERY_ENABLED=1		; auto-discovery flag, 0 - disabled, 1 - enabled
OP_MODE=0			; operation mode, 0 - gateway mode (LAN:br0(eth0+wlan0), WAN:eth1)
				; 		  1 - bridge mode (LAN:br0(eth0+eth1+wlan0))
				; 		  2 - WISP(wireless ISP) mode (LAN:br0(eth0+eth1), WAN:wlan0)
WISP_WAN_ID=0			; wlan interface id for WISP mode. 0 - use wlan0 as WAN and OP_MODE is set WISP.
				; 	1 - use wlan0 as WAN and OP_MODE is set WISP.				

; WLAN0 interface. Note: "WLAN0" means 8186 embedded wlan controller
WLAN0_WLAN_MAC_ADDR=000000000000; clone mac address
WLAN0_SSID=TRENDnet		; SSID
WLAN0_CHANNEL=6		; channel number
WLAN0_WEP=0			; WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits
WLAN0_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
WLAN0_WEP64_KEY2=0000000000
WLAN0_WEP64_KEY3=0000000000
WLAN0_WEP64_KEY4=0000000000
WLAN0_WEP128_KEY1=00000000000000000000000000	; WEP-128bits key1~key4
WLAN0_WEP128_KEY2=00000000000000000000000000
WLAN0_WEP128_KEY3=00000000000000000000000000
WLAN0_WEP128_KEY4=00000000000000000000000000
WLAN0_WEP_DEFAULT_KEY=0		; default tx key id (0-3)
WLAN0_WEP_KEY_TYPE=1		; key type, 0 - ASCII, 1 - hex
WLAN0_FRAG_THRESHOLD=2346	; fragment threshold, 256-2346
WLAN0_RTS_THRESHOLD=2432	; RTS threshold, 0 - 2347
WLAN0_BASIC_RATES=15		; basic rate, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN0_SUPPORTED_RATES=4095	; supported rate,  bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
WLAN0_BEACON_INTERVAL=119	; beacon interval in ms(20-1024) 
WLAN0_PREAMBLE_TYPE=0		; preamble type, 0 - long preamble, 1 - short preamble
WLAN0_AUTH_TYPE=0		; athentication type, 0 - open system, 1 - shared key, 2 - auto (both)
WLAN0_HIDDEN_SSID=0		; hidden ssid, 0 - disable, 1 - enable
WLAN0_WLAN_DISABLED=0		; wlan interface flag, 0 - wlan enabled, 1 - wlan disabled
WLAN0_INACTIVITY_TIME=30000	; wlan client inactivity time (in 10ms)
WLAN0_RATE_ADAPTIVE_ENABLED=1 	; tx rate adaptive enable/disable, 1 - enabled, 0 - disabled
WLAN0_MACAC_NUM=0		; existing table entry number for mac access control
WLAN0_MACAC_ENABLED=0		; wlan mac access control flag, 0 - disable, 1 - enable
WLAN0_DTIM_PERIOD=3		; DTIM period
WLAN0_BLOCK_RELAY=0		; blocking packets between wireless client (relay),
				; 0 - disabled, 1 - block relay, 2 - block relay but passup
WLAN0_BAND=3			; bit mask of band selection, 1-11b, 2-11g, 4-11a
WLAN0_FIX_RATE=0		; fixed data rate, 0-disable, bit0~bit11 for rate 1,2,5.5,11,6,9,12,18,24,36,48,54M
MACAC_NUMMODE=0			; operation mode, 0-AP, 1-client, 2-WDS, 3-AP+WDS

WLAN0_ENCRYPT=0			; 0 - Encrypt disabled, 1 - WEP, 2 - WPA, 4 - WPA2, 6 - WPA2 mixed
WLAN0_ENABLE_1X=0		; 802.1x flag, 0 - disabled, 1 - enabled
WLAN0_WPA_AUTH=2		; WPA authentication type, 1 - WPA-Radius, 2 - PSK
WLAN0_WPA_CIPHER_SUITE=1	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN0_WPA_PSK=			; WPA PSK value
WLAN0_WPA_GROUP_REKEY_TIME=86400; group key update time (in sec)
WLAN0_RS_IP=0.0.0.0		; Radius serverIP address
WLAN0_RS_PORT=1812		; Radius server port
WLAN0_RS_PASSWORD=		; Radius server password
WLAN0_RS_2IP=0.0.0.0		; Radius server2 IP address
WLAN0_RS_2PORT=1812		; Radius server2 port
WLAN0_RS_2PASSWORD=		; Radius server2 password
WLAN0_RS_MAXRETRY=3		; Max retry of Radius server
WLAN0_RS_INTERVAL_TIME=5	; Interval time of retry
WLAN0_WPA2_PRE_AUTH=0		; WPA2 pre-authentication flag, 0 - disable, 1 - enable
WLAN0_WPA2_CIPHER_SUITE=2	; WPA Cipher suite, 1 - TKIP, 2 - AES
WLAN0_MACCLONE_ENABLED=0	; wlan mac clone flag (client mode used), 0 - disable, 1 - enable
WLAN0_IAPP_DISABLED=0		; IAPP flag, 0 - IAPP enabled, 1 - IAPP disabled
WLAN0_PROTECTION_DISABLED=0	; 802.11g protection mode flag, 0 - protection enable, 1 - protection disabled

WLAN0_WDS_ENABLED=0		; WDS flag, 0 - disable, 1 - enable
WLAN0_WDS_NUM=0			; existing table entry number for WDS AP
WLAN0_WDS_WEP=0			; WDS WEP flag, 0 - WEP disable, 1 - WEP-64bits, 2 - WEP-128bits, 3-TKIP, 4-AES
WLAN0_WDS_WEP64_KEY1=0000000000	; WEP-64bits key1~key4
WLAN0_WDS_WEP64_KEY2=0000000000
WLAN0_WDS_WEP64_KEY3=0000000000
WLAN0_WDS_WEP64_KEY4=0000000000
WLAN0_WDS_WEP128_KEY1=00000000000000000000000000 ; WEP-128bits key1~key4
WLAN0_WDS_WEP128_KEY2=00000000000000000000000000
WLAN0_WDS_WEP128_KEY3=00000000000000000000000000
WLAN0_WDS_WEP128_KEY4=00000000000000000000000000
WLAN0_WDS_WEP_DEFAULT_KEY=0	; default tx key id (0-3)
WLAN0_WDS_WEP_KEY_TYPE=1	; key type, 0 - ASCII, 1 - hex
WLAN0_WDS_PSK_FORMAT=0		; psk format, 0 - ACSII, 1 - hex
WLAN0_WDS_PSK=			; psk value

WLAN0_EASYCFG_ENABLED=1		; easy-config flag, 0-disable, 1-enable
WLAN0_EASYCFG_MODE=1		; easy-config mode, 1 - button, 2 - QA 
WLAN0_EASYCFG_ALG_REQ=32	; request encryption (client mode), 4-TKIP, 32-AES
WLAN0_EASYCFG_ALG_SUPP=36	; support encryption (AP mode), TKIP+AES
WLAN0_EASYCFG_SCAN_SSID=REALTEK_EASY_CONFIG ; SSID used by easy-config

WLAN0_ANTENNA_TRANSMIT_POW=0	; 0-power 100%, 1-power 75%, 2-power 50%, 3-power 12.5%

