If there is an easier or non-root required method to what I’ve outlined here, please I’m ALL EARS.
I pretty much hate Samsung or Android, not sure where to direct my h8, but whatever. I wasn’t going to let it beat me. Essentially I needed to connect to an AP that uses 802.1x WEP, PEAP, and MSCHAPv2 radius authentication to get access. Not that difficult on my iPhone w/ the use of profiles, but Android/Samsung wasn’t as easy. Here it is in a nutshell:
- Root your Vibrant (SDK method preferred)
- Use the SDK to pull your current wireless config
- Modify the wireless config entry you have for the AP that you are trying to connect to.
- VOILA! successful connection.
- Follow the instructions on how to root your Vibrant.
- Once your vibrant has been rooted, you need to download and install the SDK.
- Turn off your phone’s Wifi, and turn USB debugging on (Settings –> Applications –> Development).
- This is where it gets interesting (Windows method):
- Open a command prompt, go to where you installed the SDK, tools folder. (My case was where I downloaded it which was the desktop)
- Type adb shell
- This brings you to the Android shell prompt, which starts w/ a $ symbol, now type su
- Your phone, if rooted properly, should pop-up w/ a permission request, touch accept or ok, can’t remember how it pops up.
- Once in your root the prompt should now show the # symbol. Now type busybox cp /data/wifi/bcm_supp.conf /sdcard
- This copies your current WiFi config file to an area that you can pull from the phone w/o root creds.
- Now hit Ctrl-C to get out of the shell prompt.
- Type adb pull /sdcard/bcm_supp.conf C:\
- This places the bcm_supp.conf file on the root of your C drive. Feel free to place it elsewhere.
- Open the file w/ your text editor of choice (notepad is built in, but I prefer notepad++)
- If you’ve attempted configuring an 802.1x connection, you should see an entry like something below:
- The above entry is configured for 802.1x WPA, some lines need to change as highlighted below:
- Once you’ve made your changes, save the file. Now we need to place this modified file back in the mix.
- In the command prompt, type adb push C:\bcm_supp.conf /sdcard
- The path will be different if you place the bcm_supp.conf file elsewhere. We can’t directly copy because adb can’t run as root yet.
- Now type: adb shell. Then type: su (to get into root mode).
- Now to apply the conf file type: busybox mv /sdcard/bcm_supp.conf /data/wifi/bcm_supp.conf
- Now simply hit CTRL-C to exit the console. If everything was done correctly, you should be able to turn on your Wifi on the phone and get a successful connection to your 802.1x WEP secured AP.
Usually domain networks require you to change your password, so you may have to do this exercise every time you change your password. Hopefully Android fixes this.