<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>YiBi&#039;s Life&#124;Live Log &#187; iphone tethering Archives  &#8211; YiBi&#8217;s Numb Log</title>
	<atom:link href="http://blog.yibi.org/tag/iphone-tethering/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yibi.org</link>
	<description>Blogging about what I like to do</description>
	<lastBuildDate>Wed, 04 Jan 2012 16:36:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Update: Native Tethering To IPhone On Linux</title>
		<link>http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux</link>
		<comments>http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux#comments</comments>
		<pubDate>Mon, 24 May 2010 06:45:48 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ipheth]]></category>
		<category><![CDATA[ipheth driver]]></category>
		<category><![CDATA[ipheth-pair]]></category>
		<category><![CDATA[iphone tethering]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=697</guid>
		<description><![CDATA[I missed out something important in my previous post on the native tethering on Linux. Turns out my tethering works<a href="http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I missed out something important in my <a href="http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian" target="_blank">previous post</a> on the native tethering on Linux. Turns out my tethering works only after I kick off the tether from Windows (Which resides in a VM on my machine). Further digging led me to the following site.</p>
<p><strong>http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver</strong></p>
<p>In order to get tethering to work, you need to &#8216;pair&#8217; the IPhone with your machine. The site above provides the source to the pairing program, which surprisingly isn&#8217;t part of any Debian package. Or at least I couldn&#8217;t find it. Someone please point me to the right package if there&#8217;s one.</p>
<p>Anyway, just follow the instructions on the site to checkout the source from GIT and compile <strong>ipheth-pair</strong>. Plug in your IPhone and check your dmesg for the following:</p>
<blockquote><p>[40883.744096] usb 2-1: reset high speed USB device using ehci_hcd and address 10<br />
[40883.905582] ipheth 2-1:4.2: Apple iPhone USB Ethernet device attached</p></blockquote>
<p>Run <strong>ipheth-pair</strong> if your IPhone has been picked up and loaded successfully.</p>
<p>Leave the rest to Network Manager. Just connect to <strong>wwan0</strong> like connecting to any other devices.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Native IPhone Tethering On Linux (Debian)</title>
		<link>http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian</link>
		<comments>http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian#comments</comments>
		<pubDate>Thu, 20 May 2010 07:58:04 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ipheth]]></category>
		<category><![CDATA[iphone tethering]]></category>
		<category><![CDATA[iPhone USB Ethernet Device]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=690</guid>
		<description><![CDATA[For some reason, I can get tethering to work natively on Linux after I did an upgrade on my unstable<a href="http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For some reason, I can get tethering to work natively on Linux after I did an upgrade on my unstable Debian.</p>
<p>This was not possible previously. Now the kernel detects a new device called <strong>ipheth (IPhone USB Ethernet device)</strong>. This is the magic that made the tethering possible. And the best part is that it works out of the box with Network Manager.</p>
<p>This is really cool. I used to <a title="IPhone Tethering From Linux using bluetooth" href="http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins" target="_blank">tether from Linux using Bluetooth</a>, but the connection is unstable sometimes.</p>
<div class="pie-gallery alignGalleryLeft">
<div class="pie-item" style="margin: 10px 10px 10px 10px;">
<p class="pie-img-wrapper"><a rel="lightbox[2010-4-4-15-56-2]" href="http://lh4.ggpht.com/_QeG60iATtlQ/S_ToSuGF3yI/AAAAAAAAG54/z9TJXSCCwYQ/iphone-tethering-dmesg.png?imgmax=800"><img class="pie-img" src="http://lh4.ggpht.com/_QeG60iATtlQ/S_ToSuGF3yI/AAAAAAAAG54/z9TJXSCCwYQ/s160-c/iphone-tethering-dmesg.png" alt="iphone-tethering-dmesg.png" width="160" height="160" /></a></p>
</div>
<div class="pie-item" style="margin: 10px 10px 10px 10px;">
<p class="pie-img-wrapper"><a rel="lightbox[2010-4-4-15-56-2]" href="http://lh6.ggpht.com/_QeG60iATtlQ/S_TnQnrDRAI/AAAAAAAAG5c/bl7HkvQb67I/iphone-linux-tethering.png?imgmax=800"><img class="pie-img" src="http://lh6.ggpht.com/_QeG60iATtlQ/S_TnQnrDRAI/AAAAAAAAG5c/bl7HkvQb67I/s160-c/iphone-linux-tethering.png" alt="iphone-linux-tethering.png" width="160" height="160" /></a></p>
</div>
</div>
<p>Screenshots of dmesg output etc. Click for the full size image.</p>
<p>I&#8217;m running the unstable distro of Debian, so I&#8217;m not sure if this is available on the stable release. It might be possible on Ubuntu, since they get all the cutting edge stuff.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IPhone Tethering &#8211; Use and Abuse!</title>
		<link>http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse</link>
		<comments>http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse#comments</comments>
		<pubDate>Fri, 29 Jan 2010 13:46:51 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[5 Minute Guides]]></category>
		<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[HSPA]]></category>
		<category><![CDATA[internet sharing]]></category>
		<category><![CDATA[iphone tethering]]></category>
		<category><![CDATA[iptable]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux router]]></category>
		<category><![CDATA[next generation broadband network]]></category>
		<category><![CDATA[singtel 3G]]></category>
		<category><![CDATA[singtel mobile broadband]]></category>
		<category><![CDATA[transparent proxying]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=618</guid>
		<description><![CDATA[This is the geeky sequel to my last Linux to IPhone tethering episode where we used and abused the IPhone<a href="http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is the geeky sequel to my last Linux to IPhone tethering episode where we used and abused the IPhone tethering function.</p>
<p>Some background, I&#8217;m one of those people who contracted (and got stuck) with the 50G SingTel Mobile Broadband Plan before the days of 12GB IPhone plan. My usage was about 4G per month, so none of the plans was suitable for me at that time.</p>
<p>Anyway, that aside. For some reasons my team had to work in a place where we had no internet access while we are building the network for high speed internet access. What irony! The only systems engineer in the team (me) decided that I had alot of data to spare, so here we go&#8230;use and abuse!</p>
<p>Configuration&#8217;s simple. First you have to setup tethering as per my <a title="Linux to IPhone Tethering" href="http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins" target="_self">previous post on IPhone tethering</a>. Once you are done with that, do the follow steps. And again, it&#8217;s a 5 minute quick hack.</p>
<p>1. vi linux-router.sh</p>
<p>2. Paste the following into the shell script</p>
<blockquote><p>#!/bin/bash<br />
/sbin/ifconfig wlan0 192.168.0.1 255.255.255.0<br />
/sbin/iptables -t nat -A POSTROUTING -o bnep0 -j MASQUERADE<br />
/sbin/iptables -A FORWARD -i bnep0 -o wlan0 -m state &#8211;state RELATED,ESTABLISHED -j ACCEPT<br />
/sbin/iptables -A FORWARD -i wlan0 -o bnep0 -j ACCEPT</p></blockquote>
<p>3. Save the file.<br />
4. chmod 700 linux-router.sh<br />
5. ./linux-router.sh<br />
6. Done!</p>
<p>My colleagues are connected to a WIFI router, hence the use of wlan0 as the &#8220;inside&#8221; interface. bnep0 is the &#8220;outside&#8221; interface connected to the IPhone via bluetooth. All the machines point to my laptop as the gateway, which bears the IP address 192.168.0.1. All of them are NAT&#8217;d out from the outside interface.</p>
<p>I have 2Mbps for my plan. Good enough for the team to check email and do some simple web browsing for information.</p>
<p>There are other things you can do like transparent proxying so that you save abit of bandwidth.</p>
<p>Leave a comment if you have any questions on the configurations. Have fun!</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux to IPhone Tethering In 5 Mins</title>
		<link>http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins</link>
		<comments>http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins#comments</comments>
		<pubDate>Wed, 27 Jan 2010 13:57:28 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[5 Minute Guides]]></category>
		<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[internet tethering]]></category>
		<category><![CDATA[iphone tethering]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[personal area network]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=614</guid>
		<description><![CDATA[Tethering from a mobile phone is not new to me. I started from the days of having to script the<a href="http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Tethering from a mobile phone is not new to me. I started from the days of having to script the ppp chat scripts to wvdial to finally having Network Manager recognizing my mobile phone as a 3G modem.</p>
<p>IPhone is new. I have been reading about <strong>tethering on Linux</strong> as soon as I bought it. Painful ways, jailbreak, run proxy etc etc etc.</p>
<p>Linux didn&#8217;t recognize the IPhone as a modem when I plugged in via USB, so it&#8217;s only bluetooth now. I tried the tethering of my Mac first. With bluetooth, I found that tethering actually happens over the <strong>PAN (Personal Area Network)</strong>. That should work with Linux, and so it did.</p>
<p>These are steps for me to get tethering on Debian in 5 mins.</p>
<blockquote><p>1. Run &#8220;sudo aptitude -y install blueman&#8221; in Debian.</p>
<p>2. Logout and login again. This is for the dbus and stuff to react correctly when you turn on your bluetooth later on.</p>
<p>3. Turn on your bluetooth or insert your USB bluetooth dongle. A bluetooth icon should appear in your system tray or whatever you call it in Gnome. That&#8217;s Blueman.</p>
<p>4. Discover and add your IPhone in Blueman</p>
<p>5. Turn on Internet Tethering under &#8220;Settings &#8211;&gt; General &#8211;&gt; Network&#8221;. Choose Bluetooth.</p>
<p>6. Go back to your Blueman, click on it and you should see your IPhone. Right click on your IPhone and select &#8220;Network Access Point&#8221;</p>
<p>7. And you are done!</p></blockquote>
<p>That&#8217;s it! Simple right? No hacking, no jailbreak!</p>
<p>Do drop me a comment if anything&#8217;s unclear. The same solution should work with any of the modern distros like Fedora and Ubuntu.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2010/05/24/update-native-tethering-to-iphone-on-linux' rel='bookmark' title='Update: Native Tethering To IPhone On Linux'>Update: Native Tethering To IPhone On Linux</a></li>
<li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

