Kong 20780 released

63 posts / 0 new
Last post
buddee
buddee's picture
Kong 20780 released
Build r20780 

Update:

  QOS enhancements
  linux kernel usb optimizations
  lib3g update
  openssl 1.0.1e
  busybox 1.21

Download: http://www.desipro.de/ddwrt/r20780/

Please test and report within this thread, thank you.
buddee
buddee's picture
@ kong: any chance to get a

@ kong: any chance to get a generic nv64k non RT-N66U build for my E900 to test with? And hopefully USB is still disabled by default?

Kong
Kong's picture
Yes usb is going to be

Yes usb is going to be disabled until someone comes up with a good reason why it should be on:-)

I can upload generic nv64k builds tomorrow.

buddee
buddee's picture
Excellent, as always, thank

Excellent, as always, thank you!

Kong
Kong's picture
generic nv64k builds are up

generic nv64k builds are up now. I added a few new supported models to the readme.

buddee
buddee's picture
Yes, this build (usb-ftp

Yes, this build (usb-ftp-samba3-vpn-nv64k-broadcom.bin) working fine on my E900, also kingkong nv60k working fine on my E1550. Haven't had much test time to see if the inner workings are fine though, will have to more or less tinker with that after work.

A few things to note about as far as what models are supported now. All dd-wrt supported k2.6 8MB flash units up to this number of build are supported now. So E900, E1200v2 and so on. Turning USB off by default made that possible. Thanks kong!

Kong
Kong's picture
OK, added them to the list of

OK, added them to the list of supported models.

Thanks!

schwa226
schwa226's picture
Please add miniDLNA 1.0.25 in

Please add miniDLNA 1.0.25 in the next build:
http://www.myopenrouter.com/download/discussion/45865/Please-update-mini...

The version 1.0.24 has problems with the DeviceID. On Win7 it doesn't work properly.

slobodan
slobodan's picture
I had problems with privoxy

I had problems with privoxy (does not work), problems with mounting jffs (0 bytes free), problems with calling dnscrypt-proxy (so no DNS requests resolved), I had to access GUI on port 88. This build is not for me (namely kingkong nv60k for an E4200). Flashing works funny, it defaults back to GUI and does not reboot the router, I had to turn the router off after 10 minutes. The command reboot from telnet/ssh does not work, not even reboot -f.

buddee
buddee's picture
slobodan said: I had problems

slobodan said: I had problems with privoxy (does not work), problems with mounting jffs (0 bytes free), problems with calling dnscrypt-proxy (so no DNS requests resolved), I had to access GUI on port 88. This build is not for me (namely kingkong nv60k for an E4200). Flashing works funny, it defaults back to GUI and does not reboot the router, I had to turn the router off after 10 minutes. The command reboot from telnet/ssh does not work, not even reboot -f.

That's rather odd findings there. On my E1550 with kingkong, i had no problems issuing a 'reboot' command from the shell nor have i had any other problems as far as port access on the webgui is concerned, all working quite normal here.

gambitmac
gambitmac's picture
slobodan said: I had problems

slobodan said: I had problems with privoxy (does not work), problems with mounting jffs (0 bytes free), problems with calling dnscrypt-proxy (so no DNS requests resolved), I had to access GUI on port 88. This build is not for me (namely kingkong nv60k for an E4200). Flashing works funny, it defaults back to GUI and does not reboot the router, I had to turn the router off after 10 minutes. The command reboot from telnet/ssh does not work, not even reboot -f.

I have had the same problems as slobodan, also Optware stopped working.

gambitmac
gambitmac's picture
 

 

slobodan said: I had problems with privoxy (does not work), problems with mounting jffs (0 bytes free), problems with calling dnscrypt-proxy (so no DNS requests resolved), I had to access GUI on port 88. This build is not for me (namely kingkong nv60k for an E4200). Flashing works funny, it defaults back to GUI and does not reboot the router, I had to turn the router off after 10 minutes. The command reboot from telnet/ssh does not work, not even reboot -f.

I have had the same problems on my e4200 & Kong 20780 as slobodan, also Optware stopped working with this build.

 

Kong
Kong's picture
 

 

gambitmac said:

slobodan said: I had problems with privoxy (does not work), problems with mounting jffs (0 bytes free), problems with calling dnscrypt-proxy (so no DNS requests resolved), I had to access GUI on port 88. This build is not for me (namely kingkong nv60k for an E4200). Flashing works funny, it defaults back to GUI and does not reboot the router, I had to turn the router off after 10 minutes. The command reboot from telnet/ssh does not work, not even reboot -f.

I have had the same problems on my e4200 & Kong 20780 as slobodan, also Optware stopped working with this build.

 

If it does not reboot after flash, then the flash was not complete. That may also be the reason why some things are broken now. I flashed my router about 50 times and I have experienced this twice.

Just flash again make sure you flash using a cable and clear the browser cache and don't start apps from the usb media prior to flashing or kill these apps that run from the usb e.g. optware packages. DD-WRT kills apps before flashing, since it does not know about running apps from usb it will not kill them, which is bad.

 

Just updated the builds with a possible fix for the usb_modeswitch issue.

slobodan
slobodan's picture
Flashed it by the book with

Flashed it by the book with the second relase of your build (removed USB disk, then restarted router, then flashed). Everything went fine with flashing, it rebooted as expected after flashing.

dnscrypt-proxy chokes, puts a heavy load on processor. It does not happen with v. 1.01 or earlier, compiled with DD-WRT toolchain.
S01bashAsShell from OTRW Take 2 chokes, puts a heavy load on processor.
splashd chokes, puts a heavy load on processor.
reboot does not work if OTRW disk is attached.

But I have to admit that jffs works as expected.

Kong
Kong's picture
 

 

slobodan said: Flashed it by the book with the second relase of your build (removed USB disk, then restarted router, then flashed). Everything went fine with flashing, it rebooted as expected after flashing. dnscrypt-proxy chokes, puts a heavy load on processor. It does not happen with v. 1.01 or earlier, compiled with DD-WRT toolchain. S01bashAsShell from OTRW Take 2 chokes, puts a heavy load on processor. splashd chokes, puts a heavy load on processor. reboot does not work if OTRW disk is attached. But I have to admit that jffs works as expected.

 

Hmmmm, what the f** is this, just looking at the kernel log:

 

FPU emulator disabled, make sure your toolchain was compiled with software floating point support (soft-float)

Well I have seen a few comments about this in the forum, but as I looked at the commit I thought  FPU emulator was not disabled. But now it looks like it is, and since I synced the latest kernel changes it is now in my builds.

 

That explains a few things. Dude ....

 

Revoked my builds for now until I have fixed this.

buddee
buddee's picture
Yes FPU emulation has been

Yes FPU emulation has been disabled for quite some while now, alot of OTRW users have been complaining about this for a while. I believe its why we are seeing heavy load averages in general with the latest builds (20006 and up). It has been presented to the dd-wrt dev team, but they don't believe its a problem, so the ticket has been closed and the FPU emulation left disabled. And yes kong, for the record, the dd-wrt dev team doesn't use broadcom units to test with, Atheros only.

Kong
Kong's picture
I just updated and tested my

I just updated and tested my builds. FPU emu is fixed now.
So I reopened the ticket.

buddee
buddee's picture
Excellent, hopefully they

Excellent, hopefully they will re-enable this, although the dev team has also commented how they don't support optware so its not really a concern of their's, but who knows, sometimes even they listen. :)

Kong
Kong's picture
buddee said: Excellent,

buddee said: Excellent, hopefully they will re-enable this, although the dev team has also commented how they don't support optware so its not really a concern of their's, but who knows, sometimes even they listen. :)

Well communication is not their strength. I just tried to findout if there is a benefit when disabling FPU emulation. Quote from mips.org:

 

"This means for many systems such as routers the choice between floating point models is rather unimportant and won't show up at all in the overall system performance."

http://www.linux-mips.org/wiki/Floating_point

 

 

Kong
Kong's picture
wabe said: Hello Kong

wabe said: Hello Kong Updated my RT-N16 with KingKong nv32 yesterday. it seems to run really well! One observation is that I had great difficulties restoring my settings using the restore script: I could see all the right values with 'nvram show' and also in the web gui but when rebooting everything vanished to default state? Finally succeeded after restoring - waiting - and finally power cycle the router. Hasn't happened before when upgrading. Could the behavior be explained by the USB-port now being set to disable as default?

Yes frater once asked me to make usb on default in order to use the restore script, but as this means that lots of models can't be supported I dropped it.

gambitmac
gambitmac's picture
Has anyone had any problems

Has anyone had any problems with Portforwarding working on this build. It's not working for me!

EDIT: My bad, I had changed the IP address of the router, and forgot to update portforwarding to match. OUPS!

Kong Builds ROCK!

mrg666
mrg666's picture
gambitmac said: Has anyone

gambitmac said: Has anyone had any problems with Portforwarding working on this build. It's not working for me!

port forwarding is working for me.

 

Kong and buddee, thanks for disabling the usb initialization. This build is running great on the WNR3500L which was upgraded from 18730 build.

buddee
buddee's picture
i only suggested it so the

i only suggested it so the builds could support a more wider array of routers. kudos to kong for doing it. :)

And port forwarding seems working fine for me as well on E1550 and E900.

Also, IMHO, frater's restore script is rather, well dangerous to me, it restores by writing nvram values which can not be predicted, i say this because in the thread which spoke of it - they claimed it could be used to restore even to different routers, well i tried it on a different unit than the one that it was backed up from and it bricked the unit, had to recover it via serial cable connection only.

The safer bet, well if you use firefox atleast, is using an add-on called imacros. You can record your whole router setup and just use the play back for configuring from scratch, very much safer to use.

okaegi
okaegi's picture
Does this built work on an

Does this built work on an WNDR4000 with USB ?
Can I install IPKG packages like OpenNtpd ? (This package will not work on a standard DD-WRT release because of the disabled FPU Emulation)
Thank you for the answer.

buddee
buddee's picture
okaegi said: Does this built

okaegi said: Does this built work on an WNDR4000 with USB ? Can I install IPKG packages like OpenNtpd ? (This package will not work on a standard DD-WRT release because of the disabled FPU Emulation) Thank you for the answer.

Yes this build will work on a WNDR4000, just make sure to use the generic nv64k builds. As far as the ipkg question goes, why not try and see?

okaegi
okaegi's picture
Okay, I will try and give a

Okay, I will try and give a feedback here. (Just want to set up a local ntpd-Server...)
Regards Oliver

alkanbw
alkanbw's picture
I have a problem with all

I have a problem with all Kong builds. Router Linksys E3000. 5GHz WiFi after about hour is totaly invisible. I used different channels and channel width 20 and 40 Mhz - and no success. Can anyone help me ? On BrainSlayer wifi 5Ghz works perfectly.

okaegi
okaegi's picture
Managed to get the OpenNTPD

Managed to get the OpenNTPD to work. Now I have my own local time Server...(WNDR4000)
Here you see the syslogd

Jan 1 00:01:20 DD-WRT WNDR4000 KELLER user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Mar 1 22:56:46 DD-WRT WNDR4000 KELLER daemon.info ntpd[1536]: set local clock to Fri Mar 1 22:56:46 UTC 2013 (offset 1362178525.727986s)

The enableing from the FPU Emulator was the solotution...

okaegi
okaegi's picture
Here is what I did:

Here is what I did:

load usb-ftp-samba3-dnla-64k-broadcom.bin to wndr4000

enable jffs and clear it

install winscp (scp) on your pc

Mount a memory stick

Store the follwing usb srcript /tmp/mnt/disc0-part1/usbstart.sh

#!/bin/sh /tmp/mnt/disc0-part1/usbstart.sh
# Configure mounts / dir for opt
mkdir -p /tmp/mnt/disc0-part1/opt
mount /tmp/mnt/disc0-part1/opt /opt

login root

export IPKG_INSTROOT=/opt

wget http://downloads.openwrt.org/kamikaze/8.09.2/brcm47xx/packages/openntpd_3.9p1-2_mipsel.ipk

ipkg -d /opt install openntpd_3.9p1-2_mipsel.ipk

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

okaegi
okaegi's picture
modify /opt/etc/ntpd.conf

modify /opt/etc/ntpd.conf

listen on *
server ptbtime1.ptb.de
server ptbtime1.ptb.de
server ptbtime2.ptb.de

Move /opt/etc/passwd to /jffs/etc/passwd
Move /opt/etc/groups to /jffs/etc/groups
copy /etc/profile to /jffs/etc/profile and add

export TZ="CET-1CEST,M3.5.0/2,M10.5.0/3" IPKG_INSTROOT=/opt

In the webgui / diagnostics / save the following startup script

cp /etc/profile /tmp/etc/profileorg
mount --bind /jffs/etc/profile /etc/profile

okaegi
okaegi's picture
change the usb srcript /tmp

change the usb srcript /tmp/mnt/disc0-part1/usbstart.sh

#!/bin/sh /tmp/mnt/disc0-part1/usbstart.sh
# Configure mounts / dir for opt
mkdir -p /tmp/mnt/disc0-part1/opt
mount /tmp/mnt/disc0-part1/opt /opt

#copy user look http://www.dd-wrt.com/wiki/index.php/OpenNTPD

sleep 60

mkdir -p `awk -F: '/^ntp:/{print $6}' /jffs/etc/passwd`

/bin/cat /jffs/etc/group >>/etc/group

 

/bin/cat /jffs/etc/passwd >>/etc/passwd

 

/bin/cat /jffs/etc/group >>/tmp/group

 

/bin/cat /jffs/etc/passwd >>/tmp/passwd

 

/opt/usr/sbin/ntpd -s -f /opt/etc/ntpd.conf

Disable the netclient in dd-wrt...

 

Problems I had:

OpenNtdp use a separate user "ntp". The installation script copies this user an a separat group into /etc/passwd and /etc/groups. If you use samba, the web gui will also copy user into /etc/passwd overwriting the user ntp...

I will test further with other devices, I hope I have a real NTP Time server at home now...

Regards Oliver

Pages