Enterprise Security

Postings related to the second version of the WiShield

Enterprise Security

Postby bpmccain » Mon Oct 25, 2010 4:11 pm

This may be a dumb question, but is there any way to connect the WiShield to a wi-fi network with enterprise security? Willing to buy additional hardware if necessary.

Not something I am very familiar with, so I have no idea where to start looking.

Brian
bpmccain
 
Posts: 7
Joined: Tue Jul 13, 2010 2:31 pm

Re: Enterprise Security

Postby gordonendersby » Tue Oct 26, 2010 3:19 am

If by enterprise security you mean wireless encryption then yes.
Im using wpa3 without any problem.

If you are talking about then signing in to access resources on the company network.
Then probably not. I havnt seen anybody try that.

Gordon
gordonendersby
 
Posts: 40
Joined: Tue May 12, 2009 7:43 am

Re: Enterprise Security

Postby bpmccain » Tue Oct 26, 2010 7:13 am

Don't need to access resources on the network, just need access to the internet.

By enterprise wi-fi, I mean where a certificate is typically installed on the computer to give access.
bpmccain
 
Posts: 7
Joined: Tue Jul 13, 2010 2:31 pm

Re: Enterprise Security

Postby bpmccain » Tue Oct 26, 2010 7:23 am

Should have added:

"As in WPA-Enterprise, where you have to enter a username and password to generate a unique key"
bpmccain
 
Posts: 7
Joined: Tue Jul 13, 2010 2:31 pm

Re: Enterprise Security

Postby gordonendersby » Tue Oct 26, 2010 8:54 am

Typo. Should have been wpa2 not 3.

You need an SSID to use and a valid passphrase.
Theres not enough memory on the arduino to store a certificate.

After you have installed the library and set the application type as per the instructions.
In the head of the script you specify security type, ssid and pass phrase.
Leave the wep key with the dummy values as it is.
As well as the ip address, gateway and subnet mask.
You will need wireless adhock mode.

Code: Select all
    //Wireless configuration defines ----------------------------------------
    #define WIRELESS_MODE_INFRA   1
    #define WIRELESS_MODE_ADHOC   2
    //Wireless configuration parameters ----------------------------------------
    unsigned char local_ip[]       = {192,168,1,231};  // IP address of WiShield
    unsigned char gateway_ip[]     = {192,168,1,1};     // router or gateway IP address
    unsigned char subnet_mask[]    = {255,255,255,0}; // subnet mask for the local network
    const prog_char ssid[] PROGMEM = {"SSID"};  // max 32 bytes
    unsigned char security_type    = 3;               // 0 - open; 1 - WEP; 2 - WPA; 3 - WPA2
    // WPA/WPA2 passphrase
    const prog_char security_passphrase[] PROGMEM = {"xxxxxxxx"};   // max 64 characters
    // WEP 128-bit keys
    prog_uchar wep_keys[] PROGMEM = {
       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Key 0
       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Key 1
       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Key 2
       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; // Key 3
    // setup the wireless mode
    // infrastructure - connect to AP
    // adhoc - connect to another WiFi device
    unsigned char wireless_mode = WIRELESS_MODE_INFRA;


Gordon
gordonendersby
 
Posts: 40
Joined: Tue May 12, 2009 7:43 am


Return to WiShield 2.0

Who is online

Users browsing this forum: No registered users and 1 guest