• 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
Creating a PPPoE configuration using MoreSCF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a PPPoE configuration using MoreSCF


  • Subject: Creating a PPPoE configuration using MoreSCF
  • From: Jérome Foucher <email@hidden>
  • Date: Fri, 5 Mar 2004 10:13:36 +0100

Hi there,

I'm in desperate need of help, since this bug is holding the release of our product....

Since Mac OS X 10.3 I'm having strange problems creating a PPPoE network configuration using MoreSCF.

I end up with broken configuration :
- If I open the Network panel in the System Preferences, the ethernet port is set to use PPPoE
- However, in the TCP/IP part, the popup to select the IPv4 configuration is set to nothing (although it should be positionned on PPP)
- the IP address field is activated and set to 0.0.0.0

Of course, try to dial with such a broken configuration is a no-go

Here's a snippet of the code I use to configure an ethernet port for PPPoE :

CFMutableDictionaryRef interfaceDict = nil;

// modify the Interface dict to set it on PPPoE
err = MoreSCCopyEntityMutable(wooLocID, thisService, kSCEntNetInterface, &interfaceDict);
if (err == noErr) {
CFDictionarySetValue(interfaceDict, kSCPropNetInterfaceType, kSCValNetInterfaceTypePPP);
CFDictionarySetValue(interfaceDict, kSCPropNetInterfaceSubType, kSCValNetInterfaceSubTypePPPoE);
MoreSCSetEntity(wooLocID, thisService, kSCEntNetInterface, interfaceDict);
CFQRelease(interfaceDict);
}

// set PPP options
err = MoreSCSetEntity(wooLocID, thisService, kSCEntNetPPP, pppSettings);

// set IPv4 options
err = MoreSCSetEntity(wooLocID, thisService, kSCEntNetIPv4, ipv4Settings);

// set DNS options
err = MoreSCSetEntity(wooLocID, thisService, kSCEntNetDNS, dnsSettings);

// set Proxies options
err = MoreSCSetEntity(wooLocID, thisService, kSCEntNetProxies, proxiesSettings);

err = MoreSCSetServiceActive(wooLocID, thisService, true);


The problem is that on some computers is works. On other it doesn't.
Can anybody help ?

Thanks
Jerome
_______________________________________________
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.


  • Prev by Date: Re: Automatic Proxy Configuration
  • Next by Date: Multicasting TTL in OT
  • Previous by thread: Re: Automatic Proxy Configuration
  • Next by thread: Multicasting TTL in OT
  • Index(es):
    • Date
    • Thread