open VPN. Android. HDA Conect

mostlymaylone
Posts: 1
Joined: Tue Feb 15, 2011 8:03 am

open VPN. Android. HDA Conect

Postby mostlymaylone » Tue Feb 15, 2011 8:20 am

I have VPN set up. when I am at work I can use HDAConnect to connect to my HDA it automatically redirects the browser just like when at home. Simple and straight forward easy.

I have a rooted Milestone running Android 2.2 with open VPN installed. When I choose my HDA to connect to, I enter my name and password, and it shows I'm connected. If I go to a browser and type HDA, it goes to google results for HDA. If I type the IP for either my server or my actual connection I get 'unavailable'. Is there an ap I should be using? have I missed something in settings? at this point I'm not even sure what I should be searching for to find the answer.

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: open VPN. Android. HDA Conect

Postby sgtfoo » Tue Apr 26, 2011 9:19 am

I'm having the same issue now that I've upgraded to Amahi6. Beforehand with Amahi5 and CM7 on my phone, I could VPN no problem.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

frodemann
Posts: 39
Joined: Sat Feb 27, 2010 4:52 pm
Location: Oslo, Norway
Contact:

Re: open VPN. Android. HDA Conect

Postby frodemann » Wed Apr 27, 2011 6:40 pm

Me too, same problem. I switched from WinMo to Android to be able to get OpenVPN on my phone.
I get connection. Logs on Amahi confirms my phone getting an ip address, but no hda dashboard in phone browser, and no shares visible.

My VPN knowledge is very limited, and Google has gotten me nowhere ...

Would be cool to nail this one!

rednus
Posts: 29
Joined: Wed Jan 12, 2011 4:17 pm

Re: open VPN. Android. HDA Conect

Postby rednus » Thu Jun 16, 2011 6:07 am

Hey all.. I am able to connect to VPN successfully, and able to access the services using "<service>.home.com"

I think its the way the routing works on android when connected to vpn. But as long as I am able to get the services, I am happy.

rbmattis
Posts: 100
Joined: Fri Mar 18, 2011 8:37 am

Re: open VPN. Android. HDA Conect

Postby rbmattis » Thu Sep 22, 2011 12:11 pm

I've got a Droid X running the latest CM7 nightly.

I used OpenVPN installer to install OpenVPN 2.1.1 to the /system/xbin/openvpn folder.

Then I tried following these instructions:
http://wiki.amahi.org/index.php/VPNAndroid

I have a VPN in my VPN Settings called "Amahi" but it hangs when I try connecting... ideas?

snakey147
Posts: 21
Joined: Tue Sep 20, 2011 2:37 am

Re: open VPN. Android. HDA Conect

Postby snakey147 » Mon Oct 03, 2011 4:41 am

I had some similar issues on my phone, It would accept my username/password and say it was connected but the phone didn't actually have an IP Address or routing information.

The issue seems to have been the busybox installation on the phone. The OpenVpn 2.1.1 client is looking for the 'ifconfig' command in the /system/xbin/bb folder, but the busybox was installed in /system/xbin

I created a link in the /system/xbin folder as follows

Code: Select all

ln -s /system/xbin bb
OpenVPN was then able to find ifconfig and set the ipaddress.

It may also help your troubleshooting to try running the openvpn command from a command line terminal on the phone as it does give some useful feedback you don't get from the gui.

I did have some other issues around the 'tun.ko' file, but that was specific to my Nexus One and is not relevant to other handsets.
HP Proliant Microserver running ESXi 5.0 with Amahi 6.2 on Ubuntu 12.04 LTS.

Who is online

Users browsing this forum: No registered users and 11 guests