antony darkins

antony darkins

  • NA
  • 6
  • 3.8k

wlanapi

Jul 10 2015 9:59 AM

Not sure if this is the right board for this so apologies if I have made that mistake.

 
I am using wlanapi on windows 7 to connect to a wireless network and get some informationback which I then process. This works absolutely fine on a standalone machine. the method is basically connect to wireless network,telnet to 192.168.1.1 then execute the scripts which return some information in html.   The problem comes when I network the machine. WHen I try to connect to the wireless device the machine tries  to connect to the IP address over the wired connection not the wifi adaptor. Is there a way to specify which adaptor to use for the telnet and subsequent commands?
 
thanks in advance  

 

 

Answers (2)