<?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>Navaho Gunleg &#187; HOWTOs</title>
	<atom:link href="http://navahogunleg.net/blog/category/general-category/howtos/feed/" rel="self" type="application/rss+xml" />
	<link>http://navahogunleg.net/blog</link>
	<description>...where the most significant bytes...</description>
	<lastBuildDate>Fri, 13 Aug 2010 06:35:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Script to disable the OOM killer on certain processes</title>
		<link>http://navahogunleg.net/blog/2010/02/19/script-to-disable-the-oom-killer-on-certain-processes/</link>
		<comments>http://navahogunleg.net/blog/2010/02/19/script-to-disable-the-oom-killer-on-certain-processes/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 08:17:15 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[Computers & Hardware]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/?p=994</guid>
		<description><![CDATA[My LinuxSampler set-up was having odd crashes lately. Took a while to figure to they were caused by the OOM killer killing the process. (Granted, not weird if you only have 256MB of RAM&#8230;) Quite annoying, I do not want that process to die (nor the &#8220;jackd&#8221; process). After having stumbled upon this page about [...]]]></description>
			<content:encoded><![CDATA[<p>My LinuxSampler set-up was having odd crashes lately. Took a while to figure to they were caused by the OOM killer killing the process. (Granted, not weird if you only have 256MB of RAM&#8230;)</p>
<p>Quite annoying, I do not want that process to die (nor the &#8220;jackd&#8221; process).</p>
<p>After having stumbled upon <a href="http://linux-mm.org/OOM_Killer">this page about the OOM killer</a>, I wrote <a href="http://navahogunleg.net/other_files/no_oom_killer.sh">this little</a> script, which I run just after jackd and linuxsampler have set-up (as root of course). </p>
<p>It&#8217;ll write the value <strong>-17</strong> (OOM_DISABLE) to <em>/proc/&lt;pid&gt;/oom_adj</em> for selected process-names and this ought to prevent the OOM killer from ever targeting that process.</p>
<p>Haven&#8217;t seen it crashing on me since &#8212; but of course, your mileage may very&#8230; <img src='http://navahogunleg.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2010/02/19/script-to-disable-the-oom-killer-on-certain-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NVIDIA nvagp/agpgart module woes&#8230;</title>
		<link>http://navahogunleg.net/blog/2009/11/11/nvidia-nvagpagpgart-module-woes/</link>
		<comments>http://navahogunleg.net/blog/2009/11/11/nvidia-nvagpagpgart-module-woes/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 12:20:44 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[Computers & Hardware]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/?p=872</guid>
		<description><![CDATA[So I was trying to optimise a laptop for audio playback and wanted the NVIDIA driver to use the its own NvAGP rather than the linux supplied &#8216;agpgart&#8217; module. The reason being that the performance may be better, and I have this obsession with optimisation&#8230; This wasn&#8217;t as easy as it seemed as for some [...]]]></description>
			<content:encoded><![CDATA[<p>So I was trying to optimise a laptop for audio playback and wanted the NVIDIA driver to use the its own NvAGP rather than the linux supplied &#8216;agpgart&#8217; module. The reason being that the performance may be better, and I have this obsession with optimisation&#8230; <img src='http://navahogunleg.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This wasn&#8217;t as easy as it seemed as for some reason, blacklisting the &#8216;agpgart&#8217; module did not seem to have <em>any</em> effect.</p>
<p><strong>Why is it still loading the agpgart driver?</strong><br />
Running &#8220;modprobe -nv nvidia&#8221; it showed that it kept depending on the &#8216;agpgart&#8217; module somehow.</p>
<p>A quick Google only showed other people having the problem, but alas, no solution.</p>
<p>Further poking around, I noticed when doing a &#8220;depmod -v&#8221; &#8212; which outputs module dependencies to standard out &#8212; that the nvidia module indeed depended on it. </p>
<p><strong>Aha!</strong><br />
Hmmm&#8230; So I dove into the NVIDIA driver source (which I had to modify for a real-time kernel anyways, so the unpacked nvidia installer package was still on my system), and noticed the culprit. </p>
<p>The nv-linux.h file contains the following lines:<br />
<code>#if defined (CONFIG_AGP) || defined (CONFIG_AGP_MODULE)<br />
#define AGPGART<br />
#include &lt;linux/agp_backend.h&gt;<br />
#include &lt;linux/agpgart.h&gt;<br />
#endif</code><br />
The CONFIG_AGP and CONFIG_AGP_MODULE it gets from your kernel configuration and presumably, this is what compiles in stuff that makes it depend on the &#8216;agpgart&#8217; module. I put those lines in as /* comments */ and tried loading the module.</p>
<p>Indeed, it now does not depend on &#8216;agpgart&#8217; anymore and shall use &#8216;nvagp&#8217; now. And the time spent on it was worth it: I even got about 200 frames per second increase with glxgears. <img src='http://navahogunleg.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2009/11/11/nvidia-nvagpagpgart-module-woes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Verichip RFID clonable (thus totally unsafe), despite the company&#8217;s promises</title>
		<link>http://navahogunleg.net/blog/2006/07/26/verichip-rfid-clonable-thus-totally-unsafe-despite-the-companys-promises/</link>
		<comments>http://navahogunleg.net/blog/2006/07/26/verichip-rfid-clonable-thus-totally-unsafe-despite-the-companys-promises/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 06:57:42 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[Freedom & Repression]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[Security & Privacy]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/07/26/verichip-rfid-clonable-thus-totally-unsafe-despite-the-companys-promises/</guid>
		<description><![CDATA[I just heard from somebody that on HOPE, a presentation was given how easily the Verichip RFID chip implant can be cloned (thus identities stolen, people posing as other people getting easier because nowadays, somehow, everything must be digital or something. Basically, the work is done by this device, called the proxmark3, that; [it] can [...]]]></description>
			<content:encoded><![CDATA[<p>I just heard from somebody that on <a href="http://www.hopenumbersix.net/">HOPE</a>, a presentation was given how easily the <a href="http://www.techsploitation.com/2006/07/18/721-rfid-madness-at-hope-in-new-york/">Verichip RFID chip implant can be cloned</a> (thus identities stolen, people posing as other people getting easier because nowadays, somehow, everything <em>must</em> be digital or something.</p>
<p>Basically, the work is done by <a href="http://cq.cx/proxmark3.pl">this device</a>, called the <em>proxmark3</em>, that;</p>
<blockquote><p>[it] can do almost anything involving almost any kind of low-(~125 kHz) or high-(~13.56 MHz) frequency RFID tag. It can act as a reader. It can eavesdrop on a transaction between another reader and a tag. It can analyze the signal received over the air more closely, for example to perform an attack in which we derive information from the tag&#8217;s instantaneous power consumption. It can pretend to be a tag itself.</p></blockquote>
<p>Not surprisingly either, security experts have been warning for these possibilities for years but happily ignored by the wet-dream-having politicians paid by the RFID-lobbyists&#8230;</p>
<p><tags>Technology, RFID, Unsafe</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/07/26/verichip-rfid-clonable-thus-totally-unsafe-despite-the-companys-promises/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardware: SmartJoy Dual Plus USB adapter</title>
		<link>http://navahogunleg.net/blog/2006/06/29/hardware-smartjoy-dual-plus-usb-adapter/</link>
		<comments>http://navahogunleg.net/blog/2006/06/29/hardware-smartjoy-dual-plus-usb-adapter/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 07:30:10 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[Computers & Hardware]]></category>
		<category><![CDATA[Consoles & Games]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/06/29/hardware-smartjoy-dual-plus-usb-adapter/</guid>
		<description><![CDATA[Yesterday, the SmartJoy Dual Plus USB adapter arrived by snail-mail. I ordered that thing so I could use the good old PS2 controllers in stead of buying a new set of joysticks to play games on the PC. The adapter with 2 pads plugged in. If you&#8217;re wondering about the semi-transparent white plastic wrapping around [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, the <a href="http://www.lik-sang.com/news.php?artc=3712">SmartJoy Dual Plus</a> USB adapter arrived by snail-mail. I ordered that thing so I could use the good old PS2 controllers in stead of buying a new set of joysticks to play games on the PC.<br />
<center><img src="/files/smartjoy2.png"><br />
<font size="-2">The adapter with 2 pads plugged in. If you&#8217;re wondering about the semi-transparent white plastic wrapping around the<br />
controllers&#8217; wirings: that&#8217;s to <em>rabbit-proof</em> them. Rabbits and loose wires don&#8217;t mix.</font></center></p>
<p><strong><em>What&#8217;s in the package?</em></strong><br />
Apart from the adapter itself, the package contains a (Windows/Mac) driver diskette and a brief explanation how to set it all up. Well, if you use Windows or OS X anyways.. As a reference I googled around to see how other USB joysticks are being set up. </p>
<p><strong><em>Set-up</em></strong><br />
The actual set-up was a breeze. Before ordering, as with any other device a Linux-user buys, I had to make sure it was supported. I found out it is a <a href="http://en.wikipedia.org/wiki/Human_interface_device">HID</a>-compliant device &#8212; so this should not pose any problem. </p>
<p>The supplied driver allows you to map buttons and probably do other stuff but obviously I can&#8217;t use that on my operating system. Possibly, additionally force feedback may be a problem &#8212; but that&#8217;s the first thing I disable in games anyways to save my wrists &#8212; so, at least for me, that is a non-issue. </p>
<p>In order for the device to be properly picked up by the Linux (2.6.17) kernel, I figured I had to modify its configuration.</p>
<p>First, obviously, joystick support has to be enabled (Kernel configuration / Device Drivers / Input device support). Additionally, I also enabled the &#8216;Multisystem gamepads&#8217; under Kernel configuration / Device drivers / Input device support / Joysticks. In retrospect I don&#8217;t think these are necessary as the thing works, without any additional module loaded apart from &#8216;<em>joydev</em>&#8216;.</p>
<p>Although I already had USB and HID support compiled-in (Kernel configuration / Device drivers / USB support), I also enabled </p>
<ul>
<li>Force feedback support</li>
<li>/dev/hiddev&#8217; raw HID device support</li>
</ul>
<p>After my kernel was re-compiled and I loaded the modules (depending on your kernel configuration you might need to reboot though), I could insert the adapter to see it nicely being picked up as a:</p>
<ul><em>input: WiseGroup.,Ltd SmartJoy Dual PLUS Adapter as /class/input/input5<br />
input: USB HID v1.00 Joystick [WiseGroup.,Ltd SmartJoy Dual PLUS Adapter] on usb-0000:00:02.1-1</em></ul>
<p><strong><em>Usage</em></strong><br />
To test the device I quickly did a &#8216;cat /dev/input/js0&#8242; to see some garbage being spit out, which was an indication for me that the device was actually sending data to my PC.</p>
<p>I opened the KDE&#8217;s Control Panel and lo and behold, in the Joystick screen, it could see the joystick &#8212; and all its buttons and axis:<br />
<center><img src="/files/smartjoy1.png"></center></p>
<p>I noticed, when configuring some programs that a <em>slight</em> drawback is the fact that the adapter presents itself as <em>one device</em>: one joystick with a &#8216;double&#8217; amount of axis and buttons. This <em>may</em> be a configuration issue or a driver bug. This hasn&#8217;t bothered me yet, as most games allow one to assign different mappings. I can imagine that some games might not understand that, though. This is something I&#8217;m going to look into.</p>
<p>If you have ever played <em>two</em> player games on <em>one</em> keyboard &#8212; you know, like playing Twister while <em>your</em> fingers get intertwined with the other persons&#8217; &#8212; you can imagine how it feels to now use gamepads: <em>bliss</em>. It was an extensive &#8212; err &#8212; &#8216;testing&#8217; session.</p>
<ul>
<p><em>Update</em>: After fiddling and looking around, I found out that what was causing the device to export only <em>one</em> joystick in stead of two. It was a <em>driver issue</em> all along: it simply didn&#8217;t know this devices&#8217; vendor and product IDs. I cooked up <a href="/files/patches/hid-core-2.6.17.patch">this simple patch</a> against <em>linux/drivers/usb/input/hid-core.c</em> to make <em>two</em> joysticks appear in stead of only one with all the buttons crammed into it:</p>
<p><center><img src="/files/smartjoy3.png"></center>
</ul>
<p><strong><em>Force Feedback</em></strong><br />
I tried to test force feedback today using the <em>fftest</em> utility but that didn&#8217;t do anything apart from barfing an error at me that the upload of effects failed due to a &#8216;function not implemented&#8217;.  Oh well, at least I tried &#8212; I don&#8217;t miss it. I knew what I was getting into when I ordered it.</p>
<p><strong><em>Conclusion</em></strong><br />
For a mere &euro;15,95, the <em>SmartJoy Dual Plus PS2 to USB adapter</em> is a cheap, yet very functional solution to get to use your PS2 controllers on your Linux PC. </p>
<p>Given the fact that, &#8216;out of the box&#8217; <s>when 2 controllers are plugged in, it presents itself as <em>one</em> joystick device rather than <em>two</em>, and</s> the force-feedback seems not to function, I give this piece of hardware a solid <strong>8/10</strong>.</p>
<p><tags>SmartJoy, USB, PS2, Joystick, Gaming, Linux</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/06/29/hardware-smartjoy-dual-plus-usb-adapter/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>OpenOffice 2.0 kept crashing when selecting a font&#8230;</title>
		<link>http://navahogunleg.net/blog/2006/03/25/openoffice-20-kept-crashing-when-selecting-a-font/</link>
		<comments>http://navahogunleg.net/blog/2006/03/25/openoffice-20-kept-crashing-when-selecting-a-font/#comments</comments>
		<pubDate>Sat, 25 Mar 2006 16:25:56 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/03/25/openoffice-20-kept-crashing-when-selecting-a-font/</guid>
		<description><![CDATA[&#8230;and after it seemed that it kept happening after installing the latest 2.0.2-version, I had to look further. The stupid thing was &#8212; if I logged into my gf&#8217;s machine (the machine having issues), and set the DISPLAY variable to point to my own X-server &#8212; nothing bad happened, no matter what font I selected! [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;and after it seemed that it kept happening after installing the latest 2.0.2-version, I had to look further.</p>
<p>The stupid thing was &#8212; if I logged into my gf&#8217;s machine (the machine having issues), and set the <code>DISPLAY</code> variable to point to my own X-server &#8212; <em>nothing bad happened</em>, no matter what font I selected! <em>Weird, huh?!</em></p>
<p>So it <em>had</em> to be something with the Xserver, I thought, eliminating other possibilities as I went along. </p>
<p>I compared her Xorg.conf with mine, but the changes were to no avail.</p>
<p>As a last resort, I went through the major PITA process of moving all the fonts out of X11&#8242;s font-directory, and moving them back (in groups) until OpenOffice crashed again (as suggested <a href="http://www.openoffice.org/FAQs/fontguide.html">here</a>). This basically broke down to doing this:</p>
<blockquote><p><code>for I in a b c d e f g h i j k l m n o p q r s t u v w x y z;<br />
do<br />
&nbsp;&nbsp;     cp ../bak/$I*.ttf . ; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           mkfontdir ; mkfontscale ; fc-cache . ; sync ; \<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;           /opt/openoffice.org2.0/programs/soffice -writer<br />
done;</code></p></blockquote>
<p>If life only <em>was</em> that beautiful: I was logged in via my own machine, doing the copying process, and the gf was starting OpenOffice everytime. I only just now thought of that script. <img src='http://navahogunleg.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Anyway, everytime OpenOffice started, the new added fonts were selected until the application crashed. This irritating iterative process, taking longer than I expected, finally found that the fonts giving the problems were the ones named <code>mtproxy1.ttf</code> to <code>mtproxy9.ttf</code>. (I didn&#8217;t really bother to figure out which one exactly caused the problem &#8212; it could be just one messed up file.)</p>
<p>Bleh &#8212; so plenty time wasted, but this information <em>may</em> be useful to someone having a similar problem, with similar messed-up TrueType font-files.</p>
<p><tags>OpenOffice, Crash, Fonts, Slackware</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/03/25/openoffice-20-kept-crashing-when-selecting-a-font/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Extracting SNMP data from an Alcatel Speed Touch Home without SNMP support</title>
		<link>http://navahogunleg.net/blog/2006/03/20/howto-extracting-snmp-data-from-an-alcatel-speed-touch-home-without-snmp-support/</link>
		<comments>http://navahogunleg.net/blog/2006/03/20/howto-extracting-snmp-data-from-an-alcatel-speed-touch-home-without-snmp-support/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 08:09:56 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[Computers & Hardware]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/03/20/howto-extracting-snmp-data-from-an-alcatel-speed-touch-home-without-snmp-support/</guid>
		<description><![CDATA[My ISP gave me this crappy modem, an Alcatel Speed Touch Home. Additionally, I recently started playing around with Zabbix, which nicely supports SNMP. I can create nice statistics from the machines in my network, including nice graphs and stuff. Well, almost all. Not the modem, because it does not support SNMP. So, I needed [...]]]></description>
			<content:encoded><![CDATA[<p>My ISP gave me this crappy modem, an <a href="http://www.speedtouch.com/support.htm">Alcatel Speed Touch Home</a>. Additionally, I recently started playing around with <a href="http://zabbix.com">Zabbix</a>, which nicely supports SNMP. I can create nice statistics from the machines in my network, including nice graphs and stuff. Well, almost all. Not the modem, because it does not support SNMP.</p>
<p>So, I needed a way to extract the interface statistics from the modem so I can create graphs in Zabbix like this:<br />
<center><img src="/files/alcatell_003.jpg"/></center></p>
<p>This should be possible, <em>somehow</em>, right?<br />
<span id="more-337"></span></p>
<p><strong>The solution</strong><br />
Basically, we are going to set-up a machine to act as a <em>proxy</em> for SNMP requests that should query the modem. The moment our &#8216;proxy&#8217; receives a certain OID through SNMP, it will execute a script, which will call a binary, which will log in to the modem. The output of the script will be interpreted by <em>snmpd</em> and the results returned to the machine requesting the information, accordingly.</p>
<p>So, the requirements are:</p>
<ul>
<li>an <em>Alcatel modem</em> with telnet-interface,</li>
<li>a recent version of <em>net-snmp</em> and a machine to act as a proxy for the SNMP requests,</li>
<li>the utility &#8216;<em>alcatell</em>&#8216;</li>
<li>the script &#8216;<em>traffic_passtest</em>&#8216;</li>
</ul>
<p>That&#8217;s all there is to it. Read on for more details.</p>
<p><strong>Modifying snmpd.conf</strong><br />
We have got to configure <em>snmpd</em> to execute a script whenever a certain piece of information is requested. (Before you got on making these modifications, make sure you have the <em>ucd-snmp/pass</em> mib-module amongst the enabled ones (&#8211;with-mid-modules=&#8221;ucd-snmp/pass&#8221;). Although I could see my script being run, it kept hitting me with a <em>No Such Instance exists at this OID</em> or something. After the re-compile, it <em>did</em> correctly returning the values.)</p>
<p>In my <strong>snmpd.conf</strong>, I added the following lines to call the &#8216;traffic_passtest&#8217;-script (see below):</p>
<blockquote><p><code>pass .1.3.6.1.4.1.2021.9905 /path/to/traffic_passtest</code></p></blockquote>
<p>The called script returns a MIB structure, like <a href="http://www.fifi.org/cgi-bin/man2html/usr/share/man/man5/snmpd.conf.5snmp.gz">snmpd.conf&#8217;s man-page</a> suggested and which basically gave me the whole idea for this solution.</p>
<p><strong>The script</strong><br />
The <a href="files/traffic_passtest-0.1-20060320">&#8216;traffic_passtest&#8217;-script</a> uses input from the program &#8216;<em>alcatell</em>&#8216; that queries a Alcatel modem by logging into the telnet-interface (see below). It parses the input from that program, and creates output that <em>snmpd</em> understands, which in turn Zabbix understands.</p>
<p>Download the script and open it in your favourite editor to specify the <em>HOST</em>, <em>PASS</em> and optional <em>USER</em> &#8212; without any credentials it will be impossible for it to log into the modem.</p>
<p><em>Note that the script uses a lame lock-mechanism to prevent it to run two at the same time, which would mess up the temporary files it uses to cache requests. (Too many requests do weird things to the telnet interface of the modem &#8212; I had to reset it once because it kept closing the connection.)</em></p>
<p><strong>The program</strong><br />
This program <a href="http://navahogunleg.net/blog/my-projects/utilities/alcatell/">&#8216;<em>alcatell</em>&#8216;</a> automates the logging-in and execution of a certain command on the Alcatel modem. I wrote this specifically for the above purposes, but it can execute other commands as well. (Known limitation: only one command per execution.)</p>
<p>Calling the &#8220;ip iflist&#8221; command on the telnet-interface of the Alcatal modem will return interface statistics. This information can be perfeclty re-formatted into an above-mentioned MIB structure.</p>
<p>OK, so after modifying <em>snmpd.conf</em>, restart it, and test it:</p>
<blockquote><p><code># snmpwalk -v2c -c community localhost  .1.3.6.1.4.1.2021.9905<br />
UCD-SNMP-MIB::ucdavis.9905.1 = STRING: "Modem traffic statistics"<br />
UCD-SNMP-MIB::ucdavis.9905.2 = Counter32: 2534874<br />
UCD-SNMP-MIB::ucdavis.9905.3 = Counter32: 1710775<br />
UCD-SNMP-MIB::ucdavis.9905.4 = Counter32: 2009477<br />
UCD-SNMP-MIB::ucdavis.9905.5 = Counter32: 2630631<br />
</code></p></blockquote>
<p><em>Yay</em>, it works! Now onto the next step.</p>
<p><strong>Configuration Zabbix</strong><br />
In order to actually <em>use</em> the information, we have to set-up a <em>host</em> in Zabbix. This is where that &#8216;<em>Use IP address</em>&#8216;-checkbox really comes in handy.</p>
<p>Add a new host, for instance called &#8216;modem&#8217;, and tick &#8216;<em>Use IP</em>&#8216;. As IP address, enter the IP address of the machine that is acting as a proxy for the modem, where the re-configured <em>snmpd</em> is running on:<br />
<center><img src="/files/alcatell_002.jpg" /></center></p>
<p>Then, add items for all the OIDs we are interested in, .1.3.6.1.4.1.2021.9905.2 up to .1.3.6.1.4.1.2021.9905.5, like this:<br />
<center><img src="/files/alcatell_001.jpg" /></center></p>
<p>At that point, Zabbix should be ready and monitoring those values and from it you will be able to generate graphs, trigger events and all the other stuff that it can do.</p>
<p><strong><a href="http://digg.com/security/Extracting_SNMP_data_from_Alcatel_Speed_Touch_Home_without_SNMP_support">Digg this story</a></strong></p>
<p><tags>Hacks, Zabbix, Alcatel Speed Touch Home, SNMP</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/03/20/howto-extracting-snmp-data-from-an-alcatel-speed-touch-home-without-snmp-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utilities: alcatell</title>
		<link>http://navahogunleg.net/blog/2006/03/20/utilities-alcatell/</link>
		<comments>http://navahogunleg.net/blog/2006/03/20/utilities-alcatell/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 07:35:17 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/03/20/utilities-alcatell/</guid>
		<description><![CDATA[I just created the page about &#8216;alcatell&#8216; &#8212; a utility born out of necessity. This utility enables one to easily extract information from the Alcatel Speed Touch Home modem &#8212; a piece of crap hardware that doesn&#8217;t support SNMP. I created this utility so I could configure a UNIX host to act as a &#8216;proxy&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>I just created the <a href="http://navahogunleg.net/blog/my-projects/utilities/alcatell/">page about &#8216;<em>alcatell</em>&#8216;</a> &#8212; a utility born out of necessity. This utility enables one to easily extract information from the Alcatel Speed Touch Home modem &#8212; a piece of crap hardware that doesn&#8217;t support SNMP.</p>
<p>I created this utility so I could configure a UNIX host to act as a &#8216;proxy&#8217; for the modem, by responding with values from the binary when it receives SNMP requests querying the modem&#8217;ss traffic statistics.</p>
<p><tags>Utilities, Hacks, Alcatel, alcatell</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/03/20/utilities-alcatell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post-Mortem Data Destruction</title>
		<link>http://navahogunleg.net/blog/2006/03/10/post-mortem-data-destruction/</link>
		<comments>http://navahogunleg.net/blog/2006/03/10/post-mortem-data-destruction/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 10:44:20 +0000</pubDate>
		<dc:creator>Navaho Gunleg</dc:creator>
				<category><![CDATA[HOWTOs]]></category>
		<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[Security & Privacy]]></category>

		<guid isPermaLink="false">http://navahogunleg.net/blog/2006/03/10/post-mortem-data-destruction/</guid>
		<description><![CDATA[I just posted my first article on Darknet about `Post-Mortem Data Destruction&#8216;. This article roughly details a system for detecting the event of your death and destroying all your private information when this happens. Post Mortem Data Destruction, Darknet, Navaho Gunleg]]></description>
			<content:encoded><![CDATA[<p>I just posted my first article on <a href="http://www.darknet.org.uk">Darknet</a> about `<a href="http://www.darknet.org.uk/2006/03/post-mortem-data-destruction/">Post-Mortem Data Destruction</a>&#8216;. This article roughly details a system for detecting the event of your death <em>and</em> destroying all your private information when this happens.</p>
<p><tags>Post Mortem Data Destruction, Darknet, Navaho Gunleg</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://navahogunleg.net/blog/2006/03/10/post-mortem-data-destruction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

