Forum Discussion

souravsaha's avatar
souravsaha
Organizer
6 years ago
Solved

How to Disable DHCP ?

Hi,

   I want to know, how can I disable DHCP service on my fiber router / modem ?

 

Thanks !!

  • I was able to disable DHCP on my Actiontec T1200H gateway/router, but the method is a little obscure. I did it so that I could use the device as a simple Access Point in order to broaden my wifi range. Briefly: login as admin to the device; go to LAN IP settings under the Advanced Setup tab; use your browser's javascript debug facilities to set a breakpoint on the source line that tests user_id in function 'hide_dhcpServerStat()'; reload the page and when it stops at the breakpoint, use the console to set user_id to 3; continue the code and when the page is rendered again you should see an option to disable DHCP. Disable it and reboot. Then you can connect the Actiontec to your main router LAN to LAN with an ethernet cable and it will serve wifi but allow the router DHCP to assign addresses. Do any of this at your own risk!

13 Replies

Replies have been turned off for this discussion
  • GRABBR's avatar
    GRABBR
    Friendly Neighbour

    Nailed it! I had to add another breakpoint at line # 423 (as of firmware ver 31.164L.22) where it says if(optikTVenbl == '1' && dhcp_server[1].checked == true){

    At that breakpoint I used console and typed in optikTVenbl == '0' and user_id = 1

    DHCP is now disabled on my Actiontec T3200M.

    • purpleCat's avatar
      purpleCat
      Neighbour

      You can also disable OptikTV Service on t3200 using the GUI.  Wireless Setup > OptikTV Service then click the Disable radio button and submit.   This prevents the "You can't disable DHCP server because the Optik TV is enabled." message so you only need to the first breakpoint on line 632.  

       

      That said, I'm getting the “You are an invalid user.” message after setting the user_id to 3, clicking the radio button to disable DHCP and trying to Apply changes .   I have a t3200 with firmware version 31.164L.18.

       

       

       

       

       

    • OverrideSiris's avatar
      OverrideSiris
      Neighbour

      I just got to this point but I always get a “You are an invalid user.” Message 😞

      • GRABBR's avatar
        GRABBR
        Friendly Neighbour

        "use your browser's javascript debug facilities to set a breakpoint on the source line that tests user_id in function 'hide_dhcpServerStat()'; reload the page and when it stops at the breakpoint, use the console to set user_id to 3; continue the code and when the page is rendered again you should see an option to disable DHCP." - this worked for me...

  • GRABBR's avatar
    GRABBR
    Friendly Neighbour

    Finally got this solution to almost work!  I now see the disable DHCP option but when I do I get response "You can't disable DHCP server because the Optik TV is enabled."...

  • I was able to disable DHCP on my Actiontec T1200H gateway/router, but the method is a little obscure. I did it so that I could use the device as a simple Access Point in order to broaden my wifi range. Briefly: login as admin to the device; go to LAN IP settings under the Advanced Setup tab; use your browser's javascript debug facilities to set a breakpoint on the source line that tests user_id in function 'hide_dhcpServerStat()'; reload the page and when it stops at the breakpoint, use the console to set user_id to 3; continue the code and when the page is rendered again you should see an option to disable DHCP. Disable it and reboot. Then you can connect the Actiontec to your main router LAN to LAN with an ethernet cable and it will serve wifi but allow the router DHCP to assign addresses. Do any of this at your own risk!

  • Which router?

    More importantly, why would you want to?
    • souravsaha's avatar
      souravsaha
      Organizer

      The fiber optic one. Dont know the model number - Sorry 

      I want to use my Router / firewall for DHCP Service

      • xray's avatar
        xray
        Hero
        Do you have Optik service? If not then just swap the routers.