hello
well went thru everything and followed the details on this page . when I go to status and select mypage. get the blanks screen.
if I go to the address bar and enter the following:
http://192.168.1.1/MyPage.asp?12
it shows the info and I have 4 rectangles on the top of the page for mp1-4 and can click and see info but no others. If I go back to mypage it is just blank.
what did I miss or do wrong?
did the plus x chmod and chown and links and made sure all the dirs and files where there. went thru the wiki several times and read and followed page 22 here and cannot figure out what I did not do to get this to work. all files have the first line modified like was pointed out.
should it really be this difficult ?
thanks for any help.
yes did all hte stuff that was specified. all *.sh files have that as the first line. they have the correct permissions,right placements links etc. on page 22 there is a walk through that I followed ,also what was in the wiki and it all looks right but no displays.
to uninstall run this
Code:
rm -rf /tmp/www
rm -rf /opt/www/*
nvram unset mypage_scripts
nvram commit
to download and install run this
Code:
mkdir -p /opt/www/
cd /opt/www/
wget http://www.dd-wrt.com/phpBB2/files/mypage_working_v172_462.tar
tar -xvf mypage_working_v172_462.tar -C /opt/www/
dos2unix mp* my* w*
dos2unix setup/m* setup/t* setup/lang/* setup/libs/* js/* libs/* style/*
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 *
ln -s /opt/www /tmp/www
cp S85wrtbwmon /opt/etc/init.d/S85wrtbwmon
chmod 755 /opt/etc/init.d/S85wrtbwmon
ls -l /opt/etc/init.d/S85wrtbwmon
cd setup
/bin/sh mypage_setup.sh /opt/www y y y y y y y y y
reboot
wait for 6 mins
If you get a blank screen when accessing MyPage and you are running a late version of dd-wrt then you need to make the following changes.
1/ Edit /opt/www/S85wrtbwmon
Change the first line from #/bin/sh to #!/bin/sh
Create the directory /opt/etc/init.d/ if does not already exist and then copy /opt/www/S85wrtbwmon to /opt/etc/init.d/S85wrtbwmon.
2/ Edit all /opt/www/mp*.sh files and ensure that the first line of the file is #!/bin/sh. If not then add #!/bin/sh as the first line of the file.
These changes should resolve the MyPage blank screen.
reboot and wait for 6 mins.
hello
thanks! somehow I missed the startup script add.
sleep 15
/opt/www/mypageup.sh /opt/www 10
threw that in and all is well.
thanks for your help
jack
to uninstall run this
Code:
rm -rf /tmp/www
rm -rf /opt/www/*
nvram unset mypage_scripts
nvram commit
to download and install run this
Code:
mkdir -p /opt/www/
cd /opt/www/
wget http://www.dd-wrt.com/phpBB2/files/mypage_working_v172_462.tar
tar -xvf mypage_working_v172_462.tar -C /opt/www/
dos2unix mp* my* w*
dos2unix setup/m* setup/t* setup/lang/* setup/libs/* js/* libs/* style/*
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 *
ln -s /opt/www /tmp/www
cp S85wrtbwmon /opt/etc/init.d/S85wrtbwmon
chmod 755 /opt/etc/init.d/S85wrtbwmon
ls -l /opt/etc/init.d/S85wrtbwmon
cd setup
/bin/sh mypage_setup.sh /opt/www y y y y y y y y y
reboot
wait for 6 mins
give this a shot and this is what worked for me. no problems.
But I have tried to get the files work prob. But I got a strange prob.
The MyPage site is show up under the status link and not besides it and nothing come up on the page.
Are there someone whos will help me out a little bit further.[img][/img]
The fix to your issue is one page back it worked for me on a E3200 build 19519
kingsmill wrote:
If you get a blank screen when accessing MyPage and you are running a late version of dd-wrt then you need to make the following changes.
1/ Edit /opt/www/S85wrtbwmon
Change the first line from #/bin/sh to #!/bin/sh
Create the directory /opt/etc/init.d/ if does not already exist and then copy /opt/www/S85wrtbwmon to /opt/etc/init.d/S85wrtbwmon.
2/ Edit all /opt/www/mp*.sh files and ensure that the first line of the file is #!/bin/sh. If not then add #!/bin/sh as the first line of the file.
These changes should resolve the MyPage blank screen.
I run into an issue. 18xxx dd-wrt on buffalo router.
When I try to expand files to /opt/www i get, "Error: read only file system".
Same error for everything, only can write to /tmp/www but it seems those get deleted at reboot.
Any suggestions?
Well, make the /opt writeable. Sometimes if you make the partitions under Linux (e.g. Ubuntu), it protects them so that only your Linux installation root user may write on them. Try reformatting the partition with PartedMagic or similar software. It has to be ext2 for USB sticks and SSDs and ext3 for real hard disks (no SSDs). _________________ 2 times APU2 Opnsense 21.1 with Sensei
2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)
3 times Asus RT-N16 shelved
E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)
3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Sun Aug 12, 2012 5:44 Post subject:
luis84 wrote:
Hello,
I do not have /opt for anything, I just want to store these on my routers default internal memory.
I know it's possible because companies with VPN applets write custom my pages to my router from the web via wgetting an sh file no problem.
Where do they store them to make it work?
What path on the routers internal memory is available to store the file....
The normal paths all seem ready only
If that is done at every startup, then it would be stored in the "temp" directory. Most of those 'unwritable' locations have a file or directory that links back to a file or directory in the "temp" location. Certain things can be written, but when the router reboots, they are not saved. Likely those custom "my pages" are loaded with the startup script when the router boots. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.