<?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>Pablo Endres's Blog &#187; Linux</title>
	<atom:link href="http://www.pabloendres.com/category/technology/linux-technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pabloendres.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 May 2010 21:16:36 +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>Lucid Lynx and Constantine multiboot</title>
		<link>http://www.pabloendres.com/2010/05/18/lucid-lynx-and-constantine-multiboot/</link>
		<comments>http://www.pabloendres.com/2010/05/18/lucid-lynx-and-constantine-multiboot/#comments</comments>
		<pubDate>Tue, 18 May 2010 21:16:36 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 12]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub-2]]></category>
		<category><![CDATA[multiboot]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=150</guid>
		<description><![CDATA[As most of you know I&#8217;m a Fedora user, well started out some time ago as a Redhat user until they decided to have to spins: Redhat (stable for the enterprise) and Fedora (bleeding edge for the community). Back to the point, my main distro is Fedora but I like to give other distributions a [...]]]></description>
			<content:encoded><![CDATA[<p>As most of you know I&#8217;m a Fedora user, well started out some time ago as a Redhat user until they decided to have to spins: Redhat (stable for the enterprise) and Fedora (bleeding edge for the community).  Back to the point, my main distro is Fedora but I like to give other distributions a spin to find the pros and cons.</p>
<p>I decided to install the new and shiny Ubuntu 10.04 &#8220;Lucid Lynx&#8221;, but there is no way I want to affect my main partitions!! Why should I this is Linux after all, it can boot from a secondary partition I can even put the bootloader at the beginning of the partition to make it totally independent!! Having done that already with Backtrack 4, Ubuntu 9.10 (karmic) and CentOS 5.x it should be as easy as 1 &#8211; 2 &#8211; 3 (Or simple as&#8230; got Jackson 5 ringing in my ear right now).</p>
<p>So the solution I had in mind was just to add a new partition with parted, install there and add the following lines to the /etc/grub.conf in my Fedora partition:</p>
<blockquote><p>title Ubuntu 9.10 (Karmic)<br />
rootnoverify (hd0,6)<br />
chainloader +1</p></blockquote>
<p>The problem is that Ubuntu 10.04 ships with grub-2 (technically speaking 1.98) and it just doesn&#8217;t work the same way.  After a couple of re-installs and hours later I came out with <a href="http://www.dedoimedo.com/computers/ubuntu-lucid.html">this blog</a> with a really detailed review of the distribution and with the solution I needed:</p>
<blockquote><p>title Ubuntu 10.04 (Lucid Lynx)<br />
root (hd0,4)<br />
kernel /boot/grub/core.img<br />
savedefault<br />
boot</p></blockquote>
<p>Just to make sure your a attacking the right error, this is was I was getting: Error 13 invalid or unsupported executable format</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2010/05/18/lucid-lynx-and-constantine-multiboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating passwords with bash + perl</title>
		<link>http://www.pabloendres.com/2009/09/22/creating-passwords-with-bash-perl/</link>
		<comments>http://www.pabloendres.com/2009/09/22/creating-passwords-with-bash-perl/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:44:53 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[create password]]></category>
		<category><![CDATA[mkpasswd]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=107</guid>
		<description><![CDATA[I had a couple of scripts working in the back end of an application to create users and set the passwords. So instead of reinventing the wheel I used the ?trusty? useradd. Until recently one could pass the users password in clear text as a parameter. I assume that someone thought about all the passwords [...]]]></description>
			<content:encoded><![CDATA[<p>I had a couple of scripts working in the back end of an application to create users and set the passwords.  So instead of reinventing the wheel I used the ?<em>trusty</em>? useradd.</p>
<p>Until recently one could pass the users password in clear text as a parameter.  I assume that someone thought about all the passwords that word saved in history files and decided to change it.  The problem is that the used the same parameter but now it expected the password to be encrypted, so it basically stopped working but didn&#8217;t generate errors.</p>
<p>After some debugging and some man reading the problem was nailed down, but now I had to generate and encrypt the password.  I looked and tried many solutions but the best I could find was the crypt library and decided to access is through perl.  What I liked the most about the solution is that I could use all the same native algorithms that the system has installed.</p>
<p>So lets cut the chase, here are the 5 lines of code needed to get the job done:</p>
<blockquote><p>salt=$(/usr/bin/mkpasswd -l 8 -s 0)<br />
parameter=&#8221;print crypt(config,\&#8221;\\\$1\\\$$salt\&#8221;)&#8221;<br />
encrypted=$(perl -e &#8220;$parameter&#8221;)<br />
/usr/sbin/useradd -p $encrypted &lt;user&gt;</p></blockquote>
<p>To create a good salt I used the <em><strong>mkpasswd</strong></em> utility that comes with the expect package (yum install expect).  In this case the $1 is not a variable, but the way of telling crypt to use MD5.</p>
<p>Other valid values for the Glibc crypt are:</p>
<table border="1">
<tbody>
<tr>
<th>ID</th>
<th>Method</th>
</tr>
<tr>
<td>1</td>
<td>MD5</td>
</tr>
<tr>
<td>2a</td>
<td>Blowfish (not in mainline glibc; added in some Linux distributions)</td>
</tr>
<tr>
<td>5</td>
<td>SHA-256 (since glibc 2.7)</td>
</tr>
<tr>
<td>6</td>
<td>SHA-512 (since glibc 2.7)</td>
</tr>
</tbody>
</table>
<p>For more information http://www.kernel.org/doc/man-pages/online/pages/man3/crypt.3.html or simply: man crypt</p>
<p>Have fun</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2009/09/22/creating-passwords-with-bash-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GnomeKeyring =? ssh-agent</title>
		<link>http://www.pabloendres.com/2009/05/05/gnomekeyring-ssh-agent/</link>
		<comments>http://www.pabloendres.com/2009/05/05/gnomekeyring-ssh-agent/#comments</comments>
		<pubDate>Tue, 05 May 2009 20:09:04 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=77</guid>
		<description><![CDATA[This feature just popped up and started working after I upgraded to Fedora 10 and I though it was a standard function in gnome, but I was working with Per the other day and his Ubuntu 8.04 didn&#8217;t have it running out of the box.  So I had to take a look a the docs [...]]]></description>
			<content:encoded><![CDATA[<p>This feature just popped up and started working after I upgraded to Fedora 10 and I though it was a standard function in gnome, but I was working with Per the other day and his Ubuntu 8.04 didn&#8217;t have it running out of the box.  So I had to take a look a the docs to make it work:  http://live.gnome.org/GnomeKeyring/Ssh</p>
<p>This is just one of those features that make your life easier but handling all the ssh sessions for you, the best part is that is one of those setup once and forget feature.  Here is a brief introduction on how it works:</p>
<p>According to the ssh-agent <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent">man</a>:</p>
<blockquote>
<pre><strong>     ssh-agent</strong> is a program to hold private keys used for public key authenti-
     cation (RSA, DSA).  The idea is that <strong>ssh-agent</strong> is started in the begin-
     ning of an X-session or a login session, and all other windows or pro-
     grams are started as clients to the ssh-agent program.  Through use of
     environment variables the agent can be located and automatically used for
     authentication when logging in to other machines using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&amp;sektion=1&amp;arch=&amp;apropos=0&amp;manpath=OpenBSD+Current">ssh(1)</a>.</pre>
</blockquote>
<p>So what gnome did was include an ssh-agent in the gnome-keyring(-daemon), so it has one interface to manage passwords, ssh keys, etc.  Underneath the hood this is how it works:</p>
<ol>
<li>When Gnome starts the gnome-keyring-daemon (if it is enabled in your conf)</li>
<li>The keyring manager starts the ssh-agent component and sets up the <tt>SSH_AUTH_SOCK</tt> variable, that will redirect ssh to make the queries to that socket</li>
<li>The SSH agent automatically loads files in <tt>~/.ssh</tt> having names starting with <tt>id_rsa</tt> or <tt>id_dsa </tt> or any other keys included by using the <tt>ssh-add command<br />
</tt></li>
</ol>
<p>That does the job.  If you need to get it working on your Gnome installation follow the instructions <a href="http://live.gnome.org/GnomeKeyring/Ssh">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2009/05/05/gnomekeyring-ssh-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging PDF files</title>
		<link>http://www.pabloendres.com/2009/05/05/merging-pdf-files/</link>
		<comments>http://www.pabloendres.com/2009/05/05/merging-pdf-files/#comments</comments>
		<pubDate>Tue, 05 May 2009 19:37:24 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdfmerge]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=78</guid>
		<description><![CDATA[Have you ever scanned a pile of documents on a &#8220;non enterprise&#8221; o home scanner, or just got distracted when using the big Xerox machine in the office.  You&#8217;ll end up with a ton of individual pdf files.  After a little google and man reading I found these 2 solutions. On linux just use pdfmerge:   [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever scanned a pile of documents on a &#8220;non enterprise&#8221; o home scanner, or just got distracted when using the big Xerox machine in the office.  You&#8217;ll end up with a ton of individual pdf files.  After a little google and man reading I found these 2 solutions.</p>
<ol>
<li>On linux just use <a href="http://sourceforge.net/projects/pdfmerge/" target="_blank">pdfmerge</a>:   <em>sudo yum install pdfmerge</em> or download the windows version</li>
<li>Do it by hand with ghostscript:</li>
</ol>
<blockquote><p><em>gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf Scan001.pdf Scan002.pdf</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2009/05/05/merging-pdf-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>snmp errors in syslog</title>
		<link>http://www.pabloendres.com/2009/04/19/snmp-errors-in-syslog/</link>
		<comments>http://www.pabloendres.com/2009/04/19/snmp-errors-in-syslog/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 19:12:22 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[REL]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=79</guid>
		<description><![CDATA[I finally got fed up of these messages in my log files (/var/log/messages) and decided to do something about them: Apr 19 04:14:47 hostname snmpd[3458]: Connection from UDP: [127.0.0.1]:42482 Apr 19 04:14:47 hostname snmpd[3458]: Received SNMP packet(s) from UDP: [127.0.0.1]:42482 After reading, googling around and testing for a while I rounded it the following solution, [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got fed up of these messages in my log files (/var/log/messages) and decided to do something about them:</p>
<p><strong>Apr 19 04:14:47 hostname snmpd[3458]: Connection from UDP: [127.0.0.1]:42482<br />
Apr 19 04:14:47 hostname snmpd[3458]: Received SNMP packet(s) from UDP: [127.0.0.1]:42482</strong></p>
<p>After reading, googling around and testing for a while I rounded it the following solution, it should work in any Linux system with net-snmp after some tweaks but out of the box on CentOS, REL, Fedora or any of its relatives:</p>
<p>1. Remove the -a from the snmpd start options or write this in the /etc/sysconfig/snmpd.options file:</p>
<blockquote><p>OPTIONS=&#8221;-Lsd -Lf /dev/null -p /var/run/snmpd.pid&#8221;</p></blockquote>
<p>This should take care of the &#8220;Received SNMP&#8221; packets line (2nd one).</p>
<p>2. Add dontLogTCPWrappersConnects true at the end of your /etc/snmp/snmpd.conf file, that takes care of the other line:</p>
<p>Apr 19 04:13:47 dcf-is1p snmpd[3458]: Connection from UDP: [127.0.0.1]:48911</p>
<p>According to the <a href="http://www.net-snmp.org/docs/man/snmpd.conf.html">man</a> page: This setting       disables the log messages for accepted connections. Denied connections will still be logged.&#8221;</p>
<p>The problem is that the default settings are to log every connection / request, so what we did was leave the log work only for failed and authenticated attempts</p>
<p>Enjoy readable logs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2009/04/19/snmp-errors-in-syslog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking Linux Exposed</title>
		<link>http://www.pabloendres.com/2008/09/30/hacking-linux-exposed/</link>
		<comments>http://www.pabloendres.com/2008/09/30/hacking-linux-exposed/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 19:56:31 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Exposed]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking Linux Exposed]]></category>
		<category><![CDATA[HEL]]></category>
		<category><![CDATA[HELv3]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=40</guid>
		<description><![CDATA[Well it&#8217;s official I&#8217;m a published writer! About a week ago I finally got my copy from the editor of Hacking Linux Exposed 3rd Edition.  This was a really interesting project I worked on last year. The book was writen in collaboraton, and organized by ISECOM, so I got a chance to work with a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="hlev3cover" src="http://www.hackinglinuxexposed.com/img/hlev3cover-small.png" alt="" width="135" height="135" /></p>
<p>Well it&#8217;s official I&#8217;m a published writer!</p>
<p>About a week ago I finally got my copy from the editor of <a href="http://www.amazon.com/dp/0072262575?tag=ismaseofse-20&amp;camp=14573&amp;creative=327641&amp;linkCode=as1&amp;creativeASIN=0072262575&amp;adid=0SJYJZA3SSW92XR0W0EY&amp;" target="_blank">Hacking Linux Exposed 3rd Edition</a>.  This was a really interesting project I worked on last year. The book was writen in collaboraton, and organized by <a href="http://isecom.org">ISECOM</a>, so I got a chance to work with a lot of top notch guys and gals in the security / Linux area.</p>
<p>It&#8217;s a shame I couldn&#8217;t have some face time with them, but I hope we&#8217;ll meet somewhere along the line to match a face with the name.</p>
<p>I started out helping as a technical reviewer on the book, basically I got the chance to read the book in advance and give some feedback.  After some time major changes had to be made on some chapters, complete rewrites in some cases.  Pete Herzog asked me if I could help out with one of the chapters.</p>
<p>So to make a long story short, if your read <strong>chapter 14: Mail Services</strong>; that will be me.</p>
<p>I haven&#8217;t had time to read the published edition, but all the chapters I got to review were just great.</p>
<p>I can&#8217;t agree more with Pete Herzog when I wrote:</p>
<blockquote><p>The book will help people focus on securing their Linux systems no  matter what they do with it&#8211; desktop, services, coding workbench,  wireless node, PBX, VOIP, etc. by hacking them, it just doesn&#8217;t waste  your time with old exploits.</p></blockquote>
<p>Have fun and get ready for a hell of a ride!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2008/09/30/hacking-linux-exposed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensource replacement for Visio</title>
		<link>http://www.pabloendres.com/2008/09/09/opensource-replacement-for-visio/</link>
		<comments>http://www.pabloendres.com/2008/09/09/opensource-replacement-for-visio/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 15:37:35 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dia]]></category>
		<category><![CDATA[kvio]]></category>
		<category><![CDATA[Open Office]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[visio]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=36</guid>
		<description><![CDATA[I&#8217;ve been looking actively for an open source replacement for Visio, the programs work but the main weakness is the lack of the &#8220;stencils&#8221; or figures to make the diagrams.  The artwork that I found is really lacking the help of a designer. I checked out Dia 0.96.1 which I had used before and it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking actively for an open source replacement for Visio, the programs work but the main weakness is the lack of the &#8220;stencils&#8221; or figures to make the diagrams.  The artwork that I found is really lacking the help of a designer.</p>
<p>I checked out <a href="http://live.gnome.org/Dia/">Dia</a> 0.96.1 which I had used before and it works really good but as I stated before it lacks the artwork.  The good thing is that there is hope, as stated in it&#8217;s web site: &#8220;It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape.&#8221;</p>
<p><a href="http://www.openoffice.org/product/draw.html">Open Office Draw</a> 2.4.1 is also suitable for the job.  I personally it is a little more limited than Dia for the job, but maybe it&#8217;s just my impression.  As a drawing tool it is more complex and give you more for your <span style="text-decoration: line-through;">Money</span> effort like object rotation, and other effect.</p>
<p><a href="http://www.koffice.org/kivio/">Kvio</a> 1.6.3 is also a nice tool.  I have to say that it works really well.  It&#8217;s light and has good handling of stencils, they get extra points because it automatically finds and uses the Dia stencils.  The only thing I really don&#8217;t handle well yet is that all objects when placed on the sheet a TOO BIG.</p>
<p>Is there a chance that someone with good graphic skills opens an Open Source project to make some standard shapes or stencils that can be used by all  3 tools or any other tools that wants to use them.  If a momentum is created it is also possible to make the Vendors want to publish their shapes in this standard format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2008/09/09/opensource-replacement-for-visio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: UMTS Card Fedora 9</title>
		<link>http://www.pabloendres.com/2008/08/27/howto-umts-card-fedora-9/</link>
		<comments>http://www.pabloendres.com/2008/08/27/howto-umts-card-fedora-9/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 20:50:22 +0000</pubDate>
		<dc:creator>Pablo Endres</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[umts]]></category>
		<category><![CDATA[web'n'walk]]></category>

		<guid isPermaLink="false">http://www.pabloendres.com/?p=26</guid>
		<description><![CDATA[After a lot of fighting I finally got my UMTS card working with Fedora 9. I have a T-Mobile Web&#8217;n'Walk II card which turns out to be a Option GEO201 by Qualcomm.  The main problem with this card is that someone had the wonderful idea of integrating a usb flash drive (so you don&#8217;t ever [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of fighting I finally got my UMTS card working with Fedora 9.</p>
<p>I have a T-Mobile Web&#8217;n'Walk II card which turns out to be a Option GEO201 by Qualcomm.  The main problem with this card is that someone had the wonderful <strong>idea</strong> of integrating a usb flash drive (so you don&#8217;t ever loose the drivers) with a usb gsm modem.</p>
<p>The main trick is to use a small program called <a href="http://www.draisberghof.de/usb_modeswitch/" target="_blank">usb_modeswitch</a> which disables the flash drive and loads the modem&#8217;s driver.  So lets cut the chat and get it done:</p>
<ol>
<li>Go to http://www.draisberghof.de/usb_modeswitch/ and download the latest version of the file.</li>
<li>Make sure you have  libusb + libusb-devel + lsusb installed$ sudo yum install libusb libusb-devel usbutils</li>
<li>Unpack, build and install the usb_modeswitch.<br />
<blockquote><p>$ mkdir ~/tmp<br />
$ cd ~/tmp<br />
$ tar jxvf ~/Download/usb_modeswitch-0.9.4.tar.bz2  # or a newer version<br />
$ cd ~/tmp/usb_modeswitch-0.9.4<br />
$ ./compile.sh<br />
$ sudo install -m755 -o root usb_modeswitch /usr/sbin<br />
$ sudo install -m744 -o root usb_modeswitch.conf /etc/</p></blockquote>
</li>
<li>Now lets setup udev so it automagically runs usb_modeswitch when the card is inserted.  This gives us the plug &#8216;n play behaviour.  This we will do as root.<br />
<blockquote><p>$ /bin/su -<br />
# vi /etc/udev/rules.d/70-persistent-net.rules<br />
####  =&gt; Insert the following text:</p>
<p>#Globetrotter HSDPA Modem T-Mobile Web&#8217;n'Walk Express II<br />
#Bus 002 Device 003: ID 0af0:6701 Option<br />
#idVendor=05c6, idProduct=1000 are the infos of the flash drive<br />
#idVendor=0af0, idProduct=6701 are the infos of the HSDPA Modem</p>
<p>SUBSYSTEM==&#8221;usb&#8221;, ATTR{idProduct}==&#8221;1000&#8243;, ATTR{idVendor}==&#8221;05c6&#8243;, RUN+=&#8221;/usr/sbin/usb_modeswitch&#8221;</p></blockquote>
</li>
<li>Make sure that the &#8221; are correct, and that the copy paste doesn&#8217;t screw them up (got reports that it does)</li>
<li>Setup the card using the network manager.  Here is my setup for T-Mobile in Germany</li>
</ol>
<p style="text-align: center;"><a href="http://www.pabloendres.com/wp-content/uploads/2008/08/webnwalk.png"><img class="aligncenter size-full wp-image-34" title="Gnome NetworkManager - Web'n'Walk II " src="http://www.pabloendres.com/wp-content/uploads/2008/08/webnwalk.png" alt="" width="300" height="216" /></a></p>
<p><strong>Note: </strong>The values I used for the udev script I got from running: # lsusb -v</p>
<p>Well hope that sets you up to go.  This should work with other Linux distributions as well</p>
<p>Thanks Per Lasse for the comments and corrections <img src='http://www.pabloendres.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Updates:</strong><br />
11.12.2007: I upgraded my laptop to Fedora 10 and it works flawless<br />
Tested it in Ubuntu 8.04 LTS and 8.10<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pabloendres.com/2008/08/27/howto-umts-card-fedora-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
