Re: TCP/IP Settings and PPP connections
Re: TCP/IP Settings and PPP connections
- Subject: Re: TCP/IP Settings and PPP connections
- From: Jens Bauer <email@hidden>
- Date: Thu, 28 Feb 2002 22:21:39 +0100
Hi Morgan,
On Thu, 28 Feb, 2002, Morgan Redman <email@hidden> wrote:
>
Yay! Morgan has yet another problem =) lol
Ignore the problems, they go away anyway. ;)
>
I use the network setup helpers to configure my control panels. All is fine
>
and dandy.
>
>
I open a PPP connection, and it connects fine, but I cant use the internet!
>
>
Not that I know what I am talking about or anything, but I am guessing that
>
the TCP/IP stack is not being torn down? or something? hehehe. I have no
>
idea,
>
>
but I assume someone on here *will* know whats wrong.
>
>
>
If I open the TCP/IP control panel after the PPP connection has gone up,
>
everything *looks* the way I want it to ( but as I said before, no internet
>
application works ). However, if I Change the Popup menu to something
>
else, and then back to "Using PPP Server" ( so that it will ask me to save
>
when I close the window ), and then close the window and save, the
>
internet works.
>
>
>
What do I need to do to fix this?
My guess is that you may have forgotten some "invisible" value in the
TCP/IP settings.
What are you using for "PPP" ?
-If you use DHCP, you may get thrown off by the ISP.
-If you're using "Manual configuration", what's your IP address set to ?
For Manual configuration, I used IP address 0.0.0.0 (kOTAnyInetAddress),
which gives me a dynamic IP address.
Do you supply any DNS servers ?
-If you don't, make sure you specify a handle of size 0 (zero), as I had
much trouble with this. You can't pass NULL, nor can you pass a handle to
a 0.0.0.0 DNS address.
For the fastest debugging, I will suggest that you open the console-
version of MoreNetworkSetup, and configure TCP/IP exactly as you want it,
then you try it out and see if it works.
(I don't remember what is possible to configure from the console-version
anymore, so you may not be able to do the exact configuration without
modifying the test program)
If it works, you should try dumping the entire digest-block as
hexadecimal values, then, in your own program, you should dump the very
same block as hexadecimal values, and then "compare them offline" and see
where the differences are.
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
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.