Issue: Access Restriction need to be pushed every day

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Tue Apr 13, 2021 15:04    Post subject: Issue: Access Restriction need to be pushed every day Reply with quote
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
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Tue Apr 13, 2021 16:28    Post subject: Reply with quote
Just like in this unanswered post from 2019, no idea what router or build revision number you are running. Incomplete information will not get you much help, especially when you post about topics that have been covered in this forum and elsewhere.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Tue Apr 13, 2021 17:30    Post subject: Reply with quote
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?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Tue Apr 13, 2021 17:56    Post subject: Reply with quote
Other than configuration details that may apply, the only thing I would suggest is to upgrade via CLI to at least 44715. Refer to the links in my post in the following thread, you have to use the 33375 upgrade method because other means are broken prior to more recent builds in the past two years. I am currently running 46220 without issues on a couple of similar TP-Link devices.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=328142&postdays=0&postorder=asc&start=15

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/11-03-2020-r44715/tplink_tl-wr1043nd/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/03-31-2021-r46220/tplink_tl-wr1043nd/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Sat Apr 17, 2021 3:56    Post subject: Reply with quote
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
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Sat Apr 17, 2021 4:28    Post subject: Reply with quote
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Apr 17, 2021 5:14    Post subject: Reply with quote
did you wget the factory-to-dd-wrt.bin to /tmp?

Only other thing you can try is to just webflash the other file through the webUI or flash it via CLI per the installation wiki in my signature.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Sat Apr 17, 2021 15:13    Post subject: Reply with quote
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Apr 17, 2021 17:20    Post subject: Reply with quote
Ok, first try to flash upgrade via webUI to the current release:

04-17-2021-r46380/tplink_tl-wr1043nd/tl-wr1043nd-webflash.bin

If that does *not* work, try to flash upgrade via CLI over ssh/telnet:

  1. cd /tmp
  2. wget http://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/04-17-2021-r46380/tplink_tl-wr1043nd/tl-wr1043nd-webflash.bin
  3. write tl-wr1043nd-webflash.bin linux &
  4. wait for it to return to shell prompt
  5. reboot


If neither of those work, you may want to webrevert to stock and flash directly to the current release:

tl-wr1043nd_v1-webrevert.rar

04-17-2021-r46380/tplink_tl-wr1043nd/factory-to-ddwrt.bin

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Bazcor
DD-WRT Novice


Joined: 25 Dec 2019
Posts: 10

PostPosted: Sun Apr 18, 2021 5:22    Post subject: Reply with quote
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum