<?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>tensixtyone &#187; networkmanager</title>
	<atom:link href="http://tensixtyone.com/tags/networkmanager/feed" rel="self" type="application/rss+xml" />
	<link>http://tensixtyone.com</link>
	<description>Rants of Andrew Williams / Nik_Doof</description>
	<lastBuildDate>Fri, 25 Jun 2010 10:58:02 +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>Howto: Debian Lenny &amp; Huawei E160G</title>
		<link>http://tensixtyone.com/perma/howto-debian-lenny-huawei-e160g</link>
		<comments>http://tensixtyone.com/perma/howto-debian-lenny-huawei-e160g#comments</comments>
		<pubDate>Thu, 07 Aug 2008 22:08:10 +0000</pubDate>
		<dc:creator>Andrew Williams</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[701]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[e160g]]></category>
		<category><![CDATA[eeepc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[huawei]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networkmanager]]></category>

		<guid isPermaLink="false">http://tensixtyone.com/?p=364</guid>
		<description><![CDATA[So, in my last post I described how it was using the E160G with Debian. All in all it&#8217;s very good and i&#8217;ve not experienced any major issues, bar a few minor apt-get and NetworkManager issues. So, heres a quick rundown of how to get it on your machine. So first, you need to get [...]]]></description>
			<content:encoded><![CDATA[<p>So, in my last post I described how it was using the E160G with Debian. All in all it&#8217;s very good and i&#8217;ve not experienced any major issues, bar a few minor apt-get and NetworkManager issues. So, heres a quick rundown of how to get it on your machine.</p>
<p>So first, you need to get the hardware to work correctly under Debian. Plug in your E160G and check dmesg to see if the device recognises correctly. If you see ttyUSB0/ttyUSB1 appear you can skip this step.</p>
<p>First, you need to download USB_Modeswitch:</p>
<pre># wget http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-0.9.4.tar.bz2
# tar jxvf usb_modeswitch-0.9.4.tar.bz2
# cd usb_modeswitch-0.9.4/
# ./compile.sh</pre>
<p>Now you have the usb_modeswitch program, as this will be executed by udev it needs to be in a sensible location, personally i&#8217;d copy it to /usr/local/sbin/</p>
<pre># cp usb_modeswitch /usr/local/sbin/</pre>
<p>Also, you need to grab the latest config file from the usb_modeswitch website and put it into /etc</p>
<pre># wget http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.conf
# sudo mv usb_modeswitch.conf /etc/</pre>
<p>Now, by default the config file comes with the section commented out, so edit the file and uncomment the section for the E220 (which is essentially the same device).</p>
<pre># sudo $EDITOR /etc/usb_modeswitch.conf</pre>
<p>One last step, you need to add a small configuration file to udev to detect the E160G and run usb_modeswitch, put this file in you /etc/udev/rules.d/ folder:</p>
<pre>SUBSYSTEM=="usb", SYSFS{idProduct}=="1003", SYSFS{idVendor}=="12d1",
  RUN+="/usr/local/sbin/usb_modeswitch"</pre>
<p>Restart udev, and plug in your E160G&#8230;</p>
<pre>sudo /etc/init.d/udev restart</pre>
<p>and you should see something similar to:</p>
<pre>[   16.085904] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB0
[   16.086033] usb 5-3: GSM modem (1-port) converter now attached to ttyUSB1</pre>
<p>So, the device is detected and you have your USB ports, first a quick overview. The E160G shows two serial ports, one is a data port, the other is for control signals. NetworkManager only makes use of one of these ports but the Vodafone Connection Manager uses both. Now you have a choice, install Network Manager 0.7 to gain native GPRS/UMTS data support or use another package. I went for Network Manager, while it&#8217;s still in beta and i&#8217;ve had a few run-ins in the past with it I decided to give it a go.</p>
<p>So, it was a simple case of adding the 0.7 repositories to /etc/apt/sources.list, updating, then installing the needed packages.</p>
<pre># echo "deb http://debs.michaelbiebl.de/ unstable main" &gt;&gt; /etc/apt/sources.list
# apt-get update
# apt-get -t unstable install network-manager</pre>
<p>You might need to remove any old Network Manager packages before you do this, as network-manager-openvpn collides with the new package.</p>
<p>Hopefully thats give you the overview you needed, and you should be up and running!</p>
]]></content:encoded>
			<wfw:commentRss>http://tensixtyone.com/perma/howto-debian-lenny-huawei-e160g/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
