From ee7567cfa2759105c8cf3bd16db422e0c716d10a Mon Sep 17 00:00:00 2001 From: jeka Date: Sun, 17 Dec 2023 00:40:37 +0500 Subject: [PATCH] all --- .../etc/uci-defaults/99-defaults | 62 +++++++++---------- tplink_tl-wdr3600-v1.sh | 3 - 2 files changed, 31 insertions(+), 34 deletions(-) delete mode 100755 tplink_tl-wdr3600-v1.sh diff --git a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99-defaults b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99-defaults index c08f7e5..b54cfb0 100644 --- a/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99-defaults +++ b/image-extras/tplink_tl-wdr3600-v1/etc/uci-defaults/99-defaults @@ -5,8 +5,8 @@ wlan_name="office" wlan_password="fuckingwep" root_password="AsD7fg" -lan_ip_address="192.168.47.1" -hostname="gw-aramil" +lan_ip_address="192.168.77.1" +hostname="gw-elmash" # dhcp server 1 disable, 0 enable dhcpsrv="0" @@ -47,7 +47,7 @@ uci set system.@system[0].timezone='<+05>-5' uci set system.ntp.enable_server='1' uci set system.ntp.interface='lan' uci set system.@system[0].zonename='Asia/Yekaterinburg' -commit system +uci commit system /etc/init.d/system restart # Configure ssh dropbear @@ -65,37 +65,37 @@ uci commit dropbear # Configure uhttpd uci set uhttpd.main.listen_http='0.0.0.0:8080' uci set uhttpd.main.listen_https='0.0.0.0:4431' -commit uhttpd +uci commit uhttpd /etc/init.d/uhttpd restart # DHCP server on/off -#uci set dhcp.lan.ignore="$dhcpsrv" -#uci add host -#uci set dhcp.@host[-1].name='jeka-office' -#uci set dhcp.@host[-1].mac='4c:cc:6a:01:5d:30' -#uci set dhcp.@host[-1].ip='192.168.77.35' -#uci add host -#uci set dhcp.@host[-1].name='fs1370dn' -#uci set dhcp.@host[-1].mac='00:C0:EE:9E:01:55' -#uci set dhcp.@host[-1].ip='192.168.77.33' -#uci add host -#uci set dhcp.@host[-1].name='kyoceraigor' -#uci set dhcp.@host[-1].mac='00:17:C8:21:A7:F2' -#uci set dhcp.@host[-1].ip='192.168.77.30' -#uci add host -#uci set dhcp.@host[-1].name='kyocerascanner' -#uci set dhcp.@host[-1].mac='00:C0:EE:BB:85:2C' -#uci set dhcp.@host[-1].ip='192.168.77.31' -#uci add host -#uci set dhcp.@host[-1].name='natasha-office' -#uci set dhcp.@host[-1].mac='50:46:5D:09:D0:69' -#uci set dhcp.@host[-1].ip='192.168.77.36' -#uci add host -#uci set dhcp.@host[-1].name='klipper' -#uci set dhcp.@host[-1].mac='B8:27:EB:B9:82:6D' -#uci set dhcp.@host[-1].ip='192.168.77.44' -#uci commit dhcp -#/etc/init.d/dnsmasq restart +uci set dhcp.lan.ignore="$dhcpsrv" +uci add host +uci set dhcp.@host[-1].name='jeka-office' +uci set dhcp.@host[-1].mac='4c:cc:6a:01:5d:30' +uci set dhcp.@host[-1].ip='192.168.77.35' +uci add host +uci set dhcp.@host[-1].name='fs1370dn' +uci set dhcp.@host[-1].mac='00:C0:EE:9E:01:55' +uci set dhcp.@host[-1].ip='192.168.77.33' +uci add host +uci set dhcp.@host[-1].name='kyoceraigor' +uci set dhcp.@host[-1].mac='00:17:C8:21:A7:F2' +uci set dhcp.@host[-1].ip='192.168.77.30' +uci add host +uci set dhcp.@host[-1].name='kyocerascanner' +uci set dhcp.@host[-1].mac='00:C0:EE:BB:85:2C' +uci set dhcp.@host[-1].ip='192.168.77.31' +uci add host +uci set dhcp.@host[-1].name='natasha-office' +uci set dhcp.@host[-1].mac='50:46:5D:09:D0:69' +uci set dhcp.@host[-1].ip='192.168.77.36' +uci add host +uci set dhcp.@host[-1].name='klipper' +uci set dhcp.@host[-1].mac='B8:27:EB:B9:82:6D' +uci set dhcp.@host[-1].ip='192.168.77.44' +uci commit dhcp +/etc/init.d/dnsmasq restart # Configure network /etc/init.d/network restart diff --git a/tplink_tl-wdr3600-v1.sh b/tplink_tl-wdr3600-v1.sh deleted file mode 100755 index 90a4f5e..0000000 --- a/tplink_tl-wdr3600-v1.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -./build.sh ath79 generic tplink_tl-wdr3600-v1