My_Page

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3 ... 23, 24, 25, 26  Next
Author Message
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Wed Aug 29, 2012 8:23    Post subject: Reply with quote
pizzulicchio wrote:
Why System Kernel Logs and System User Logs are empty?

I have enabled the syslogd. What is necessary to do?


Seem to happen if you are running OTRW with reloc_syslog enabled
Sponsor
TeeZocker
DD-WRT Novice


Joined: 19 Feb 2012
Posts: 24

PostPosted: Sat Nov 10, 2012 22:38    Post subject: Reply with quote
I have installed my page on my buffallo ag300H
(atheros chip)

I had to change #!bin ..... an special version woulde be great ^^

and the MyPage.asp?8 dont work because opkg is installed ^^



mfg

Surprised
rocky13
DD-WRT User


Joined: 25 Apr 2008
Posts: 158

PostPosted: Sun Nov 11, 2012 16:28    Post subject: Reply with quote
TeeZocker wrote:
I have installed my page on my buffallo ag300H
(atheros chip)

I had to change #!bin ..... an special version woulde be great ^^

and the MyPage.asp?8 dont work because opkg is installed ^^



mfg

Surprised


Do you have OTRW Take 2 installed?. Please provide more info. Basmaf has taken over this project and has automated his mypage design. Basically all you do is start the service and it does everything for you.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Nov 11, 2012 19:12    Post subject: Reply with quote
TeeZocker wrote:
I have installed my page on my buffallo ag300H
(atheros chip)

I had to change #!bin ..... an special version woulde be great ^^

and the MyPage.asp?8 dont work because opkg is installed ^^



mfg

Surprised

Good to see you have mypage working on an atheros router.
You need to make 2 changes to list the packages.

1st in /opt/www/mp8.sh
Code:
Change:
if [ -f /opt/bin/ipkg ]; then do_printInstOpt 55 i mypage8.l1 0;
Into:
if [ -f /opt/bin/opkg ]; then do_printInstOpt 55 i mypage8.l1 0;


2nd in /opt/www/libs/mypage_libweb.sh
Code:
change:
/opt/bin/ipkg status|awk '{ i=1; wrap=75; len=length($0); ll=int(len/wrap);
into:
/opt/bin/opkg status|awk '{ i=1; wrap=75; len=length($0); ll=int(len/wrap);
BasCom
DD-WRT Guru


Joined: 29 Jul 2009
Posts: 1378
Location: Germany

PostPosted: Mon Nov 19, 2012 19:33    Post subject: Reply with quote
works fine on RT-N66U
_________________
RT-N66U @ Build 25697M K3.10.63
TL-WR842ND v1 @ BS-build 23919 WDS AP
TL-WR841ND @ BS-build 23919 WDS Client
TL-WR841ND @ BS-build 23919 Client Bridge ( Routed )
TeeZocker
DD-WRT Novice


Joined: 19 Feb 2012
Posts: 24

PostPosted: Sat Dec 15, 2012 10:26    Post subject: Reply with quote
basmaf wrote:
TeeZocker wrote:
I have installed my page on my buffallo ag300H
(atheros chip)

I had to change #!bin ..... an special version woulde be great ^^

and the MyPage.asp?8 dont work because opkg is installed ^^



mfg

Surprised

Good to see you have mypage working on an atheros router.
You need to make 2 changes to list the packages.

1st in /opt/www/mp8.sh
Code:
Change:
if [ -f /opt/bin/ipkg ]; then do_printInstOpt 55 i mypage8.l1 0;
Into:
if [ -f /opt/bin/opkg ]; then do_printInstOpt 55 i mypage8.l1 0;


2nd in /opt/www/libs/mypage_libweb.sh
Code:
change:
/opt/bin/ipkg status|awk '{ i=1; wrap=75; len=length($0); ll=int(len/wrap);
into:
/opt/bin/opkg status|awk '{ i=1; wrap=75; len=length($0); ll=int(len/wrap);


thanks but it works until now not i haven't change the 2. one Sad

Why is there no patched version for atheros to download?


My Mypage...
https://dl.dropbox.com/u/32156523/router/mypage%20atheros%20patch.tgz
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Dec 15, 2012 15:34    Post subject: Reply with quote
TeeZocker wrote:
thanks but it works until now not i haven't change the 2. one Sad

Why is there no patched version for atheros to download


You need to change both files.
Otherwise it won't work.

I don't own an atheros router, so i won't be patching mypage for it.
blp
DD-WRT Novice


Joined: 10 Jul 2007
Posts: 8

PostPosted: Sat Dec 22, 2012 18:56    Post subject: Reply with quote
Thank you!
Great job!
What if I would like to create a page with a few links and each link starts a script.. would it be possible?
How could I do that?

Thank you
blp
TeeZocker
DD-WRT Novice


Joined: 19 Feb 2012
Posts: 24

PostPosted: Thu Jan 03, 2013 13:14    Post subject: Reply with quote
basmaf wrote:
TeeZocker wrote:
thanks but it works until now not i haven't change the 2. one Sad

Why is there no patched version for atheros to download


You need to change both files.
Otherwise it won't work.

I don't own an atheros router, so i won't be patching mypage for it.


1. i have do it befor xd

I have found my false the opkg havent a link on /bin/

short mount

mount -o bind /jffs/bin /opt/bin/


now it is working Very Happy

bursucul
DD-WRT Novice


Joined: 01 Mar 2011
Posts: 8

PostPosted: Wed Jul 24, 2013 14:31    Post subject: Reply with quote
when entering chown root.root * i get: -sh: chown: not found

"my page" button appears but when i access it returns a blank page.

running on WRT160NL with the latest build 21676

any ideeas ? thanks!
rizel
DD-WRT User


Joined: 08 Oct 2012
Posts: 56

PostPosted: Wed Jul 24, 2013 14:36    Post subject: Reply with quote
bursucul wrote:
when entering chown root.root * i get: -sh: chown: not found

"my page" button appears but when i access it returns a blank page.

running on WRT160NL with the latest build 21676

any ideeas ? thanks!

22118 is the latest build...24 july 2013
bursucul
DD-WRT Novice


Joined: 01 Mar 2011
Posts: 8

PostPosted: Wed Jul 24, 2013 14:46    Post subject: Reply with quote
rizel wrote:
bursucul wrote:
when entering chown root.root * i get: -sh: chown: not found

"my page" button appears but when i access it returns a blank page.

running on WRT160NL with the latest build 21676

any ideeas ? thanks!

22118 is the latest build...24 july 2013


ok, i`m not running the today build... yet Smile
but still... any ideea why i don't have chown ?

ps: thanks for the infor regarding the new build.
Lex-
DD-WRT Novice


Joined: 09 Sep 2008
Posts: 7

PostPosted: Thu Feb 13, 2014 7:55    Post subject: MyPage Broken ? Reply with quote
gi-minni wrote:
Thx to Eko, DHC_DarkShadow for the nice scripts, autobot for pointing me to the mypage_scripts variable and phuzi0n for nvram usage.

V0.16 has the following features:
- cache support for the NVRAM page
- print support for every page
- weekly backup support
- many bugs fixed
- ...


I am searching for people who are able to translate mypage-english.js to the other supported languages by dd-wrt.

WARNING: Due to the embedded language support. The javascript and ASP files must reside in /tmp/www.
Make a persistent symbolic link, e.g. ln -s /opt/www /tmp/www, otherwise you will never see a decent text on your screen.


Here the file- and caption names of my pages:

mypage1.sh=Host
mypage2.sh=Wireless
mypage3.sh=Storage
mypage4.sh=Network
mypage5.sh=Filter
mypage6.sh=Kernel
mypage7.sh=NVRAM
mypage8.sh=OPT
mypage9.sh=Procs
mypage10.sh=Ports
mypage11.sh=Logs
mypage12.sh=Traffic


Find attached the files that I changed/added and newbies, be careful to enable opt persistent space (jffs,cifs,mmc) and don't forget to add:

1) Set the nvram variable with nvram set mypage_scripts="/opt/www/mypage1.sh /opt/www/mypage2.sh /opt/www/mypage3.sh /opt/www/mypage4.sh /opt/www/mypage5.sh /opt/www/mypage6.sh /opt/www/mypage7.sh /opt/www/mypage8.sh /opt/www/mypage9.sh /opt/www/mypage10.sh /opt/www/mypage11.sh /opt/www/mypage12.sh"

2) Commit the nvram change with nvram commit

3) Set the executable flag for all scripts and asp file by executing chmod 755 *.sh *.asp otherwise the scripts are not handled properly!

4) Execute <your_inst_dir>/setup/mypage_setup.sh to configure, show & hide pages as well

See Wiki for tutorial
See mypage.log for version history


Build 17201 (ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2011/06-14-11-r17201/broadcom/dd-wrt.v24_mini_generic.bin) is the last one that loads MyPage scripts correctly ?

I want to verify if MyPage is broken after build 17201, at least on WRT54G/GL/GS running dd-wrt.v24_mini_generic.bin

Please confirm...
somo
DD-WRT User


Joined: 04 Sep 2010
Posts: 128

PostPosted: Fri Mar 14, 2014 0:55    Post subject: Reply with quote
hi everyone,

WRT54Gv4 w/SD mod & DDWRT v24-sp2 std build 14929

Im posting some notes here for myself as reference and for those who are having difficulty trying to install MyPage via the wiki instructions here: http://www.dd-wrt.com/wiki/index.php/MyPage

I could not get this to work "Go to /opt/www and extract the file with:

tar -xvzf mypage-files-v0.16-20100129-00520.tgz ."

my solution was to extract this file with WinRar then use WinSCP to copy all the extracted folders and files to /opt/www


next issue I ran into is this: "Don't forget to symbolic link /opt/www to /tmp/www (See below)"

"See below" is an example after the fact and not an instruction.

the solution is found on pg 7

gi-minni wrote:

Code:

if [ -d /tmp/www ]; then rm -rf /tmp/www; fi
ln -s /jffs/opt/www /tmp/www



add it to startup commands.

I hope this helps someone else.

_________________
-WRT54G V2 v24-sp2 Build:12476M vpn-small + AutoAP
-WRT54G V4 w/SDCard Mod v24-sp2 Build:14929 VPN + MyPage
-WRT54G-TM w/SDCard Mod v24-sp2 Build:12476M mega + AutoAP
-WRT54GS V3 w/64MB RAM & SDCard Mods v24-sp2 Build:15962 + OTRW2
somo
DD-WRT User


Joined: 04 Sep 2010
Posts: 128

PostPosted: Fri Mar 14, 2014 2:59    Post subject: Reply with quote
and BTW

niceguy wrote:
@gi-minni
Can you add to one of the MyPage a mini file system browser and an editor box where you can edit files.
Something like the one from the X-WRT webif Withe Russian:




^THIS^ ^THIS^ ^THIS^

how can we make it happen?

_________________
-WRT54G V2 v24-sp2 Build:12476M vpn-small + AutoAP
-WRT54G V4 w/SDCard Mod v24-sp2 Build:14929 VPN + MyPage
-WRT54G-TM w/SDCard Mod v24-sp2 Build:12476M mega + AutoAP
-WRT54GS V3 w/64MB RAM & SDCard Mods v24-sp2 Build:15962 + OTRW2
Goto page Previous  1, 2, 3 ... 23, 24, 25, 26  Next Display posts from previous:    Page 24 of 26
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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