-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disappearing of default gateway setting #19
Comments
Can you elaborate on what you mean by default gateway? Are you trying to connect to an external WiFi network with apcli0 or trying to host the Omega's WiFi access point on apcli0? A sample of the commands/config you're using would also be helpful. |
Hi, thanks for the quick response. I'm trying to connect the client on the Onion (wwan) to a wireless router which is not running a DHCP service. The wireless router will be set as the gateway setting for the Onion. My experience is that when I configure the network settings of the Onion using DHCP, the gateway setting sticks, but when I configure it statically, it disappears. I wrote a script that will poke the static network settings into openWRT using UCI. Currently I'm using the 0.2.0-b188 software version. I'm using the following script:
Thanks. |
Can you provide examples of what your |
Hi, Thanks for the response, I put the config files at the end if this comment. The steps you can follow to reproduce the problem:
I hope you have the opportunity to reproduce this yourself.
|
Have you been able to reproduce the problem with the information I provided? |
Hi,
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 help is much appreciated.
The text was updated successfully, but these errors were encountered: