Skip to content

reggae network-init (CBSD backend): silent termination with error #351

@olevole

Description

@olevole

Hi! I'm trying to initialize a new installation and the script cbsd-network-init.sh ends with an error:

root@reggae1:~# reggae network-init
root@reggae1:~# echo $?
1

As far as I can see, the script ends with this instruction ( in /usr/local/share/reggae/scripts/cbsd-network-init.sh ):

DHCP_CONFIG=$(echo ${EGRESS_CONFIG} | grep -io dhcp)

EGRESS_CONFIG variables on my: inet 172.16.0.110 netmask 255.255.255.0 mtu 1500, however, there is no 'dhcp' in the config output, this causes the script to terminate. Full ifconfig output:

vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        options=880008<VLAN_MTU,LINKSTATE,HWSTATS>
        ether 00:a0:98:77:bb:5c
        inet 172.16.0.110 netmask 0xffffff00 broadcast 172.16.0.255
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions