Sunday, February 10, 2013

Linksys CURL Command to Release and Renew WAN IP

Someone asked me to provide the cURL commands to release and renew the WAN IP on Linksys routers so here they are:

Release WAN IP:
curl http://username:password@192.168.1.1/apply.cgi -d "submit_button=Status_Router&submit_type=release&change_action=gozila_cgi&wan_proto=dhcp"

Renew WAN IP:
curl http://username:password@192.168.1.1/apply.cgi -d "submit_button=Status_Router&submit_type=renew&change_action=gozila_cgi&wan_proto=dhcp"

4 comments:

  1. Great to know. Thanks for posting.

    ReplyDelete
  2. Hi,
    the post is really nice very few of technology blogs having information about linksys router technical support setup the post is so helpful for technical professionals.
    Linksys Router Technical Support please visit the link.

    Thankyou
    Lacy Brown

    ReplyDelete
  3. how do you format the URL when the linksys only has password and no username? There is no way to config a username.

    ReplyDelete
    Replies
    1. Try:
      1) curl http://password@192.168.1.1...remainderurlhere
      or
      2) curl http://:password@192.168.1.1

      Delete

Thanks for your input.

Personal Media Organizer: digiKam

Looking to replace cloud solutions such as Google Photo's, ACDSee and Adobe with an offline application that won't have your persona...