Z
Z
zuevdmitry2022-02-22 15:06:49
Android
zuevdmitry, 2022-02-22 15:06:49

Using two Android/Orange Pi3 network interfaces?

There is an Orange Pi3 board running Android 7. There are two Ethernet and Wifi interfaces. A self-made board is connected via ethernet, wifi is used to access the Internet. When Ethernet is physically disconnected or ip link set dev eth0 down, Wifi allows you to access the Internet. With eth0 running, nothing works.

#ip rout list
#192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.187
#192.168.200.0/24 dev wlan0 proto kernel scope link src

192.168.200.12 Maybe some kind of routing?
Socket access via C#/Xamarin. Also, the standard android browser can access the Internet when eth0 is turned off.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2022-02-22
@Drno

Leave only IP and mask on ehernet ... since there is no Internet there, the gateway is not needed
at all, this is a problem with route priority. it is necessary to set that the gateway in wifi has the highest priority

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question