<?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>Dragly &#187; mobile</title>
	<atom:link href="http://dragly.org/tag/mobile-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://dragly.org</link>
	<description>It was about time I started writing my own tutorials to share some of the knowledge I&#039;ve picked up from around.</description>
	<lastBuildDate>Mon, 14 May 2012 22:32:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Connect to your N900 while developing via usb</title>
		<link>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/</link>
		<comments>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 17:16:43 +0000</pubDate>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[N900]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://dragly.org/?p=251</guid>
		<description><![CDATA[Sometimes it feels good to be a bit lazy and let your OS do that boring terminal-typing for you whenever you connect a new device. <a href="http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are developing for Nokia N900 using the Nokia Qt SDK, you are most likely following <a href="http://doc.qt.nokia.com/nokia-qtsdk-1.0/creator-developing-maemo.html">this guide</a> to set up your environment. This is all nice and easy, but if you are connecting using usb you have to open a terminal each time you plug in your N900 and write</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> usb0 192.168.2.14 up</pre></div></div>

<p>If you, like me, get tired of doing this you may instead let Network Manager in Gnome do the work for you. First of all, connect your N900 via an available USB port. Next, right click the Network Manager icon and hit &#8220;Edit Connections&#8230;&#8221;.</p>
<p><span id="more-251"></span></p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Network-Connections.png" rel="lightbox[251]"><img class="size-full wp-image-252 alignnone" title="Screenshot-Network Connections" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Network-Connections.png" alt="" width="436" height="300" /></a></p>
<p>This window will pop up. Press the &#8220;Add&#8221; button.</p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb.png" rel="lightbox[251]"><img class="alignnone size-full wp-image-253" title="Screenshot-Editing N900 via usb" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb.png" alt="" width="361" height="471" /></a></p>
<p>Type in a useful name, such as &#8220;N900 via usb&#8221;, and leave everything under &#8220;Wired&#8221; as is. Select the &#8220;IPv4 Settings&#8221; tab.</p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb-1.png" rel="lightbox[251]"><img class="alignnone size-full wp-image-254" title="Screenshot-Editing N900 via usb-1" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb-1.png" alt="" width="403" height="471" /></a></p>
<p>Set the Method to &#8220;Manual&#8221; and click &#8220;Add&#8221;.</p>
<p>Type in 192.168.2.14 as the address and 255.255.255.0 as the netmask. Leave the gateway blank.</p>
<p>Hit &#8220;Apply&#8221; and you are good to go!</p>
<p>Next, just click the Network Manager icon and select &#8220;N900 via usb&#8221;. If nothing went wrong, you should now be connected to your device, enabling you to use Qt Creator to its full extent. The next time you plug in your N900, Network Manager will do the work for you automatically.</p>
<p><strong>Update: </strong>Note that if you already have a wired connection, Network Manager might try to connect to this so-called &#8220;Auto Ethernet&#8221; connection when you plug in. If this happens, just click the network manager icon and select the correct connection.</p>
<p>This might also happen the other way around, connecting to your USB connection with your Ethernet card, which of course won&#8217;t work. To avoid this completely, you might want to disable auto-connection for you N900 USB.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

