|
1)
Locate the !Internet application,
and open its directory.
2) In
that directory there should be a file called
!Configure. Open it, and make the
following modifications:
|
 |
(i)
Underneath the section labelled as:
Inet$HostName, modify the Set
Inet$HostName to:
Set Inet$HostName riscpc. |
|
 |
(ii)
Underneath the section labelled as:
Inet$EtherIPAddr, modify the Set
Inet$EtherIPAddr to:
Set Inet$EtherIPAddr
<Inet$HostName>. |
|
 |
(iii)
Underneath the section labelled as:
Inet$EtherIPMask, modify the Set
Inet$EtherIPMask to:
Set Inet$EtherIPMask
255.255.255.0 |
|
 |
(iv)Underneath the section
labelled as: Inet$EtherDevice, modify the
Set Inet$EtherDevice to:
Set Inet$EtherDevice PPP |
|
 |
(v) You
will also need a section to initialise the Name
Resolver. Type in the following:
|Name resolver
Set Inet$Resolvers <Inet$HostName>
192.154.64.68 192.154.64.35
Set Alias$InetLoadResolver "RMEnsure Resolver 0.48
RMLoad System:Modules.Network.Resolver"
You may notice that there are a couple of extra IP
addresses in the second line. If you connect your
RISC OS computer to the Internet you will need to
input the IP addresses for your ISP's DNS Server
here. If you don't connect to the internet, then you
don't need to have those IP addresses.
|
 |
(vi) You
will also need to intitalise the PPP module. Type in
the following:
RMEnsure PPP 0 RMLoad
System:Modules.Network.PPP
Set Inet$PPP$IPAddr <Inet$HostName>
Set Inet$PPP$LinkIPAddr 192.168.1.2
Set Inet$PPP$IPMask 255.255.255.0 |
|
|
3) Save
and close !Configure.
|
|
|
4) Now
open the directory called files.
Open the file called Startup, and
make the following modifications:
|
 |
(i)
Underneath the line | Bring the loopback interface
up, modify the | from the start of the line:
IF "<Inet$Error>" = "" THEN ifconfig -e
lo0 loopback. |
|
 |
(ii) At
the bottom of the file add the following line:
route add host <Inet$HostName> 127.0.0.1
0 |
|
 |
5) In the
directory files, open the file
called Hosts, and add the following
lines, under the loopback entry, and save
the file:
192.168.1.1 riscpc.my.home riscpc
192.168.1.2 novapc.my.home novapc
|
|
6) The
TCP/IP configuration is now complete.
|
|