Where to modify default router settings before compile

Discussion in 'Tomato Firmware' started by gawd0wns, Jul 14, 2009.

  1. gawd0wns

    gawd0wns Network Guru Member

    I want to compile TomatoVPN with a few of the default router settings modified, for instance, the default ip range, the router ip address, a few static ips, VPN settings, and to turn wifi off by default.

    The power outages in my area are increasing as usual around this time of year, and the router sometimes reverts back to factory defaults. Since I am away most of the time, I need to make sure my router is up, so I can access my NAS through the VPN feature on tomato.

    I got tomato to compile successfully (Download Backtrack 4 Beta for VMware, and apt-get install flex bison, and it works out of the box!), so now the next step is to find out where/how to tinker with the settings.

  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

  3. gawd0wns

    gawd0wns Network Guru Member


    This looks just like an NVRAM dump... Are there any values generated during the compile process, such as the DHCP range (which does not appear to be in defaults.c)?
  4. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    It's all there in that file. DHCP range is controlled by "dhcp_start" and "dhcp_num".
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice