Results 1 to 3 of 3

Thread: How do I compile Oleg's firmware with DHCP activated in AP mode?

  1. #1

    How do I compile Oleg's firmware with DHCP activated in AP mode?


    I'm adapting WL-HDD for a specific application, and would like to "hard code" several settings, so that if the WL-HDD is reset to factory settings, custom settings remain (or are restored). I can change parameters in flash.default and compile firmware no problem, but I cannot figure out how to get DHCP server to be active by default.

    I need an access point, but would really need to have DHCP enabled.

    Does anyone know how to activate DHCP in default settings? I cannot find a setting in flash.default that would enable DHCP at "factory" defaults, and am getting a bit frustrated. I'm no Linux guru, and feel a bit out of my league.

    Any help would be really appreciated. Thank you!

  2. #2

    Compiling with DHCP activated? Help? Anyone?

    Still stuck... messed up my holidays over this.

    Any ideas really appreciated.

  3. #3

    Got it!

    Ok, I got it... after a lot of pain.

    It's actually quite easy, once you understand the firmware's guts a bit. I changed the rc.c to execute a script from /sbin just before pre-boot (I wanted to keep pre-boot functionality intact). The script reads dhcp range from nvram and produces dnsmasq.conf at each boot - this enables using normal web interface for setting dhcp. Then it starts dnsmasq. I defined a new nvram variable for enabling/disabling dhcp to completely bypass the other router's settings, and fitted everything into web interface. I disabled all gateway functionality, and everything is exactly how I want it to be.

    Thanks to Oleg for the great work he did on the firmware mod!

    Bing

Similar Threads

  1. Oleg's Firmware draft-N?
    By LeavingEntropia in forum WL-500w Firmware Discussion
    Replies: 5
    Last Post: 14-12-2007, 15:32
  2. No DHCP in Hybrid mode?
    By evanloon in forum WL-500g Q&A
    Replies: 3
    Last Post: 12-08-2007, 00:01
  3. Replies: 2
    Last Post: 17-03-2006, 07:33
  4. Trying to get IDE working on Oleg's Firmware
    By hugo in forum WL-HDD Custom Development
    Replies: 34
    Last Post: 01-11-2004, 18:06
  5. Flashing Oleg's Firmware in WL HDD
    By hugo in forum WL-HDD Custom Development
    Replies: 29
    Last Post: 21-10-2004, 14:55

Posting Permissions

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