Challenge S ec3 cannot be set as the primary device
#1
Challenge S ec3 cannot be set as the primary device
So I'm trying to conserve my network supplies. I don't currently have an AUI transceiver, and I don't feel like buying 2+ of them just to run my challenge S units, so I'm trying to use the ec3 interface that's on the mezzanine. I got it working on the miniroot/inst, but in this case I'm having issues:

network: WARNING: Failed to configure ec3 as /etc/config/ifconfig-1.options.
network: WARNING: Cannot access primary interface, ec3.
Using standalone network mode.
ec3: flags=8400802<BROADCAST,MULTICAST,IPALIAS,IPV6>
        inet 0.0.0.0 netmask 0
add host 127.0.0.1: Invalid argument

I have configured the /etc/config/netif.options file as follows:

if1name=ec3

#  To override the primary interface address, change the value part
#  and remove the leading : character.

if1addr=$hostname

#  To override the name and/or address of the first gateway interface,
#  change the value part and remove the leading : character.

if2name=ec0
if2addr=gate-$HOSTNAME

The rest of the network should be set correctly for my network, but I just get that on startup. Nothing in SYSLOG or anything else to go off here.

What am I doing wrong? 


# hinv -c network
Integral Ethernet: ec0, version 1
Integral Ethernet: ec3, version 1

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
01-23-2020, 10:07 PM
#2
RE: Challenge S ec3 cannot be set as the primary device
(01-23-2020, 10:07 PM)Raion Wrote:  if1addr=$hostname
Try if1addr=$HOSTNAME

(uppercase)

I basically did the same thing on my O350, I'm not using the builtin ethernet on the IO9 because at the time we had a relatively a lot of network cards dying and I didn't want to risk it.


Code:
janjaap@speedo:~$ hinv -c network
Integral Gigabit Ethernet: tg0, module 001c01, PCI bus 1 slot 4
Gigabit Ethernet: tg1, module 001c01, PCI bus 2 slot 1 port 0
Gigabit Ethernet: tg2, module 001c01, PCI bus 2 slot 1 port 1

and the relevant snippet from /etc/config/netif.options:


Code:
#  Append the interface name and remove the leading : to override
#  the primary interface selection.

if1name=tg1

#  To override the primary interface address, change the value part
#  and remove the leading : character.

if1addr=$HOSTNAME
jan-jaap
SGI Collector

Trade Count: (0)
Posts: 1,048
Threads: 37
Joined: Jun 2018
Location: Netherlands
Website Find Reply
01-24-2020, 09:42 AM
#3
RE: Challenge S ec3 cannot be set as the primary device
LOL, it's amazing how a typo can ruin a system

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
01-24-2020, 07:17 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)