<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Ubuntu</title>
  <link href="http://benlund.info/log/Ubuntu/atom" rel="self"/>
  <link href="http://benlund.info/log/Ubuntu" rel="alternate"/>
  <id>http://benlund.info/log/Ubuntu/atom</id>
  <updated>2007-04-18T19:26:44Z</updated>
<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Connecting To A Wireless Network With Ubuntu On An Acer Aspire 5101AWLMI</title>
  <link href="http://benlund.info/2007/04/18/wireless-acer-aspire-5101awlmi" rel="alternate"/>
  <link href="http://benlund.info/2007/04/18/wireless-acer-aspire-5101awlmi/atom" rel="edit"/>
  <id>http://benlund.info/2007/04/18/wireless-acer-aspire-5101awlmi</id>
  <updated>2007-04-18T19:26:44Z</updated>
  <published>2007-04-18T19:26:44Z</published>
  <author>
    <name>Ben Lund</name>
  </author>
  <category term="ubuntu" label="Ubuntu"/>
  <summary type="html">

    &amp;lt;p&amp;gt; After spending about two or three hours trying to work put why my new laptop wouldn&amp;amp;#39;t connect to my home wireless network when runnning Ubuntu, I finally discovered what the problem was. &amp;lt;/p&amp;gt;

    </summary>
  <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">

      <p> After spending about two or three hours trying to work put why my new laptop wouldn&#39;t connect to my home wireless network when runnning Ubuntu, I finally discovered what the problem was. </p>
<p> Do you want to know the secret? </p>
<p> You have to activate the wireless card by sliding the little slidy-button on the front of the machine. Once the light next to the icon that looks like a radio telescope comes on, everything should be fine. </p>
        </div>
  </content>
</entry>
<entry xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Huawei E220 HSPDA USB Modem On Ubuntu</title>
  <link href="http://benlund.info/2007/04/24/huawei-e220-hsdpa-usb-modem-on-ubuntu" rel="alternate"/>
  <link href="http://benlund.info/2007/04/24/huawei-e220-hsdpa-usb-modem-on-ubuntu/atom" rel="edit"/>
  <id>http://benlund.info/2007/04/24/huawei-e220-hsdpa-usb-modem-on-ubuntu</id>
  <updated>2007-04-24T17:18:19Z</updated>
  <published>2007-04-24T17:18:19Z</published>
  <author>
    <name>Ben Lund</name>
  </author>
  <category term="ubuntu" label="Ubuntu"/>
  <summary type="html">

    &amp;lt;p&amp;gt; I was going to be away from home a lot, so I signed up for a monthly flat-fee mobile internet connection from T-Mobile, and they sent me a USB modem the very next day. &amp;lt;/p&amp;gt;

    </summary>
  <content type="xhtml">
    <div xmlns="http://www.w3.org/1999/xhtml">

      <p> I was going to be away from home a lot, so I signed up for a monthly flat-fee mobile internet connection from T-Mobile, and they sent me a USB modem the very next day. </p>
<p> I really wanted to be able to use it under Ubuntu, and happily it turned out to be relatively painless. The recipe is: </p>
<p> Plug the modem in. The modem doubles as a USB storage device (this is where the windows drivers are stored), but this confuses things, so disable recognition of USB storage devices: </p>
<pre>
 $ sudo rmmod usb-storage
</pre>
<p> This is admittedly a bit of an annoying necessity, but it can always be re-enabled later. </p>
<p> Next, check the device details: </p>
<pre>
 $ lsusb
</pre>
<p> You should see a line that looks something like this: <br/> Bus 001 Device 004: ID 12d1:1003 <br/> Alternatively, the product ID might be 1001 not 1003 -- in that case, change the details below accordingly. </p>
<p> Now insert the relevant kernel module with the appropriate device details: </p>
<pre>
 $ sudo modprobe usbserial vendor=0x12d1 product=0x1003
</pre>
<p> Now remove the USB cable, wait a few seconds, and then plug it back in. Then check that </p>
<pre>
 $ ls -la /dev/ttyU*
</pre>
<p> lists three devices: <br/> crw-rw---- 1 root dialout 188, 0 2007-04-24 16:22 /dev/ttyUSB0 <br/> crw-rw---- 1 root dialout 188, 1 2007-04-24 15:54 /dev/ttyUSB1 <br/> crw-rw---- 1 root dialout 188, 2 2007-04-24 15:53 /dev/ttyUSB2 <br/> If there&#39;s only one result, try unplugging and reconnecting again. </p>
<p> Next, edit /etc/wvdial.conf: </p>
<pre>
[Dialer Defaults]

Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

[Dialer tmobile]

Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &#38;C1 &#38;D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
</pre>
<p> username and password are not placeholders -- use those exact values. Actually, it probably doesn&#39;t matter, since there is no authentication. </p>
<p> Finally run </p>
<pre>
 $ sudo wvdial tmobile
</pre>
<p> And the connection should come up. </p>
        </div>
  </content>
</entry>
</feed>
