Author
Message
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Tue Apr 13, 2021 15:04 Post subject: Issue: Access Restriction need to be pushed every day
Hi,
I created some rules to avoid my kids play during online school class.
Problem is that I need to push every day the rules to take effect again.
I configure my router to reboot every day.
Thanks in advance for any suggestion.
Regards,
Bazcor
Back to top
Sponsor
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Back to top
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Tue Apr 13, 2021 17:30 Post subject:
Ops.. so sorry for it.
Router: TP-LINK 1043ND v1.8
Firmware: DD-WRT v3.0-r34311 std (12/29/17)
Any additional information requiered?
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Back to top
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Sat Apr 17, 2021 3:56 Post subject:
Hi,
I am doing the upgrade but something is not working.
When I tried to do:
# cat factory-to-ddwrt.bin >> boot.bin
It ends breaking the ssh connection.
root@TPLINK:/tmp# cat factory-to-ddwrt.bin >> boot.bin
login as: root
DD-WRT v3.0-r34311 std (c) 2017 NewMedia-NET GmbH
Release: 12/29/17
Server refused our key
root@192.168.1.1 's password:
==========================================================
___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/
DD-WRT v3.0
http://www.dd-wrt.com
==========================================================
BusyBox v1.27.2 (2017-12-29 02:55:44 CET) built-in shell (ash)
root@TPLINK:~# df /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
ramfs 0 0 0 0% /tmp
root@TPLINK:~# ls -l /tmp
-rw-r--r-- 1 root root 29 Apr 17 00:50 TZ
-rw-r--r-- 1 root root 1283 Dec 31 1969 ath0_hostap.conf
drwx------ 2 root root 0 Apr 17 00:50 cron.d
-rw-r--r-- 1 root root 228 Dec 31 1969 crontab
drwxr--r-- 2 root root 0 Dec 31 1969 ddns
-rw-r--r-- 1 root root 975 Dec 31 1969 dnsmasq.conf
-rw-r--r-- 1 root root 796 Apr 17 00:51 dnsmasq.leases
drwx------ 2 root root 0 Dec 31 1969 etc
-rw-r--r-- 1 root root 483 Dec 31 1969 hosts
-rw-r--r-- 1 root root 210 Dec 31 1969 igmpproxy.conf
-rw-r--r-- 1 root root 68 Dec 31 1969 loginprompt
drwxr-xr-x 2 root root 0 Dec 31 1969 mnt
drwx------ 2 root root 0 Dec 31 1969 nvram
drwxr-xr-x 3 root root 0 Dec 31 1969 oet
-rw-r--r-- 1 root root 43 Dec 31 1969 resolv.conf
-rw-r--r-- 1 root root 156 Dec 31 1969 resolv.dnsmasq
drwx------ 3 root root 0 Dec 31 1969 root
drwxr-xr-x 2 root root 0 Apr 17 00:50 services
lrwxrwxrwx 1 root root 8 Dec 31 1969 udhcpc -> /sbin/rc
-rw-r--r-- 1 root root 5 Dec 31 1969 udhcpc.expires
drwxr-xr-x 10 root root 0 Dec 31 1969 var
drwx------ 2 root root 0 Dec 31 1969 www
root@TPLINK:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 6.8M 6.8M 0 100% /
/dev/root 6.8M 6.8M 0 100% /
root@TPLINK:~#
is it related to a space issue?
Regards,
Bazcor
Back to top
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Sat Apr 17, 2021 4:28 Post subject:
keep diggint into the error I found that my fullflash is not mtd6, it is mtd7
root@TPLINK:/dev# cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "RedBoot"
mtd1: 007a0000 00010000 "linux"
mtd2: 006bf000 00010000 "rootfs"
mtd3: 00020000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "FIS directory"
mtd6: 00010000 00010000 "board_config"
mtd7: 00800000 00010000 "fullflash"
So, I tried to execute again:
root@TPLINK:/tmp# dd if=/dev/mtdblock7 of=/tmp/boot.bin bs=1 count=131072
131072+0 records in
131072+0 records out
But again the next step failed and back to square zero.
root@TPLINK:/tmp# cat factory-to-ddwrt.bin >> boot.bin
login as: root
DD-WRT v3.0-r34311 std (c) 2017 NewMedia-NET GmbH
Release: 12/29/17
Server refused our key
root@192.168.1.1 's password:
==========================================================
___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/
DD-WRT v3.0
http://www.dd-wrt.com
==========================================================
BusyBox v1.27.2 (2017-12-29 02:55:44 CET) built-in shell (ash)
root@TPLINK:~# cd /tmp
root@TPLINK:/tmp# ls -l
-rw-r--r-- 1 root root 29 Apr 17 01:25 TZ
-rw-r--r-- 1 root root 1283 Dec 31 1969 ath0_hostap.conf
drwx------ 2 root root 0 Apr 17 01:25 cron.d
-rw-r--r-- 1 root root 228 Apr 17 01:25 crontab
drwxr--r-- 2 root root 0 Apr 17 01:25 ddns
-rw-r--r-- 1 root root 975 Dec 31 1969 dnsmasq.conf
-rw-r--r-- 1 root root 800 Apr 17 01:25 dnsmasq.leases
drwx------ 2 root root 0 Dec 31 1969 etc
-rw-r--r-- 1 root root 483 Apr 17 01:25 hosts
-rw-r--r-- 1 root root 210 Apr 17 01:25 igmpproxy.conf
-rw-r--r-- 1 root root 68 Dec 31 1969 loginprompt
drwxr-xr-x 2 root root 0 Dec 31 1969 mnt
drwx------ 2 root root 0 Dec 31 1969 nvram
drwxr-xr-x 3 root root 0 Dec 31 1969 oet
-rw-r--r-- 1 root root 43 Apr 17 01:25 resolv.conf
-rw-r--r-- 1 root root 156 Apr 17 01:25 resolv.dnsmasq
drwx------ 3 root root 0 Dec 31 1969 root
drwxr-xr-x 2 root root 0 Apr 17 01:28 services
lrwxrwxrwx 1 root root 8 Dec 31 1969 udhcpc -> /sbin/rc
-rw-r--r-- 1 root root 5 Apr 17 01:25 udhcpc.expires
drwxr-xr-x 10 root root 0 Dec 31 1969 var
drwx------ 2 root root 0 Dec 31 1969 www
root@TPLINK:/tmp#
Any help will be really appreciate.
Regards,
Bazcor
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Back to top
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Sat Apr 17, 2021 15:13 Post subject:
Hi....
Steps executed.
1.- cat /proc/mtd
"fullflash" partition is mtd7 for my 1043nd v1.0 unit.
2.- cd /tmp
3.- wget factory-tplink-ddwert.bin file
4.- dd if=/dev/mtdblock7 of=/tmp/boot.bin bs=1 count=131072
5.- cat factory-to-ddwrt.bin >> boot.bin <-- here the reboot.
I tried using /tmp/boot.bin too but I got the same reboot issue.
I was reading too that it is a kind of error related to my router, but I did not propperly understood how to solve it.
Regards,
Bazcor
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Back to top
Bazcor DD-WRT Novice Joined: 25 Dec 2019 Posts: 10
Posted: Sun Apr 18, 2021 5:22 Post subject:
Hi,
Option 1.- Upgrade via WebGui -- failed
Option 2.- Upgrade via CLI -- failed
On step 3 it got again disconected.
-rw-r--r-- 1 root root 8060956 Apr 18 02:07 tl-wr1043nd-webflash.bin
root@TPLINK:/tmp# write tl-wr1043nd-webflash.bin linux &
root@TPLINK:/tmp#
login as: root
DD-WRT v3.0-r34311 std (c) 2017 NewMedia-NET GmbH
Release: 12/29/17
Server refused our key
root@192.168.1.1 's password:
==========================================================
___ ___ _ _____ ______ ____ ___
/ _ \/ _ \___| | /| / / _ \/_ __/ _ __|_ / / _ \
/ // / // /___/ |/ |/ / , _/ / / | |/ //_ <_/ // /
/____/____/ |__/|__/_/|_| /_/ |___/____(_)___/
DD-WRT v3.0
http://www.dd-wrt.com
==========================================================
BusyBox v1.27.2 (2017-12-29 02:55:44 CET) built-in shell (ash)
root@TPLINK:~# reboot
root@TPLINK:~#
Option 3.- It failed too.
I executed this options via WebGUI.
Shall I execute CLI?
Somehow every time that I tried to apply the upgrade file, router is rebooted during the process and it is not able to continue. Any other test that could help to understand what is going on?
Regards,
Bazcor
Back to top