Home » Archimedes archive » Acorn User » AU 1997-02 A.adf » !Voyager/Stack/StartPPP

!Voyager/Stack/StartPPP

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-02 A.adf
Filename: !Voyager/Stack/StartPPP
Read OK:
File size: 012C bytes
Load address: FFFFEB47
Exec address: 21BA8F16
File contents
RMEnsure ArgoPPP 0 RMRun <Obey$Dir>.PPPDriver

Set VTi$HasINetDB 1
RMEnsure INetDB 0 Set VTi$HasINetDB 0
If "<VTi$HasINetDB>"="0" Then RMRun <Obey$Dir>.INetDB

pppd modem defaultroute noipdefault <VTi$Driver> <VTi$Port> <VTi$Speed> 

Set VTiIP$Address 127.0.0.1

| Flush the DNS cache

NSCache_Flush
00000000  52 4d 45 6e 73 75 72 65  20 41 72 67 6f 50 50 50  |RMEnsure ArgoPPP|
00000010  20 30 20 52 4d 52 75 6e  20 3c 4f 62 65 79 24 44  | 0 RMRun <Obey$D|
00000020  69 72 3e 2e 50 50 50 44  72 69 76 65 72 0a 0a 53  |ir>.PPPDriver..S|
00000030  65 74 20 56 54 69 24 48  61 73 49 4e 65 74 44 42  |et VTi$HasINetDB|
00000040  20 31 0a 52 4d 45 6e 73  75 72 65 20 49 4e 65 74  | 1.RMEnsure INet|
00000050  44 42 20 30 20 53 65 74  20 56 54 69 24 48 61 73  |DB 0 Set VTi$Has|
00000060  49 4e 65 74 44 42 20 30  0a 49 66 20 22 3c 56 54  |INetDB 0.If "<VT|
00000070  69 24 48 61 73 49 4e 65  74 44 42 3e 22 3d 22 30  |i$HasINetDB>"="0|
00000080  22 20 54 68 65 6e 20 52  4d 52 75 6e 20 3c 4f 62  |" Then RMRun <Ob|
00000090  65 79 24 44 69 72 3e 2e  49 4e 65 74 44 42 0a 0a  |ey$Dir>.INetDB..|
000000a0  70 70 70 64 20 6d 6f 64  65 6d 20 64 65 66 61 75  |pppd modem defau|
000000b0  6c 74 72 6f 75 74 65 20  6e 6f 69 70 64 65 66 61  |ltroute noipdefa|
000000c0  75 6c 74 20 3c 56 54 69  24 44 72 69 76 65 72 3e  |ult <VTi$Driver>|
000000d0  20 3c 56 54 69 24 50 6f  72 74 3e 20 3c 56 54 69  | <VTi$Port> <VTi|
000000e0  24 53 70 65 65 64 3e 20  0a 0a 53 65 74 20 56 54  |$Speed> ..Set VT|
000000f0  69 49 50 24 41 64 64 72  65 73 73 20 31 32 37 2e  |iIP$Address 127.|
00000100  30 2e 30 2e 31 0a 0a 7c  20 46 6c 75 73 68 20 74  |0.0.1..| Flush t|
00000110  68 65 20 44 4e 53 20 63  61 63 68 65 0a 0a 4e 53  |he DNS cache..NS|
00000120  43 61 63 68 65 5f 46 6c  75 73 68 0a              |Cache_Flush.|
0000012c