Is it possible to change TCP/IP settings of your computer using Ruby

Discussion in 'Ruby' started by zoat, Sep 19, 2007.

  1. zoat

    zoat Guest

    Hi,
    I would like to have easier and fast way to change the TCP/IP settings
    of my computer.
    As my job requires in order to connect to each customer network. For
    example to change it to a specified IP/Gateway/Subnet Mask etc.
    I have seem a VB script which does that.
    Is that possible to do a script in Ruby to do that? Does exist any gem
    in order to help me?

    Kind Regards

    Roberto Nogueira
    zoat, Sep 19, 2007
    #1
    1. Advertising

  2. zoat

    Jano Svitok Guest

    On 9/19/07, zoat <> wrote:
    > Hi,
    > I would like to have easier and fast way to change the TCP/IP settings
    > of my computer.
    > As my job requires in order to connect to each customer network. For
    > example to change it to a specified IP/Gateway/Subnet Mask etc.
    > I have seem a VB script which does that.
    > Is that possible to do a script in Ruby to do that? Does exist any gem
    > in order to help me?
    >
    > Kind Regards
    >
    > Roberto Nogueira


    if you're on windows, you can use WMI through Win32OLE, or netsh via
    commandline/piping config

    J.
    Jano Svitok, Sep 19, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    343
  2. Replies:
    1
    Views:
    275
  3. Suganya
    Replies:
    0
    Views:
    436
    Suganya
    Apr 29, 2008
  4. donet programmer
    Replies:
    3
    Views:
    1,519
    Gregory A. Beamer
    Nov 20, 2009
  5. zoat
    Replies:
    0
    Views:
    102
Loading...

Share This Page