{"id":1436,"date":"2010-09-03T16:59:55","date_gmt":"2010-09-03T21:59:55","guid":{"rendered":"http:\/\/www.summet.com\/blog\/?p=1436"},"modified":"2010-09-03T17:02:22","modified_gmt":"2010-09-03T22:02:22","slug":"backflip-wifi-tether-with-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2010\/09\/03\/backflip-wifi-tether-with-ubuntu-linux\/","title":{"rendered":"Backflip wifi tether with Ubuntu Linux"},"content":{"rendered":"<p>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).<\/p>\n<p>In Barnacle, I have &#8220;skip wpa_supplicant&#8221; 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.)<\/p>\n<p>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.<br \/>\nThe script I use to make this all work with ad-hoc networking on Ubuntu is as follows: <!--more--><br \/>\n<code><br \/>\nsudo service network-manager stop<br \/>\nsudo rm \/etc\/resolv.conf<br \/>\nsleep 1<br \/>\nsudo ifconfig eth1 down<br \/>\nifconfig eth1 mtu 1250<br \/>\nsudo iwconfig eth1 mode ad-hoc<br \/>\nsudo iwconfig eth1 essid barnacle<br \/>\nsudo iwconfig eth1 channel 6<br \/>\nsudo ifconfig eth1 up<br \/>\nsleep 2<br \/>\nsudo dhclient eth1<br \/>\nsudo \/bin\/sh -c 'echo \"nameserver 208.67.222.222\" >> \/etc\/resolv.conf'<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8220;skip wpa_supplicant&#8221; checked, the channel set to six (6), and DHCP set &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2010\/09\/03\/backflip-wifi-tether-with-ubuntu-linux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7,13],"tags":[95,96,100],"class_list":["post-1436","post","type-post","status-publish","format-standard","hentry","category-linux","category-phones","category-projects","tag-android","tag-backflip","tag-tether"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=1436"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1436\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=1436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=1436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=1436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}