<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
    
    <title>iomem</title>
    <link>http://iomem.com/</link>
    <description>Linux, Unix and BSD</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Tue, 10 Apr 2012 22:31:10 GMT</pubDate>

    <image>
        <url>http://iomem.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: iomem - Linux, Unix and BSD</title>
        <link>http://iomem.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Iomem" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="iomem" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
    <title>Using NX with Linux Mint</title>
    <link>http://iomem.com/archives/25-Using-NX-with-Linux-Mint.html</link>
            <category>linux</category>
            <category>linuxmint</category>
    
    <comments>http://iomem.com/archives/25-Using-NX-with-Linux-Mint.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=25</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=25</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    Attempting to use the NX remote desktop client to log onto a Linux Mint server results in the error 'Failed to load session "ubuntu"'. This can be fixed by editing the &lt;em&gt;/usr/NX/etc/node.cfg&lt;/em&gt; file, and changing the CommandStartGnome to the following:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;CommandStartGnome = "/usr/bin/gnome-session --session=gnome-fallback"&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
After this, run:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;/usr/NX/bin/nxserver --restart&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Logging in using NX will now give you the Linux Mint Gnome Classic desktop. 
    </content:encoded>

    <pubDate>Wed, 11 Apr 2012 08:31:10 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/25-guid.html</guid>
    
</item>
<item>
    <title>SYNCDHCP with FreeBSD</title>
    <link>http://iomem.com/archives/24-SYNCDHCP-with-FreeBSD.html</link>
            <category>freebsd</category>
    
    <comments>http://iomem.com/archives/24-SYNCDHCP-with-FreeBSD.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    When upgrading to FreeBSD 8.2, I found that my host would no longer get an IP address via DHCP. It appears that the startup sequence has changed, and that the system no longer waits to get an IP address while booting.&lt;br /&gt;
&lt;br /&gt;
This can be fixed by changing "DHCP" to "SYNCDHCP" in /etc/rc.conf:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;ifconfig_ed1="SYNCDHCP"&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 21 Mar 2012 07:17:45 +1100</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/24-guid.html</guid>
    
</item>
<item>
    <title>Redirecting TCP and UDP traffic to the Android emulator</title>
    <link>http://iomem.com/archives/23-Redirecting-TCP-and-UDP-traffic-to-the-Android-emulator.html</link>
            <category>android</category>
    
    <comments>http://iomem.com/archives/23-Redirecting-TCP-and-UDP-traffic-to-the-Android-emulator.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    If you're writing Android network code and need test it with the Android emulator, you'll quickly run a problem: the emulator doesn't have a 'real' network interface, and cannot be reached from the outside world. Fortunately, there's a way to resolve this.&lt;br /&gt;
&lt;br /&gt;
To forward a tcp port to the emulator, use:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;adb forward tcp:&lt;i&gt;sourceport&lt;/i&gt; tcp:&lt;i&gt;destport&lt;/i&gt;&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
For example, to forward port 8000 on the host to port 8500 on the emulator, use:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;adb forward tcp:&lt;i&gt;8000&lt;/i&gt; tcp:&lt;i&gt;8500&lt;/i&gt;&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
To redirect a UDP port, telnet to the emulator's port (usually 5554) and then use redir:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;telnet localhost 5554&lt;br /&gt;
&lt;br /&gt;
redir add udp:&lt;i&gt;sourceport&lt;/i&gt;:&lt;i&gt;destport&lt;/i&gt;&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Fri, 24 Feb 2012 09:56:00 +1100</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/23-guid.html</guid>
    
</item>
<item>
    <title>Emacs keybindings with XFCE</title>
    <link>http://iomem.com/archives/22-Emacs-keybindings-with-XFCE.html</link>
            <category>linux</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/22-Emacs-keybindings-with-XFCE.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    If like me, you can't stand Unity or Gnome 3, and have migrated to XFCE, you'll have found that (once again) you've lost your Emacs keybindings.&lt;br /&gt;
&lt;br /&gt;
Run the following command to get them back again:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;xfconf-query -c xsettings -p /Gtk/KeyThemeName -s Emacs&lt;/tt&gt;&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Tue, 18 Oct 2011 11:56:00 +1100</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/22-guid.html</guid>
    
</item>
<item>
    <title>Building a redundant mailstore with DRBD and GFS</title>
    <link>http://iomem.com/archives/20-Building-a-redundant-mailstore-with-DRBD-and-GFS.html</link>
            <category>debian</category>
            <category>linux</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/20-Building-a-redundant-mailstore-with-DRBD-and-GFS.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=20</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=20</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    I've recently been asked to build a redundant mailstore, using two server-class machines that are running Ubuntu. The caveat, however, is that no additional hardware will be purchased, so this rules out using any external filestorage, such as a SAN. I've been investigating the use of &lt;a href="http://drbd.org/" title="DRBD"&gt;DRBD&lt;/a&gt; in a primary/primary configuration, to mirror a block device between the two servers, and then put &lt;a href="http://en.wikipedia.org/wiki/Global_File_System" title="GFS2"&gt;GFS2&lt;/a&gt; over the top of it, so that the filesystem can be mounted on both servers at once.&lt;br /&gt;
&lt;br /&gt;
While a set-up like this is more complex and fragile than using ext4 and DRBD in primary/secondary mode and clustering scripts to ensure that the filesystem is only ever mounted on one server at a time, it's likely that there will be a requirement for GFS on the same two servers for another purpose, in the near future, so it makes sense to use the same method of clustering for both.&lt;br /&gt;
&lt;br /&gt;
The following guide details how to get this going on Ubuntu 10.04 LTS (lucid). It won't work on any version older than this - the servers that this is destined for were originally running 9.04 (Jaunty), however, I've tested DRBD+GFS on that release, and there's a problem that prevents it from working. As far as I'm concerned, production servers should not be run on non-LTS Ubuntu releases, anyway, because the support lifecycle is far too short. This guide should also work fine for Debian 6.0 (squeeze), although I haven't tested it, yet.&lt;br /&gt;
 &lt;br /&gt;&lt;a href="http://iomem.com/archives/20-Building-a-redundant-mailstore-with-DRBD-and-GFS.html#extended"&gt;Continue reading "Building a redundant mailstore with DRBD and GFS"&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 18 Sep 2011 16:17:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/20-guid.html</guid>
    
</item>
<item>
    <title>Run a local DNS resolver with OpenWRT</title>
    <link>http://iomem.com/archives/19-Run-a-local-DNS-resolver-with-OpenWRT.html</link>
            <category>linux</category>
            <category>network</category>
            <category>openwrt</category>
    
    <comments>http://iomem.com/archives/19-Run-a-local-DNS-resolver-with-OpenWRT.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=19</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=19</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    &lt;a href="http://openwrt.org/"&gt;OpenWRT&lt;/a&gt; is a fantastic open source distribution for embedded devices, such as the Linksys WRT-54G series of wireless routers. One of its many features is the use of  &lt;a href="http://thekelleys.org.uk/dnsmasq/doc.html"&gt;dnsmasq&lt;/a&gt;, a combined DNS and DHCP server, useful on small networks that are sitting behind a NAT connection.&lt;br /&gt;
&lt;br /&gt;
The downside of dnsmasq on OpenWRT, however, is that the default configuration uses your ISP's DNS servers, which can be problematic, if your ISP, like many others, is adopting bad habits of redirecting non-existent domains to their servers, or is blacklisting / censoring websites without asking you.&lt;br /&gt;
&lt;br /&gt;
For this, and for so many other reasons, it's a much better idea to run your own local DNS resolver. Unfortunately, dnsmasq isn't cable of doing this, so it's necessary to install a DNS server that can do this on its own. In this article, I describe how to do this.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href="http://iomem.com/archives/19-Run-a-local-DNS-resolver-with-OpenWRT.html#extended"&gt;Continue reading "Run a local DNS resolver with OpenWRT"&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 29 Aug 2011 11:03:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/19-guid.html</guid>
    
</item>
<item>
    <title>Avoiding tests when building Debian packages</title>
    <link>http://iomem.com/archives/18-Avoiding-tests-when-building-Debian-packages.html</link>
            <category>debian</category>
            <category>linux</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/18-Avoiding-tests-when-building-Debian-packages.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    Ever had a situation where you need to rebuild a Debian or Ubuntu package on a regular basis, but it takes an incredibly long time because it's running automatic tests - tests that you don't need until your final build?&lt;br /&gt;
&lt;br /&gt;
For many of these packages, there's a simple way to disable the tests, by setting the DEB_BUILD_OPTIONS to "nocheck", before you build the package:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;apt-get source openldap&lt;br /&gt;
cd openldap-2.4.21&lt;br /&gt;
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Not all packages support this, however, and some packages might use 'notest' instead.&lt;br /&gt;
&lt;br /&gt;
There are a number of other values that can be used with DEB_BUILD_OPTIONS, too, if the package supports them:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;noopt - turn off optimisation&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;nodocs - don't build documentation&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;nostrip - do not strip debugging symbols from binaries&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;parallel=n - use n parallel processes to build the package&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 27 Jul 2011 07:48:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/18-guid.html</guid>
    
</item>
<item>
    <title>Rate limiting with sch_htb</title>
    <link>http://iomem.com/archives/17-Rate-limiting-with-sch_htb.html</link>
            <category>linux</category>
            <category>network</category>
    
    <comments>http://iomem.com/archives/17-Rate-limiting-with-sch_htb.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    Ever had a user who uses up far too much bandwidth on your network? The &lt;a href="http://lartc.org/howto/"&gt;Linux Advanced Routing and Traffic Control Guide&lt;/a&gt; gives a good example of &lt;a href="http://lartc.org/howto/lartc.ratelimit.single.html"&gt;rate-limiting a single machine&lt;/a&gt; on your network, using the sch_cbq module; however, I wanted to do this on a Linksys WRT54-GS router running OpenWRT, and sch_cbq is not available on there.&lt;br /&gt;
&lt;br /&gt;
Fortunately, sch_htb, the &lt;a href="http://luxik.cdi.cz/~devik/qos/htb/"&gt;Hierarchical Token Bucket&lt;/a&gt; is available on OpenWRT, which can do the same thing, but it's a lot more complicated to configure.&lt;br /&gt;
&lt;br /&gt;
The following script will rate limit the single IP address of 192.168.0.67 to 128kbps. All other addresses on the network will remain unlimited. Set the name of the &lt;i&gt;inside&lt;/i&gt; interface on your Linux router in DEV, the IP address in IP, the maximum rate on your inside network in MAXRATE and the limit that you want to apply in LIMIT.&lt;br /&gt;
 &lt;br /&gt;
&lt;tt&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
DEV="br-lan"&lt;br /&gt;
IP="192.168.0.67"&lt;br /&gt;
MAXRATE="100mbps"&lt;br /&gt;
LIMIT="128kbps"&lt;br /&gt;
&lt;br /&gt;
tc qdisc add dev $DEV root handle 1: htb default 11&lt;br /&gt;
&lt;br /&gt;
tc class add dev $DEV parent 1: classid 1:1 htb rate $MAXRATE ceil $MAXRATE&lt;br /&gt;
tc class add dev $DEV parent 1:1 classid 1:10 htb rate $LIMIT ceil $LIMIT&lt;br /&gt;
tc class add dev $DEV parent 1:1 classid 1:11 htb rate $MAXRATE ceil $MAXRATE&lt;br /&gt;
&lt;br /&gt;
tc filter add dev $DEV protocol ip parent 1:0 prio 1 u32 match ip dst $IP flowid 1:10&lt;br /&gt;
&lt;br /&gt;
tc qdisc add dev $DEV parent 1:10 handle 20: pfifo limit 5&lt;br /&gt;
tc qdisc add dev $DEV parent 1:11 handle 30: sfq perturb 10&lt;/blockquote&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 06 Jul 2011 11:37:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/17-guid.html</guid>
    
</item>
<item>
    <title>Demoronising Ubuntu Natty</title>
    <link>http://iomem.com/archives/16-Demoronising-Ubuntu-Natty.html</link>
            <category>linux</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/16-Demoronising-Ubuntu-Natty.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    I don't know what it is with the Ubuntu developers; they seem to be going out of their way to make their distribution as unpleasant to use as is humanly possible. If it wasn't bad enough that they slow it down by running the default desktop with pointless animations, and playing annoying drumbeats at boot time, they disable potentially useful features like menu tearoffs and then move everyone's titlebar buttons across to the left side, ignoring their previous defaults.&lt;br /&gt;
&lt;br /&gt;
Here's a script to fix up these inanities:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# Put the buttons on the right, where they should be&lt;br /&gt;
gconftool-2 --type string --set /apps/metacity/general/button_layout ":minimize,maximize,close"&lt;br /&gt;
&lt;br /&gt;
# Disable annoying animations&lt;br /&gt;
gconftool-2 --type bool --set /desktop/gnome/interface/enable_animations false&lt;br /&gt;
&lt;br /&gt;
# Give us back tear-off menus&lt;br /&gt;
gconftool-2 --type bool --set /desktop/gnome/interface/menus_have_tearoff true&lt;br /&gt;
&lt;br /&gt;
# Kill that irritating drumbeat forever&lt;br /&gt;
sudo su gdm -c "gconftool-2 --type bool --set /desktop/gnome/sound/event_sounds  false"&lt;br /&gt;
&lt;br /&gt;
# Stop asking us if we want to empty the trash. Of course we want to.&lt;br /&gt;
gconftool-2 --type bool --set /apps/nautilus/preferences/confirm_trash false&lt;br /&gt;
&lt;br /&gt;
# Windows already have a maximise button, so do something useful with the titlebar double-click&lt;br /&gt;
gconftool-2 --type string --set /apps/metacity/general/action_double_click_titlebar toggle_shade&lt;/blockquote&gt;&lt;/tt&gt; 
    </content:encoded>

    <pubDate>Sun, 12 Jun 2011 11:24:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/16-guid.html</guid>
    
</item>
<item>
    <title>The Huawei e169 mobile broadband modem and Ubuntu lucid</title>
    <link>http://iomem.com/archives/14-The-Huawei-e169-mobile-broadband-modem-and-Ubuntu-lucid.html</link>
            <category>linux</category>
            <category>network</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/14-The-Huawei-e169-mobile-broadband-modem-and-Ubuntu-lucid.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    Every new release of Ubuntu seems to break something that was working on my systems, and it was no different with the 10.04 release of Ubuntu: my Huawei e169 mobile broadband modem, which can be used in Australia on the Optus, Vodafone and Virgin mobile networks, and in Europe almost everywhere, stopped working.&lt;br /&gt;
&lt;br /&gt;
The device would appear in the filesystem, but no matter what I did, it refused to connect.&lt;br /&gt;
&lt;br /&gt;
It's quite easy to fix this, in fact. Firstly, install the usb-modeswitch package:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;sudo apt-get install usb-modeswitch&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Then create the file &lt;tt&gt;/etc/udev/rules.d/75-e169.rules&lt;/tt&gt; with the following contents:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;font size=1&gt;ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", RUN+="modem-modeswitch -v 0x% s{idVendor} -p 0x%s{idProduct} -t option-zerocd"&lt;/font&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Restart udev, or reboot, and after that, you'll find your modem works reliably.   
    </content:encoded>

    <pubDate>Sat, 19 Mar 2011 08:28:00 +1100</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/14-guid.html</guid>
    
</item>
<item>
    <title>Using a Virgin Mobile USA Broadband adaptor on Ubuntu 9.10</title>
    <link>http://iomem.com/archives/13-Using-a-Virgin-Mobile-USA-Broadband-adaptor-on-Ubuntu-9.10.html</link>
            <category>linux</category>
            <category>network</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/13-Using-a-Virgin-Mobile-USA-Broadband-adaptor-on-Ubuntu-9.10.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    &lt;a href="http://www.virginmobileusa.com/"&gt;Virgin Mobile USA&lt;/a&gt; has a nifty prepaid mobile broadband plan called &lt;a href="http://www.virginmobileusa.com/mobile-broadband"&gt;Broadband2Go&lt;/a&gt;. The adaptor costs US$99, and the rates are quite competitive.&lt;br /&gt;
&lt;br /&gt;
However, Ubuntu 9.10 did not see the adaptor when I plugged it in.  The following is a guide to getting it running:&lt;br /&gt;
&lt;br /&gt;
First, install usb-modeswitch:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;apt-get install usb-modeswitch&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Then, edit the &lt;i&gt;/etc/usb_modeswitch.conf&lt;/i&gt; file and add the following lines to the end of it:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;DefaultVendor= 0x1410&lt;br /&gt;
DefaultProduct= 0x5031&lt;br /&gt;
&lt;br /&gt;
TargetVendor= 0x1410&lt;br /&gt;
TargetProduct= 0x6002&lt;br /&gt;
&lt;br /&gt;
MessageContent="5553424312345678000000000000061b000000020000000000000000000000"&lt;br /&gt;
&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Now, you can test this by plugging the adaptor into your PC and running &lt;tt&gt;usb_modeswitch&lt;/tt&gt; as root:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;tt&gt;&lt;br /&gt;
# usb_modeswitch&lt;br /&gt;
&lt;/tt&gt;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The device should now be visible as /dev/ttyUSB0.&lt;br /&gt;
&lt;br /&gt;
At this point, you should be able to configure Network Manager to connect to it; select the "Virgin Mobile/Helio" connection. 
    </content:encoded>

    <pubDate>Wed, 26 May 2010 04:01:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/13-guid.html</guid>
    
</item>
<item>
    <title>Automatic installations of Ubuntu with preseeding</title>
    <link>http://iomem.com/archives/12-Automatic-installations-of-Ubuntu-with-preseeding.html</link>
            <category>linux</category>
            <category>ubuntu</category>
    
    <comments>http://iomem.com/archives/12-Automatic-installations-of-Ubuntu-with-preseeding.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    It's a common scenario: you've been given the task of rolling out dozens of Linux boxes, but you'd rather not have to go through the pain of installing every one them manually. Automated installations with Redhat are well documented, but what about Ubuntu?&lt;br /&gt;
&lt;br /&gt;
Ubuntu inherits Debian's ability to preseed the answers to its installation questions, but the instructions for this are rather haphazard and seems to quickly become out of date as newer versions are released.&lt;br /&gt;
&lt;br /&gt;
In this article, we'll look at setting up automated installations for Ubuntu Jaunty, entirely from the network. We'll start out with one assumption however - that the workstation being used has the ability to perform network boots using PXE. Most modern workstations and servers have this feature, which is usually enabled via the BIOS. If your computer doesn't have this, then you will most likely need to initial your boots from a CDROM, floppy disk drive or USB key.&lt;br /&gt;
 &lt;br /&gt;&lt;a href="http://iomem.com/archives/12-Automatic-installations-of-Ubuntu-with-preseeding.html#extended"&gt;Continue reading "Automatic installations of Ubuntu with preseeding"&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 20 Jun 2009 20:38:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/12-guid.html</guid>
    
</item>
<item>
    <title>Five great ways to annoy telemarketers with Asterisk</title>
    <link>http://iomem.com/archives/10-Five-great-ways-to-annoy-telemarketers-with-Asterisk.html</link>
            <category>asterisk</category>
    
    <comments>http://iomem.com/archives/10-Five-great-ways-to-annoy-telemarketers-with-Asterisk.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=10</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=10</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    I'm not going to mince words here: I can't stand telemarketers. I don't care whether they are charities, political organisations or just run-of-the-mill salespeople, I simply have neither the time, interest nor will to waste my own neurons talking to them. It particularly infuriates me that technology - auto-diallers and voice-over-IP - combined with minimum wage staff, has made it so easy for telemarketers to misuse my time, while making a fortune from it. Even being on a do-not-call list hasn't fixed the problem completely; there's so many exemptions that I still find I get unsolicited calls far too often.&lt;br /&gt;
&lt;br /&gt;
Of course, technology can be fought with more technology, and fortunately those of us who move in the free-software sphere have been graced with the marvelous gift of &lt;a href="http://www.asterisk.org/"&gt;Asterisk&lt;/a&gt;, which presents many opportunities to waste the time of these people, as they try to waste ours. The equipment needed to run this is all fairly basic, by today's standards: I have a Snom-300 IP phone on my desk, a Linksys SPA-3000 adaptor to connect my PSTN line into my household ethernet (and can also drive a standard PSTN phone) and finally an old-whitebox PC as my Asterisk server.&lt;br /&gt;
&lt;br /&gt;
So if you're being driven insane by students reading from canned scripts wanting your money, here's five ways to use Asterisk to get rid of them and maybe even slow them down in the process...&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;digg_url = 'http://iomem.com/archives/10-Five-great-ways-to-annoy-telemarketers-with-Asterisk.html';&lt;/script&gt;&lt;br /&gt;
&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/td&gt;&lt;br /&gt;
&lt;td&gt;&lt;script&gt;reddit_url='http://iomem.com/archives/10-Five-great-ways-to-annoy-telemarketers-with-Asterisk.html'&lt;/script&gt;&lt;br /&gt;
&lt;script&gt;reddit_title='Five great ways to annoy telemarketers with Asterisk'&lt;/script&gt;&lt;br /&gt;
&lt;script type="text/javascript" src="http://www.reddit.com/button.js?t=2"&gt;&lt;/script&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
&lt;/table&gt;&lt;br /&gt;
&lt;/center&gt; &lt;br /&gt;&lt;a href="http://iomem.com/archives/10-Five-great-ways-to-annoy-telemarketers-with-Asterisk.html#extended"&gt;Continue reading "Five great ways to annoy telemarketers with Asterisk"&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 23 Jul 2008 22:17:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/10-guid.html</guid>
    
</item>
<item>
    <title>Checking out Opensolaris 2008.05</title>
    <link>http://iomem.com/archives/9-Checking-out-Opensolaris-2008.05.html</link>
            <category>review</category>
            <category>solaris</category>
    
    <comments>http://iomem.com/archives/9-Checking-out-Opensolaris-2008.05.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    &lt;h5&gt;Author: Paul Dwerryhouse &amp;lt;paul@dwerryhouse.com.au&amp;gt;&lt;/h5&gt;&lt;br /&gt;
&lt;br /&gt;
OpenSolaris 2008.05, Sun's community-developed open-source Solaris distribution, was released in May of this year, to much fanfare. While I began my system administration career in the Solaris field, I've found myself more and more in the Linux arena in the last few years, and haven't had a good look at Sun's flagship product since back in 2005, when Solaris 10 was released. With this in mind, I decided to pull down an ISO and see just how much going open-source has improved the product.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;script type="text/javascript"&gt;digg_url = 'http://iomem.com/archives/9-Checking-out-Opensolaris-2008.05.html';&lt;/script&gt;&lt;br /&gt;
&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href="http://iomem.com/archives/9-Checking-out-Opensolaris-2008.05.html#extended"&gt;Continue reading "Checking out Opensolaris 2008.05"&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 20 Jul 2008 21:13:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/9-guid.html</guid>
    
</item>
<item>
    <title>Starting out with Lighttpd</title>
    <link>http://iomem.com/archives/3-Starting-out-with-Lighttpd.html</link>
            <category>software</category>
    
    <comments>http://iomem.com/archives/3-Starting-out-with-Lighttpd.html#comments</comments>
    <wfw:comment>http://iomem.com/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://iomem.com/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>paul@dwerryhouse.com.au (Paul)</author>
    <content:encoded>
    &lt;br /&gt;
While a large proportion of the world's webservers are currently using Apache, a competitor has been steadily gaining popularity on many high-usage sites. &lt;a href="http://www.lighttpd.net/"&gt;Lighttpd&lt;/a&gt;, pronounced "lighty", is a small-footprint, high-speed webserver, and is notably used by sites such as &lt;a href="http://sourceforge.net/"&gt; Sourceforge&lt;/a&gt;, &lt;a href="http://youtube.com/"&gt;YouTube&lt;/a&gt; and &lt;a href="http://www.mininova.org"&gt; MiniNova&lt;/a&gt;. Netcraft state that Lighttpd is currently being used on &lt;a href="http://news.netcraft.com/archives/2007/04/02/april_2007_web_server_survey.html"&gt;1.38 million sites&lt;/a&gt;, and is steadily gaining on Sun's share of the market.  This introductory article provides a guide to getting Lighttpd installed and configured.  &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href="http://iomem.com/archives/3-Starting-out-with-Lighttpd.html#extended"&gt;Continue reading "Starting out with Lighttpd"&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 11 Apr 2007 08:51:00 +1000</pubDate>
    <guid isPermaLink="false">http://iomem.com/archives/3-guid.html</guid>
    
</item>

</channel>
</rss>

