Guest temnyi Posted March 24, 2010 Report Posted March 24, 2010 Hello to all MODACO 3.2 Kernel: 2.6.27-mck-teknologist-1.92 OPENVPN 2.1.1 busybox 1.15.3 log: 2010 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Wed Mar 24 10:18:43 2010 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Wed Mar 24 10:18:43 2010 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Wed Mar 24 10:18:43 2010 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA Wed Mar 24 10:18:43 2010 [server] ----- Wed Mar 24 10:18:44 2010 MANAGEMENT: >STATE:1269407924,GET_CONFIG,,, Wed Mar 24 10:18:45 2010 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Wed Mar 24 10:18:46 2010 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 66.36.226.50,dhcp-option DNS 207.228.225.50,route 192.168.105.1,topology net30,ping 10,ping-restart 60,ifconfig 192.168.105.65 192.168.105.66' Wed Mar 24 10:18:46 2010 OPTIONS IMPORT: timers and/or timeouts modified Wed Mar 24 10:18:46 2010 OPTIONS IMPORT: --ifconfig/up options modified Wed Mar 24 10:18:46 2010 OPTIONS IMPORT: route options modified Wed Mar 24 10:18:46 2010 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Wed Mar 24 10:18:46 2010 ROUTE default_gateway=172.16.43.229 Wed Mar 24 10:18:46 2010 TUN/TAP device tun0 opened Wed Mar 24 10:18:46 2010 TUN/TAP TX queue length set to 100 Wed Mar 24 10:18:46 2010 MANAGEMENT: >STATE:1269407926,ASSIGN_IP,,192.168.105.65, Wed Mar 24 10:18:46 2010 /system/xbin/bb/ifconfig tun0 192.168.105.65 pointopoint 192.168.105.66 mtu 1500 Wed Mar 24 10:18:46 2010 MANAGEMENT: Client disconnected Wed Mar 24 10:18:46 2010 Linux ifconfig failed: could not execute external program Wed Mar 24 10:18:46 2010 Exiting Use many configuration all have this error Wed Mar 24 10:18:46 2010 Linux ifconfig failed: could not execute external program Please help with this problem.
Guest cyde Posted March 24, 2010 Report Posted March 24, 2010 Hi, I am currently using MoDaCo Custom Rom 3.0 Core with Teknologist 1.9 kernal, so I dont know exactly what the problem is with 3.2/1.92. However have you checked out my post (post number #2) in the software forum on this subject. It has a step by step guide to get openVPN working. Of course, TunnelDriod (on market place) is even better now with a gui, but knowning how to do it at the command line is also good. http://android.modaco.com/content/software/291919/openvpn-on-android/ Based on your output I suspect that it cant find the path to "/system/xbin/bb/ifconfig", refer to the end of step 3 in my post for how to fix and a reason. Please take with a grain of NaCl since I am not running the same version of Hero OS as you. -Randy Just wait'n for 2.1 to 4.0 remix.
Guest zorm Posted March 24, 2010 Report Posted March 24, 2010 (edited) http://android.modaco.com/content/software/291919/openvpn-on-android/ Based on your output I suspect that it cant find the path to "/system/xbin/bb/ifconfig" That link gives me: Forbidden You don't have permission to access /content//// on this server. Oh, just realised that's because you wrapped the url in [ topic ] instead of [ url ]. This link should work. If it's any help I'm running MCR 3.2 & which ifconfig returns /system/xbin/ifconfig Edited March 24, 2010 by zorm
Guest cyde Posted March 25, 2010 Report Posted March 25, 2010 If it's any help I'm running MCR 3.2 & which ifconfig returns /system/xbin/ifconfig As per my other post (note this context is in in ADB Shell from a recovery console). Now for some reason (as I spent 8 hours working all this out) the openvpn client doesn't have the correct path to the busy box tools, and tries to use /system/xbin/bb/ifconfig and route commands. on my Hero, this path doesn't exist its just /system/xbin/ifconfig. rather than stuff around trying to debug this, I instead did the following commands. adb shell cd /system/xbin ln -s /system/xbin /system/xbin/bb -Randy
Guest zorm Posted March 26, 2010 Report Posted March 26, 2010 As per my other post (note this context is in in ADB Shell from a recovery console). -Randy Ah yes, thanks, that explains it. As it happens, I'm not trying to set up a vpn atm, just help the previous poster, but I might play with it at some point, so thanks :)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now