VirtualWiFi

Software (Version 1.0): Using VirtualWiFi



Steps on How to Use VirtualWiFi

The instructions on this page assume that you have correctly installed VirtualWiFi using the steps described on the VirtualWiFi install page.
  • To add another network, use: "VirtualWiFi addnetwork -ssid < ssid > -mode < mode > -wep < enable/disable > -auth < open/share > -key < KEY if using WEP>", where < ssid > is the ssid of the network, and < mode > is the mode, either AH (ad hoc) or IS (infrastructure), of the network you want to add.
  • To remove connectivity to a network, use: "VirtualWiFi removenetwork -ssid < ssid > -mode < mode >", where < ssid > is the ssid of the network, and < mode > is the mode, either AH (ad hoc) or IS (infrastructure), of the network you want to disconnect from.
  • To change parameters of a network, use: "VirtualWiFi changeparams -ssid < ssid > -mode < mode > -op < value > ", where < ssid > is the ssid of the network, and < mode > is the mode, either AH (ad hoc) or IS (infrastructure), of the network for which you want to change the parameter. The op is either:
  • switch : for the maximum time (in milliseconds) for your card to switch to this network. See FAQ on what are good values for this parameter.
  • wait : for the amount of time (in milliseconds) you want to stay in this network in addition to the time for switching to this network. The card waits for a wait time in addition to the switch time after switching to a network.
  • isAdapt : VirtualWiFi uses adaptive switching to determine the amount of time to stay on a network if this value is 1, and uses the values specified by the user if this value is 0. By default, VirtualWiFi uses adaptive switching.

  • An Example

    If we were connected to an infrastructure network called rover, and wanted simultaneous connectivity to an ad hoc network with ssid VirtualWiFi, with non-adaptive switching, and a switch time of 500 ms for the infrastructure network, then our sequence of commands would be as follows:
  • net stop wzcsvc
  • VirtualWiFi install -wep disable -auth open
  • VirtualWiFi addnetwork -ssid MultiNet_AH -mode ah -wep enable -auth share -key ABCDE
  • VirtualWiFi changeparams -ssid rover -mode is -switch 500 -isadapt 0
  • In the screen snapshot after running the above commands, we see two new virtual adapters, with the following names: VirtualWiFi IS rover and VirtualWiFi AH MultiNet corresponding to the two networks. The task manager also shows the service, and the corresponding executable VirtualWiFiSvc.exe, which is created and started by the installer. The name of the service is VirtualWiFiService.


    Tests for Checking Correctness

    The following tests could be used to verify the correct operation of VirtualWiFi:
  • Check if you can independently associate with each network, and whether you get a valid IP address. This should be done before you install VirtualWiFi.
  • After installing VirtualWiFi, or after adding a network, check to see on the network connections window for virtual adapter corresponding to each connection, and if all virtual miniports get a valid IP address.
  • Our VirtualWiFihelper utility should also be used for verification with the following steps:
  • Check to see if VirtualWiFi is attempting to connect to the correct number of networks by using: "VirtualWiFihelper.exe -op getNumNetworks"
  • "VirtualWiFihelper.exe -op getssid" gives the SSID of the current network to which the card is connected. Periodically checking this value will inform you if the card is really switching across different SSIDs.
  • "VirtualWiFihelper.exe -op getmode" gives the current mode of the current network. Periodically executing this command will tell you if the card is really switching across different network modes.
  • "VirtualWiFihelper.exe -op getSwitchTime" and "VirtualWiFihelper.exe -op getWaitTime" can be used to verify that VirtualWiFi is using the correct parameters for different networks.
  • Ping machines on all the networks. This should be successful if VirtualWiFi is running correctly.

  • Back to VirtualWiFi Software Page
    vwifi-l
    Subscribe to this forum for latest updates and discussion on the VirtualWiFi software.