router: RT-AC66U
firmware: Asuswrt-Merlin - build 3.0.0.4.270.26b
Enable JFFS partition: Yes
Format JFFS partition at next boot: Yes
Apply
Reboot router.
Win-R -> telnet
Reboot router.
Win-R -> telnet
why?
firmware: Asuswrt-Merlin - build 3.0.0.4.270.26b
Enable JFFS partition: Yes
Format JFFS partition at next boot: Yes
Apply
Reboot router.
Win-R -> telnet
Code:
cd /jffs/scripts/
wget -O ./lanauth.tgz [url]http://wl500g.info/attachment.php?attachmentid=9243&d=1344967145[/url]
tar -xvzf ./lanauth.tgz
echo "#!/bin/sh" > /jffs/scripts/services-start
echo /jffs/scripts/lanauth -p'bla-bla' -l2 -v2 >> /jffs/scripts/services-start
chmod +x /jffs/scripts/services-start
ls
[I]-rwxrwxr-x 1 3-50 root 24476 Aug 14 2012 lanauth
-rw-rw-rw- 1 3-50 root 12192 Mar 21 00:38 lanauth.tgz
-rwxrwxrwx 1 3-50 root 51 Mar 21 00:39 services-start[/I]
Win-R -> telnet
Code:
cd /jffs/scripts/
ls
[I]Nothing [/I]