Please note, this is a STATIC archive of website www.softperfect.com from 04 Jul 2018, cach3.com does not collect or store any user information, there is no "phishing" involved.

How to specify network interface via command line

Started by Pioxan

How to specify network interface via command line   07 April 2018, 01:21

Hi. I would like to perform automated tests using Connection Emulator.

As tests may happen under different circumstances I need to modify test parameters via editing XML profile and run application from CLI.
All values in XML seems to be pretty straightforward, except cardindex which seems to be index in combobox of available network interfaces.

Is there a way to specify network interface by name, or maybe some other way to figure out this number without starting an application?
Thanks
SoftPerfect Support forum - Andrew avatar image

Re: How to specify network interface via command line   09 April 2018, 12:45

That is a good idea. W have just modified the XML file parser so that an interface name can be specified.

Now you can do something like this:
<general>
  ...
  <cardindex>Local Area Connection</cardindex>
</general>
If a number is specified, it is treated as the interface index in the drop-down list. If a name is specified, the software will select an interface with that name. The name is case-insensitive.

You can download the update here.

Re: How to specify network interface via command line   10 April 2018, 17:38

It works very well, thank you.

Sometimes you can get the answer faster if you try the forum search and/or have a look at the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **    **  **     **  **     **        ** 
  **   **   ***   **  **     **   **   **         ** 
   ** **    ****  **  **     **    ** **          ** 
    ***     ** ** **  **     **     ***           ** 
   ** **    **  ****   **   **     ** **    **    ** 
  **   **   **   ***    ** **     **   **   **    ** 
 **     **  **    **     ***     **     **   ******  

Message: