26597925 / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

UnknownHostException: InetAddress.getLocalHost() #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run OpenVPN setting,
2. Select a config file to connect

What is the expected output? What do you see instead?

The UI doesn't reflect the status of openvpn status and no any message and 
hint, actually it connected successfully which ifconfig and route can confirm 
it, also does browser.

dmesg report "tun0: disabled privacy extensions"

What version of the product are you using?

0.46

Which Android phone are you using?

HTC magic

Which firmware version are you using?

Rogers 2.1 SENSE ROM

Please provide any additional information below.

The ROM doesn't has tun.ko with it, so I complie one from hero kernel source. 
When using adb shell run openvpn --config [my config file], it's no problem, 
using the old TunnelDorid also no problem. But using OpenVPN setting, it 
doesn't reflect the status of openvpn connection, so you can't disconnect it, 
every times when phone reboot, it will connect to my OpenVPN server 
automatically and no notification, which kind of annoying.

Original issue reported on code.google.com by Dawn.g.C...@gmail.com on 22 Sep 2010 at 4:36

GoogleCodeExporter commented 8 years ago
Could you please attach the output of 'adb logcat' taken while the tunnel is 
being brought up?

Original comment by friedrich.schaeuffelhut on 22 Sep 2010 at 5:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry again, I Hope this is it. I Change my openvpn server IP Address to 
My..... 
Cause there may be a big brother watching you all the time.

Original comment by Dawn.g.C...@gmail.com on 22 Sep 2010 at 6:41

Attachments:

GoogleCodeExporter commented 8 years ago
Seems your ROM can not resolve 'localhost' to an IP address.
Please test the attached apk and see it it works now.

Original comment by friedrich.schaeuffelhut on 28 Sep 2010 at 6:23

Attachments:

GoogleCodeExporter commented 8 years ago
0.4.7test2 works like a charm. Thanks!

Original comment by Dawn.g.C...@gmail.com on 28 Sep 2010 at 6:46

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 28 Sep 2010 at 7:10

GoogleCodeExporter commented 8 years ago
Thank you for reporting and testing the issue.

Original comment by friedrich.schaeuffelhut on 28 Sep 2010 at 7:18