Disappearing of default gateway setting



  • I’m experiencing an issue with the Omega 2+ board.

    When I set the default gateway on apcli0, it automatically gets removed from the interface.

    I did some debugging myself, to my knowledge this is caused by the ap_client tool. The ap_client tool uses the calls: ifconfig apcli0 down; ifconfig apcli0 up. The call ifconfig down will make the kernel forget the gateway entry and ifconfig up does not restore this.

    To my understanding this can be fixed by using the calls: ifdown and ifup instead of ifconfig(or using an ubus call to refresh the network configuration).

    Because the ap_client tool is only a binary in the repo, I can’t fix this myself.

    Any other ideas? Any help is much appreciated.



Looks like your connection to Community was lost, please wait while we try to reconnect.