diff --git a/image-extras/common/root/autoprovision-stage2.sh b/image-extras/common/root/autoprovision-stage2.sh index e4ade4c..973c1fb 100755 --- a/image-extras/common/root/autoprovision-stage2.sh +++ b/image-extras/common/root/autoprovision-stage2.sh @@ -33,7 +33,18 @@ installPackages() # CUSTOMIZE # install some more packages that don't need any extra steps #opkg install lua luci ppp-mod-pppoe screen mc unzip logrotate - opkg install logrotate curl + opkg install logrotate curl sing-box dnscrypt-proxy2 + + dnsmasqfull() { + if opkg list-installed | grep -q dnsmasq-full; then + printf "\033[32;1mdnsmasq-full already installed\033[0m\n" + else + printf "\033[32;1mInstalled dnsmasq-full\033[0m\n" + cd /tmp/ && opkg download dnsmasq-full + opkg remove dnsmasq && opkg install dnsmasq-full --cache /tmp/ + [ -f /etc/config/dhcp-opkg ] && cp /etc/config/dhcp /etc/config/dhcp-old && mv /etc/config/dhcp-opkg /etc/config/dhcp + fi + } # this is needed for the vlans on tp-link 3020 with only a single hw ethernet port #opkg install kmod-macvlan ip diff --git a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99defaults b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99defaults index 09d54a3..159a4c2 100644 --- a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99defaults +++ b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99defaults @@ -1,10 +1,10 @@ # Beware! This script will be in /rom/etc/uci-defaults/ as part of the image. # Uncomment lines to apply: -wlan_name="office" +wlan_name="office-dev" wlan_password="fuckingwep" root_password="AsD7fg" -lan_ip_address="192.168.77.4" -hostname="gw-elmash" +lan_ip_address="192.168.47.6" +hostname="gw-aramil-dev" # dhcp server 1 disable, 0 enable dhcpsrv="1"