Mailing Lists: Apple Mailing Lists

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

Create new PPP service



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
inet 11.1.1.1 --> 11.1.1.2 netmask 0xffffff00 

  (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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden



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.