MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
- Subject: MoreSCF Location woes and Airport (kSCEntNetAirPort) problems.
- From: Juan Ignacio Leon <email@hidden>
- Date: Sun, 18 Sep 2005 15:33:41 -0500
I last posted here in 2002 when I was working on some ISP/ University
configuration software and Quinn really made it possible for me to get
that out the door with his (then brand new) MoreSCF framework.
I have been asked to rewrite that software and get it working with all
versions of OS X (up to 10.4 inclusive).
After exhaustive archive reading, I came accross three key posts that
let me identify the reasons the old code was dying (even before
upgrading the projects to Xcode and starting to dig in).
Re: SystemConfiguration framework and Carbon CFM
-- http://lists.apple.com/archives/macnetworkprog/2005/Jun/msg00084.html
Re: Help: MoreSCFPortScanner.c Problem
http://lists.apple.com/archives/macnetworkprog/2004/Jul/msg00014.html
And most importantly:
-- Re: MoreSCF fails horribly if the Automatic location is removed
http://lists.apple.com/archives/macnetworkprog/2004/Oct/msg00085.html
The last is part of the thread where the differences in Apple's
service and set ID code have lead to the need of having workarounds
to get the MoreSCF code working.
WIth all that in mind I downloaded the MoreIsBetter (MIB) 1.8 package
as this contained the newest MoreSCF that I could find. I replaced the
files in my project and quickly got MoreSCMakeNewDialupSet() to work
on 10.4!
Problem #1
I then tried it on 10.3.0 and it worked. However, when I renamed the
"Automatic" location on 10.3, it failed miserably again.
Problem #2
Since I made several other high level routines that are directly based
on this (for kSCEntNetAirport, and KSCEntNetEthernet). I was eager to
try them. I find that I cannot get the Airport code working.
The call err = MoreSCFCopyDefaultPortBSDName(kSCEntNetAirPort,
&portName) leaves portName and *bsdName null.
As I was writing this up I just checked the revision number on the top
of the MoreSCF.c file in Quinn's post and saw it labeled verion 1.11.
I have only 1.10. Could this be the cause of my non-working call to
MoreSCFCopyDefaultPortBSDName(kSCEntNetAirPort, &portName) ?
Perhaps I am doing something else wrong? How can I get MoreSCF.c v1.11
I will post to the list if I find a solution on my own.
Thanks!
JI
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden