home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
tcp
/
AmiTCP-demo
/
bin
/
startnet_ether
< prev
next >
Wrap
AmigaDOS Script File
|
1995-05-13
|
656b
|
28 lines
.key IPADDRESS
.bra {
.ket }
.def IPADDRESS 192.10.10.40
; log in
echo
echo login: creon
;AmiTCP:bin/login -f creon
AmiTCP:bin/umask 022
AmiTCP:AmiTCP
Sys:rexxc/WaitForPort AMITCP
; Configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost
; Configure a2065
AmiTCP:bin/ifconfig a2065 {IPADDRESS}
; Add IP address entry for this host
Sys:rexxc/rx "address AMITCP; 'ADD HOST {IPADDRESS} antigone.party '"
; Add route to this host
AmiTCP:bin/route add {IPADDRESS} localhost
setenv HOSTNAME `AmiTCP:bin/hostname`
Assign TCP: Exists > NIL:
IF Warn
Mount TCP: from AmiTCP:devs/Inet-Mountlist
EndIf
; Start the internet `super server'
run AmiTCP:bin/inetd