Help - Search - Members - Calendar
Full Version: Wireless Zero Configuration plug-in
The CD Forum > Bart's PE Builder > Plugins
Ed_P
Last month I switched my WiFi router from WEP to WPA PSK and now when I attempt to connect with BartPE I fail.

The router supports WPA2 and WPA (PSK) but the BartPE plugin fails when I set the /Authentication parm to WPA2 or WPA2PSK.

I've tried both WPA and WPAPSK but neither results in BartPE connecting to the router.

When using WZCLite I do not run PENETCFG and I do hard boots between config changes to ensure the NIC is fresh when I reboot.

This is what I have for my WZCLite.ini
CODE
[AutoAdd]
-autoadd /SSID:WHOME /Authentication:WPAPSK /Encryption:AES /NetworkKey:506f6f72224f6c6422546f6279 /KeyIndex:1 /DebugLog:True
[Add]
-add /SSID:WEPWHOME /Authentication:Shared /Encryption:WEP /NetworkKey:506f6f72224f6c6422546f6279 /DebugLog:FALSE
-add /SSID:WHOME /Authentication:WPAPSK /Encryption:AES /NetworkKey:506f6f72224f6c6422546f6279 /KeyIndex:1 /DebugLog:TRUE

[Delete]
-delete /SSID:WHOME

[WorkStation]
Computer=MiniXP
Workgroup=HOME

The WEPWHOME SSID is the config that I used when the router was set for WEP and as you can see I'm using the same key for WPA. I suspect I need to add another parm to the WZCLite setup but I don't know which one or what value I need to set it to.

Does anyone else use WPA and AES encryption and if so what do you have for WZCLite parms?

Also does anyone know where WiFiCfg.exe writes it's Debug log?

Thanks
rdsok
XP SP2 doesn't support WPA2 by default... try using SP3 instead for your Windows source files... this will increase the size of your build slightly
Ed_P
Thanks Randy. I don't mind using just WPA or WPAPSK.

BTW I found that the router supports both AES & TKIP so I have also tried TKIP with WPA and WPAPSK and it didn't work either.

I see that there is a 1.2d version of WZCLite. I will download that and see if it helps. I think I'm using an early version of 1.2.
Ed_P
1.2d didn't change the results. sad.gif But I do like GUI4WiFiCfg.exe. thumbsup.gif I suspect a WiFiCfg parameter has a bad default but I don't know which one is the problem. I may revert back to WEP.
Oom Erik
QUOTE (Ed_P @ Oct 24 2010, 04:34 AM) *
1.2d didn't change the results. sad.gif But I do like GUI4WiFiCfg.exe. thumbsup.gif I suspect a WiFiCfg parameter has a bad default but I don't know which one is the problem. I may revert back to WEP.

Hi Ed,

You could check:
1) If you need (or are allowed to) specify the KeyIndex with WPA (I thought it was only for WEP)
2) If this hex key length is supported by WPA
3) If it works with an ASCII key (you need to change it, the quotes in your current will not work)
4) What happens if you only specify one SSID (so remove the old WEP entry)
5) If it works anyway with "normal windows"

I don't think WifiCFG makes a debug log. It writes log info to stdout, so you will see it all in your command prompt window (or captured by GUI4WiFICFG, select Verbose for max info).

Good luck,
Erik.
Ed_P
QUOTE (Oom Erik @ Oct 26 2010, 04:59 PM) *
Hi Ed,

You could check:
1) If you need (or are allowed to) specify the KeyIndex with WPA (I thought it was only for WEP)
2) If this hex key length is supported by WPA
3) If it works with an ASCII key (you need to change it, the quotes in your current will not work)
4) What happens if you only specify one SSID (so remove the old WEP entry)
5) If it works anyway with "normal windows"

I don't think WifiCFG makes a debug log. It writes log info to stdout, so you will see it all in your command prompt window (or captured by GUI4WiFICFG, select Verbose for max info).

Good luck,
Erik.

Wow, great suggestions Erik, especially #5. No, the hex key does NOT work with my normal WindowXP!!! Wow, wasn't expecting that possibility. Ok, I got some things to test.

Thank you worthy.gif Oom Erik.
Ed_P
OMG!! w00t.gif That was it!!! thumbup.gif WPAPSK did not like the hex key and WiFiCfg did not like the key with blanks/spaces. Created a new key for the router, without spaces, and I am posting this from my BartPE system.

Thank you. Thank you. THANK YOU Oom Erik. happy65.gif


newbiest
Well done Ed_P!

I hope anyone could help me, I would like to ask the syntax on the network key if special characters are used..? And also, how can I set a static IP on wireless card automatically if using the WZClite plugin, any idea?

Thanks.

~newbiest~
Oom Erik
QUOTE (Ed_P @ Oct 27 2010, 05:23 AM) *
OMG!! w00t.gif That was it!!! thumbup.gif WPAPSK did not like the hex key and WiFiCfg did not like the key with blanks/spaces. Created a new key for the router, without spaces, and I am posting this from my BartPE system.

Thank you. Thank you. THANK YOU Oom Erik. happy65.gif


I am glad I could help smile.gif
Oom Erik
QUOTE (newbiest @ Oct 27 2010, 08:23 PM) *
Well done Ed_P!

I hope anyone could help me, I would like to ask the syntax on the network key if special characters are used..? And also, how can I set a static IP on wireless card automatically if using the WZClite plugin, any idea?

Thanks.

~newbiest~

First try quotes around the key, e.g. /NetworkKey:"my big secret".
If you use GUI4WifiCFG you simply put "my big secret" (incl the quotes) in the network key field.
Alternatively, you can convert your key to hex to avoid misinterpretation of the special chars.
GUI4WifiCFG can do this for you.

About static IP address: seems like you need netsh to do this, but this is not in a standard BartPE build. Search the forum on how to add netsh and how to use it for static IP addresses.

/Erik
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.