dehghanimeh / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Does not work with USB->ethernet adapter #336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Disable wlan0 and mobile network.
2. Connect and check my ethernet adapter is working, as eth0.
3. Start app and then my working VPN connection profile.

What version of OpenVPN for Android are you using (see about screen)?
0.6.29

What is the expected output? What do you see instead?
I expect it to use the working eth0 ethernet connection to link up to my VPN. 
Never gets past 'Waiting for usable network' message.

What mobile phone are you using?
Samsung Galaxy S4 (GT-I9505).

Which Android Version and stock ROM or aftermarket like cyanogenmod?
Cyanogenmod 11 milestone 12 (4.4.4) + Alucard kernel with Realtek 8152 driver 
compiled in.

Please provide any additional information below.
Other apps work over eth0 (I've tested Dolphin browser and Speedtest).
VPN server is running from an ASUS RT-N56U router running custom firmware 
v3.x.3.9-091 from https://code.google.com/p/rt-n56u/.

Original issue reported on code.google.com by mattros...@gmail.com on 19 Mar 2015 at 8:32

GoogleCodeExporter commented 9 years ago
Android itself probably does not think that it has network connectivity. You 
can try to disable reaction to network event in the generic preferences.

Original comment by arne@rfc2549.org on 19 Mar 2015 at 8:52

GoogleCodeExporter commented 9 years ago
Disabling the network event setting did not help.

I was able to convince this app a Wi-Fi connection is available by using Xposed 
and the Fake Wifi module. Then my VPN connection is successful over ethernet. 
However it is only able to send packets, nothing is received. After some time 
it disconnects and reconnects as if the network has dropped out. Again it 
connects successfully, but cannot receive data.

Am I at the end of the road without better ethernet support in Android?

Original comment by mattros...@gmail.com on 21 Mar 2015 at 12:11

GoogleCodeExporter commented 9 years ago
THe protect API of VPNService might not work with the Ethernet device. It is 
difficult to say what really goes wrong.

Original comment by arne@rfc2549.org on 21 Mar 2015 at 12:20