Challenge S ec3 cannot be set as the primary device -
Raion - 01-23-2020
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
RE: Challenge S ec3 cannot be set as the primary device -
jan-jaap - 01-24-2020
(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
RE: Challenge S ec3 cannot be set as the primary device -
Raion - 01-24-2020
LOL, it's amazing how a typo can ruin a system