Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPP configuration problem...



Hi all,

Like I have explained earlier I have been from a while now trying
to create my first Mac application that particularly needs to
establish a PPP connection to one inet PPP provider.

I am trying to achieve it by using either OT/PPP 2.6 SDK or the
older ARA 2.0 or later. I also found a third party Universal PPP
library that includes support for different PPP APIs at:

http://www.sailmaker.co.uk/uppp_api.html


Included in this API there is a sample project called "PPP Test", after
some time trying to make it compile, I could finally run it and for
my surprise there seems that PPP isn't properly installed in my Mac, or
that there is some incompatibility or something going wrong!

I have included bellow the output of this program for you to give
me an idea and a possible solution of what could be going wrong
here... I now guess THAT IT SHOULD BE WHY the OT/PPP port version
I developed wasn't working properly and was hanging my Mac???

On the other hand, the version I created with the undocumented ARA 2.0
was properly activating the RAS DialUp but I couldn't find any
documentation about how to fill these fields bellow or why it
was returning me INVALID PARAMMETER error:

TRemoteAccessParamBlock connectPB;

connectPB.CONNECT.connectInfo.version
connectPB.CONNECT.connectInfo.ltType
connectPB.CONNECT.connectInfo.ltSpecificTemplateLength
connectPB.CONNECT.connectInfo.ltSpecificTemplatePtr

Here the output of the "PPP Test" program:

0. Quit.
1. Is PPP installed?
2. Is PPP open?
3. Open PPP.
4. Close PPP.
5. Which PPP API is active?
6. Is Open Transport TCP active?
7. Configure PPP.
8. Configure TCP.
9. Show local and host address.
10. Show connection statistics.
11. Show current configuration names.
12. List all configurations.
13. Set current configurations to "test".

2
PPP is closed.

3
Opening PPP
An error of type -43 occurred!

5
Unknown PPP, or not PPP at all.

1
PPP is not installed.

12
TCP:
Default
Account:
Location:
Modem:
(DOESN'T FIND ANYTHING!!!)

7
Opening PPP control panel
An error of type -43 occurred!

8
Opening TCP control panel
(WAS OPENED SUCCESSFULLY)

<DEBUG LOGFILE>
NetworkSetup present
Null_Cleanup
Ethernet
DoParseTCPPrefs - Unknown PPP is active, or none at all.
GetActivePPPType reiniting
Null_OpenPPP
Ethernet
DoParseTCPPrefs - Unknown PPP is active, or none at all.
Ethernet
DoParseTCPPrefs - Unknown PPP is active, or none at all.
Null_LaunchPPPControlPanel
Null_Cleanup
Ethernet
DoParseTCPPrefs - Unknown PPP is active, or none at all.
GetActivePPPType reiniting
Ethernet
DoParseTCPPrefs - Unknown PPP is active, or none at all.
Null_Cleanup




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.