benjarobbi/get-a-robot-vpnc

VPNC on Honeycomb (Acer A500)

Opened this issue · 1 comments


I've been working on getting this going on my A500 tablet running Honeycomb.  I 
have successfully rooted it (gingerbreak), added tun.ko (A500 modules from 
xda-developers) and of course installed the app itself.

VPNC still reports that root is unavailable, but reports no errors from tun 
(after I got tun.ko installed and insmod'd).  I of course accepted the SU 
permissions when first prompted.

I then configured all the VPN settings, and it connects and reports on (double 
green arrows).  However, I can't ping anything.

At some point, I added "--local-port 0" to avoid issues with having to restart 
wifi.  

(from SSHing to the tablet via SSHDroid)
# ping 10.12.12.152
PING 10.12.12.152 (10.12.12.152) 56(84) bytes of data.
^C
--- 10.12.12.152 ping statistics ---
18 packets transmitted, 0 received, 100% packet loss, time 17002ms

This works on the Mac connected via VPN.  That address happens to be the mail 
server (which is my main purpose in doing all this).

Presumably, this is why:

# netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
dummy0   DOWN  0.0.0.0         0.0.0.0         0x00000082
usb0     DOWN  0.0.0.0         0.0.0.0         0x00001002
sit0     DOWN  0.0.0.0         0.0.0.0         0x00000080
ip6tnl0  DOWN  0.0.0.0         0.0.0.0         0x00000080
wlan0    UP    192.168.0.101   255.255.255.0   0x00001043
tun0     DOWN  0.0.0.0         0.0.0.0         0x00001090
tun2     DOWN  0.0.0.0         0.0.0.0         0x00001090

Looks like DNS was set appropriately:

# getprop net.dns1
10.12.12.10

No routes installed either:

# cat /proc/net/route
Iface   Destination Gateway     Flags   RefCnt  Use Metric  Mask    MTU Window  IRTT         

wlan0   0000A8C0    00000000    0001    0   0   0   00FFFFF0                                     

wlan0   00000000    0100A8C0    0003    0   0   0   00000000                                     



I know this is a new system, so it would be unusual if it worked right off the 
bat!  I'm happy to do any and all testing, and I'm very familiar with Linux 
(though not as much with the android-specific things), so not a *nix noob.

The other issue I've observed is that it will not disconnect cleanly.  When I 
tap on the widget to disconnect, it will say "starting..." and go back to the 
"On" status.

Original issue reported on code.google.com by aaron.de...@gmail.com on 27 May 2011 at 5:27

Same issue with Transformer running Honeycomb 3.2

Original comment by marcelom...@gmail.com on 18 Aug 2011 at 5:43