• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Configuring Airport For Multiple Hotspots
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring Airport For Multiple Hotspots


  • Subject: Re: Configuring Airport For Multiple Hotspots
  • From: Dave Camp <email@hidden>
  • Date: Mon, 9 Jun 2003 09:35:15 -0700

I found the best way to figure out how stuff like that works is to write a app to dump all of the current SCF settings and then change things in the prefs panel and dump them to see what happened.

The following code can be used to set the password:

// The password is stored as UTF-16 bytes, but without the leading UTF-16 signature.
NSMutableData *data = [NSMutableData dataWithLength:[wepKey length] * sizeof(unichar)];
[wepKey getCharacters:[data mutableBytes]];
CFDictionarySetValue(dict, kSCPropNetAirPortAuthPassword, (CFDataRef) data);
error = CFQDictionarySetNumber(dict, kSCPropNetAirPortSavePasswords, 1);


Also, don't forget to set the other entries such as: kSCPropNetAirPortPreferredNetwork, kSCPropNetAirPortJoinMode

Dave

On Friday, June 6, 2003, at 11:43 AM, Morgan Redman wrote:

More questions.... Considering SCF doesn't have any real
documentation, and MoreSCF doesn't use kSCPropNetAirPortPowerEnabled,
kSCPropNetAirPortAuthPassword or
kSCPropNetAirPortAuthPasswordEncryption does anyone know the details
behind using these keys? They appear to be essential for configuring
Airport for secure networks!

---
There's an old proverb that says just about whatever you want it to.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Configuring Airport For Multiple Hotspots (From: Morgan Redman <email@hidden>)

  • Prev by Date: Re: Caller ID
  • Next by Date: killing a sleeping server thread?
  • Previous by thread: Configuring Airport For Multiple Hotspots
  • Next by thread: Caller ID
  • Index(es):
    • Date
    • Thread