#Amitcp-ppp-HELP
09-Jan-95 00:27:41
Sb: #181253-#Amitcp-ppp-HELP
Fm: Daniel J. McCoy 73742,3072
To: Mark Lapenna 74667,2715
Though I kinda deleted my original PPP/AmigaTCP StartNet script, what follows
is what I had working. Note I was using PPP's dialer feature to first connect
to my IP.
<Begin> echo echo "login: djmccoy" amitcp:bin/login -f djmccoy
AmiTCP:bin/online ppp0 run AmiTCP:AmiTCP WaitForPort AMITCP ; Configure
loop-back device AmiTCP:bin/ifconfig lo0 localhost ; Configure ppp0
AmiTCP:bin/ifconfig ppp0 $ppp0IPLocal $ppp0IPRemote ; Add route to this host
AmiTCP:bin/route add $ppp0IPLocal localhost ; Add route to the default gateway
AmiTCP:bin/route add default $ppp0IPRemote SetEnv HOSTNAME
`AmiTCP:bin/hostname` Assign >NIL: TCP: EXISTS IF WARN
Mount TCP: FROM AmiTCP:devs/inet-mountlist EndIF ; Start the internet `super
server' Run <NIL: >NIL: AmiTCP:bin/inetd <End>
This would dial the the IP using PPP's built in dialer and use the environment
variables it set up with my dynamic address as well as the IP's address.
AmiTCP 4.1 and PPP V1.30 (and V1.23 for that matter), along with a new
bootpconfig is working perfectly with the StartNet script created when
installing 4.1.
Good luck, Dan
Daniel J. McCoy // CIS – 73742,3072
AP Engaged! \X/ Render 'till ya drop!