Upgrade to 2.0RC fails on Alix due to Network Interface Mismatch



  • Hi all,
    i tried to upgrade my alix (with 3 vr interfaces) from 1.2.3 RELEASE (nanobsd) to 2.0 RC1 nanobsd (2G). It seemed to work fine at first but on reboot i got this message:

    –------------------------------------------------------
    Network interface mismatch -- Running interface assignment option.
    vr0: link state changed to UP
    vr1: link state changed to UP
    vr2: link state changed to DOWN

    Valid interfaces are:

    vr0  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX
    vr1  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX
    vr2  00:0d:b9:XX:XX:XX  (up)  VIA VT6105M Rhine III 10/100BaseTX

    I reassigned the Interfaces then, but to no avail, i received the following errors:


    The interfaces will be assigned as follows:

    WAN  -> vr1
    LAN  -> vr0
    OPT1 -> vr2

    Do you want to proceed [y|n]?y

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 323

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 324

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 325

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 382

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 383

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 384

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 396

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 398

    Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 405

    Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 408

    Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 409

    Writing configuration…
    Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 495

    Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 498

    Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 504

    Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 505

    Warning: Invalid argument supplied for foreach() in /etc/inc/xmlparse.inc on line 211
    done.

    Network interface mismatch -- Running interface assignment option.


    ...and then it starts again in a loop (alway asks me to assign interfaces).

    Has anybody an idea how to solve that or is it a bug?

    Thanks and regards,
    Christoph



  • Replying to myself here, i just checked my 1.2.3-config and found i had used 2 "Umlaute" in the description-field of the filter section. Could this be the cause for this also?

    Thanks again,
    Chris


  • Rebel Alliance Developer Netgate

    Yes, that is the cause - the special characters were not properly handled in the 1.2.3 config and broke the XML spec. It's handled better in 2.0, but importing them can still fail because the old config will not parse properly.



  • Hi!

    I've the same problem! My question: Special charachters are also _ or -  ??? Can that be my problem?

    Greets


Log in to reply