Re: Create new PPP service
Re: Create new PPP service
- Subject: Re: Create new PPP service
- From: "Vadim Kolontsov" <email@hidden>
- Date: Wed, 27 Feb 2008 22:42:52 +0300
Good evening,
Sorry, for bothering everyone, I've solved the problem by myself.
pppd creates network service dynamically - so I've use undocumented (as far as I understood) pppd option 'serviceid'.
Now I can just use 'scutil' to add 'State:/Network/Service/SERVICEID/Proxies' dictionary with well-known values.
When pppd set up the connection, scutil --proxy returns the correct values and everything works just fine.
Best regards,
Vadim.
On Tue, Feb 26, 2008 at 10:30 PM, Vadim Kolontsov <
email@hidden> wrote:
Good evening,
I'm experimenting with pppd which uses direct cable connection with some external device (I'm using "pppd notty" option to communicate with pppd directly with stdin/stdout).
I have ppp0 working, routing et cetera.. Everything works just fine:
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
(all other interfaces - en0, en1, etc are down at this moment)
Now I want to set system-wide HTTP proxy for this connection, but I've realised that system don't know anything about my ppp0.
As far as I understand, proxy settings are tied with NetworkService, so I have to create a network service first (with SCNetworkConfiguration or scutil), right? I believe it's possible because you can add PPPoE/L2TP/PPTP, which is basically PPP connection, but what's about my 'custom-made' PPP connection (which doesn't use any modems)? Unfortunately I can't find a working example.
Can you please suggest something? I'm using Mac OS X 10.5.
Best regards,
Vadim.
_______________________________________________
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