<?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>AndyB &#187; 3G</title>
	<atom:link href="http://andrewbevitt.com/tag/3g/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewbevitt.com</link>
	<description>shakin' up noth-ink</description>
	<lastBuildDate>Tue, 20 Jul 2010 03:28:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Huawei E220 Optus Wireless</title>
		<link>http://andrewbevitt.com/2008/07/04/huawei-e220-optus-wireless/</link>
		<comments>http://andrewbevitt.com/2008/07/04/huawei-e220-optus-wireless/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 12:09:56 +0000</pubDate>
		<dc:creator>AndyB</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[optus]]></category>
		<category><![CDATA[wireless internet]]></category>

	<!-- AutoMeta Start -->
	<category></category>
	<!-- AutoMeta End -->
	
		<guid isPermaLink="false">http://andrewbevitt.com/?p=105</guid>
		<description><![CDATA[<br/>At work recently, to meet our growing on-the-go connection demands, we got hold of some of the Optus Wireless USB modems. The rebadged Huawei E220. In the spirit of my previous posts on Telstra NextG under Linux, I want to use these with Linux. They are natively supported in recent kernels which is great news.]]></description>
			<content:encoded><![CDATA[<br/><p>At work recently, to meet our growing on-the-go connection demands, we got hold of some of the Optus Wireless USB modems. The rebadged Huawei E220. In the spirit of my previous posts on <a href="http://andrewbevitt.com/2007/07/18/nextg-over-lan/">Telstra NextG</a> under Linux, I want to use these with Linux. They are natively supported in recent kernels which is great news. There were a few gotchas with Ubuntu 8.04 though.<span id="more-105"></span></p>
<p><strong>Gotcha 1</strong><br />
It seems in there is a bug in the airprime module in the kernel I am running. There is a <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/241484">bug report</a> for the error and fortunately an easy enough fix.<br />
<code>$ uname -ar<br />
Linux pegasus 2.6.24-19-generic #1 SMP Wed Jun 18 14:15:37 UTC 2008 x86_64 GNU/Linux</code></p>
<p>To fix you need to blacklist the airprime module so it does not load. This of course is only until a proper code fix / new kernel is released. You can read about how to black list <a href="http://ubuntuforums.org/showpost.php?p=4975798&#038;postcount=2">here</a>. <em>You will need to unplug / replug the device after removing the module and blacklisting.</em></p>
<p><strong>Gotcha 2</strong><br />
I use pppconfig and the associated pon / poff / plog commands to dial up. There are graphical programs available but the CLI ones are so much quicker for me: plug in modem, open terminal, run pon optus, use connection.</p>
<p>In the case of the Next G device pppconfig managed to create a working set of ppp scripts. Unfortunately that wasn&#8217;t the case for the OWB device. Here are the ppp and chat scripts I am using the connect:</p>
<pre>cat /etc/ppp/peers/optus
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/optus"
/dev/ttyUSB0
115200

user ppp
password ppp

noipdefault
replacedefaultroute
defaultroute
persist
noauth
usepeerdns

user ppp
password ppp

debug
local
novj
nodeflate
nobsdcomp
passive

holdoff 5
lcp-echo-interval 0
crtscts</pre>
<p><strong>AND</strong></p>
<pre>cat /etc/chatscripts/optus
TIMEOUT 3
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
"" ATZ

OK AT&#038;FE0Q0V1
OK 'AT+CGDCONT=1,"IP","Connect"'

OK ATDT*99***1#
TIMEOUT 30
CONNECT ""</pre>
<p>Happy interneting!</p>
]]></content:encoded>
			<wfw:commentRss>http://andrewbevitt.com/2008/07/04/huawei-e220-optus-wireless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
