[myTouch 4G Android Development] rogabean:
OK. I apologize for the length of this post. This is full documentation of every thing I did just now in order to troubleshoot your issue. I would be sure to read all of it before proceeding man as I have included something at the end you could try before attempting the whole thing.

I just did this from a vanilla stock. So this is an untouched image. Only thing was I did not run any unroot on my phone, although I didn't have R/W access and ability to SU.

I backed up my current settings and everything.

Flashed stock image using clockwork (I used the nandroid image from the unroot thread). ONLY did the restore, not the unroot.

Once that was done I did the following in order:

Installed ASTRO from market so I could install Visionary+ from my sdcard

(enabled unknown sources, enabled USB Debugging and disabled fast boot)

Install Visionary + and checked remount system as R/W after root. Did a temproot as this is just for testing anyway. Once that was done I confirmed I had root by installing mobile terminal and typing "su"

Success.

From market I installed BusyBox installer and installed BusyBox 1.17 (the latest stable)

I then went back to terminal and executed the following commands:

su

cd /system

cd xbin

ls

(I want to make sure /system/xbin/bb does not exist, it didn't)

mkdir bb

cd bb

ln -s /system/xbin/ifconfig /system/xbin/bb/ifconfig

ln -s /system/xbin/route /system/xbin/bb/route

next I made sure that the following is located on my sdcard in /sdcard/openvpn/

my .ovpn file and any key and certs needed with it

the tun.ko module found in this thread

in my case I am using the auth-user-pass option so I also have a plain text file with my username on one line and the pass on the next

I then installed the following from market:

openvpn installer

openvpn settings

Ran openvpn installer

Told it to install openvpn to /system/bin

Told it my path to ifconfig/route is /system/xbin/bb

Success.

Ran openvpn settings

My config was showing.

Menu->advanced

Told it the following:

check load tun kernel module

under tun kernel module settings: load module using insmod and the path to tun module is /sdcard/openvpn/tun.ko

Checked Fix HTC Routes

back to main screen of openvpn settings

Started up openvpn and then clicked on my config

Worked as expected. Received IP address and routing taking place. (as I am using a UK VPN I just fired up the web browser and typed in google.com, it redirected me to google.co.uk which confirms I am working through my VPN)

Turned off VPN. Fired up visionary+ in order to select attempt permroot and see if my VPN survives rebooting (as I had not rebooted to this point)

Reboot - mobile terminal - su -> success

however now I am getting the error you are getting and unable to connect.

cd /system

cd xbin

cd bb

unable to cd to bb (it's gone!)

su

mkdir bb

unable to do so.

Go back to visionary and have remount R/W checked again and attempt temproot (even though I am rooted). This works.

repeat earlier steps to create symlinks. Run VPN, all is working.

Reboot.

Upon reboot I find bb is gone and I am getting fatal error again in openvpn. Suspect that this is due to how visionary is giving me R/W access so I decide to manually remount using the following command:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

back to terminal

repeat steps to create bb folder and my symlinks (also type exit twice at end to make sure I am out of terminal fully)

test vpn and it is working.

Reboot again.

Upon reboot check and my bb folder and symlinks have survived. Fire up the VPN. Working!

Power down phone. Booted holding Power+VolDown (I want to make sure I still have S-OFF since I did not do any unrooting procedures. I do. Good)

Select Power Down from FastBoot Menu. Pull battery.

Put battery back in after 5 seconds and Power on Phone for one final test.

Start up openvn settings and start openvpn and select my config.

Success!

Now one thing you could try before any of this starting from scratch is this:

Make sure all of your VPN files are in /sdcard/openvpn and that the tun.ko module is there as well

terminal

1. su

2. mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

3. cd /system

4. cd xbin

5. check if you have bb folder

(if you do not have bb then skip to step 7)

6. rm -R bb

7. mkdir bb

8. ln -s /system/xbin/ifconfig /system/xbin/bb/ifconfig

9. ln -s /system/xbin/route /system/xbin/bb/route

verify your openvpn settings are exactly as I wrote above.

abbreviated here for easier reference:

check load tun kernel module

under tun kernel module settings: load module using insmod and the path to tun module is /sdcard/openvpn/tun.ko

Checked Fix HTC Routes

See if you can connect. If you can, reboot and try to connect again.