Author Topic: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!  (Read 6680 times)

rickrich

  • Calf
  • *
  • Posts: 10
WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« on: June 12, 2010, 08:32:49 am »

 

Buffalo's rebranded DD-WRT build 14512 and whr-hp-gn is flaky.  Installed it two days ago.  Crashed and rebooted a day ago.  Then, it crashed and rebooted 40 minutes ago.

root@rkkda2:~# uptime 
07:55:02 up 38 min, load average: 0.00, 0.00, 0.00


I know is it going crash within ~1 hour because the "Time" field in the web browser says:

Firmware: DD-WRT v24SP2-MULTI (05/28/10) std
Time:


instead of

Firmware: DD-WRT v24SP2-MULTI (05/28/10) std
Time: 08:09:06 up 52 min, load average: 0.05, 0.01, 0.00

 

 

WAN port is disabled.

DHCPD is disabled.

WEP is enabled.

Static IP == 192.168.1.5

 

I.E. It's a router ONLY.

 


slybunda

  • Buffalo
  • ***
  • Posts: 140
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #1 on: June 12, 2010, 11:05:39 am »

reason for this is that the standard dd-wrt builds and buffalo dd-wrt rebrands are exactly the same other than the interface colours.

 

and we all know that dd-wrt is unstable on atheros 9xxx cpus due to dd-wrt using an outdated madwifi driver and not atheros's official ath9k driver,

 

for stability with these buffalo routers your going to have to stick to the regular firmware. if you want professional level features along with reliability and performance then your going to have to purchase pro hardware from the likes of ubiquiti / senao etc.

 

From Admin:  The MadWifi driver is for Atheros A/B/G chipsets only. In DD-WRT, the latest Atheros carrier driver with many fixes is used. ath9k is not an official driver from Atheros, but an open-source project, that DD-WRT also supports with significant development resources.


rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #2 on: June 13, 2010, 12:22:59 pm »

Crashed again:

 

$ while true; do router-rkkda2; sleep 300; done
 07:40:07 up 1 day, 23 min, load average: 0.00, 0.00, 0.00
...snip...
 11:50:26 up 1 day,  4:33, load average: 0.98, 0.58, 0.29
 11:55:28 up 1 day,  4:38, load average: 0.17, 0.29, 0.24
timed-out waiting for login prompt at /home/rick/bin/router-rkkda2 line 7
 12:05:40 up 1 min, load average: 0.30, 0.13, 0.04
 12:10:40 up 6 min, load average: 0.00, 0.04, 0.01

 

My  Asus RT-N16 is FINE running DD-WRT v24-sp2 (12/18/09) big - build 13491M NEWD-2 K2.6 Eko. Uptime 21 days (due to a power failure).  What is the story with Buffalo routers???


router-rkkda2 is a Perl program:

#!/usr/bin/perl

use Net::Telnet ();
$t = new Net::Telnet (Timeout => 10,
                      Prompt => '/.*~# /');
$t->open("192.168.1.5");
$t->login("root", "password");
@lines = $t->cmd("uptime");
print @lines;

 


Memnochxx

  • Calf
  • *
  • Posts: 7
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #3 on: June 13, 2010, 01:49:45 pm »

WEP is just about completely useless for security as you (probably must) know.


rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #4 on: June 13, 2010, 05:01:40 pm »

"Nintendo DS games with online play still require the use of WEP or no security to connect with the Nintendo WFC" -- from Ninendo

 

I use the WHR-HP-GN  upstairs for my son.


rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #5 on: June 14, 2010, 08:25:52 am »

OK.  httpd is using all memory when it crashes!  About ~24 hours, then it crashes.

 

Here it is after 3 hours...

# top

Mem: 19016K used, 10904K free, 0K shrd, 1580K buff, 4760K cached
CPU:  1.3% usr  0.5% sys  0.0% nic 98.0% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.02 0.01 0.00 2/23 13065
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 4500     1 root     S     4588 15.2  1.5 httpd -p 80
  610     1 root     S     1292  4.3  0.0 watchdog
  690     1 root     S     1256  4.1  0.0 resetbutton
  846     1 root     S     1128  3.7  0.0 ap_serv -i br0
  847     1 root     S     1128  3.7  0.0 ap_serv -i br0
  845     1 root     S     1124  3.7  0.0 ap_serv -i br0
  914     1 root     S      972  3.2  0.0 process_monitor
 8916   835 root     S      932  3.1  0.0 -sh
 8925  8916 root     R      924  3.0  0.0 top
  835     1 root     S      916  3.0  0.0 telnetd
    1     0 root     S      900  3.0  0.0 /sbin/init
  856     1 root     S      672  2.2  0.0 dnsmasq --conf-file=/tmp/dnsmasq.conf
  970     1 root     S      576  1.9  0.0 cron
  589     2 root     SW<      0  0.0  0.0 [mtdblockd]
    5     2 root     SW<      0  0.0  0.0 [khelper]
    3     2 root     SW<      0  0.0  0.0 [ksoftirqd/0]
    2     0 root     SW<      0  0.0  0.0 [kthreadd]
    4     2 root     SW<      0  0.0  0.0 [events/0]
   39     2 root     SW<      0  0.0  0.0 [kblockd/0]
   58     2 root     SW       0  0.0  0.0 [pdflush]

Right now I:

# kill -9 {httpd_pid}

on a daily basis.  PLEASE FIX THIS!!!!


drmemory

  • Big Bull
  • *****
  • Posts: 1147
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #6 on: June 15, 2010, 10:55:22 am »

If there are others having this issue, please post your exact router,  (in this thread) the activities before the crash, and your system logs. We haven't been able to reproduce this in our labs, so the more info, the faster we can work on this.



rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #8 on: June 30, 2010, 03:07:07 am »

From the CD. WHR-HP-GN.  DD-WRT v24SP2-MULTI (05/28/10) std - build 14512

Date        httpd Size
06-29 12:00 29884416
06-29 13:00 killall httpd
06-29 13:00 11288576
06-29 14:00 15122432
06-29 15:00 18956288
06-29 16:00 22790144
06-29 17:00 26624000
06-29 18:00 30474240
06-29 19:00 killall httpd
06-29 19:00 11288576
06-29 20:00 15138816
06-29 21:00 19005440
06-29 22:00 22872064
06-29 23:00 26738688
06-30 00:00 30605312
06-30 01:00 killall httpd
06-30 01:00 11304960
06-30 02:00 15171584
06-30 03:00 19021824


dfx

  • Calf
  • *
  • Posts: 4
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #9 on: July 01, 2010, 02:25:42 pm »

I get the same problem. Notably it starts giving major packetloss until the router freezes up. We're talking 30-75% packetloss when the HTTPD starts having problems.

 

I've also noticed that establishing a SSH connection seems to instigate the problem almost immediately.


rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #10 on: July 01, 2010, 06:40:19 pm »
$ cat ~/bin/router-rkkda2
#!/usr/bin/perluse Net::Telnet ();$t = new Net::Telnet (Timeout => 10,                      Prompt => '/.*~# /');$t->open("192.168.1.5");$t->login("root", "PASSWORD");@lines = $t->cmd("uptime");print @lines;@lines = $t->cmd("killall httpd");print @lines;@lines = $t->cmd("httpd -p 80");print @lines;
I run this from cron on my main computer right now as a workaround.
$ crontab -l | grep rkkda20       0,4,8,12,16,20 * *      *       router-rkkda2 >/dev/null

dfx

  • Calf
  • *
  • Posts: 4
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #11 on: July 04, 2010, 09:20:25 am »

I don't know much about using cron, is that basically running the script every 4 hours?


rickrich

  • Calf
  • *
  • Posts: 10
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #12 on: July 04, 2010, 01:24:44 pm »

Yes.  Every 4 hours.


drmemory

  • Big Bull
  • *****
  • Posts: 1147
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #13 on: July 13, 2010, 10:29:13 am »

About HTTPD: the HTTPD issue is relevant if you have a status page open  (that pulls information from the router) over > 1day

does everyone here that is experiencing the HTTPD issue, have a status page open, if not, please give details about your other settings.


dfx

  • Calf
  • *
  • Posts: 4
Re: WHR-HP-GN and Buffalo branded DD-WRT 14512 is FLAKY!!!
« Reply #14 on: July 14, 2010, 11:43:29 am »

well, what a surprise. I'm glad to see a BT answer.

 

It turns out that by using actual DDWRT firmware instead of your own, I dont' get a HTTPD leak. I appreciate ackowledgement of it, but a fix would have been better. I used the brainslayer v24 -http://www.dd-wrt.com/site/support/other-downloads?path=others%2Feko%2FBrainSlayer-V24-preSP2%2F06-30-10-r14684%2Fbuffalo_whr_hp_gn%2F and it worked - no more HTTPD leaks, no more memory leaks at all.

 

I've gotten the HTTPD link with and without having a status window open. Also, it's noted that even if you close the status window and reopen it later, the memory is still not reclaimed.  Maybe it's a separate memory leak.

 

Also, for the Drmemory, When I play team fortress 2 and I view a server's information using the buffalo DDWRT firmware, the router will freeze when I view the server information. This is with wireless G along with WPA2-PSK, dnsmasq/dhcpmasq on and sshd on. Doesn't matter if any of these are on or off, it still happens, and I've tested with all of those features on or off including dmz. No servers being hosted. 100% reproducible. Router will completely freeze and 192.168.11.1 will not respond. The wireless light, network light, and status light will all be solid, while the active ethernet port lights will blink constantly. 

 

Since using the brainslayer custom DDWRT firmware listed above, no issues. Of course I'd prefer to be able to use official buffalo firmware instead but eh. Sorry fellas. Maybe you want to compare what that specific ddwrt firmware does to the one offered by buffalotech?