Results 1 to 4 of 4

Thread: more ipconfig to ifconfig

  1. #1
    Join Date
    Mar 2007
    Beans
    807

    more ipconfig to ifconfig

    What is the linux (ubuntu) equivalent of "ipconfig /release" and then "ipconfig /renew" I would like to create a quick script to release and renew the IP.
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  2. #2
    Join Date
    Jan 2008
    Location
    the space between spaces.
    Beans
    1,654

    Re: more ipconfig to ifconfig

    See the documentation of iwconfig and ifconfig with
    Code:
    iwconfig --help
    and
    Code:
    ifconfig --help
    in terminal.
    "If a cluttered desk signs a cluttered mind, Of what, then, is an empty desk a sign?" -Albert Einstein.

  3. #3
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: more ipconfig to ifconfig

    Release IP address
    sudo dhclient -r <interface such as eth0, wlan0, etc>

    Renew DNS lease
    sudo dhclient <interface>

  4. #4
    Join Date
    Mar 2007
    Beans
    807

    Re: more ipconfig to ifconfig

    Quote Originally Posted by damis648 View Post
    See the documentation of iwconfig and ifconfig with
    Code:
    iwconfig --help
    and
    Code:
    ifconfig --help
    in terminal.
    Did you just read the thread title?

    Quote Originally Posted by kevdog View Post
    Release IP address
    sudo dhclient -r <interface such as eth0, wlan0, etc>

    Renew DNS lease
    sudo dhclient <interface>
    Very helpful!! Just what I needed.
    Registered Linux User: 450747 Registered Ubuntu User: 16269

Bookmarks

Posting Permissions

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