Kong Mod Update build 15758

49 posts / 0 new
Last post
Kong
Kong's picture
Kong Mod Update build 15758

Hi guys,

here comes another update of my dd-wrt mod.

It fixes a few minor issues and updates a handful packages.

The VPN edition got a major update regarding openvpn. If you had trouble with vpn before you should definitely try this build.

Kong-Mod-USB-FTP-SAMBA3-DLNA

MD5SUM: 0157b18fac37c0c7d7ab07011d87607d

Kong-Mod-USB-FTP-SAMBA3-OPENVPN

MD5SUM: 0ef7ea999ed3919696b7071030ebbaf2

@Peter, please update the links in the download section, thanks!

Peter Redmer
Peter Redmer's picture
Thanks Kong - these downloads

Thanks Kong - these downloads are updated. Cheers and, on behalf of everyone here, thanks once again for your hard work and community support.

Rocket
Rocket's picture
Would you be able to write a

Would you be able to write a quick guide on the steps you perform to create these new builds? I am trying to add ip6tables support to my dd-wrt installation and not having much luck so far.

Thanks
Eric

Crazyj
Crazyj's picture
Any closer to implementation

Any closer to implementation of NFS-utils and NFS-exporting?

Kong
Kong's picture
I have started nfs-utils

I have started nfs-utils integration but they depend on a lot of third party libs/utils, not sure if I want to add all of these into my builds, for example:

nfs-utils needs portmap, e2fsprogs, libevent, glib

@Rocket, svn contains everything you need to build some of the dd-wrt builds, in opt you will find sample scripts for building. My mod requires way more than that, I use my own build toolchain which includes features that are neccessary to build minidlna for example.
But to customize dd-wrt you need a few weeks of source code digging until you understand the config/build process of the individual parts of dd-wrt.

t2noob
t2noob's picture
@Kong I have tried your

@Kong I have tried your previous builds but the reason i went back to DD-WRT was because my external hard drive wouldn't mount no matter what I did. Before on dd-wrt i was using optware so the external hard drive had a ext3 partition I thought this might doing something so i deleted and formatted the hard drive to ntfs and even then it wouldn't mount. Any Idea why this would happen? The drive mounts fine on dd-wrt. Because I really want to get your mod up and running with my external hard drive then i can use the media server with my xbox. Because as it stands right now media servers don't work on the dd-wrt right now, unless i missed out on something.
PS:I use a hub with the dd-wrt firmware but I tried with both the external hard drive connected through the hub and directly to the router and i wasn't able to mount it on either situation. Any help would be greatly appreciated.
My drive is a simple Tech simple drive 500gb if that helps at all.

Patatorz
Patatorz's picture
Hello, does it work on the

Hello, does it work on the Netgear WNDR3700 ?

Best regards

Kong
Kong's picture
t2noob,

t2noob,

there was a bug in my previous build, the latest 15758 should be fine. There is no code difference between my build and dd-wrt anymore regarding mounting.

@Patatorz,

No the WNDR3700 uses a different system on chip(atheros), as I don't own a wndr3700 I cannot provide builds for it.

If I somehow manage to get a unit, I'll provide builds for it.
Netgear would be very welcome to donate one, even if it was just an engineering sample:-)

t2noob
t2noob's picture
Ok i got it to mount but now

Ok i got it to mount but now i can't get my music and stuff to be found.
I have minidlna running and have it pointed to my musik on /jffs/My_stuff/musika
and when i open windows media player it says no files were found.
Do I need anything else?
I followed this guide here
http://www.myopenrouter.com/article/21644/How-To-Set-Up-miniDLNA-in-DD-W...
But so far it hasn't worked for me am i missing something?

Kong
Kong's picture
Did you setup a DB Path for

Did you setup a DB Path for minidlna?

If there are lots of media files in the media directories in is necessary to place the db on an external media e.g. /jffs thus the db would be stored under /jffs/minidlnadb/files.db
If the db path is not set, minidlna tries to create the db in ram, if there are too many media files on the media there may be not enough ram to create the db.

Once you have done this you can check if the files.db was created

t2noob
t2noob's picture
Ok I did that but again the

Ok I did that but again the minidlna still wont start on its own i have to do these commands in order to get it going again after a reboot
killall minidlna
minidlna -R -f /tmp/minidlna.conf
Do you know what could be conflicting or not letting it start up ?
and it did create the files.db so its working now but like i said i have to type in the commands every time i reboot otherwise it looks like it doesn't start up.

Kong
Kong's picture
That's an interesting

That's an interesting question, since you said you have to kill minidlna first, is minidlna running after a reboot?

If that's the case then the only reason could be that the mount process takes to long to mount the drive, maybe because the drive responds slowly or because there is a fs check going on.

Crazyj
Crazyj's picture
Judging by your response to

Judging by your response to Rocket, I'm fairly confident that I don't have the resources to add NFS-Utils on my own. I think that NFS-Utils is something that many of us are looking for and hasn't been built yet in Tomato or DD-WRT. Is this something that we can look forward to, or are you saying it's not likely to be implemented?

ArtemR
ArtemR's picture
This build also have very

This build also have very poor perfomance with L2TP.

This results I have this latest Tomato USB Mod:

Kong
Kong's picture
This tiny little feature

This tiny little feature takes a lot of work:-)

Basically I already added kernel support for it + compiled nfs-utils+ dependent libs. What's missing is compiling portmap + dependency tcp_wrappers.

If I get really bored, I'll going to compile those too, just to see how mure more performance it gives compared to samba on this router.

Kong
Kong's picture
ArtemR, do you have any

ArtemR, do you have any logging activated?

Services->Firewall->Log Management

If enabled it can cause performance problems. It could also be a difference in firewall rules between tomato and dd-wrt.

ArtemR
ArtemR's picture
Tomato & DD-WRT tested with

Tomato & DD-WRT tested with factory defaults. Only ISP settings are entered.

simplyTravis
simplyTravis's picture
I'm a complete noob to

I'm a complete noob to putting new firmwares on routers but your Kong WW-DRT mod was much better than stock & tomato combined. I do have a few concerns/questions though:

1. Will there ever be WPS integration in your mod? Is it even possible? I really would like to put a complicated password in WPA2/aes and then use WPS push-button-method on all of my components (Blu-Ray, Printer, Laptop, Desktop, etc...). I spent 10 minutes re-entering a password on my Blu-Ray player and eventually gave up to use an easier password in WPA2.

2. What power usage do you suggest for a router? I noticed it is at 71 watts but Tomato puts it at 42. I'm curious if I should lower this number (complete noob so I don't want to do this without someones thoughts and testing first).

I'm an android user since G1 and have rooted every phone I've owned so I'm used to playing around with settings and trying out new firmware/ROM's which is why I love this router.

Kong
Kong's picture
Hi Travis,

Hi Travis,

1. WPS support is in dd-wrts codebase but not activated for any broadcom builds. I could enable and test it.

2. I guess you did not do a full reset after you flashed my build, it should set the intial value for tx power to 40mW. Personally I use 2mW:-) I recommend to set it as low as possible and then increase it until you have a good signal and speeds. The lower the better, since to much power heats up the radio unit which then causes instability.

t2noob
t2noob's picture
I wonder if there is a way to

I wonder if there is a way to get optware running with kong mod? Because I can't install it using the "optware the right way" article over at ddwrt. It says the linux partition isn't mounted. Is this because ntfs if supported on kong and not on ddwrt? At least in the build I was using which wasn't the newest one. Is the a way to get optware do you have a tutorial somewhere? Any help would be greatly appreciated I know I've bugging you a lot. ;p

simplyTravis
simplyTravis's picture
Kong said: Hi Travis, 1. WPS

Kong said: Hi Travis, 1. WPS support is in dd-wrts codebase but not activated for any broadcom builds. I could enable and test it. 2. I guess you did not do a full reset after you flashed my build, it should set the intial value for tx power to 40mW. Personally I use 2mW:-) I recommend to set it as low as possible and then increase it until you have a good signal and speeds. The lower the better, since to much power heats up the radio unit which then causes instability.

Thanks Kong for the quick reply. I would love to see that in a future build. Also, I will try a full reset when I get home and then change my voltage.

Kong
Kong's picture
Hi t2noob,

Hi t2noob,

only use optware together with ext2 or ext3 partitions. IN addition to that if JFFS is used it requires 2 boots until the drive is ready using ipkg etc.

gooffeyguy
gooffeyguy's picture
I know the firmware has a

I know the firmware has a setting to change the power level, but does it actually change the power on the WNR3500L? What is Netgears default power level?

I've played around with different levels and the signal always stays the same no matter what it's set to so it seemed that the power level was set and non-adjustable

Kong
Kong's picture
Hi gooffeyguy,

Hi gooffeyguy,

this is because people assume changing txpwr will directly affect the signal strength, therefore raising txpwr by a factor of 2 does not raise signal strength by 2.

A good explanation can be found here:

http://www.cvarc.org/tech/powergain.html

In addition to that most clients cards automatically change their txpwr. So if you lower the routers txpwr, the clients raises it's power. Intel cards for example do this automatically and it can be switched of and set to a fixed value. Therefore testing requires to either operate at max range in order to reach the limit for both sides or to set fixed power values on both sides.

t2noob
t2noob's picture
@Kong So do you know what

@Kong So do you know what could be causing the minidlna problem of it not working after a reboot?
after a reboot i either get on my phone that there is no minidlna running or on my xbox it finds it but says there is a problem with firewall so then i have to run what you suggested to another person having problems with minidlna
"killall minidlna
minidlna -R -f /tmp/minidlna.conf"
so i know something is going on but im not that familiar with the system running on the router so i don't know how to fix it?
and about the optware i know you run it on ext 2 or 3 but with your build i can't install optware because it tells me the partition isn't mounted. even though the ntfs partition of the drive is mounted without a problem.
again any help is greatly appreciated.

Kong
Kong's picture
Optware needs at least a

Optware needs at least a mounted /jffs or /opt partition, maybe you have set the mountpoint to /mnt? But I'm not sure if NTFS works, as I have never tested this and NTFS has a different acl system.

t2noob
t2noob's picture
@Kong

@Kong
Yea i have if mounted on opt also tried on jffs and no go.
idk maybe ntfs is mounted in place of the ext 3 partition? how can i get both to mount. both partitions are on the same drive.

Kong
Kong's picture
Set mountpoint for the first

Set mountpoint for the first partition, I guess ntfs, to /mnt, then add command:

mount /dev/discs/disc0/part2 /opt

to:

Administration->Commands

press "Save Startup"

Check if the ipkg base dirs have been created under /opt/usr/lib/ipkg/

Kong
Kong's picture
Hi frater,

Hi frater,

just updated usb.nvramconfig with the default settings you suggested + included iptables recent module in my build.

You can run a quick test by downloading these builds:

DD-WRT 15758 DLNA

DD-WRT 15758 VPN

 

P.S. These builds only work with WNR3500L/ASUS RT-N16/Linksys WRT610N V1/V2, never models like E3000 need a seperate build that has CONFIG_NVRAM_60K set

t2noob
t2noob's picture
Kong said: Set mountpoint for

Kong said: Set mountpoint for the first partition, I guess ntfs, to /mnt, then add command: mount /dev/discs/disc0/part2 /opt to: Administration->Commands press "Save Startup" Check if the ipkg base dirs have been created under /opt/usr/lib/ipkg/

I tried this and the Ext partition didn't mount the only partition that mounts is the ntfs partition

also tried it like this which i think its the same thing just longer.

mount /dev/scsi/host0/bus0/target0/lun0/part2 /opt

Any more ideas?

Kong
Kong's picture
Hi frater,

Hi frater,

just enabled private messages, I can disable it again if it gets annoying:-)

About the recent module:

The recent module is by default compiled into the kernel, this is even the case for brainslayer and probably also for eko's builds.

What I did is to enable the recent module support in the iptable binary compile in order for the iptable command to support this feature

Regarding the USB Problem, I have to check why this happens. Since the default nvram for usb values should be set after a reset and then after each reboot taken from nvram, could be a bug in the current builds.

I do not have a monitoring daemon running. I use my own set of expect scripts whenever I need to monitor/control any linux based system.

You said the daemon is not working, did it compile, did you run strace or gdb to see where it stops? Apps that query the eth interfaces need to be compiled with a "dd-wrt compatible" toolchain as the interface struct is not standard linux, this is why some optware apps fail under dd-wrt.

Pages