<?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>/dev/null &#187; Ubuntu</title>
	<atom:link href="http://www.nulldevice.de/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nulldevice.de</link>
	<description>Static is evil.</description>
	<lastBuildDate>Fri, 18 Nov 2011 17:28:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Howto: Connect to a Cisco VPN using Ubuntu Linux 10.04</title>
		<link>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/</link>
		<comments>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 19:03:39 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vpn]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=1131</guid>
		<description><![CDATA[Argh, I spent the whole day figuring out how to connect to the VPN of my current customer. The Windows client on my other computer works just fine, at least after selecting the UDP option. But it is quite some overhead to install Windows on my Linux box just to connect to a VPN. The [...]]]></description>
			<content:encoded><![CDATA[<p>Argh, I spent the whole day figuring out how to connect to the VPN of my current customer. The Windows client on my other computer works just fine, at least after selecting the UDP option. But it is quite some overhead to install Windows on my Linux box just to connect to a VPN. The proprietary Cisco VPN client for Linux works until kernel version 2.6.25 AFAIK. Therefore, This is no option for all users of Ubuntu 10.04.</p>
<p>There is an Open Source client for the cisco vpn concentrator that replaces the Cisco client: <strong>vpnc</strong></p>
<p>It can be installed on the command line using</p>
<blockquote><p>sudo apt-get update &amp;&amp; sudo apt-get install vpnc resolvconf</p></blockquote>
<p>Once you&#8217;ve done this, you will want to create a config file for your VPN:</p>
<blockquote><p>/usr/share/vpnc/pcf2vpnc ciscovpnconfigfile.pcf &gt; default.conf</p></blockquote>
<p>Now move that file to /etc/vpnc:</p>
<blockquote><p>sudo mv default.conf /etc/vpnc</p></blockquote>
<p>Theoretically you should be able to use the VPN now like this:</p>
<blockquote><p>sudo vpnc</p></blockquote>
<p>And terminate it like that:</p>
<blockquote><p>sudo vpnc-disconnect</p></blockquote>
<p>Of course it would be too easy this way. There were a couple of changes I had to apply to the config file:</p>
<p>First of all and most importantly, the line</p>
<blockquote><p>Application version Cisco Systems VPN Client 5.0.07.0240:WinNT</p></blockquote>
<p>simulates a Windows client, which the Cisco concentrator at my customer&#8217;s network checked for. If that is the case and it refuses the connection, you won&#8217;t see any error that tells you about it, vpnc just won&#8217;t connect properly and say &#8220;no response from target&#8221; after several seconds! It took a long time until I figured that out, but just because I had a similar problem with an older Windows client previously. Also it&#8217;s hard to find out, how the version string is supposed to look like.</p>
<p>The other line I added was &#8220;NAT Traversal Mode cisco-udp&#8221; and if you like &#8220;Xauth password XXX&#8221; to store your password in the config file, so that you don&#8217;t need to enter it each time you connect.</p>
<p>Hope that works for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2010/06/cisco-client-vpn-vpnc-ubuntu-linux-10-04/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Howto: WWAN on a Lenovo ThinkPad X100e with Ubuntu 10.04</title>
		<link>http://www.nulldevice.de/2010/06/wwan-lenovo-thinkpad-x100e-ubuntu-10-04/</link>
		<comments>http://www.nulldevice.de/2010/06/wwan-lenovo-thinkpad-x100e-ubuntu-10-04/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 13:08:06 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=1113</guid>
		<description><![CDATA[I could not find a single correct and useful description how to get the Gobi™ 2000 PCI Express Mini Card, that is built into some Lenovo ThinkPad X100e models, to work with Ubuntu Linux 10.04 LTS &#8220;Lucid Lynx&#8221; on Google (which is identical to the Internet). Therefore I want to share my knowledge with you, [...]]]></description>
			<content:encoded><![CDATA[<p>I could not find a single correct and useful description how to get the <strong>Gobi™ 2000 PCI Express Mini Card</strong>, that is built into some <strong>Lenovo ThinkPad X100e</strong> models, to work with<strong> Ubuntu Linux 10.04 LTS &#8220;Lucid Lynx&#8221;</strong> on Google (which is identical to the Internet). Therefore I want to share my knowledge with you, before I forget everything. This howto <strong>might also work for other notebooks </strong>that use the same WWAN/UMTS/3G card (like the<strong> ThinkPad T410</strong>).</p>
<ol>
<li>First you should <strong>turn off</strong> and open your notebook at the bottom by removing the 7 screws. Inside, you will see the <strong>sim card socket</strong> and instructions how to use it (it&#8217;s <strong>not </strong>too obvious). If you got another ThinkPad model like the T410, the sim card needs to be installed differently, for example behind the battery pack.</li>
<li>If you did not install Ubuntu yet and Windows 7 is still there, then get the files <strong>amss.mbn</strong>, <strong>apps.mbn</strong> and <strong>UQCN.mbn</strong> from the directory <em>C:\Program Files (x86)\QUALCOMM\Images\Lenovo</em> &#8211; the first two files are in the &#8220;UMTS&#8221; sub-directory, the other one is in &#8220;0&#8243;. As I didn&#8217;t have my Windows 7 partition on the X100e anymore, I simply copied the files from a ThinkPad T410. If you don&#8217;t have a copy of these files, you will find some advice at <a href="http://www.thinkwiki.org/wiki/Talk:Qualcomm_Gobi_2000">http://www.thinkwiki.org/wiki/Talk:Qualcomm_Gobi_2000</a>.</li>
<li><strong>If you did not install Ubuntu yet, do it now! </strong>The X100e has no DVD drive, so you need to download the ISO image from ubuntu.com and then create a <strong>bootable USB stick</strong>. The free tool http://unetbootin.sourceforge.net/ can be used for that. Use the <strong>64bit version</strong> of Ubuntu, as the X100e supports <strong>up to 8GB</strong> of memory and you don&#8217;t want to re-install everything after an upgrade. I know the Ubuntu Web site says that it is not recommended for daily desktop usage &#8211; this is nonsense.</li>
<li><strong>Don&#8217;t use the proprietary ATI graphics driver. </strong>Uninstall or disable it. It will break with the new kernel.</li>
<li><strong>Download </strong>the latest version of the gobi loader from <a href="http://www.codon.org.uk/~mjg59/gobi_loader/download/">http://www.codon.org.uk/~mjg59/gobi_loader/download/</a></li>
<li>Untar the files using <em>tar -xzf gobi_loader-0.6.tar.gz</em>, change into the directory and then install the tool via the usual <em>make </em>and <em>sudo make install</em> procedure.</li>
<li>Now <strong>copy the files</strong> amss.mbn, apps.mbn and UQCN.mbn to <strong>/lib/firmware/gobi/</strong>: <em>sudo cp amss.mbn apps.mbn UQCN.mbn /lib/firmware/gobi</em></li>
<li><strong>Get the latest mainline kernel </strong>from <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/">http://kernel.ubuntu.com/~kernel-ppa/mainline/</a> &#8211; I am using <strong>v2.6.35-rc1-lucid</strong>, but as kernel development does not stop, you should check if there is a later version available. The important thing is that the directory ends with -lucid for Ubuntu 10.04. If you use an older version, you can try v2.6.34-rc2, but I am not sure, if that will work as well. You need to download the kernel <strong>headers</strong> and <strong>image for your architecture</strong> (i386/32bit or amd64/64bit) <strong>only</strong>.</li>
<li>Follow the instructions on <a href="https://wiki.ubuntu.com/KernelTeam/MainlineBuilds">https://wiki.ubuntu.com/KernelTeam/MainlineBuilds</a> &#8211; if there are other .deb files in the current directory (where you downloaded the kernel files in the previous step), then you can not use <em>sudo dpkg -i *.deb</em>, but need to explicitly list the deb files: <em>sudo dpkg -i linux-headers-2.6.27-02062715-generic_2.6.27-02062715_amd64.deb  linux-headers-2.6.27-02062715_2.6.27-02062715_all.deb linux-image-2.6.27-02062715-generic_2.6.27-02062715_amd64.deb </em>(if you got the 64bit version of Ubuntu installed).</li>
<li>After restart, you will notice that your wireless connection does not work anymore. Therefore, you should  <strong>wait </strong>and <strong>download the file rtl8192se_linux_2.6.0015.0127.2010.tar.gz</strong> first, for example from <a href="http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&amp;PNid=21&amp;PFid=48&amp;Level=5&amp;Conn=4&amp;DownTypeID=3&amp;GetDown=false&amp;Downloads=true">http://www.realtek.com.tw/downloads</a> &#8211; some people say downloads from this site were corrupted, so wish you good luck! Some people also say these drivers don&#8217;t work with a 64bit kernel. I did not experience any problems in that direction. But if you want to try, there seems to be another (older) driver for 64bit systems available for download at <a href="http://launchpadlibrarian.net/34090404/rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz">http://launchpadlibrarian.net/34090404/rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz</a></li>
<li>Of course, you need <strong>the build-essential package</strong> to compile the drivers: <em>sudo apt-get install build-essential -</em> now it should be safe to restart.</li>
<li>After restart, you will notice that the <strong>ThinkPad hotkeys are working now</strong>, which is another benefit of kernel 2.6.35. However you still need to compile those WLAN drivers: extract the files from the tar archive (<em>tar -xzf somefile.tar.gz</em>), change into the directory, say &#8220;<em>make</em>&#8221; and then <strong>NOT </strong>sudo make install. Instead you copy the file <strong>HAL/rtl8192/r8192se_pci.ko</strong> to /lib/modules/2.6.35-020635rc1-generic/kernel/drivers/net/wireless/ (depending on your kernel version, of course): <em>sudo cp HAL/rtl8192/r8192se_pci.ko /lib/modules/2.6.35-020635rc1-generic/kernel/drivers/net/wireless/</em></li>
<li>After a <em>sudo depmod -a </em>or a restart you can use wireless networking again.</li>
<li>Last but not least, you need to unlock your WWAN card via <em>rfkill unblock wwan</em> and you&#8217;re done! You can now create new WWAN connections using the standard <a href="http://projects.gnome.org/NetworkManager/">Gnome Network Manager</a> in the top right corner.</li>
</ol>
<p>Enjoy! xD</p>
<p>(I am not responsible for any damages)</p>
<p><strong>Update</strong></p>
<p>This table shows the contents of the individual Gobi 2000 firmware files:</p>
<table style="font-size: 11px;" border="1" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<th> Dir</th>
<th> Image</th>
<th> Remarks</th>
</tr>
<tr>
<td>0</td>
<td>Vodafone Image</td>
<td></td>
</tr>
<tr>
<td>1</td>
<td>Verizon Image</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>ATT Image</td>
<td></td>
</tr>
<tr>
<td>3</td>
<td>Sprint Image</td>
<td>includes special  Firmware</td>
</tr>
<tr>
<td>4</td>
<td>T-Mobile Image</td>
<td></td>
</tr>
<tr>
<td>6</td>
<td>Generic UMTS Image</td>
<td></td>
</tr>
<tr>
<td>7</td>
<td>Telefonica Image</td>
<td></td>
</tr>
<tr>
<td>8</td>
<td>Telecom Italia Image</td>
<td></td>
</tr>
<tr>
<td>9</td>
<td>Orange Image</td>
<td></td>
</tr>
<tr>
<td>12</td>
<td>DoCoMo Image</td>
<td>includes special  Firmware</td>
</tr>
<tr>
<td>UMTS</td>
<td>Default Firmware</td>
<td></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2010/06/wwan-lenovo-thinkpad-x100e-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New server</title>
		<link>http://www.nulldevice.de/2008/10/new-server/</link>
		<comments>http://www.nulldevice.de/2008/10/new-server/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 13:29:16 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[Opteron]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.nulldevice.de/?p=892</guid>
		<description><![CDATA[The new server for this blog and some other sites is up and running. It is based on Ubuntu 8.04 LTS and equipped with a quad-core Operton, 4 GB of memory and hardware RAID 1. Nice toy]]></description>
			<content:encoded><![CDATA[<p>The new server for this blog and some other sites is up and running. It is based on Ubuntu 8.04 LTS and equipped with a quad-core Operton, 4 GB of memory and hardware RAID 1. Nice toy <img src='http://www.nulldevice.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldevice.de/2008/10/new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

