Configuring two network cards in an RPC

Configuring two network cards in an RPC

Post by Bob Latha » Thu, 21 May 2009 16:20:04


I've got a small problem with network config on my office RPC running OS
4.39. The problem is the config of two network interface cards and I would
appreciate some help.

Although at the moment this config works as in, I can access both networks
as I wish. Looking at the file (below) and the GUI for interface setup
suggests to me there is a lot wrong.

When I look at the interfaces config GUI, slot 0 I-cubed Etherlan500 is
ticked, you can click the configure button and see exactly what I would
expect to see, a correct IP address 10.240.226.253 and mask 255.255.252.0
obtain IP manually and the only odd thing is the Primary interface button
is ticked.

The NIC I-Cubed Ethernet NIC is another matter. This is not ticked and
therefore you cannot click configure. I have attempted to change this but
if you do so, it slows the computer down massively and kills all
networking. Restoring to the file below restores functionality. I think
this network card should be the primary as the 192.168.0.x network is 98%
of network activity and has the default gateway.

This is obviously not right. I'm tempted to have a dabble at editing a
copy of this file to put things right. Any thoughts/suggestions on this
before I do so would be most welcome.

Some questions if I may.

Q1. What is the meaning or function of the 'Primary' interface? This is
adding confusion to my list of problems - don't understand the concept.

Q2. How significant and what controls the order in which the interfaces
are configured in the file below? Is it in podule numbering order or
primary then secondary interface order or ....?

Q3. What in the config file determines that the card is 'ticked' or not in
the GUI?

Q4. What does Inet$EtherTypeA and Inet$EtherType do? Inet$EtherType ends
up being set to eh0.



Thanks for your help.



Cheers,

Bob.



|================================================================|
| Interface configuration file for !Internet |
| |
| This file was automatically generated by !IFSetup. Do not |
| edit it by hand unless you REALLY, REALLY, know what you're |
| doing. Comments and spacing are significant to !IFSetup. |
| |
| If you want to add extra configuration options, place them in |
| the User file. |
|================================================================|

|
| Primary interface details
|
Set Inet$EtherDevice EtherH16
Set Inet$EtherIPAddr <Inet$Hostname>
Set Inet$EtherIPMask 255.255.255.0
|
| Interface: I-cubed EtherLAN500 - Unit: eh0
|
RMEnsure EtherH 4.37 RMLoad System:Modules.Network.EtherH16
IfConfig -e eh0 10.240.226.253 netmask 255.255.252.0
CheckError
Set Inet$EtherTypeA <Inet$EtherType>
|
| Interface: I-Cubed Ethernet NIC - Unit: eh1
|
RMEnsure EtherH 4.37 RMLoad System:Modules.Network.EtherH16
IfConfig -e eh1 <Inet$Hostname> netmask 255.255.255.0
CheckError
|
| Loopback
|
IfConfig -e lo0 127.0.0.1
CheckError
Set Inet$EtherType <Inet$EtherTypeA>
Unset Inet$EtherTypeA
SetEval Inet$KickFiler 1
 
 
 

Configuring two network cards in an RPC

Post by Theo Marke » Thu, 21 May 2009 19:02:32


Do you have EHVirtual configured (*Configure EHVirtual On/Off)?
Turn it off if you aren't using it, otherwise that will confuse things.


That might be the card that has the default route. Or maybe it expects you
to set up routing manually if you have more than one card. (I'm guessing)


Pass.


http://www.yqcomputer.com/ #Configure_won.27t_detect_my_network_card.21


Inet$EtherType is set by the driver module... the DCI4 spec says 'This is for
backwards compatibility with versions of Acorn's TCP/IP Protocol Suite
already in the field' (not sure if that's DCI2 drivers or something
earlier).

It looks like the second module is *** ling the first Inet$EtherType
variable, so EtherTypeA is simply keeping a copy of the 'primary' network
device name and restoring it after the second interface has been configured.
It hasn't noticed that both modules are the same.

Will the EtherH16 module actually drive two different cards? Since the
cards have the same driver, but have different hardware, I'm not sure
whether the module will cope. What does *EHInfo and *EHTest say?

Theo

 
 
 

Configuring two network cards in an RPC

Post by Bob Latha » Thu, 21 May 2009 19:40:20

n article <y-n* XXXX@XXXXX.COM >,
Theo Markettos <theom+ XXXX@XXXXX.COM > wrote:


It was and is configured to off.

[Snip]


network_card.21

I had read that section and to be honest I didn't think it addressed the
problem I have. The GUI clearly is aware of and labels both network cards.
It just doesn't allow configuration of the one card.


[snip]


I don't know the answer to that other than to say its working fine with
both cards except for the config GUI.


Okay sorry about this......
Thanks for the help.




*ehtest
Diagnostic tests started
Diagnostic tests complete

EtherH Version: 4.52 Design IT 2002 (Multicast filtering)


Unit Info: Design IT, EtherLan 500 Ethernet StrongARM interface
Unit 0, slot 0, 16-bit driver
Ethernet address=00:c0:32:00:8e:4c
10BaseT (twisted pair) interface in use

I/O Stats: Rxframes=107977, Rxerrs=0, Txframes=3712, Txerrs=0
Collisions=10, Rejects=10490, NoMbuf=0, Overwrites=0
RXPending=0, TXActive=0, IRQActive=0

Interface: Twisted pair interface, link is good, polarity is correct

Frame Info: Type=8035 FrmLvl=1 AddrLvl=1 ErrLvl=0 Handler=3c68454
Type= 806 FrmLvl=1 AddrLvl=1 ErrLvl=0 Handler=3c68454
Type= 800 FrmLvl=1 AddrLvl=2 ErrLvl=0 Handler=3c68454
Software multicast discards=5620 allowed=0
01:00:5e:00:00:01 usage=1
Type=IEEE FrmLvl=4 AddrLvl=2 ErrLvl=0 Handler=3cee59c
Software multicast filter disabled
Multicast address registers=ff:ff:ff:ff:ff:ff:ff:ff

Controller Mode: Multicast, reject frames with errors


Unit Info: Design IT, EtherLan 600 Ethernet StrongARM interface
Unit 1, slot 8, 16-bit driver
Ethernet address=00:c0:32:00:8e:92
10BaseT (twisted pair) interface in use

I/O Stats: Rxframes=6866, Rxerrs=0, Txframes=6181, Txerrs=0
Collisions=51, Rejects=2892, NoMbuf=0, Overwrites=0
RXPending=0, TXActive=0, IRQActive=0

Interface: Twisted pair interface, link is good

Frame Info: Type=8035 FrmLvl=1 AddrLvl=1 ErrLvl=0 Handler=3c68454
Type= 806 FrmLvl=1 AddrLvl=1 ErrLvl=0 Handler=3c68454
Type= 800 FrmLvl=1 AddrLvl=2 ErrLvl=0 Handler=3c68454
Software multicast discards=0 allowed=0
01:00:5e:00:00:01 usage=1
Multicast address registers=00:00:00:80:00:00:00:00

Controller Mode: Multicast, reject frames with errors


Driver Error: eh_intr: RST signalled, unit:1
*ehinfo
EtherH Version: 4.52 Design IT 2002 (Multicast filtering)


Unit Info: Design IT, EtherLan 500 Ethernet StrongARM interface
Unit 0, slot 0, 16-bit driver
Ethernet address=00:c0:32:00:8e:4c
10BaseT (twisted pair) interface in use

I/O Stats: Rxframes=108542, Rxerrs=0, Txframes=3761, Txerrs=0
Collisions=10, Rejects=10520, NoMbuf=0, Overwrites=0
RXPending=0, TXActive=0, IRQActive=0

Interface: Twisted pair interface, link is good, polarity is correct

Frame Info: Type=8035 FrmLvl=1 AddrLvl=1 ErrLvl=0 Handler=3c68454
Type= 806 FrmLvl=1
 
 
 

Configuring two network cards in an RPC

Post by Mr John FO » Fri, 22 May 2009 05:47:49

I was interested to find that the network card on our DELL Laptop could have
two different networks attached. (One for our 'home' network) and one for a
printer we take the PC to occasionally which is on a different net address.

It is a pity that RISC OS cards and drivers cannot do this - it would
presumably save trying to fit two cards.

Any comments from the experts?

John


--
_ _________________________________________
/ \._._ |_ _ _ /' Orpheus Internet Services
\_/| |_)| |(/_|_|_> / 'Internet for Everyone'
_______ | ___________./ http://www.yqcomputer.com/
 
 
 

Configuring two network cards in an RPC

Post by New » Fri, 22 May 2009 21:59:51

In article < XXXX@XXXXX.COM >,




The I-cubed sort of does this in reverse as you can have a PC card online
at the same time as the RPC. Eh virtual, IIRC. Dunno if it can do the same
'the other way' - never had the need to.

--
*The most wasted day of all is one in which we have not laughed.*

Dave Plowman XXXX@XXXXX.COM London SW
To e-mail, change noise into sound.
 
 
 

Configuring two network cards in an RPC

Post by Theo Marke » Sat, 23 May 2009 02:34:52


That's good.


Ah, OK. I'm out of my depth there, I'm afraid.


So you can ping etc from each card to their respective networks?


That looks like the driver's happy.

I get the impression this kind of thing might not have been tested too well.
So you just want the GUI to be made available?

Theo
 
 
 

Configuring two network cards in an RPC

Post by Bob Latha » Sat, 23 May 2009 16:56:47

In article <4XB* XXXX@XXXXX.COM >,




Indeed yes. I can access both networks without any issues at all. Traffic
is correctly routed to the correct network all good.

The problem is the GUI or it was until yesterday when I upgraded to RISCOS
6 and a vpod card. RISC OS 6 seemed OK, and it behaved exactly like 4.39
in that both networks worked but the GUI was still a mess.

Then I fitted the vpod card and when I tried to boot the machine it hung
for 4 minutes at the netsetup part of the boot up. Eventually it did get
to the desktop but it was a struggle and a second re-boot was even worse.

I removed the vpod card as it was less important than the twin network
cards but this broke the RISC OS 6 boot sequence. Despite setting
everything to boot vidc the OS6 boot is still trying to boot a none
existent vpod. Had to go back to 4.39 - not too impressed if I'm honest.



Yes, and if possible, to stop booting with a vpod *** when it tries to
set up the networking.

I spent a while talking to someone at RISC OS Ltd. yesterday about this.
To his credit he did give his time and effort to try to help me but he
said what I should do is to connect the two networks together via a hub.
Then only have one network card and plug that into the hub. Apparently
both OS 4.39 and 6.x can cope with this arrangement.

He said I would need to use ifconfig eh0:1 for the the other network
configuration. I don't understand how I would get that info into the GUI
later on though - very confusing. I'm unsure of this for a number of
reasons. Anyone heard of doing this anywhere else?

Cheers,

Bob.
 
 
 

Configuring two network cards in an RPC

Post by druc » Sat, 23 May 2009 17:16:48


Both ANT and ICubed cards can do this with the virtual interface support
originally aimed to allow RISC OS and the PC second processor card to
have different addresses on the same network. It works just as well to
allow RISC OS to access to separate subnets. However unlike using two
network cards this involves physically liking the networks, which may
not be desirable in non domestic setups.

---druck
 
 
 

Configuring two network cards in an RPC

Post by druc » Sat, 23 May 2009 17:52:03


Lets not worry about that if it works.


I'm not sure why a VPOD should break networking. It's not like it has
any networking capability like the UniPod.


As long as your network card supports virtual interfacing (which the
ICubed does) and you don't need to keep your networks physically segregated.


Once you have done a:-

*Configure EhVirtual On

and rebooted, you should see two network cards in the GUI. If you need
to manually issue ifconfig commands, there is a user options obey file
which can be edited, and wont be affected by any settings changed in the
GUI, which will alter the other internet setup files.

---druck
 
 
 

Configuring two network cards in an RPC

Post by Bob Latha » Sat, 23 May 2009 18:18:15

In article <gv5p24$fp8$ XXXX@XXXXX.COM >,





Actually thinking about it, the machine did boot fine with the card fitted
but the video config set to vidc. It was the reboot after setting video to
vpod#1 when the hang on netsetup came into effect.



Actually, the guy at RISC OS said that the OS after 4.39 could do this
itself.




The RISC OS guy specifically said this was not required after 4.39. The OS
could do it all itself.


Thanks for your help.


Cheers,

Bob.
 
 
 

Configuring two network cards in an RPC

Post by New » Sat, 23 May 2009 21:55:32

In article
< XXXX@XXXXX.COM >,


I'm not quite clear of the benefit of this over just using ShareFS?

--
*No husband has ever been shot while doing the dishes *

Dave Plowman XXXX@XXXXX.COM London SW
To e-mail, change noise into sound.
 
 
 

Configuring two network cards in an RPC

Post by Chris Hugh » Sun, 24 May 2009 02:44:08

In message < XXXX@XXXXX.COM >








You got something conflicting then. Works fine here with RISC OS 6 and
I know others have it working Ok. I did have a minor issue with a
clash with old modules in a Castle SCSI card.


[snip]




--
Chris Hughes
 
 
 

Configuring two network cards in an RPC

Post by Bob Latha » Thu, 11 Jun 2009 20:56:48

In article < XXXX@XXXXX.COM >,




[snip]

Sorry, to follow up my own posts but I'm still struggling with this
problem and getting nowhere. It was suggested that I connect the two
networks together with a hub and use a single network card to speak to
both networks, one of them virtually. Unfortunately the powers that be
have stamped on that so I'm back to having to use two network cards.

Further experimentation now suggests to me that the network configuration
in RO6 and 4.39 is a bit dodgy - broken even. It is very easy to end up
with both network cards set to eh0 using the config tool which cannot be
right. All you need to do is go to the "interfaces" config box and tick
both the NIC and slot 0 set the correct IP adds on both and that's it, you
get two eh0 interfaces.

It still works with the nic apparently switched off in the config for both
networks but then hangs if I attempt to use my new vpod card.

So forgive me if I sound like a grumpy old git but I've spent 00 of my
employers money on a vpod and RO6 and cannot use it because it terminally
breaks the already broken networking configuration.

Anyone got any ideas for this very unhappy camper?


Cheers,

Bob.
 
 
 

Configuring two network cards in an RPC

Post by Alan Adam » Fri, 12 Jun 2009 01:03:18

In message < XXXX@XXXXX.COM >










>> Anyone got any ideas for this very unhappy camper?

Replace one of the network cards with one which doesn't come up as EH?
I suspect your problem is due to one module trying to run two cards. I
could be totally wrong of course.

Talk to ROL if the problem is due to RO6?

>> Cheers,
>> Bob.



--
Alan Adams, from Northamptonshire
XXXX@XXXXX.COM
http://www.yqcomputer.com/
 
 
 

Configuring two network cards in an RPC

Post by Chris Hugh » Fri, 12 Jun 2009 02:02:05

In message < XXXX@XXXXX.COM >







>> Anyone got any ideas for this very unhappy camper?

Have you spoken to Advantage 6 about your problem?

They might be able to suggest away round the problem or the even have
an answer.

Have you asked on the Select mailing list since you have RO6.16 etc.?



--
Chris Hughes