aboutsummaryrefslogtreecommitdiffstats
path: root/openwrt/files/etc
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-09-30 02:14:13 +0000
committerterminaldweller <thabogre@gmail.com>2021-09-30 02:14:13 +0000
commit47e7770dc4aac0cc8767935558a0c8cae74632c1 (patch)
treed179f93bea23c81df424d8a5d45951116424e1d8 /openwrt/files/etc
parenthaproxy,jabber,bitlbee (diff)
downloadscripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.tar.gz
scripts-47e7770dc4aac0cc8767935558a0c8cae74632c1.zip
opewrt,haproxy,nginx,ejabberd,....
Diffstat (limited to '')
-rw-r--r--openwrt/files/etc/config/dropbear5
-rw-r--r--openwrt/files/etc/config/luci37
-rw-r--r--openwrt/files/etc/config/network20
-rw-r--r--openwrt/files/etc/config/system14
-rw-r--r--openwrt/files/etc/config/wireless14
5 files changed, 90 insertions, 0 deletions
diff --git a/openwrt/files/etc/config/dropbear b/openwrt/files/etc/config/dropbear
new file mode 100644
index 0000000..6c416ca
--- /dev/null
+++ b/openwrt/files/etc/config/dropbear
@@ -0,0 +1,5 @@
+config dropbear
+ option PasswordAuth 'on'
+ option RootPasswordAuth 'on'
+ option port '22'
+ option BannerFile '/etc/banner'
diff --git a/openwrt/files/etc/config/luci b/openwrt/files/etc/config/luci
new file mode 100644
index 0000000..f0d245e
--- /dev/null
+++ b/openwrt/files/etc/config/luci
@@ -0,0 +1,37 @@
+config core 'main'
+ option lang 'auto'
+ option mediaurlbase '/luci-static/bootstrap'
+ option resourcebase '/luci-static/resources'
+ option ubuspath '/ubus/'
+
+config extern 'flash_keep'
+ option uci '/etc/config/'
+ option dropbear '/etc/dropbear/'
+ option openvpn '/etc/openvpn/'
+ option passwd '/etc/passwd'
+ option opkg '/etc/opkg.conf'
+ option firewall '/etc/firewall.user'
+ option uploads '/lib/uci/upload/'
+
+config internal 'languages'
+
+config internal 'sauth'
+ option sessionpath '/tmp/luci-sessions'
+ option sessiontime '3600'
+
+config internal 'ccache'
+ option enable '1'
+
+config internal 'theme'
+ option Bootstrap '/luci-static/bootstrap'
+
+config internal 'apply'
+ option rollback '90'
+ option holdoff '4'
+ option timeout '5'
+ option display '1.5'
+
+config internal 'diag'
+ option dns 'openwrt.org'
+ option ping 'openwrt.org'
+ option route 'openwrt.org'
diff --git a/openwrt/files/etc/config/network b/openwrt/files/etc/config/network
new file mode 100644
index 0000000..897bfc6
--- /dev/null
+++ b/openwrt/files/etc/config/network
@@ -0,0 +1,20 @@
+config interface 'loopback'
+ option ifname 'lo'
+ option proto 'static'
+ option ipaddr '127.0.0.1'
+ option netmask '255.0.0.0'
+config interface 'lan'
+ option type 'bridge'
+ option ifname 'eth0'
+ option force_link '1'
+ option proto 'static'
+ option ipaddr '192.168.1.201'
+ option netmask '255.255.255.0'
+ option ip6assign '60'
+config interface 'wwan'
+ option proto 'dhcp'
+ option peerdns '0'
+ option dns '208.67.222.222 208.67.220.220'
+config interface 'vpnclient'
+ option ifname 'tun0'
+ option proto 'none'
diff --git a/openwrt/files/etc/config/system b/openwrt/files/etc/config/system
new file mode 100644
index 0000000..5f70198
--- /dev/null
+++ b/openwrt/files/etc/config/system
@@ -0,0 +1,14 @@
+config system
+ option hostname 'OpenWrt'
+ option timezone 'UTC'
+ option ttylogin '0'
+ option log_size '64'
+ option urandom_seed '0'
+
+config timeserver 'ntp'
+ option enabled '1'
+ option enable_server '0'
+ list server '0.openwrt.pool.ntp.org'
+ list server '1.openwrt.pool.ntp.org'
+ list server '2.openwrt.pool.ntp.org'
+ list server '3.openwrt.pool.ntp.org'
diff --git a/openwrt/files/etc/config/wireless b/openwrt/files/etc/config/wireless
new file mode 100644
index 0000000..0800aaa
--- /dev/null
+++ b/openwrt/files/etc/config/wireless
@@ -0,0 +1,14 @@
+config wifi-device 'radio0'
+ option type 'mac80211'
+ option channel '11'
+ option hwmode '11g'
+ option path 'platform/soc/20300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
+ option htmode 'HT20'
+ option enabled '1'
+
+config wifi-iface 'default_radio0'
+ option device 'radio0'
+ option network 'lan'
+ option mode 'ap'
+ option ssiid 'OpenWrt'
+ option encryption 'none'