kisanman wrote:As I know, AndroidOS doesn't support the ethernet and Wi-Fi simultaneously(at the same time) even though a device has an ethernet port and Wi-Fi card, such as Linux or Windows.
But somewhere on internet posts(i don't remember...), I read that Android TV OS supports it.
That's why, I'm here since I have ODROID-XU4 board.
My Android application on ODROID-XU4 has to use the ethernet for another board and the wi-fi for internet at the same time.
So, the question is that...
1. Is the Android TV OS able to get 2 or more different IP addresses per each NIC?
2. Is it possible to use ethernet and wifi at the same time on Android TV?
If you have a little bit of linux/unix know how, you can do it manually. Remember, that android is "just" a nice user interface and beneath it the full power of a linux kernel and minimalistic userland is running.
If you have no shell experience at all, I suggest to give up here. If you have - that is what i would do:
- Connect a notebook with linux the way the box would be connected
- use ip and route (or ip route) to setup the connection as you want/need - i.e. a private subnetwork for the ethernet card and the wireless route for the wifi to use internet
- if it all works, you have an idea what you exactly want
- now replace the xu4 with the linux notebook
- open a terminal and connect a keyboard. use the same, or similar commands to setup your ethernet and wifi
- you might need to do some google research if i.e. one network interface is disconnected and you cannot just use the ip command to bring it up
- if you get both interfaces enabled i am sure you can manually set routing and addresses
- if it all works, write needed commands to a .sh file. reboot, execute .sh file, see if it works
- once you can start your setup via the .sh file, put that file to /system/etc/rc.d/ or /system/etc/rc.local