OTRW2 (incl. Mypage)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 56, 57, 58 ... 62, 63, 64  Next
Author Message
6wheels
DD-WRT Novice


Joined: 02 Sep 2009
Posts: 10

PostPosted: Sat Mar 01, 2014 13:53    Post subject: Reply with quote
Quote:
It may be the overclocking that your router cannot handle. I never had my WRT600n overclocked (however I have since upgraded to an E3000), and OTRW2 worked just fine on it. On a side note, I did not use everything from OTRW2 (especially not mypage). Likely it is the scripts from mypage that are using 100% of your router CPU and the overclocking is what locks it up.


No the overclock is fine, the router never overheated on me even on 100% CPU utilization. It's just slow. Time to buy a new router. I will go for a good AC1900 supported router.
Sponsor
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Sat Mar 01, 2014 17:09    Post subject: Reply with quote
The clock on my Asus WL-500G Premium v2 is 240 Meg.

After a fresh install of Optware2 I'm now finding it works OK (AFAICT!).

I've got the following services running:
xinetd
usbmount
lighttpd
fixtables
stophammer
asiablock
watchprinter
stophack
backupessential

The CPU load is around 5% when idle (without the Web GUI), but hops up to 100% when stophack or stophammer do checks. (Incidentally, I've not met 'htop' before - it's a big improvement to 'vanilla top').

I'm a bit puzzled by the enabling of services. Why have two levels of enablement - 'on' and 'start'? What circumstances would require a service to be 'on', but not 'start'ed?

If the two levels are really necessary, why not have different highlighting for each, so you can see if a service is 'on', but not 'start'ed?

(I'm probably missing an important point here!)

Jim
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Mar 02, 2014 10:17    Post subject: Reply with quote
Thanks for the beer.

the services command parses S** scripts in /opt/etc/init.d/
only scripts with the "NAME" variable in it are shown in the output.

If a script if "off" the it has no executable state "-x"
the "service ***" on makes the scripts executable.
The start command is required to actually run the scripts.

It would be possible to show different states when service command is issued, but it would take too much time to check all services.
As you have seen the only the service command take quite some time
Since its also not common to active deactivate services all the time I won't change it.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Mar 02, 2014 10:22    Post subject: Reply with quote
BTW you can use mypage but without bwmon and nat monitoring.
So there is no additional load on the router but you can use the tabs.


Edit the variables in /opt/etc/init.d/S99mypage

Code:
# To disable BWMON set to 1
DISABLE_BWMON=0
# To disable CONNTRACK set to 1
DISABLE_CONNTRACK=0


But when you update your installation you would need to edit the file again since it overwritten on update.
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Sun Mar 02, 2014 10:44    Post subject: Reply with quote
basmaf wrote:

If a script if "off" the it has no executable state "-x"
the "service ***" on makes the scripts executable.
The start command is required to actually run the scripts.


Thanks for the reply 'basmaf'.

I'm still not sure why you would want to go to the bother of making a script executable, and yet not execute it. Just puzzled!

I'm not sure if Stophammer is working properly:

If I get GRC, or any other online port scanner to scan my ports, stophammer detects it and puts an entry in /opt/etc/iptables.hammer.rules.

If I repeat the scan, ports that are closed still respond, rather than ignore the scan and show 'stealthed'. I would expect the whole scan to be ignored ('stealthed') if the scanner IP is in iptables.hammer.rules.. Is stophammer working as it should on my router?

Jim
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Mar 02, 2014 11:28    Post subject: Reply with quote
jimford wrote:
basmaf wrote:

If a script if "off" the it has no executable state "-x"
the "service ***" on makes the scripts executable.
The start command is required to actually run the scripts.


Thanks for the reply 'basmaf'.

I'm still not sure why you would want to go to the bother of making a script executable, and yet not execute it. Just puzzled!

I'm not sure if Stophammer is working properly:

If I get GRC, or any other online port scanner to scan my ports, stophammer detects it and puts an entry in /opt/etc/iptables.hammer.rules.

If I repeat the scan, ports that are closed still respond, rather than ignore the scan and show 'stealthed'. I would expect the whole scan to be ignored ('stealthed') if the scanner IP is in iptables.hammer.rules.. Is stophammer working as it should on my router?

Jim


Well all scripts are started upon boot of the router.
When I want to start a lot of services I just gives them the on command and reboot the router.
But I got your point and will think about it.

about stophammer.
The ports are not blocked but a DROP rule is added for that specific IP in the nologdrop chain.
The thing is that all traffic which comes into the INPUT chain is routed trough the nologdrop chain.
So traffic is forwarded and then dropped.

check the chain with iptables -vnL nologdrop
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Sun Mar 02, 2014 12:08    Post subject: Reply with quote
basmaf wrote:

check the chain with iptables -vnL nologdrop


Typically:

Code:

pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       0    --  *      *       195.131.4.164        0.0.0.0/0 


I guess it looks OK.

I really need to get up to speed with iptables - I've put it off for too long!

Jim
somo
DD-WRT User


Joined: 04 Sep 2010
Posts: 128

PostPosted: Sun Mar 02, 2014 23:02    Post subject: Reply with quote
I would like to try OTRW2 on a WRT54G v3 running 14929 v24-sp2 std-nokaid.

I first tried original OTRW and ran into a snag here:
wget -O /tmp/prep_optware http://wd.mirmana.com/prep_optware sh /tmp/prep_optware

I was not getting any download activity through the router even as I could ping yahoo.com from this router and clicking the link directly in my browser I successfully download it. (can I install directly with WSCP instead of downloading to router?)

while trying to determine the problem I discovered OTRW2

edit: first mistake was that I was combining the two lines.

now I separate them, after entering "sh /tmp/prep_optware" I get message "You need to mount /opt"

I dont know how to mount /opt yet. I just now completed my first SDcard mod. I will read more but if anyone can help me mount /opt I will be thankful.

_________________
-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: Tue Mar 04, 2014 2:09    Post subject: Reply with quote
the OTRW2 wiki page mmc/sd section should be edited to add the note that is in the original OTRW wiki.

see my post for more info here: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=883189

I tried to edit with my forum login but I guess I need to make a separate account for the wiki.

hope this was helpful.

_________________
-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
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Tue Mar 04, 2014 17:23    Post subject: Reply with quote
I've been watching the logs on my recent installation of Optware2.

It's very gratifying to see asiablock working! I get near continual 'asia DROP' entries, mostly from 124.120.22.204 in Bankok.

What's actually going on here (just curious)?

Jim
frater
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2777

PostPosted: Thu Mar 06, 2014 11:30    Post subject: Reply with quote
Good to see my legacy is still inspiring.
I haven't touched a DD-WRT router for ages, I'm now using Freetz.

How's general development doing?
Are you guys missing me?

_________________
Asus RT16N + OTRW
Kingston 4GB USB-disk 128 MB swap + 1.4GB ext3 on /opt + 2 GB ext3 on /mnt
Copperjet 1616 modem in ZipB-config
Asterisk, pixelserv & Pound running on router
Another Asus RT16N as WDS-bridge

DD-WRT v24-sp2 vpn (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)
somo
DD-WRT User


Joined: 04 Sep 2010
Posts: 128

PostPosted: Thu Mar 06, 2014 15:53    Post subject: Reply with quote
frater wrote:
Good to see my legacy is still inspiring.
I haven't touched a DD-WRT router for ages, I'm now using Freetz.

How's general development doing?
Are you guys missing me?


hey! it's great to see you here! I often wonder where some of the most brilliant contributors to DDWRT are now.

stick around a bit!

and thanks for your work here in the past, I'm just now getting to using it. (all new to me!)

_________________
-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
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Fri Mar 07, 2014 16:46    Post subject: Reply with quote
frater wrote:
Good to see my legacy is still inspiring.


Thanks for starting off Optware. 'Basmaf' is 'standing on the shoulders of a giant'!

Jim
jimford
DD-WRT User


Joined: 20 May 2012
Posts: 71

PostPosted: Fri Mar 07, 2014 16:50    Post subject: Reply with quote
Would there be any advantages or problems in TARPITting hammerers, instead of DROPping them?

Jim
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Fri Mar 07, 2014 22:09    Post subject: Reply with quote
frater wrote:
Good to see my legacy is still inspiring.
I haven't touched a DD-WRT router for ages, I'm now using Freetz.

How's general development doing?
Are you guys missing me?


Wow man, what rock have you been hiding under? Glad to see that you stopped back in after 3 years of your disappearing act Cool

I believe everyone has been missing you. I'm just glad that basmaf has taken the time and effort to reverse engineer your original scripts and keep the project alive.

Hope your "new life" is treating you well Wink

_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Goto page Previous  1, 2, 3 ... 56, 57, 58 ... 62, 63, 64  Next Display posts from previous:    Page 57 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