Author
Message
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Sat Dec 05, 2009 21:53 Post subject:
LOM wrote: DHC_DarkShadow wrote: Anyone know how to call the build number?
/sbin/softwarerevision
sorry asked the wrong question, I am actually looking to get the output from Status-->Router-->Firmware Version
_________________The New Me
Back to top
Sponsor
phuzi0n DD-WRT Guru Joined: 10 Oct 2006 Posts: 10075
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Wed Dec 09, 2009 1:48 Post subject:
Is there or can there be an easier way Eko?
I have tried every way I can to incorporate that code and it just isn't working.
EDIT: This is what I got so far...
Code: echo "<fieldset>"
echo "<legend>Build</legend>"
echo "<pre> ($(nvram get os_date))$(/sbin/softwarerevision)</pre>"
echo "</fieldset><br />"
_________________The New Me
Back to top
Luniz2k1 DD-WRT Guru Joined: 04 Oct 2007 Posts: 1250 Location: Ohio USA
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Wed Dec 09, 2009 3:13 Post subject:
Thanks Luniz2k1
The output I am looking for is
DD-WRT v24-sp2 (Dec 7 2009) big (SVN revision 13401M NEWD Eko)
Like on the about page or even what's in the upper right hand corner of the GUI on the normal router pages.
DD-WRT v24-sp2 (12/07/09) big
_________________The New Me
Back to top
Luniz2k1 DD-WRT Guru Joined: 04 Oct 2007 Posts: 1250 Location: Ohio USA
Posted: Wed Dec 09, 2009 3:17 Post subject:
Then just do:
Code: echo "<fieldset>"
echo "<legend>Build</legend>"
echo "<pre>$(cat /tmp/loginprompt) </pre>"
echo "</fieldset><br />"
Results:
Quote: DD-WRT v24-sp2 custom (c) 2009 NewMedia-NET GmbH
Release: 12/08/09 (SVN revision: 13415)
_________________(04/15/13) mega - 21286
4x WRT54G-TM
(04/15/13) std - 21286
1x WHR-G300N
(04/15/13) nokaid - 14929
1x WRT54GL v1.1
(04/15/13) micro - 21286
1x WG602v3
Got OpenDNS?
Last edited by Luniz2k1 on Wed Dec 09, 2009 3:21; edited 1 time in total
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Wed Dec 09, 2009 3:18 Post subject:
Luniz2k1 wrote: Then just do:
Code: echo "<fieldset>"
echo "<legend>Build</legend>"
echo "<pre> $(cat /tmp/loginprompt) </pre>"
echo "</fieldset><br />"
Results:
Quote: DD-WRT v24-sp2 custom (c) 2009 NewMedia-NET GmbH
Release: 12/08/09 (SVN revision: 13415)
WHAT!!!! you have been holding out all this time?
Thanks man
_________________The New Me
Back to top
jinjorge DD-WRT User Joined: 09 Nov 2009 Posts: 61
Posted: Wed Dec 09, 2009 3:27 Post subject:
Tried to take a look at your screenshots to no avail... are you planning to repost them or post a png?
reading through the thread, you guys have some good stuff here.
J
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Wed Dec 09, 2009 4:40 Post subject:
jinjorge wrote:
Tried to take a look at your screenshots to no avail... are you planning to repost them or post a png?
reading through the thread, you guys have some good stuff here.
J
Sorry, duuno why at the moment it is denying access there but this ought to do.
http://dd-wrt.darkhaven.org/mypage/
_________________The New Me
Back to top
barryware DD-WRT Guru Joined: 26 Jan 2008 Posts: 12310 Location: N41 55.327 W88 03.986
Posted: Wed Dec 09, 2009 5:02 Post subject:
Pretty slick!
Back to top
jinjorge DD-WRT User Joined: 09 Nov 2009 Posts: 61
Posted: Wed Dec 09, 2009 6:40 Post subject:
DHC_DarkShadow wrote: jinjorge wrote:
Tried to take a look at your screenshots to no avail... are you planning to repost them or post a png?
reading through the thread, you guys have some good stuff here.
J
Sorry, duuno why at the moment it is denying access there but this ought to do.
http://dd-wrt.darkhaven.org/mypage/
very nice!!! Thanks for posting the screenshots with the scripts. Makes it very easy to follow.
J
Back to top
gi-minni DD-WRT User Joined: 06 Dec 2009 Posts: 128 Location: GMT+1
Posted: Sun Dec 20, 2009 16:54 Post subject:
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
Description:
HTML Shots - v0.16-20100129-00520 - MD5:095ed44c69c49520ec6730f01a453dda - New Mypage screenshots
Download
Filename:
mypage-shots-v0.16-20100129-00520.tgz
Filesize:
1.39 MB
Downloaded:
3784 Time(s)
Description:
HTML Files - v0.16-20100129-00520 - MD5:65664e7346601ff07a66bc31634e99ea - New Mypage scripts - See mypage.log for version history
Download
Filename:
mypage-files-v0.16-20100129-00520.tgz
Filesize:
194.13 KB
Downloaded:
3382 Time(s)
Description:
HTML Setup - v0.13-20100113-00323 - MD5:026e929fb6a7e7844594a84bd86ebef6 - New Mypage setup screenshots
Download
Filename:
mypage-setup-v0.13-20100113-00323.tgz
Filesize:
775.22 KB
Downloaded:
2879 Time(s)
_________________Regards,
gi-minni
Router: ASUS RT-N16@532 MHz (active cooling)
Firmware: DD-WRT v24-sp2 mega (02/23/10)
Build: 13972M NEWD-2 K2.6 BS
DD-WRT MyPage: Download | Forum | Wiki | FAQ | Screenshots Last edited by gi-minni on Fri Jan 29, 2010 18:14; edited 56 times in total
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Sun Dec 20, 2009 18:09 Post subject:
@gi-minni
Do you have any screen shots of the output of the scripts?
_________________The New Me
Back to top
gi-minni DD-WRT User Joined: 06 Dec 2009 Posts: 128 Location: GMT+1
Posted: Sun Dec 20, 2009 18:43 Post subject:
DHC_DarkShadow wrote: @gi-minni
Do you have any screen shots of the output of the scripts?
Yes, look at my attachments
_________________Regards,
gi-minni
Router: ASUS RT-N16@532 MHz (active cooling)
Firmware: DD-WRT v24-sp2 mega (02/23/10)
Build: 13972M NEWD-2 K2.6 BS
DD-WRT MyPage: Download | Forum | Wiki | FAQ | Screenshots
Back to top
DHC_DarkShadow DD-WRT Guru Joined: 22 Jun 2008 Posts: 2440 Location: Am now Dark_Shadow
Posted: Sun Dec 20, 2009 20:09 Post subject:
I see on page 4 "routing tables" and "Domain name server" in your shots, the code isn't in the pages. What was the code you used?
_________________The New Me
Back to top