Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'You can do it via ssh too' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
You can do it via ssh too
Authored by: a1291762 on May 22, '03 06:46:22PM

With one caveat, you can do the same thing while ssh'd into your machine. The caveat is that Applescript doesn't wait for Internet Connect to open so if it's not running the script will fail the first time.

I used this for a while to connect to the net from an iBook plugged into my iMac which did the actual dialing. I've since setup a PC running Unix to be my internet dialer so I've got a somewhat different setup. It's a client/server app that lets me start/stop and monitor the connection.

I can post it if anyone's interested. It's written for a FreeBSD machine using usermode PPP as the "server" but it's tweakable. The "server" process is written in TCL, and the Client is a mix of Java, Applescript and Cocoa.



[ Reply to This | # ]