hacking static dhcp

Discussion in 'Tomato Firmware' started by tobiasly, Aug 27, 2008.

  1. tobiasly

    tobiasly Addicted to LI Member

    I have a laptop that I sometimes connect via wireless, sometimes via ethernet, but never both. I'd like to make "duplicate" entries in static DHCP so that regardless of which method I use, it gets the same hostname and IP.

    Tomato currently isn't letting me do this; it complains both about the duplicate IP and duplicate hostname. Can I hack the static DHCP config file to bypass this check, and if so, where is the config located? (grepping /etc and /var/lib didn't turn up anything).

    Is there any downside to doing this that I'm not seeing? I guess the other option would be to set the MAC address of both interfaces to be the same, but that doesn't seem like a good idea for some reason...
  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