1tell application "System Events"
2 tell network preferences
3 tell current location
4 set aPPPoEService to a reference to (first service whose kind is 10)
5 if exists aPPPoEService then
6 connect aPPPoEService
7 end if
8 end tell
9 end tell
10end tell
11