OTRW2 (incl. Mypage)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 62, 63, 64  Next
Author Message
1888cybercide
DD-WRT Novice


Joined: 09 Jun 2010
Posts: 35

PostPosted: Tue Aug 28, 2012 14:07    Post subject: Reply with quote
Dark_Shadow wrote:
Try the first post in this thread.

Thanks!
Didn't really understand at first. I'll give it a shot when I can take the router down for a while.
Sponsor
alphard
DD-WRT Novice


Joined: 06 Jan 2012
Posts: 6

PostPosted: Thu Aug 30, 2012 0:01    Post subject: Reply with quote
Can you make a fork of the script, trimming down the number of preinstalled packages? I think that some of them should be optional(like lighthttpd and php).

Also, the script refuses to install on ext4 partitions.
jumran
DD-WRT User


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

PostPosted: Thu Aug 30, 2012 1:13    Post subject: Reply with quote
alphard wrote:
Can you make a fork of the script, trimming down the number of preinstalled packages? I think that some of them should be optional(like lighthttpd and php).

Also, the script refuses to install on ext4 partitions.


See following for link to install light version.

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=701728

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


Joined: 25 Mar 2012
Posts: 104
Location: In a van down by the river.

PostPosted: Sat Sep 01, 2012 4:41    Post subject: Reply with quote
Optware the right way by Frater is not working, going to try Optware the right way 2 on my E3000. cross your fingers!
_________________
-I Am The Uberhuman Mutant
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Sep 01, 2012 9:38    Post subject: Reply with quote
alphard wrote:
Also, the script refuses to install on ext4 partitions.


As stated in the wiki for otrw currently only ext 2/3 are supported.

I haven't used ext4 on my routers.
If multiple people confirm it works correctly I will add support
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Sep 01, 2012 12:52    Post subject: Reply with quote
To be clear
Since i see serveral failure from someone with an unitymediagroup.de IP

I have NOT added support for it yet!
I need confirmation that ext4 is working correctly with DD-WRT
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Sep 01, 2012 13:38    Post subject: Reply with quote
barryware wrote:
basmaf wrote:
Hi BW,

To reset the monthly data run
Code:
service mypage reset_month

This will create /opt/www/bwmon/history/total_usage.db

To clear all data
Code:
rm /opt/www/bwmon/usage.db
rm /opt/www/bwmon/history/total_usage.db


I was traveling for work most of this week. This morning (08/01), I checked the bwmon to see if it had cleared itself. It looked like it had (except for totals).

To make sure it started fresh for the month, I ran the "service mypage reset_month" command.

Indeed.. It cleared everything but.. A short time later, there were a bunch of "auto-added" entries in the user file.

These users were already present based on ip's. The auto-added clients had the date as the mac address.

I was rushed this morning and didn't have a lot of time to investigate but should be repeatable.

btw.. I am now running k26 using an rt-n16 (no longer for now k24 on a TM). I did a clean install of otrw using a usb stick last week sometime


Bumping an old issue. with mypages monthly reset of usages data.

Found the cause and its fixed now.
Typo in S99mypage was causing it.

FYI
I recently changed the prep script to update S99mypage during upgrade.

to update
Code:
wget -O /opt/etc/init.d/S99mypage http://otrw.basmaf.com/S99mypage


Sorry that its fixed on the first of the month...
bluesaber
DD-WRT User


Joined: 05 Jan 2009
Posts: 64
Location: Follow the yellow brick road - North America

PostPosted: Sun Sep 02, 2012 1:37    Post subject: Reply with quote
First off, thank you basmaf for taking over this project. I originally used fratter's OTRW, but am now running your. It worked perfectly out of the box, as they say. Smile

I do have a question, though. I am finding that on every hour the syslog on my router is exiting and then restarting. Also if it is helpful info, I have the reloc_syslog service enabled.

Code:

Sep  1 18:00:01 myrouter syslog.info syslogd exiting
Sep  1 18:00:01 myrouter syslog.info syslogd started: BusyBox v1.19.4


Is this a valid way the syslogd is supposed to work? I don't remember this being the case using fratter's OTRW, but I may have overlooked it in the logs.

_________________
e4200 (refurb.) - DD-WRT v24-sp2 (04/09/11) big - build 18777M K2.6

WRT54GL v1.1 - DD-WRT v24-sp2 (07/22/09) STD - build 12548M NEWD Eko

WRT54GL v1.1 - DD-WRT v24-sp2 (07/22/09) vpn - build 12548M NEWD Eko
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Sep 02, 2012 7:15    Post subject: Reply with quote
I don't know if that behaviour was there in the past.

I noticed that syslog some times restarted with incorrect settings.
I added a check which will restart syslog when running with default settings.

But that should leave an entry in the syslog
"restarting syslogd to use /opt/var/log/messages, it was back on default settings"
orionshock
DD-WRT Novice


Joined: 29 Apr 2011
Posts: 45

PostPosted: Mon Sep 03, 2012 3:45    Post subject: Reply with quote
Might have already been asked..
but can you change the bandwidth monitor to use this instead ?
In many opinions it's a better bandwidth monitor Smile
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Mon Sep 03, 2012 6:03    Post subject: Reply with quote
orionshock wrote:
Might have already been asked..
but can you change the bandwidth monitor to use this instead ?
In many opinions it's a better bandwidth monitor Smile


No not at this point.
Cost a lot of effort to get it integrated in mypage correctly.
There are other things which I want fixed first.

But if you can change the scripts so it works my setup with same appearance of the other mypage scripts I will consider.
orionshock
DD-WRT Novice


Joined: 29 Apr 2011
Posts: 45

PostPosted: Mon Sep 03, 2012 6:35    Post subject: Reply with quote
basmaf wrote:
orionshock wrote:
Might have already been asked..
but can you change the bandwidth monitor to use this instead ?
In many opinions it's a better bandwidth monitor Smile


No not at this point.
Cost a lot of effort to get it integrated in mypage correctly.
There are other things which I want fixed first.

But if you can change the scripts so it works my setup with same appearance of the other mypage scripts I will consider.


Easier said that done.. but i will try Smile
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Mon Sep 03, 2012 6:54    Post subject: Reply with quote
orionshock wrote:
basmaf wrote:
orionshock wrote:
Might have already been asked..
but can you change the bandwidth monitor to use this instead ?
In many opinions it's a better bandwidth monitor Smile


No not at this point.
Cost a lot of effort to get it integrated in mypage correctly.
There are other things which I want fixed first.

But if you can change the scripts so it works my setup with same appearance of the other mypage scripts I will consider.


Easier said that done.. but i will try Smile


That what is holding me back.
Don't want to invent the wheel again.

Lately I'm struggling to find time and energy to work on mypage.
I seriously need a holiday

What are the point you prefer in this version?
Overview per day is something what is on my to-do list.
priority
DD-WRT Novice


Joined: 18 Aug 2012
Posts: 7

PostPosted: Mon Sep 03, 2012 7:37    Post subject: Reply with quote
gambitmac wrote:
Optware the right way by Frater is not working, going to try Optware the right way 2 on my E3000. cross your fingers!


Was in the same boat a couple of days ahead of you. OTRW2 is working flawlessly for me on my E3000.

As a side note, tried out pound for a reverse proxy. Found the limitations more than a bit annoying for my taste. So, I intalled nginx, tweaked the startup scipts a bit and moved my nginx config scripts over from an ubuntu box. Voila! nginx reverse proxy with url rewrites on dd-wrt!!! None of that subdomain only stuff with pound reverse proxies!!!! Cool

The only question I have is WHY DIDN'T I INSTALL OTRW SOONER? Embarassed

Idea basmaf--any chance you could incorporate nginx into OTRW? The only must have tweaks are adding nogroup to the list in /etc/group and setting up port forwards for 80 and 443. The S80nginx script for optware, while limited, is otherwise working well with your other fine work!
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Mon Sep 03, 2012 14:13    Post subject: Reply with quote
priority wrote:
gambitmac wrote:
Optware the right way by Frater is not working, going to try Optware the right way 2 on my E3000. cross your fingers!


Was in the same boat a couple of days ahead of you. OTRW2 is working flawlessly for me on my E3000.

As a side note, tried out pound for a reverse proxy. Found the limitations more than a bit annoying for my taste. So, I intalled nginx, tweaked the startup scipts a bit and moved my nginx config scripts over from an ubuntu box. Voila! nginx reverse proxy with url rewrites on dd-wrt!!! None of that subdomain only stuff with pound reverse proxies!!!! Cool

The only question I have is WHY DIDN'T I INSTALL OTRW SOONER? Embarassed

Idea basmaf--any chance you could incorporate nginx into OTRW? The only must have tweaks are adding nogroup to the list in /etc/group and setting up port forwards for 80 and 443. The S80nginx script for optware, while limited, is otherwise working well with your other fine work!


Almost all is possible.
Im willing to add other webservers but:
setup and config must be easy for noob users

After install there must be a working config including logging reverse proxy etc..

Im a Apache and Lighttpd user so help me out Wink

please share:
Changes made to startup script.
Config examples for host vhosts

Im realy interested in reverse proxy examples.
Please share some example to backend servers.

otrw.basmaf relies on pound and im please with the way it works.
But always in for improvements.
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 62, 63, 64  Next Display posts from previous:    Page 14 of 64
Post new topic   Reply to topic    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