Member
Joined: 12/27/2007
So the whole point of me digging into this is to find out why the KWGR614 is dropping DNS requests when configured as a WAP. After some poking around, I have made the following observations.
The facility responsible for mucking with DNS requests appears to be 'dnrd', which is a DNS proxy server. It's been configured to trap 'routerlogin.net' and handle it locally. Okay, seems easy enough, just chop 'dnrd' out of the startup scripts and recompile, except...
I can't really find any startup scripts. In fact, the only mention of 'dnrd' I can find is buried in a link library called 'libhttp_dni.a', which is linked in to 'boa', the internal Web server which serves the Web-based router configuration pages. The source code for this library is not in evidence.
Add to that the fact that the source code for the WiFi network interface (RTL8185) is supplied only as a binary blob, which might be fine if you want to stick with ucLinux. However, the RTL8651B SoC is reputed to have an MMU, meaning it can handle "real" Linux. But with a binary blob for the WiFi, compiling against a generic 2.6.x or even a 2.4.x kernel is impossible.
So. I can't compile a garden variety Linux for the platform (which means I can't construct my own idea of a build tree), and I haven't (yet) worked out how to snip 'dnrd' out of the router startup.
*sigh*
Schwab
Hmm. Nachikita's blog entry was quite informative. But if the RTL8651B has an MMU, with bother with uCLinux when a generic tarball from kernel.org should work just fine?
I'll have a look at the alleged source code at RealTek's site. Not that I'm likely to make much sense of it...
Schwab