Jump to content

lawson23

Active Members
  • Posts

    20
  • Joined

  • Last visited

lawson23's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Works like a Charm!!! Thanks MattyD! Any information on if this will ever work in Windows 7 x64? I have not tested it yet but we are in the process of getting ready to start moving to 7 deployment.
  2. Matty, tried the $Profile[6] with pass phrase and network key and nothing changed. I added the line right before _wlan_endsession() that you said but nothing happens and it still gives the same error. as far as the network key it is valid we use it everyday. Here is my code with a few mods #CS 12/01/2011 - Version 1 ----------------------------------------------------------------- ----------------------NATIVE WIFI FUNCTIONS---------------------- --------------------------For WinXP SP3-------------------------- ----------------------------by MattyD---------------------------- ----------------------------------------------------------------- #CE #include "wifi33a.au3" ;exposes the functions defined in the UDF to your script _Wlan_StartSession() Local $Profile[8] ;see the PDF for more profile options and samples $Profile[0] = "WSLAN" $Profile[3] = "WPA-PSK" $Profile[4] = "TKIP" $Profile[6] = "Pass Phrase" $Profile[7] = "ljj[59P{K~2X^2}@c?Vg8rZX4=JYnxZR{,:BqR%?Bl5)&`)@>(k<cpIq]ycx10" Local $ErrorMsg = _Wlan_SetProfile($Profile) If @error Then MsgBox(0, "Profile Import", "The profile import failed because:" & @CRLF & @CRLF & $ErrorMsg) Else MsgBox(0, "Profile Import", "The profile import was successful") EndIf ConsoleWrite(_Wlan_GenerateXMLProfile($Profile) & @CRLF) _Wlan_EndSession()
  3. One problem I have not sure if anyone else has this or not is from time to time like out of 10 tries this will happen once. Autoit will come up and say: "The window named network connections with the text Network Connections did not open in time." But the window is there and open. I'm sure it is like a split second miss. Is there anyway to adjust this "in time" value in your script?
  4. Matt, So do I basically input my password where you got "PasswordGoesHere" Complile this little bit of code that you generated as a EXE and include that exe and the wifi33a.au3 or does the compile include the wifi33a.au3 and then I end up with a single exe? Also thank you I will start testing this out to see if I can also figure it out myself if I don't hear from you. =============================================== This does not appear to work as I keep getting: "The profile is invalid according to the schema." I created a wifi.au3 in the same dir as wifi33a.au3 copied your script above and modified the password. Then compiled to a exe and get the above message when test running.
  5. doesn't this have to be unchecked in order to enter the key? It must be getting checked later in the script. I think I can help you with this but need more information. putting this after selecting the Data Encryption entry point should (untested code) do the job: If $Debug_Sleep > 0 Then TrayTip("unchecking...", "The key is provided for me automatically", 10) Sleep($Debug_Sleep) EndIf ControlClick($hwnd, "", "Button3") If $Debug_Sleep > 0 Then Sleep($Debug_Sleep)
  6. Win XP PRO sp3 I also had to change to button5. Works pretty good thank you. Questions 1. Is there anyway to speed this up so it happens much faster? --- Found it by setting--- Global $Debug_Sleep = 0 2. Is there anyway to hide all of this when running?
  7. moved my post to correct thread
  8. Please I would like to create a script that will configure my wireless settings for all my pc's my org. I have ways of deployment and also want to put this into my scripted deployment for new machines. I have not used autoit in like 4 years and I'm not a programmer I'm a network admin. I have been reviewing MattyD's scripts () he created but my one question and problem is I really don't understand where to begin as he does not have like a walk through. 1. what is the difference between the a and b files? Which file do I edit? Is there any newb information on how to walk through getting started using his stuff to do what I need? I have a basic wpa tkip configuration I need to setup. Windows XP SP3 SSID: WSLAN Network Authentication: WPA-PSK Data Encryption: TKIP Network key: 123456789samplePassword12345789 NO IEEE 802.1x authentication yes - connect when this network is in range. Please any help in getting started with this would be very grateful. Until I can get more help with MattyD's stuff I have modified and used: Not perfect but it does exactly what I need it to do.
  9. Did you ever decide on a solution for this? As I'm interested in the same type of thing.
  10. I know if I right click on my shield it says 'update now'.
  11. As I have made a submission to webimmune Analysis ID: 2566204 I have now found that newly released dats today 4866 no longer detect this as a virus.
  12. As I have made a submission to webimmune Analysis ID: 2566204 I have now found that newly released dats today 4866 no longer detect this as a virus.
  13. As I have made a submission to webimmune Analysis ID: 2566204 I have now found that newly released dats today 4866 no longer detect this as a virus.
  14. Mega, Thank you for the help. I will try this out sometime.
  15. Works like a charm! If anyone can provide some better coding suggestions than what I have used I would love to hear them. Thank you for everyones help!
×
×
  • Create New...