Backflip wifi tether with Ubuntu Linux

After gaining root access on my Motorola Backflip phone, I was (eventually) able to get wifi tethering working using the Barnacle application (version 0.5.1).

In Barnacle, I have “skip wpa_supplicant” checked, the channel set to six (6), and DHCP set up to use the OpenDNS DNS server (208.67.222.222) although the DNS server option may not be needed. (I had to also manually specify the DNS server IP on my client anyways.)

I had to pull some tricks on the client side (Ubuntu Linux) to make everything work. Specifically, setting MTU size to 1250 and setting up my own DNS name server IP.
The script I use to make this all work with ad-hoc networking on Ubuntu is as follows: Continue reading