Re: Castle Net20/21 + Autosense



On 24 Sep, druck wrote:
S G wrote:

I recently re-installed a Castle Net20/21 (not sure which it is)
and had no end of problems with it. The previous attempt, was
recorded in the thread !InetSetup - where?
<0070-2-0.20060917.185528.61@xxxxxxxxxxxx> in Sept. 2006
Anway, this time I discovered that all the problems went away if
I ran BootResources:Configure.!InetSetup.AutoSense.FindEtherY
manually, so I have inserted a line in SetUpNet (in PreDesk)
to run it at boot.

Whatch out, as this will be overwritten anytime you make a change to
the Internet section of !Configure (!InetSetup).

But this puzzles me - I thought this AutoSense file was only
needed at set-up and, if not, why wasn't it being run?

It should only be needed by !InetSetup to set up system variables
which describe the interface and any softloaded driver module
required. !InetSetup then uses this to create appropriate commands
to load the module and configure the interface which it places in
!Boot.Choices.Internet.Startup.

Try moving the existing Startup file else where, running !Configure to
set up the interface again. Compare the old and new Startup files, and
if nothing obvious appears, please post the contents here, along with
the result of the following command when !InetSetup has been run:-

*Show InetSetup$*

Startup files old + new are identical:

[header removed]
| Host name
|
Set Inet$HostName bacorn
Set Inet$LocalDomain home
Set Inet$EtherDevice EtherY
Set Inet$EtherIPAddr 192.168.2.20
Set Inet$EtherIPMask 255.255.255.0
|
| Interface: Castle_EtherY_ey0
|
RMEnsure EtherY 0.56 RMLoad System:Modules.Network.EtherY
IfConfig -e ey0 192.168.2.20 netmask 255.255.255.0
CheckError
Set Inet$EtherTypeA <Inet$EtherType>
|
| Loopback
|
IfConfig -e lo0 127.0.0.1
CheckError
Set Inet$EtherType <Inet$EtherTypeA>
Unset Inet$EtherTypeA
|
| Name resolver
|
Set Inet$Resolvers 192.168.2.1 194.168.4.100 194.168.8.100
Set Alias$InetLoadResolver ...cont
"RMEnsure Resolver 0.55 RMLoad System:Modules.Network.Resolver"
SetEval Test$Eval 1
RMEnsure Resolver 0.55 SetEval Test$Eval 0
If Test$Eval THEN ResolverConfig
Unset Test$Eval
|
| Routing
|
Route -e add default 192.168.2.1
CheckError
Run Choices:Internet.Routes
CheckError
Set Inet$IsGateway ""
Set Inet$RouteDOptions ""
|
| Access
|
IfThere Resources:$.Resources.ShareFS.!Boot then Run ...cont
Resources:$.Resources.ShareFS.!Boot
RMFind Freeway 0.26 System:Modules.Network.Freeway
RMFind ShareFS 3.38 System:Modules.Network.Share+
SetEval Inet$KickFiler 1
=======================================================

and results of *Show InetSetup$* just after rebooting
InetSetup$Dir : ADFS::Seag-9.$.!BOOT.Resources.Configure.!InetSetup
(can't ping router - no connection)

and *Show InetSetup$* after just runnning BootResources:Configure.!InetSetup
or merely AutoSense.FindEtherY
InetSetup$Dir : ADFS::Seag-9.$.!Boot.Resources.Configure.!InetSetup
InetSetup$Driver$Ey : Castle_EtherY_ey0:ey0:EtherY:0.56:EtherY
InetSetup$Driver$Serial : PPP:ppp0:PPP:1.13:PPP:P
(everything working normally)

--
Stewart Goldwater
http://janusg.co.nr
.