[Samsung Galaxy Nexus] robbetto:
Hello to everybody,

I'm trying to run open VPN in my rooted stock Galaxy Nexus, with ICS 4.0.3.

My goal is to create a bridged interface to get an ip directly from the same DHCP server that serve to all the pcs at my work network instead of assign a special pool by using a tap interface, but i'm not even able to bring up a tun interface to check if openvpn is working.

I keep getting some error when it's trying to bring up the tun0 interface; openvpn quit with value exit with "Linux ifconfig failed: external program fork failed".

If I try to bring up the tun0 from shell, I get "ifconfig: tun0: error fetching interface information: Device not found".

Then I check if the kernel is running with support for tunneling and i found that CONFIG_TUN is correctly set.

Did I miss something? Did I had to set other kernel modules? Also, somewhere in this forum is said that "tun is possible, tap no due to system limitations": someone knows what this limitations are and how can i pass them?

Also, is this a right place to ask or i'm posting to the wrong forum?

Thank you and sorry for my english

R.

Here is a part of logcat showing the errror (whit location masked at line 4)

D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-mgmt( 1959): =============> 0 == 4 resetting dns, leaving dns alone
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-mgmt( 1959): SUCCESS: bytecount interval changed
D/OpenVPNDaemonEnabler( 1959): Received OpenVPN network state changed from Auth to Get Config
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:43 2012 SENT CONTROL [xx.xx.xx.it]: 'PUSH_REQUEST' (status=1)
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 PUSH: Received control message: 'PUSH_REPLY,route 192.168.11.0 255.255.255.0,dhcp-option DNS 10.8.0.1,dhcp-option WINS 192.168.11.2,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.74 10.8.0.73'
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 OPTIONS IMPORT: timers and/or timeouts modified
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 OPTIONS IMPORT: --ifconfig/up options modified
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 OPTIONS IMPORT: route options modified
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 ROUTE default_gateway=2.195.48.1
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 TUN/TAP device tun0 opened
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 TUN/TAP TX queue length set to 100
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 MANAGEMENT: >STATE:1352902484,ASSIGN_IP,,10.8.0.74,
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 /system/xbin/busybox ifconfig tun0 10.8.0.74 pointopoint 10.8.0.73 mtu 1500
V/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-mgmt( 1959): onState(">STATE:1352902484,ASSIGN_IP,,10.8.0.74,")
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 MANAGEMENT: Client disconnected
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 Linux ifconfig failed: external program fork failed
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/Nexus.ovpn]-daemon-stdout( 1959): Wed Nov 14 15:14:44 2012 Exiting