MyPage (Part Deux)

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 18, 19, 20  Next
Author Message
desiromeo
DD-WRT User


Joined: 24 Oct 2008
Posts: 213
Location: Suburbs

PostPosted: Thu Nov 25, 2010 16:12    Post subject: Reply with quote
Thank you very much!
_________________
ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
Sponsor
myrison
DD-WRT Novice


Joined: 23 Oct 2010
Posts: 23

PostPosted: Mon Dec 20, 2010 16:52    Post subject: Reply with quote
kingsmill wrote:
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> -->


Thanks.
siuside
DD-WRT Novice


Joined: 22 Mar 2007
Posts: 13

PostPosted: Thu Dec 23, 2010 21:26    Post subject: Reply with quote
Getting the following error in 0.17.2

Code:

mypage_setup.sh: ./libs/mypage_libusr.sh: line 129: syntax error: Bad substitution

_________________
WRTSL54GS V1.1 -> BrainSlayer 08-12-10-r14929

ASUS RT-N16 -> Eko 12-19-10-svn15943

BUFFALO WZR-HP-G300NH -> BrainSlayer 12-24-10-r15962
jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Sat Jan 08, 2011 5:53    Post subject: Reply with quote
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)

MyPage Bandwidth.jpg



_________________
Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page] Mr. Green
mojso
DD-WRT User


Joined: 09 Sep 2007
Posts: 232
Location: Macedonia

PostPosted: Sat Jan 08, 2011 14:22    Post subject: Reply with quote
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

_________________

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929) + 1GB SD Card + Optware + MyPage + lighttpd

WDS linked

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929)
+ 2GB SD Card + Optware + MyPage

jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Sat Jan 08, 2011 17:13    Post subject: Reply with quote
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] Mr. Green
mojso
DD-WRT User


Joined: 09 Sep 2007
Posts: 232
Location: Macedonia

PostPosted: Sat Jan 08, 2011 17:25    Post subject: Reply with quote
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

_________________

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929) + 1GB SD Card + Optware + MyPage + lighttpd

WDS linked

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929)
+ 2GB SD Card + Optware + MyPage

jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Sat Jan 08, 2011 20:10    Post subject: Reply with quote
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)

mypage error.jpg



_________________
Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page] Mr. Green
mojso
DD-WRT User


Joined: 09 Sep 2007
Posts: 232
Location: Macedonia

PostPosted: Sat Jan 08, 2011 22:54    Post subject: Reply with quote
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.



try this command

Quote:

chmod -R 644 /opt/www/*
chmod -R 755 /opt/www/*.sh /opt/www/*.asp /opt/www/libs/*.sh /opt/www/js/*.js /opt/www/wrt*
chmod -R 755 /opt/www/setup/*.sh /opt/www/setup/libs/*.sh /opt/www/setup/lang/*.sh
chown root.root *



but if it does not want again, repeat the installation procedure


put this file in /opt/www folder via ssh
Quote:

mypage_V0.17.2-20101115.tgz

via telnet
navigate to the /opt/www
then run this command
Quote:

tar xvzf mypage_V0.17.2-20101115.tgz -C/opt/www


then

navigate to the /opt/www/setup

then run this command
Quote:

sh mypage_setup.sh /opt/www


then select which pages you want to install
with y or n

then follow the procedure

and finally put this command at startup

Quote:

/opt/www/mypageup.sh /opt/www 10 512

_________________

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929) + 1GB SD Card + Optware + MyPage + lighttpd

WDS linked

wrt54gl v1.1. with DD-WRT v24-sp2 (08/12/10) std-nokaid
(SVN revision 14929)
+ 2GB SD Card + Optware + MyPage

jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Sun Jan 09, 2011 2:14    Post subject: Reply with quote
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.



try this command

Quote:

chmod -R 644 /opt/www/*
chmod -R 755 /opt/www/*.sh /opt/www/*.asp /opt/www/libs/*.sh /opt/www/js/*.js /opt/www/wrt*
chmod -R 755 /opt/www/setup/*.sh /opt/www/setup/libs/*.sh /opt/www/setup/lang/*.sh
chown root.root *



but if it does not want again, repeat the installation procedure


put this file in /opt/www folder via ssh
Quote:

mypage_V0.17.2-20101115.tgz

via telnet
navigate to the /opt/www
then run this command
Quote:

tar xvzf mypage_V0.17.2-20101115.tgz -C/opt/www


then

navigate to the /opt/www/setup

then run this command
Quote:

sh mypage_setup.sh /opt/www


then select which pages you want to install
with y or n

then follow the procedure

and finally put this command at startup

Quote:

/opt/www/mypageup.sh /opt/www 10 512

_________________
Asus RT-N16 [Build King Kong 18050M NEWD-2 K2.6 + Optware + My Page] Mr. Green
desiromeo
DD-WRT User


Joined: 24 Oct 2008
Posts: 213
Location: Suburbs

PostPosted: Mon Jan 10, 2011 4:01    Post subject: Reply with quote
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...

tried this command:

chmod -R 644 /opt/www/*
chmod -R 755 /opt/www/*.sh /opt/www/*.asp /opt/www/libs/*.sh /opt/www/js/*.js /opt/www/wrt*
chmod -R 755 /opt/www/setup/*.sh /opt/www/setup/libs/*.sh /opt/www/setup/lang/*.sh
chown root.root *

after entering the last line i get this error:

No such file or directory

_________________
ASUS RT-AC68U [Kong build 24850] = main router
Linksys E2000 [Build 15962M NEWD-2 K2.6 big] = client bridge
desiromeo
DD-WRT User


Joined: 24 Oct 2008
Posts: 213
Location: Suburbs

PostPosted: Tue Jan 11, 2011 0:46    Post subject: Reply with quote
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 Sad 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
jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Tue Jan 11, 2011 3:34    Post subject: Reply with quote
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 Sad 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] Mr. Green
desiromeo
DD-WRT User


Joined: 24 Oct 2008
Posts: 213
Location: Suburbs

PostPosted: Sat Jan 15, 2011 2:20    Post subject: Reply with quote
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
jumran
DD-WRT User


Joined: 31 Jul 2009
Posts: 492
Location: Toronto, ON, CA

PostPosted: Fri Jul 08, 2011 19:22    Post subject: Reply with quote
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] Mr. Green
Goto page Previous  1, 2, 3 ... 12, 13, 14 ... 18, 19, 20  Next Display posts from previous:    Page 13 of 20
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum