Kong Mod Update build 16780

30 posts / 0 new
Last post
Kong
Kong's picture
Kong Mod Update build 16780

Bump to 16780 to fix PPPOE reconnect issue.

Kong Mod Info: http://www.myopenrouter.com/article/23842/DD-WRT-Kong-Mod-Info/

Kong-Mod-USB-FTP-SAMBA3-DLNA

MD5SUM: 129ac4a4f2891d88c074d9b457bf600f

Kong-Mod-USB-FTP-SAMBA3-OPENVPN

MD5SUM: 3c95ba80e472295d5e4fc4d6e2f57019

Kong
Kong's picture
By the way I also updated the

By the way I also updated the description of my mod, see Info link above.

Kong
Kong's picture
Do you really need all that

Do you really need all that fancy qos setup stuff:-)

I mean QOS is cool if you have a few roomates that torture your line or in a professional setup where you want to make sure certain services stay responsive, but for most home users qos is not even needed, you may need a few rules at home that allow fast gaming/skyping while downloading but you always have to remember qos is a performance brake it needs cpu power it needs a limit which means at idle times you won't be able to utilize the full throughput. For simple things dd-wrts qos setup is just fine.

Fine tuning in my opinion has to be done after reading a bit to understand the assets and drawbacks.

At work I have to tune qos manually after analyzing traffic on the router using a sniffer:-)

Graphs are cool, but who needs them? They don't speed up your router, don't save energy ...

The reason why I started to build my own custom firmware is that in the last 10 years I had lots of routers but none of them was 100% reliable. I can't stand two things:

-a wife that calls me asking why she cannot surf the net
-a router that is down when I need to access my home network from outside

darekxan
darekxan's picture
WAN connect - disconnect

WAN connect - disconnect buttons working.

But still... After I plug out the ADSL cable PPPoE session is not reestablished.
I can however click "Disconnect" then "Connect" to establish connection.
After every 'disconnect' or 'connect' click router radio is off for 30+ seconds.
Doesnt that happen for you guys?
Maybe I should clear nvram and start from scratch?

Kong
Kong's picture
Hi darekxan,

Hi darekxan,

I'm have just uploaded a new build 16780 which fixes this, see:

http://svn.dd-wrt.com:8000/ticket/2030#comment:1

darekxan
darekxan's picture
16780 definitely looks better

16780 definitely looks better!
Thanks!

darekxan
darekxan's picture
Good job :)

Good job :)

Router correctly identifies PPPoE session termination, shows "Disconnected".
Connection uptime is still counting (thats cosmetics, yes)
After some time PPPoE is reestablished.

Disconnect button is working as intended, however -
Connect button causes router drop wifi and become unresponsive for 30+ seconds.

//edit: I'm still not 100% sure its good, needs more testing.

Kong
Kong's picture
Hi darekxan,

Hi darekxan,

yes this is the expected behaviour, as connect button not only starts up the dial process but also has to stop/start a few other things like ttraf,bridges,vlantagging ...

@Peter, please update the links again. I think we are now getting closer to another stable and rocksolid build.

Sinister
Sinister's picture
Hey Kong,

Hey Kong,

I love your builds, but is there a way to have a torrent client running on the router as well?

It'd be great to be able to set the router to download torrents while not on my network, and without connecting to a computer that is on my network.

Thanks

darekxan
darekxan's picture
 

 

Kong said: Hi darekxan, yes this is the expected behaviour, as connect button not only starts up the dial process but also has to stop/start a few other things like ttraf,bridges,vlantagging ...  [...]

Thanks for clarifying that :)

 

Kong
Kong's picture
@kt, see:
Pavel
Pavel's picture
Dear All,

Dear All,
I've lost my router after flashing and resetting to default settings ((
I tried to make file ,ftp access to flash disk and remote desktop access to my computer and noticed that any internet connections had been dropped. Then I updated my router with that firmware build, but it didn't help. I restored from my backup settings - the same. Then I restored factory settings and router was rebooted. And finally I can't connect to it neither by web nor by ssh((
Please, help!

Pavel
Pavel's picture
kt_haddock said: @Pavel Whic

kt_haddock said: @Pavel Whic router and program ?

Netgear WNR3500L

Kong
Kong's picture
If you reset to factory

If you reset to factory settings the IPs change, are you sure you tried to connect to 192.168.1.1, with a computer that also has an IP in 192.168.1.x range?

If you cannot connect, then the router may be bricked, this is usually indicated if the router lights on the fron stay orange, no wireless led on.

Pavel
Pavel's picture
 

 

Kong said: If you reset to factory settings the IPs change, are you sure you tried to connect to 192.168.1.1, with a computer that also has an IP in 192.168.1.x range? If you cannot connect, then the router may be bricked, this is usually indicated if the router lights on the fron stay orange, no wireless led on.

Yes I have that range, and my lights are orange as you described (wireless led was turned off by my settings). Can I do something with it?

 

Kong
Kong's picture
If it is bricked, the router

If it is bricked, the router should not react to pings.
You have two choices to debrick it then.

Choice 1:

http://www.myopenrouter.com/article/20501/Reset-Debrick-NETGEAR-WNR3500L...

or safer:

http://www.myopenrouter.com/article/13859/How-To-Debrick-Your-NETGEAR-WN...

Pavel
Pavel's picture
Is there no way to repair

Is there no way to repair without physical access?

darekxan
darekxan's picture
Today I noticed my router

Today I noticed my router load average was: 1.0, 1.0, 1.0
I telneted and noticed that process httpd -S was taking running 100% cpu.
I restared it and its fine now. I forgot to check if this was caused by great amount of incoming wan connections (I got https gui available from internet and no-ip domain) or it simply hang.

Not actual bug report, just for the heads up.

Everything ele seems to be running good :)

Kong
Kong's picture
@Pavel,

@Pavel,

probably not.

When the router boots it loads a minimal system called cfe, cfe also starts the network interfaces. CFE then tries to start the flashed firmware.

If it doesn't find a bootable linux kernel it will start a tftp server, in that case you are able to ping the router.

If the cfe finds a bootable kernel it will not start the tftp server and continous to boot the linux kernel. In that case you cannot ping anymore until linux sets up the network interfaces.

If it is bricked the linux kernel usually hangs before it gets there.
Now by using short pin you can override this behaviour , basically this is a switch you can press to tell cfe to stop and start the tftp server.

With JTAG you do the same, you will see cfe loading and you press control c to stop the loading process and start tftpd manually.

So the only chance to recover without physical access is if the router is still pingable or if another 30s reset does it.

(Power off, press the reset button and power on while holding the reset button, after 30s release the reset button)

Pavel
Pavel's picture
Thank you, Kong! I'll try it

Thank you, Kong! I'll try it today's evening

darekxan
darekxan's picture
Ok, after another day of

Ok, after another day of testing:
Router twice forgot to reestablish PPPoE session.
Twice got 1.0 load average, with httpd -S consuming 100% CPU.
*maybe* it was due to router having dyn dns and https administration from WAN enabled.
ddos? *sniffs*

newwnr
newwnr's picture
If I am installing from the

If I am installing from the factory firmware, which CHK file can I install first with this? Or are BIN files capable of installing right off the factory firmware now?

Kong
Kong's picture
@darekxan,

@darekxan,

sometimes if you change settings and hit apply redial is stopped but not started again in that case PPPOE is not reestablished again. Concerning the http problem. I would never allow any direct login from wan.

The most secure way is to only allow SSH login via SSH Keys + a Tunnel in case you want to access the webinterface.

darekxan
darekxan's picture
Kong said: @darekxan, [...]

Kong said: @darekxan, [...] Concerning the http problem. I would never allow any direct login from wan. The most secure way is to only allow SSH login via SSH Keys + a Tunnel in case you want to access the webinterface.

Thanks for the tips, I think I will reconsider and do it this way :)

ghoffman
ghoffman's picture
kong -

kong -

was this build only for the wnr3500L?

i flashed it to my wrt350n and the build is quite slow and the wireless won;t work.

not disastrous; was able to revert to older dd-wrt build - but just wondering.

i did the usul nvram erase before and after flash, 30-30-30 and reset.

thanks for your work.

 

ghoffman
ghoffman's picture
oh yeah1 - i forgot.

oh yeah1 - i forgot.
thank you.

raidz
raidz's picture
Kong, anyone else -

Kong, anyone else -

When I enable transparent mode for privoxy on my router is gives me this error when I try to access websites:

Invalid header received from client

Any ideas?

Thanks!

Kong
Kong's picture
Hi raidz,

Hi raidz,

thanks for discovering this bug.

In transparent mode accept-intercepted-requests has to be set to 1 otherwise privoxy denies the request.

I'm going to provide a fixed build tomorrow.

raidz
raidz's picture
Kong,

Kong,

Thanks! For now I did a custom config with accept-intercepted-requests set to 1 however the router becomes unusable when I download large files via http/port 80. The CPU maxes out at 100%. Not sure there is really a way around it due to the hardware on the router. Let me know if I can do any troubleshooting for you or grab any logs.

Thanks!

Kong
Kong's picture
Hmmm, I think for large files

Hmmm, I think for large files you will need a swap partition:

http://www.dd-wrt.com/wiki/index.php/Linux_SWAP