Page 9 of 19 FirstFirst ... 7891011 ... LastLast
Results 121 to 135 of 273

Thread: New 1.0.4.6 based custom firmware

  1. #121
    Quote Originally Posted by d3viant View Post
    kfurge - do you know if it's possible to use gpio to turn off the front panel lights - I would like to keep my router on, but it's in my bedroom and the flashing lights keep me awake
    It's your post from a few weeks ago that piqued my interest. From my initial attempts, I can say for sure that it's possible to turn off all of the front panel lights. As an experiment, I set all gpio outputs to zero. All the leds, but the power led, turned off. Unfortunately, the HDD also turned off! The box itself, including the wireless link, was still running.

    I think there's enough info in the 1.0.4.2 code to easily figure out the gpio<->led /button relationship. Turning them on and off should be as simple as fiddling with /dev/gpio/*. I'm still going to play around with this because I want to use the copy button for other purposes.

    - K.C.
    Last edited by kfurge; 17-12-2006 at 03:18.

  2. #122
    Quote Originally Posted by hal2k1 View Post
    I'd be willing to test rtorrent, but I have no way of installing anything that is not an ipkg.
    I'm also willing to test rtorrent. I realy need that client instead of enhanced-ctorrent. Does there a ipkg exists?

    Greetz Jeremia

  3. #123
    Quote Originally Posted by kfurge View Post
    Maybe it's getting configured after rcex/rc.local is called. Try something like this in rc.local:

    (sleep 10; cat /opt/etc/hosts.lan >> /tmp/hosts) &
    File looked OK initially, but ...

    Quote Originally Posted by kfurge View Post
    From the looks of the date/time stamps on my box, this file might get touched regularly after boot-up...
    After a while (I'm not sure if it was elapsed time or some other event) the files went back to its original contents.

    Is there a better way (other than via /etc/hosts) to have the router know the host names of the machines on the lan?

  4. #124
    Quote Originally Posted by hal2k1 View Post
    Is there a better way (other than via /etc/hosts) to have the router know the host names of the machines on the lan?
    DNS services are provided by dnsmasq. A quick google search turned up the project page (http://thekelleys.org.uk/dnsmasq/doc.html). Along with being a mini DNS server, it also supports DHCP and will maintain DNS entries for the IP addresses it configures.

    So... You could probably kill udhcpc then restart dnsmasq with the correct option flags to also be the DHCP server. Of course by doing this, you'll lose the ability to configure DHCP via the web interface.

    - K.C.
    Last edited by kfurge; 17-12-2006 at 15:23. Reason: Bad url

  5. #125
    Quote Originally Posted by kfurge View Post
    So... You could probably kill udhcpc then restart dnsmasq with the correct option flags to also be the DHCP server. Of course by doing this, you'll lose the ability to configure DHCP via the web interface.

    - K.C.
    I have used dnsmasq in the past - the beauty of it is that it's really easy to configure. I just tried it on my router and it works perfectly - much better than bind which is what I was trying to use!

    All you have to do is
    1. modify your /opt/etc/dnsmasq.conf - I recommend you set dhcp to only run on the interface br0 to avoid affecting your WAN-side connection. Just uncomment the interface= line and put br0 after =
    2. put in a domain name for you local domain (mine is based upon my internet side DynDNS homelinux.org domain)
    3. add in lines for your dhcp-host machines based upon each interfaces mac address - there are examples in the conf file. You can assign a name and "static ip" in one line to match to a MAC address.
    4. then killall -9 udhcpd and run sudo /opt/etc/init.d/S56dnsmasq

    if this works - edit your rc.local to kill udhcpd and start dnsmasq

    and thats it!

  6. #126
    Quote Originally Posted by d3viant View Post
    I have used dnsmasq in the past - the beauty of it is that it's really easy to configure. I just tried it on my router and it works perfectly - much better than bind which is what I was trying to use!

    All you have to do is
    1. modify your /opt/etc/dnsmasq.conf - I recommend you set dhcp to only run on the interface br0 to avoid affecting your WAN-side connection. Just uncomment the interface= line and put br0 after =
    2. put in a domain name for you local domain (mine is based upon my internet side DynDNS homelinux.org domain)
    3. add in lines for your dhcp-host machines based upon each interfaces mac address - there are examples in the conf file. You can assign a name and "static ip" in one line to match to a MAC address.
    4. then killall -9 udhcpd and run sudo /opt/etc/init.d/S56dnsmasq

    if this works - edit your rc.local to kill udhcpd and start dnsmasq

    and thats it!
    That was brilliant! Thanks. This fixed the problem and met the need exactly!

    OK.

    So now to set up CUPS and HPIJS for my next project.

    PS: Oops, I spoke too soon!

    'ipkg update' now doesn't work any more. In fact, 'wget anything' does not work either.

    It looks like dnsmasq isn't working right for the local machine.

    Later PS: Fixed now. I should not have disabled the DHCP server via the web interface, it would seem.
    Last edited by hal2k1; 18-12-2006 at 13:58. Reason: spoke too soon!

  7. #127

    sorting files for uPnP-server?!

    @all

    Is it possible to change de sorting method (to filename) the router for the “browse share” explorer interface and uPnP server with telnet?

    See discussion:
    http://www.wl700g.com/showthread.php...=sorting+files

    Greatings B

  8. #128
    Quote Originally Posted by kfurge View Post
    I've installed the gcc toolkit on my box and compile my applications directly on it.
    - K.C.
    kfurge - could you describe how you got gcc going on your router? I am trying to get wake on lan working, which appears to require busybox with ether-wake functionality (meaning I have to recompile it...)

    thanks

    d3viant

  9. #129
    Quote Originally Posted by d3viant View Post
    kfurge - could you describe how you got gcc going on your router?
    Sure.

    The magic package you need to install is "buildroot". I manually installed it (without the use of ipkg) because it's a 30M monster. You'll also want to install the dependent packages listed in the buildroot package including make, autoconf, m4, etc.

    For gnu "configure" to work properly, you'll need to replace some of the buysbox utilities with their heavyweight versions. Packages like awk, sed, and grep come to mind. There's probably more. I manually installed them as needed when I noticed funny behavior while configuring.

    Addtionally, I added this to my .profile

    PATH_SEPARATOR=:
    CONFIG_SHELL=/opt/bin/bash
    AWK=/opt/bin/gawk
    export PATH_SEPARATOR CONFIG_SHELL AWK

    Finally when you run configure, make sure you do "bash configure --prefix=/opt". You'll still find some configure scripts and makefiles won't work right, especially when installing the package. I've found the main reason is because some Makefile.in files don't use the @SHELL@ macro and have /bin/sh hardcoded inside instead. Replace all /bin/sh with /opt/bin/bash and they usually always work.

    Hope this helps.

    - K.C.

  10. #130
    Hmm, I am having some trouble trying to compile busybox - I get the following error

    $ make
    HOSTLD scripts/kconfig/conf
    scripts/kconfig/conf.o: In function `check_stdin':
    conf.c: (.text+0x19c): undefined reference to `dcgettext'
    conf.c: (.text+0x1e0): undefined reference to `dcgettext'
    conf.c: (.text+0x220): undefined reference to `dcgettext'
    scripts/kconfig/conf.o: In function `check_conf':
    conf.c: (.text+0x1190): undefined reference to `dcgettext'
    scripts/kconfig/conf.o: In function `main':
    conf.c: (.text+0x1fb0): undefined reference to `dcgettext'
    scripts/kconfig/conf.o:conf.c: (.text+0x2020): more undefined references to `dcgettext' follow
    collect2: ld returned 1 exit status
    scripts/kconfig/conf -s Config.in
    make[2]: scripts/kconfig/conf: Command not found
    make[2]: *** [silentoldconfig] Error 127
    make[1]: *** [silentoldconfig] Error 2
    make: *** [include/autoconf.h] Error 2

    Can anyone suggest what is happening here - there was no configure script, so it may not be looking in the right place for libraries?

  11. #131
    Quote Originally Posted by d3viant View Post
    Hmm, I am having some trouble trying to compile busybox - I get the following error

    $ make
    HOSTLD scripts/kconfig/conf
    scripts/kconfig/conf.o: In function `check_stdin':
    conf.c: (.text+0x19c): undefined reference to `dcgettext'
    conf.c: (.text+0x1e0): undefined reference to `dcgettext'
    conf.c: (.text+0x220): undefined reference to `dcgettext'
    scripts/kconfig/conf.o: In function `check_conf':
    conf.c: (.text+0x1190): undefined reference to `dcgettext'
    scripts/kconfig/conf.o: In function `main':
    conf.c: (.text+0x1fb0): undefined reference to `dcgettext'
    scripts/kconfig/conf.o:conf.c: (.text+0x2020): more undefined references to `dcgettext' follow
    collect2: ld returned 1 exit status
    scripts/kconfig/conf -s Config.in
    make[2]: scripts/kconfig/conf: Command not found
    make[2]: *** [silentoldconfig] Error 127
    make[1]: *** [silentoldconfig] Error 2
    make: *** [include/autoconf.h] Error 2

    Can anyone suggest what is happening here - there was no configure script, so it may not be looking in the right place for libraries?
    what are you trying to do? witch version?

  12. #132
    That was the latest version - 1.3.0, but I get similar errors out of version 1.2.0 and 1.1.3.

  13. #133

    Method of flashing firmware???

    Hi KC,

    Just a quick question, this could be dumb but why do you recommend using GerardNL's tutorial for flashing firmware, is the asus webpage not able to flash your custom firmware?

    I'm asking because I want to rule out some problems I'm having at the moment. The asus webpage firmware upload is far easier to use. I would have PM'd this question but you've turned it off.

    Thanks,
    LK.

  14. #134
    LeperKing: I have always used the asus firmware upload page with no problems. I used the GerardNL approach only when my router stopped giving out IP addresses at one point. Other than that, the ASUS upload page has always worked for me

  15. #135
    Quote Originally Posted by LeperKing View Post
    Just a quick question, this could be dumb but why do you recommend using GerardNL's tutorial for flashing firmware...
    At the time I was doing this, there were a number of posts from people who were having trouble with the web upload. I took the conservative path and decided to use the firmware upload tool.

    Perhaps whatever the issue was has since been fixed...

    - K.C.

Page 9 of 19 FirstFirst ... 7891011 ... LastLast

Similar Threads

  1. ksoftirqd_CPU0 eating CPU in firmware 1.0.4.6?
    By Hobi in forum WL-700g Firmware Discussion
    Replies: 10
    Last Post: 12-05-2007, 16:04
  2. Custom firmware image: v1.9.4.6 with telnetd re-enabled
    By db90h in forum WL-530g Firmware Releases
    Replies: 2
    Last Post: 29-01-2007, 13:32
  3. custom firmware based on 1.9.5.0 beta?
    By Teddy in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-05-2006, 20:08
  4. Custom firmware
    By menno in forum Dutch Discussion - Nederlands
    Replies: 0
    Last Post: 02-04-2006, 14:32
  5. Custom Firmware v1.1.2.7
    By JOCKYW2001 in forum WL-HDD Firmware Releases
    Replies: 59
    Last Post: 11-12-2004, 12:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •