<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: HTC Hero USB Tether on Mac OS X</title>
	<atom:link href="http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/</link>
	<description>Dinke&#039;s Personal Blog</description>
	<lastBuildDate>Wed, 18 Aug 2010 21:11:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pete</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-3/#comment-3067</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Wed, 18 Aug 2010 21:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3067</guid>
		<description>You&#039;re lucky Cher - it doesn&#039;t work for me. I tried leaving wifi on but connecting to a dud wifi address which gives me no internet access.

Weirdly Skype does work just like you said. Azilink counters clock up traffic with Skype. But no browsers work.

Something to do with DNS? Any ideas?

When I look at network preferences what should I see - I see a &quot;Parallels Shared Networking Adapter&quot; and a &quot;Parallels Host-Only Networking Adapter&quot;. Is that right?

How should they look?

Many thanks for any help</description>
		<content:encoded><![CDATA[<p>You&#8217;re lucky Cher &#8211; it doesn&#8217;t work for me. I tried leaving wifi on but connecting to a dud wifi address which gives me no internet access.</p>
<p>Weirdly Skype does work just like you said. Azilink counters clock up traffic with Skype. But no browsers work.</p>
<p>Something to do with DNS? Any ideas?</p>
<p>When I look at network preferences what should I see &#8211; I see a &#8220;Parallels Shared Networking Adapter&#8221; and a &#8220;Parallels Host-Only Networking Adapter&#8221;. Is that right?</p>
<p>How should they look?</p>
<p>Many thanks for any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cher</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-3/#comment-3059</link>
		<dc:creator>Cher</dc:creator>
		<pubDate>Tue, 17 Aug 2010 17:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3059</guid>
		<description>RE: to me and to Pete

I had turned off Airport, but turning it on made everything work!

Thanks Dinke!</description>
		<content:encoded><![CDATA[<p>RE: to me and to Pete</p>
<p>I had turned off Airport, but turning it on made everything work!</p>
<p>Thanks Dinke!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cher</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-3/#comment-3058</link>
		<dc:creator>Cher</dc:creator>
		<pubDate>Tue, 17 Aug 2010 16:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3058</guid>
		<description>I have the same problem as Pete.

modem.sh starts and runs just fine. I can connect to Skype, iChat, other things of through whichever port chat interfaces use, but no web browsing (Chrome, FireFox or Safari) and I cannot connect to externals via ssh or ftp.</description>
		<content:encoded><![CDATA[<p>I have the same problem as Pete.</p>
<p>modem.sh starts and runs just fine. I can connect to Skype, iChat, other things of through whichever port chat interfaces use, but no web browsing (Chrome, FireFox or Safari) and I cannot connect to externals via ssh or ftp.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-3047</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 16 Aug 2010 20:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3047</guid>
		<description>Hi again

I have the whole thing running but I do get this warning &quot;WARNING: potential route subnet conflict...&quot;.

Otherwise the link seems to come up:

Mon Aug 16 20:48:55 2010 Attempting to establish TCP connection with 127.0.0.1:41927 [nonblock]
Mon Aug 16 20:48:56 2010 TCP connection established with 127.0.0.1:41927
Mon Aug 16 20:48:56 2010 TCPv4_CLIENT link local: [undef]
Mon Aug 16 20:48:56 2010 TCPv4_CLIENT link remote: 127.0.0.1:41927
Mon Aug 16 20:49:05 2010 Peer Connection Initiated with 127.0.0.1:41927
Mon Aug 16 20:49:05 2010 Initialization Sequence Completed

But when I use a browser I can&#039;t reach any websites.

I tried googling that warning message but couldn&#039;t make any sense of what I read.

Any ideas?

Many thanks
Pete</description>
		<content:encoded><![CDATA[<p>Hi again</p>
<p>I have the whole thing running but I do get this warning &#8220;WARNING: potential route subnet conflict&#8230;&#8221;.</p>
<p>Otherwise the link seems to come up:</p>
<p>Mon Aug 16 20:48:55 2010 Attempting to establish TCP connection with 127.0.0.1:41927 [nonblock]<br />
Mon Aug 16 20:48:56 2010 TCP connection established with 127.0.0.1:41927<br />
Mon Aug 16 20:48:56 2010 TCPv4_CLIENT link local: [undef]<br />
Mon Aug 16 20:48:56 2010 TCPv4_CLIENT link remote: 127.0.0.1:41927<br />
Mon Aug 16 20:49:05 2010 Peer Connection Initiated with 127.0.0.1:41927<br />
Mon Aug 16 20:49:05 2010 Initialization Sequence Completed</p>
<p>But when I use a browser I can&#8217;t reach any websites.</p>
<p>I tried googling that warning message but couldn&#8217;t make any sense of what I read.</p>
<p>Any ideas?</p>
<p>Many thanks<br />
Pete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pete</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-3025</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Fri, 13 Aug 2010 18:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3025</guid>
		<description>Thanks Dinke

I&#039;ll give it a try.

Pete</description>
		<content:encoded><![CDATA[<p>Thanks Dinke</p>
<p>I&#8217;ll give it a try.</p>
<p>Pete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinke</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-3017</link>
		<dc:creator>Dinke</dc:creator>
		<pubDate>Thu, 12 Aug 2010 20:53:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3017</guid>
		<description>Hey Pete,

Internet Sharing option only worked with Windows, not with a Mac. 

Btw this procedure works on Andorid 2.1 on HTC Hero after official HTC Eclair update.</description>
		<content:encoded><![CDATA[<p>Hey Pete,</p>
<p>Internet Sharing option only worked with Windows, not with a Mac. </p>
<p>Btw this procedure works on Andorid 2.1 on HTC Hero after official HTC Eclair update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pete</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-3016</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Thu, 12 Aug 2010 19:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-3016</guid>
		<description>Forgive my ignorance but is this all still necessary now that Android 2.1 has an &quot;Internet sharing option&quot;? 

I know I can&#039;t get it to work out of the box (HTC  Legend and Mac Leopard) but this all seems really, really complex. Is there any easier way?

I know I can get PDAnet but understand this restricts the sites you can visit unless you buy the paid-for version which I am loathe to do if it should work for free.

Thanks</description>
		<content:encoded><![CDATA[<p>Forgive my ignorance but is this all still necessary now that Android 2.1 has an &#8220;Internet sharing option&#8221;? </p>
<p>I know I can&#8217;t get it to work out of the box (HTC  Legend and Mac Leopard) but this all seems really, really complex. Is there any easier way?</p>
<p>I know I can get PDAnet but understand this restricts the sites you can visit unless you buy the paid-for version which I am loathe to do if it should work for free.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-2967</link>
		<dc:creator>Russ</dc:creator>
		<pubDate>Thu, 05 Aug 2010 06:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-2967</guid>
		<description>Never mind - I figured it out.  Forgot to go back in and enable USB debugging.</description>
		<content:encoded><![CDATA[<p>Never mind &#8211; I figured it out.  Forgot to go back in and enable USB debugging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linda</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-2915</link>
		<dc:creator>Linda</dc:creator>
		<pubDate>Tue, 27 Jul 2010 12:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-2915</guid>
		<description>my problem has been resolved with editing &quot;./adb devices&quot; in modem.sh
see below:



#!/bin/bash
#
# azilink for OS X

init() {
	./adb devices
	./adb forward tcp:41927 tcp:41927
    	sudo openvpn2 --dev tun \
                  --script-security 3 system \
                  --remote 127.0.0.1 41927 \
                  --proto tcp-client \
                  --ifconfig 192.168.56.2 192.168.56.1 \
                  --route 0.0.0.0 128.0.0.0 \
                  --route 128.0.0.0 128.0.0.0 \
                  --keepalive 10 30 \
                  --up &quot;$0 up&quot; \
                  --down &quot;$0 down&quot;
}</description>
		<content:encoded><![CDATA[<p>my problem has been resolved with editing &#8220;./adb devices&#8221; in modem.sh<br />
see below:</p>
<p>#!/bin/bash<br />
#<br />
# azilink for OS X</p>
<p>init() {<br />
	./adb devices<br />
	./adb forward tcp:41927 tcp:41927<br />
    	sudo openvpn2 &#8211;dev tun \<br />
                  &#8211;script-security 3 system \<br />
                  &#8211;remote 127.0.0.1 41927 \<br />
                  &#8211;proto tcp-client \<br />
                  &#8211;ifconfig 192.168.56.2 192.168.56.1 \<br />
                  &#8211;route 0.0.0.0 128.0.0.0 \<br />
                  &#8211;route 128.0.0.0 128.0.0.0 \<br />
                  &#8211;keepalive 10 30 \<br />
                  &#8211;up &#8220;$0 up&#8221; \<br />
                  &#8211;down &#8220;$0 down&#8221;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.dinke.net/blog/en/2009/11/10/htc-hero-usb-tether-on-mac-os-x/comment-page-2/#comment-2892</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Thu, 22 Jul 2010 21:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dinke.net/blog/?p=580#comment-2892</guid>
		<description>I think I&#039;m really close, though I still have an error that nobody has mentioned yet!  Here&#039;s what the output says:


Thu Jul 22 14:19:38 2010 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Jul 22 14:19:38 2010 NOTE: --script-security method=&#039;system&#039; is deprecated due to the fact that passed parameters will be subject to shell expansion
Thu Jul 22 14:19:38 2010 ******* WARNING *******: all encryption and authentication features disabled -- all data will be tunnelled as cleartext
Thu Jul 22 14:19:38 2010 ROUTE: problem writing to routing socket
Thu Jul 22 14:19:38 2010 ROUTE: problem writing to routing socket
Thu Jul 22 14:19:38 2010 TUN/TAP device /dev/tun0 opened
Thu Jul 22 14:19:38 2010 /sbin/ifconfig tun0 delete
ifconfig: ioctl (SIOCDIFADDR): Can&#039;t assign requested address
Thu Jul 22 14:19:38 2010 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Thu Jul 22 14:19:38 2010 /sbin/ifconfig tun0 192.168.56.2 192.168.56.1 mtu 1500 netmask 255.255.255.255 up
Thu Jul 22 14:19:38 2010 Documents/modem.sh up tun0 1500 1502 192.168.56.2 192.168.56.1 init
Thu Jul 22 14:19:38 2010 WARNING: potential route subnet conflict between local LAN [0.0.0.0/255.255.255.0] and remote VPN [0.0.0.0/128.0.0.0]
add net 0.0.0.0: gateway 192.168.56.1
add net 128.0.0.0: gateway 192.168.56.1
Thu Jul 22 14:19:38 2010 Attempting to establish TCP connection with 127.0.0.1:41927 [nonblock]
Thu Jul 22 14:19:38 2010 TCP connection established with 127.0.0.1:41927
Thu Jul 22 14:19:38 2010 TCPv4_CLIENT link local: [undef]
Thu Jul 22 14:19:38 2010 TCPv4_CLIENT link remote: 127.0.0.1:41927
Thu Jul 22 14:19:38 2010 Connection reset, restarting [0]
delete net 128.0.0.0: gateway 192.168.56.1
delete net 0.0.0.0: gateway 192.168.56.1
Thu Jul 22 14:19:38 2010 Documents/modem.sh down tun0 1500 1502 192.168.56.2 192.168.56.1 init
Thu Jul 22 14:19:38 2010 SIGUSR1[soft,connection-reset] received, process restarting

After restarting, it just prints these same messages over and over.  Anybody have a workaround for this?

Thanks,
Joe</description>
		<content:encoded><![CDATA[<p>I think I&#8217;m really close, though I still have an error that nobody has mentioned yet!  Here&#8217;s what the output says:</p>
<p>Thu Jul 22 14:19:38 2010 NOTE: the current &#8211;script-security setting may allow this configuration to call user-defined scripts<br />
Thu Jul 22 14:19:38 2010 NOTE: &#8211;script-security method=&#8217;system&#8217; is deprecated due to the fact that passed parameters will be subject to shell expansion<br />
Thu Jul 22 14:19:38 2010 ******* WARNING *******: all encryption and authentication features disabled &#8212; all data will be tunnelled as cleartext<br />
Thu Jul 22 14:19:38 2010 ROUTE: problem writing to routing socket<br />
Thu Jul 22 14:19:38 2010 ROUTE: problem writing to routing socket<br />
Thu Jul 22 14:19:38 2010 TUN/TAP device /dev/tun0 opened<br />
Thu Jul 22 14:19:38 2010 /sbin/ifconfig tun0 delete<br />
ifconfig: ioctl (SIOCDIFADDR): Can&#8217;t assign requested address<br />
Thu Jul 22 14:19:38 2010 NOTE: Tried to delete pre-existing tun/tap instance &#8212; No Problem if failure<br />
Thu Jul 22 14:19:38 2010 /sbin/ifconfig tun0 192.168.56.2 192.168.56.1 mtu 1500 netmask 255.255.255.255 up<br />
Thu Jul 22 14:19:38 2010 Documents/modem.sh up tun0 1500 1502 192.168.56.2 192.168.56.1 init<br />
Thu Jul 22 14:19:38 2010 WARNING: potential route subnet conflict between local LAN [0.0.0.0/255.255.255.0] and remote VPN [0.0.0.0/128.0.0.0]<br />
add net 0.0.0.0: gateway 192.168.56.1<br />
add net 128.0.0.0: gateway 192.168.56.1<br />
Thu Jul 22 14:19:38 2010 Attempting to establish TCP connection with 127.0.0.1:41927 [nonblock]<br />
Thu Jul 22 14:19:38 2010 TCP connection established with 127.0.0.1:41927<br />
Thu Jul 22 14:19:38 2010 TCPv4_CLIENT link local: [undef]<br />
Thu Jul 22 14:19:38 2010 TCPv4_CLIENT link remote: 127.0.0.1:41927<br />
Thu Jul 22 14:19:38 2010 Connection reset, restarting [0]<br />
delete net 128.0.0.0: gateway 192.168.56.1<br />
delete net 0.0.0.0: gateway 192.168.56.1<br />
Thu Jul 22 14:19:38 2010 Documents/modem.sh down tun0 1500 1502 192.168.56.2 192.168.56.1 init<br />
Thu Jul 22 14:19:38 2010 SIGUSR1[soft,connection-reset] received, process restarting</p>
<p>After restarting, it just prints these same messages over and over.  Anybody have a workaround for this?</p>
<p>Thanks,<br />
Joe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
