generated from formathhh/padavan-KVR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.h
60 lines (52 loc) · 2.16 KB
/
defaults.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
#ifndef _defaults_h_
#define _defaults_h_
#include <ralink_board.h>
#define SYS_SHELL "/bin/sh"
#define SYS_EXEC_PATH "/usr/sbin:/usr/bin:/sbin:/bin"
#define SYS_EXEC_PATH_OPT "/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin"
#define SYS_HOME_PATH_ROOT "/home/admin"
#define SYS_USER_ROOT "admin"
#define SYS_GROUP_ROOT "root"
#define SYS_USER_NOBODY "nobody"
#define SYS_GROUP_NOGROUP "nogroup"
#define DEF_LAN_ADDR "192.168.2.1"
#define DEF_LAN_DHCP_BEG "192.168.2.100"
#define DEF_LAN_DHCP_END "192.168.2.244"
#define DEF_LAN_MASK "255.255.255.0"
#define DEF_WLAN_2G_CC "CN"
#define DEF_WLAN_5G_CC "US"
#define DEF_WLAN_2G_SSID BOARD_PID "_%s"
#define DEF_WLAN_5G_SSID BOARD_PID "_5G_%s"
#define DEF_WLAN_2G_GSSID BOARD_PID "_GUEST_%s"
#define DEF_WLAN_5G_GSSID BOARD_PID "_GUEST_5G_%s"
#define DEF_WLAN_2G_PSK "1234567890"
#define DEF_WLAN_5G_PSK "1234567890"
#define DEF_ROOT_PASSWORD "admin"
#define DEF_SMB_WORKGROUP "WORKGROUP"
#define DEF_TIMEZONE "CST-8"
#define DEF_NTP_SERVER0 "ntp.aliyun.com"
#define DEF_NTP_SERVER1 "time1.cloud.tencent.com"
#ifdef SUPPORT_OPENSSL_EC
#define DEF_HTTPS_CIPH_LIST "ECDH+CHACHA20:ECDH+AESGCM:DH+AESGCM:DH+AES256:DH+AES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!MD5:!DSS"
#else
#define DEF_HTTPS_CIPH_LIST "DH+AESGCM:DH+AES256:DH+AES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!MD5:!DSS"
#endif
#define DEF_OVPNS_CIPH_LIST "CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM"
#define DEF_OVPNC_CIPH_LIST "CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM"
#endif