Commit 208d294d authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Resource updates

The blank User and Routes files were referencing some ancient !Internet.
The Resolver test expressions were using variables not registered for the Internet module, moved from Test$Eval to Inet$TestEval.
The !Help was missing some detail, added.

Version 0.56. Tagged as 'Source-0_56'
parent 966c37a9
Internet Setup
==============
InetSetup is used to configure the TCP/IP network stack built into RISC OS.
InetSetup is used to configure the networking built into RISC OS.
Extensive interactive help is available - press the Help button in
InetSetup's main dialogue box.
Depending on the installed hardware, this may include:
Acorn Econet (using the Econet or AUN protocol)
Acorn Access (sharing files and printers with ShareFS)
Internet (all protocols sent using the TCP/IP protocol)
Troubleshooting
......@@ -15,10 +18,10 @@ application.
InetSetup is aware of four of the available name resolvers:
Resolve from Gnome Computers
Resolver from ANT
InetDB by Adam Goodfellow
DNSResolver by Stewart Brodie
Resolve from Gnome Computers
Resolver from ANT
InetDB by Adam Goodfellow
DNSResolver by Stewart Brodie
If InetSetup detects any of these in your System application it will allow
you to select one and configure it in the Hosts dialogue box.
......@@ -33,14 +36,14 @@ network software and hardware.
When the Save button is clicked:
1) InetSetup checks that all settings are consistent.
2) Obsolete and duplicate network modules are unplugged.
3) Required network modules are inserted if available in ROM.
4) !Internet's configuration files are updated, if the TCP/IP
Protocol Suite is enabled.
5) A SetUpNet obey file is placed into your !Boot directory
to ensure that the networking software is run on startup.
6) You are given the opportunity to restart your computer.
1) InetSetup checks that all settings are consistent.
2) Obsolete and duplicate network modules are unplugged.
3) Required network modules are inserted if available in ROM.
4) !Internet's configuration files are updated, if the TCP/IP
Protocol Suite is enabled.
5) A SetUpNet obey file is placed into your !Boot directory
to ensure that the networking software is run on startup.
6) You are given the opportunity to restart your computer.
Technical details
......@@ -52,7 +55,7 @@ InetSetup application starts. Your program should detect the presence of an
interface (independently of its driver module being present - it may be
unplugged), and for each interface present set a system variable
InetSetup$Driver$<location>
InetSetup$Driver$<location>
<Location> is not significant, but is presented to the user in InetSetup,
with underscores converted to spaces. Example locations are "NIC", "Slot_4"
......@@ -64,17 +67,17 @@ The variable should be set to
where
description = human-readable description of interface, eg
"Ethernet III"
unit = DCI-4 driver name, eg "ea0"
driver module = name of driver module, eg "Ether3"
version = minimum version required for DCI 4.02 support, eg "4.21".
If omitted, it is assumed that any version will do.
module filename = filename of driver module in System:Modules.Network,
eg. "Ether3-16". If omitted, it will not attempt to
softload the module should it not be present in
ROM.
P : if present, the interface is a point-to-point interface (PPP).
description = human-readable description of interface, eg
"Ethernet III"
unit = DCI-4 driver name, eg "ea0"
driver module = name of driver module, eg "Ether3"
version = minimum version required for DCI 4.02 support, eg "4.21".
If omitted, it is assumed that any version will do.
module filename = filename of driver module in System:Modules.Network,
eg. "Ether3-16". If omitted, it will not attempt to
softload the module should it not be present in
ROM.
P : if present, the interface is a point-to-point interface (PPP).
The required version numbers for the core networking modules are specified in
InetSetup's Messages file. If, for example, you have Net 6.18 in ROM, but
......
|=====================================================================|
| Routes file for !Internet V5.39 (10-Jan-03) |
| |
| Place any extra *Route commands, apart from the default route that |
| can be set using !InetConf, into this file. |
| |
| For example, if your machine is connected to net 1, and you wish to |
| establish a route to net 2 via the interface 1.0.0.2 on a gateway: |
| |
| IF "<Inet$Error>" = "" THEN Route -e add -net 2 1.0.0.2 |
| |
| (The IF...THEN statement above is necessary, as is the '-e' |
| parameter.) |
| |
|=====================================================================|
|================================================================|
| Routes file for !Internet V5.57 (30-Mar-15) |
| |
| Place any extra *Route commands, apart from the default route |
| that can be set using !InetSetup, into this file. |
| |
| For example, if your machine is connected to net 1, and you |
| wish to establish a route to net 2 via the interface 1.0.0.2 |
| on a gateway: |
| |
| IF "<Inet$Error>" = "" THEN Route -e add -net 2 1.0.0.2 |
| |
| (The IF...THEN statement above is necessary, as is the '-e' |
| parameter.) |
| |
|================================================================|
|================================================================|
| User startup file for !Internet V5.39 (10-Jan-03) |
| User startup file for !Internet V5.57 (30-Mar-15) |
| |
| Place any special configuration options that cannot be set |
| using !InetSetup into this file. It is executed immediately |
......@@ -9,10 +9,7 @@
Set Inet$MimeMappings InetDBase:MimeMap
Set Inet$ResolverDelay 5
Set Inet$ResolverRetries 3
SetEval Test$Eval 1
RMEnsure Resolver 0.55 SetEval Test$Eval 0
If Test$Eval THEN ResolverConfig
Unset Test$Eval
|Switch off T/TCP protocol
sysctl -ew net.inet.tcp.rfc1644=0
SetEval Inet$TestEval 1
RMEnsure Resolver 0.55 SetEval Inet$TestEval 0
If Inet$TestEval THEN ResolverConfig
Unset Inet$TestEval
/* (0.55)
/* (0.56)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.55
#define Module_MajorVersion_CMHG 0.56
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 11 Dec 2015
#define Module_MajorVersion "0.55"
#define Module_Version 55
#define Module_MajorVersion "0.56"
#define Module_Version 56
#define Module_MinorVersion ""
#define Module_Date "11 Dec 2015"
......@@ -18,6 +18,6 @@
#define Module_ComponentName "Source"
#define Module_ComponentPath "castle/RiscOS/Sources/SystemRes/InetSetup/Source"
#define Module_FullVersion "0.55"
#define Module_HelpVersion "0.55 (11 Dec 2015)"
#define Module_LibraryVersionInfo "0:55"
#define Module_FullVersion "0.56"
#define Module_HelpVersion "0.56 (11 Dec 2015)"
#define Module_LibraryVersionInfo "0:56"
......@@ -85,7 +85,7 @@ static os_error *SetupAccess(void)
VersionToString(v_ShareFS));
}
}
// The next two are necessary to run Resources:$.Resources.ShareFS.!Boot
/* The next two are necessary to run Resources:$.Resources.ShareFS.!Boot */
RMInsert("BootNet", 0);
RMInsert("AUNMsgs", 0);
}
......@@ -330,8 +330,8 @@ static os_error *SetupInternet(void)
rmods[ResolverType].fname*/);
if (ResolverType == RT_Resolver)
fprintf(ConfigureFile, "SetEval Test$Eval 1\nRMEnsure Resolver %s SetEval Test$Eval 0\n"
"If Test$Eval THEN ResolverConfig\nUnset Test$Eval\n",
fprintf(ConfigureFile, "SetEval Inet$TestEval 1\nRMEnsure Resolver %s SetEval Inet$TestEval 0\n"
"If Inet$TestEval THEN ResolverConfig\nUnset Inet$TestEval\n",
VersionToString(*rmods[ResolverType].version));
if (ResolverType == RT_InetDB || ResolverType == RT_DNSResolver)
......@@ -415,7 +415,7 @@ static os_error *SetupInternet(void)
if (!got_a || !got_m || !got_i || !got_d)
fprintf(BootFile,
"Run BootResources:!Internet.utils.TriggerCBs\n");
"Run Inet:utils.TriggerCBs\n");
}
if (!InternetEnabled && !AUNEnabled && !AccessEnabled)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment