Re: Use PPPOE to load net
Re: Use PPPOE to load net
- Subject: Re: Use PPPOE to load net
- From: Xianyu_Ge <email@hidden>
- Date: Wed, 5 Nov 2008 10:22:54 +0800
First, I thanks for you reply, I have an algorithm that can calculate
the real user name , and use this name and PPPOE to load service. I am
not familiar with applescript, I understand cocoa, can use objective-
c, thanks very much.
---
Best Regards,
Xianyu
On Nov 4, 2008, at 8:36 PM, Adam Penny wrote:
Actually, I just tried the link I mentioned and it didn't work.
There's an example of how to do exactly what you want on this page
though. http://developer.apple.com/releasenotes/AppleScript/RN-AppleScript/index.html
Ad
On Nov4, 2008, at 1:28 PM, Adam Penny wrote:
Hey there,
I get the impression that what he means is that he has an ADSL set
up where you have to dial a PPPoE connection from the computer as
opposed to an always on ADSL connection provided by a router.
It looks like this has already been done with Applescript by
someone else, which you can find here.
http://mac.softlookup.com/download.asp?id=150480
If you really want to do it yourself though, I'd say using
Applescript to talk to Network preferences is probably your best bet.
Good luck,
Adam
On Nov4, 2008, at 11:53 AM, Uli Kusterer wrote:
On 04.11.2008, at 03:04, Xianyu_Ge wrote:
I am a beginner of cocoa program, I want to write an project
that use PPPOE to automatic loading net, I don't know how to do
it, can give me some help or sample, thank you very much.
I don't quite understand what you are trying to achieve here ... ?
There should be no need to 'load the net' or mess with 'PPPoE'. If
you do any net access (e.g. using NSURL and NSURLRequest, or use
sockets or whatever) the internet connection will automatically be
established. Or is there something else you are trying to do? Can
you provide more information? 'load the internet' really doesn't
make sense.
Are you trying to manually establish a special kind of TCP
connection that MacOS doesn't support yet?
Are you trying to DOWNload or UPload files from or to a particular
server?
Are you trying to display web pages ... ?
'load the internet' is really a tad too vague.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
@pennynet.co.uk
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden