[NTLK] Script?

From: Peter Hofmann <steelcut_at_web.de>
Date: Mon Oct 08 2007 - 07:36:54 EDT

as i said, i managed to get the newt surfing the newt using bluetoot
and my intelmacs ethenet connection, using the Bluetoothsetup postet
in the Newton Wiki.
But i have to use the termial and typing the commands every time i
start the mac.
My question:
would there be anybody in the list , who could make a small
applescript using the commands from wiki?
Here are the commands to start using the ethernetconection via

    sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=1
sudo /usr/sbin/natd -interface en0 -use_sockets -same_ports -dynamic -
sudo /sbin/ipfw add divert natd ip from any to any via en0
sudo named
sudo named
sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 230400 noauth local
passive proxyarp asyncmap 0 silent persist :

Shut down

sudo killall pppd
sudo killall named
sudo /sbin/ipfw -f flush
sudo killall natd
sudo /usr/sbin/sysctl -w net.inet.ip.forwarding=0

This would be very helpfull.

The NewtonTalk Mailing List - http://www.newtontalk.net/
The Official Newton FAQ - http://www.splorp.com/newton/faq/
The Newton Glossary - http://www.splorp.com/newton/glossary/
WikiWikiNewt - http://tools.unna.org/wikiwikinewt/
Received on Mon Oct 8 07:36:57 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 14:30:00 EDT