The mypage7 nvram tab currently has a problem formatting nvram variables that contain more than one line....
<snip>
@ Arthu - Just curious if you reviewed/agree with the changes in the two previous posts by Kingsmill? Since it's been awhile since there was an update I thought I'd ask to see.
FWIW, I implemented those changes and they seem to work fine.
Also, one suggestion re: mp14 (the bw monitor page). Currently it includes a redundant line of code re: "click here to print this page." Since 14 is loading as a frame within mypage13, you end up with the header bar (that is on every page) which provides an option to print "print..." as well as the mypage14 that has the "click here to print this page" in small font at the top of the table.
I commented out this line in mp14.sh, which got rid of the extra print link:
Code:
<!-- <a href="\#" onClick="print(); return false;"><small><sub>click here to print this page</sub></small></a> -->
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Sat Jan 08, 2011 5:53 Post subject:
Bandwidth monitoring does not seem to be working for me using latest dd-wrt revision and mypage. Tried mypage_V0.17.2-20101115 and mypage_V0.16.2-20101013. Any ideas what could be the issue? Also wasn’t the font fixed on a earlier build of mypage to match the rest of the dd-wrt web gui text? Font seems to have reverted back to the original mypage.
MyPage Bandwidth.jpg
Description:
Filesize:
147.19 KB
Viewed:
11636 Time(s)
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page]
Bandwidth monitoring does not seem to be working for me using latest dd-wrt revision and mypage. Tried mypage_V0.17.2-20101115 and mypage_V0.16.2-20101013. Any ideas what could be the issue? Also wasn’t the font fixed on a earlier build of mypage to match the rest of the dd-wrt web gui text? Font seems to have reverted back to the original mypage.
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Sat Jan 08, 2011 17:13 Post subject:
I already have that in my startup entry.
Code:
/opt/etc/config# cat opt.startup
#!/bin/sh
# Mount /jffs/opt to /opt
if [ -d /jffs/opt ]; then mount -o bind /jffs/opt /opt; fi
# Link /opt/www to /tmp/www for mypage NLS support
if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /opt/www /tmp/www
/opt/www/mypageup.sh /opt/www 10 512
mojso wrote:
jumran wrote:
Bandwidth monitoring does not seem to be working for me using latest dd-wrt revision and mypage. Tried mypage_V0.17.2-20101115 and mypage_V0.16.2-20101013. Any ideas what could be the issue? Also wasn’t the font fixed on a earlier build of mypage to match the rest of the dd-wrt web gui text? Font seems to have reverted back to the original mypage.
Save this in Startup
Quote:
/opt/www/mypageup.sh /opt/www 10 512
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page]
/opt/etc/config# cat opt.startup
#!/bin/sh
# Mount /jffs/opt to /opt
if [ -d /jffs/opt ]; then mount -o bind /jffs/opt /opt; fi
# Link /opt/www to /tmp/www for mypage NLS support
if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /opt/www /tmp/www
/opt/www/mypageup.sh /opt/www 10 512
mojso wrote:
jumran wrote:
Bandwidth monitoring does not seem to be working for me using latest dd-wrt revision and mypage. Tried mypage_V0.17.2-20101115 and mypage_V0.16.2-20101013. Any ideas what could be the issue? Also wasn’t the font fixed on a earlier build of mypage to match the rest of the dd-wrt web gui text? Font seems to have reverted back to the original mypage.
Save this in Startup
Quote:
/opt/www/mypageup.sh /opt/www 10 512
delete this two line in your script
because it already has in mypageup.sh
Quote:
if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /opt/www /tmp/www
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Sat Jan 08, 2011 20:10 Post subject:
If I remove those lines, mypage stops working. The mypage tab shows blank white page. Manually going to a page shows the following.
mojso wrote:
jumran wrote:
I already have that in my startup entry.
Code:
/opt/etc/config# cat opt.startup
#!/bin/sh
# Mount /jffs/opt to /opt
if [ -d /jffs/opt ]; then mount -o bind /jffs/opt /opt; fi
# Link /opt/www to /tmp/www for mypage NLS support
if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /opt/www /tmp/www
/opt/www/mypageup.sh /opt/www 10 512
mojso wrote:
jumran wrote:
Bandwidth monitoring does not seem to be working for me using latest dd-wrt revision and mypage. Tried mypage_V0.17.2-20101115 and mypage_V0.16.2-20101013. Any ideas what could be the issue? Also wasn’t the font fixed on a earlier build of mypage to match the rest of the dd-wrt web gui text? Font seems to have reverted back to the original mypage.
Save this in Startup
Quote:
/opt/www/mypageup.sh /opt/www 10 512
delete this two line in your script
because it already has in mypageup.sh
Quote:
if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /opt/www /tmp/www
mypage error.jpg
Description:
Filesize:
88.36 KB
Viewed:
11582 Time(s)
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page]
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Sun Jan 09, 2011 2:14 Post subject:
Changing the permissions did not work. I have reinstalled it many times already and still does not work. Also your setup command does not seem to work for me and produces the following error.
Code:
root@Network Gateway:/opt/www/setup# sh mypage_setup.sh /opt/www
mypage_setup.sh: ./libs/mypage_libusr.sh: line 129: syntax error: Bad substitution
Only way I can run setup is by using gi minni's original command.
Code:
./mypage_setup.sh /opt/www
mojso wrote:
jumran wrote:
If I remove those lines, mypage stops working. The mypage tab shows blank white page. Manually going to a page shows the following.
Ok so i realized why i was having so many problems with mypage before...
It wasn't actually a problem with mypage but with the mega build i was running....I complained of my router having severe issues after enabling jffs2 but found out that it was a problem with the mega build that had issues with enabling it improperly. I am currently running eko 15943 big build and after enabling jffs2 my router is still running rock solid.
So i decided to give mypage another try...and after following the procedure im getting a blank page after clicking on the mypage tab...not sure why...
No such file or directory _________________ ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
mypage_setup.sh: ./libs/mypage_libusr.sh: line 129: syntax error: Bad substitution
also getting the same error code now....
[EDIT] - Also tried reinstalling it many times. not working for me either Only way i was able to run the setup was with the original code and the mypage tab shows up but when clicked on shows a blank page...help. _________________ ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Tue Jan 11, 2011 3:34 Post subject:
I had the same issue as well, see above posts and add my startup entry and install using old install method to get it to work. Live bandwith monitoring will not work using this method.
desiromeo wrote:
siuside wrote:
Getting the following error in 0.17.2
Code:
mypage_setup.sh: ./libs/mypage_libusr.sh: line 129: syntax error: Bad substitution
also getting the same error code now....
[EDIT] - Also tried reinstalling it many times. not working for me either Only way i was able to run the setup was with the original code and the mypage tab shows up but when clicked on shows a blank page...help.
_________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page]
After adding the startup script that jumran gave me Mypage started working but now my ram usage is constantly at 94%. Definitely not normal..I even have samba35 turned off at the moment...any ideas? _________________ ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
Joined: 31 Jul 2009 Posts: 492 Location: Toronto, ON, CA
Posted: Fri Jul 08, 2011 19:22 Post subject:
For the per user Live Usage Traffic page on version mypage_V0.17.2-20101115.tgz, how often are the usage statistics supposed to reset by default? Is it every 30 days, as mines seem to keep adding without resetting to 0? _________________ Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page]