<?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>dobh's blog</title>
	<atom:link href="http://dobh.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://dobh.net</link>
	<description>Always remember that you are unique. Just like everybody else.</description>
	<lastBuildDate>Wed, 15 Oct 2008 13:20:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multiple network cards and bridges in Xen</title>
		<link>http://dobh.net/?p=67</link>
		<comments>http://dobh.net/?p=67#comments</comments>
		<pubDate>Wed, 20 Feb 2008 17:57:37 +0000</pubDate>
		<dc:creator>dobh</dc:creator>
				<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=67</guid>
		<description><![CDATA[Using multiple network cards associated to different bridges in Xen is quite easy. By default Xen uses ony one bridge.
Create custom network-script which works as a wrapper and calls network-bridge from it.
/etc/xen/scripts/multi-network-bridge:
(for Xen 3.1 and earlier)
#!/bin/sh
dir=$(dirname &#8220;$0&#8243;)
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=0 netdev=eth0 bridge=xenbr0
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=1 netdev=eth1 bridge=xenbr1
/etc/xen/scripts/multi-network-bridge:
(for Xen 3.2) 
#!/bin/sh
dir=$(dirname &#8220;$0&#8243;)
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=0 netdev=eth0 bridge=eth0
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=1 [...]]]></description>
			<content:encoded><![CDATA[<p>Using multiple network cards associated to different bridges in Xen is quite easy. By default Xen uses ony one bridge.</p>
<p>Create custom network-script which works as a wrapper and calls network-bridge from it.</p>
<p><code>/etc/xen/scripts/<strong>multi-network-bridge:<br />
(for Xen 3.1 and earlier)</strong></code></p>
<blockquote><p>#!/bin/sh<br />
dir=$(dirname &#8220;$0&#8243;)<br />
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=0 netdev=eth0 bridge=xenbr0<br />
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=1 netdev=eth1 bridge=xenbr1</p></blockquote>
<p><code>/etc/xen/scripts/<strong>multi-network-bridge:<br />
(for Xen 3.2) </strong></code></p>
<blockquote><p>#!/bin/sh<br />
dir=$(dirname &#8220;$0&#8243;)<br />
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=0 netdev=eth0 bridge=eth0<br />
&#8220;$dir/network-bridge&#8221; &#8220;$@&#8221; vifnum=1 netdev=eth1 bridge=eth1</p></blockquote>
<p>In Xen 3.2 the default bridge is changed from <strong>xenbr&lt;n&gt;</strong> to <strong>eth&lt;n&gt;</strong> and the <strong>eth&lt;n&gt;</strong> is renamed <strong>peth&lt;n&gt;</strong></p>
<p>Add execute-permissions:</p>
<pre># chmod u+x /etc/xen/scripts/multi-network-bridge</pre>
<p>Edit Xen&#8217;s config:<br />
<code>/etc/xen/<strong>xend-config.sxp:</strong></code></p>
<blockquote><p>&#8230;<br />
#(network-script network-bridge)<br />
(network-script multi-network-bridge)<br />
&#8230;</p></blockquote>
<p>DomU&#8217;s config:<br />
<code>/etc/xen/conf/<strong>foo.conf:<br />
(for Xen3.1 and earlier)</strong></code></p>
<blockquote><p>&#8230;<br />
vif = [ 'bridge=xenbr1'];<br />
&#8230;</p></blockquote>
<p><code>/etc/xen/conf/<strong>foo.conf:<br />
(for Xen 3.2)</strong></code></p>
<blockquote><p>&#8230;<br />
vif = [ 'bridge=eth1'];<br />
&#8230;</p></blockquote>
<p>Reboot Dom0 and you should see multiple bridges.</p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=67</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to connect to bridged modem via wan-port</title>
		<link>http://dobh.net/?p=66</link>
		<comments>http://dobh.net/?p=66#comments</comments>
		<pubDate>Wed, 20 Feb 2008 17:36:43 +0000</pubDate>
		<dc:creator>dobh</dc:creator>
				<category><![CDATA[Wrt54gl]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=66</guid>
		<description><![CDATA[My current configuration is:
{internal network 192.168.0.0/24} - [Linksys WRT54gl] - [A-Link RR44C] - {8/1 ADSL}
where A-Link is running in bridged mode (transparent) and thus doesn&#8217;t have a public IP.  It can be managed via management IP (or LAN IP as it is identified in a config) which is by default 10.0.0.2.
The Linksys WRT54gl is [...]]]></description>
			<content:encoded><![CDATA[<p>My current configuration is:</p>
<p><code>{internal network 192.168.0.0/24} - [Linksys WRT54gl] - [A-Link RR44C] - {8/1 ADSL}</code></p>
<p>where A-Link is running in bridged mode (transparent) and thus doesn&#8217;t have a public IP.  It can be managed via management IP (or LAN IP as it is identified in a config) which is by default 10.0.0.2.</p>
<p>The Linksys WRT54gl is acting as a firewall and a WLAN access point. It&#8217;s WAN-port is connected to A-Link&#8217;s LAN and it  receives it&#8217;s public IP address directly from my ISP.  Linksys&#8217;s LAN uses 192.168.0.0/24 subnet.</p>
<p>Linksys is running <a href="http://openwrt.org/" title="OpenWrt">OpenWrt </a>and <a href="http://x-wrt.org/" title="X-Wrt">X-Wrt</a>.</p>
<p>To connect to the A-Link, previously I had to hook up a laptop to A-Link&#8217;s LAN-port and manually set the laptop&#8217;s IP-address  to 10.0.0.10 (or anything else from 10.0.0.0/8 subnet) and then browse to 10.0.0.2, which is A-Link&#8217;s default management address.</p>
<p>To be able to connect to the A-Link from my internal network without hassling with a laptop and IP configurations, I had to add a IP alias to Linksys&#8217;s WAN-port (which is labeled by default as vlan1):<br />
<code># ifconfig vlan1:0 10.0.0.10</code></p>
<p>Now Linksys WAN-port had two IP address&#8217;s. One that it received from isp (public) and 10.0.0.10. This command add a default route which works by default, so additional route configuration is not needed. However, if you wish to add a specific route, you can do it.</p>
<p>First remove the old route which routes all 10.0.0.0/8 traffic to wan-interface:<br />
<code># route del -net 10.0.0.0 netmask 255.0.0.0</code></p>
<p>and then add a specific route, which routes only traffic to 10.0.0.2 via wan-interface:<br />
<code># route add  -host 10.0.0.2 dev vlan1:0</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=66</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM ThinkPad T20 black screen with ubuntu</title>
		<link>http://dobh.net/?p=64</link>
		<comments>http://dobh.net/?p=64#comments</comments>
		<pubDate>Wed, 23 Jan 2008 00:10:45 +0000</pubDate>
		<dc:creator>dobh</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=64</guid>
		<description><![CDATA[A friend of mine was having black screen and lockup problems with a IBM ThinkPad T20 laptop. The problem persisted with ubuntu, xubuntu and kubuntu. Even the graphic installation screen didn&#8217;t show.
After googling a bit, i found this site, which explains all. All you have to do, is to use non-graphic installation (use the Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine was having black screen and lockup problems with a IBM ThinkPad T20 laptop. The problem persisted with ubuntu, xubuntu and kubuntu. Even the graphic installation screen didn&#8217;t show.</p>
<p>After googling a bit, i found <a href="http://www.thinkwiki.org/wiki/Problem_with_video_related_system_lockup" title="Problem with video related system lockup">this</a> site, which explains all. All you have to do, is to use non-graphic installation (use the Ubuntu alternate install CD, because it doesn&#8217;t use X).</p>
<p>After the installation, enter to the Grub menu by pressing Esc, when the Grub boots up and select the recovery kernel. When you are in as a root, edit <em>/etc/X11/xorg.conf</em></p>
<p>In a Section Device, add a line &#8220;Option &#8220;BusType&#8221; &#8220;PCI&#8221;. As shown below. It is <strong>case sensitive</strong>.</p>
<blockquote><pre>Section "Device"
       Identifier      "S3 Inc. 86C270-294 Savage/IX-MV"
       Driver          "savage"
       BusID           "PCI:1:0:0"
       Option          "BusType" "PCI"
EndSection</pre>
</blockquote>
<p>That worked for us.</p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=64</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iBook G4 + kismac + garmin gpsmap 60cx</title>
		<link>http://dobh.net/?p=33</link>
		<comments>http://dobh.net/?p=33#comments</comments>
		<pubDate>Sun, 25 Nov 2007 17:06:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Garmin]]></category>
		<category><![CDATA[iBook]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=33</guid>
		<description><![CDATA[How to get iBook G4 with Kismac and Garmin GPSMap 60cx to work together.
I had earlier bought the Garmin GPSMap 60cx which has an USB-connection, but for my dissapointment it weren&#8217;t talking the default NMEA-language. It used the Garmin&#8217;s own proprietary-language instead which was useless for me. It would talk NMEA only from the serial-bus. [...]]]></description>
			<content:encoded><![CDATA[<p>How to get iBook G4 with Kismac and Garmin GPSMap 60cx to work together.</p>
<p>I had earlier bought the Garmin GPSMap 60cx which has an USB-connection, but for my dissapointment it weren&#8217;t talking the default NMEA-language. It used the Garmin&#8217;s own proprietary-language instead which was useless for me. It would talk NMEA only from the serial-bus. It would have been nice, if it had a builtin &#8217;serial to usb&#8217;-converter.</p>
<p>What I needed to do, was to get the Garmin&#8217;s serial-bus connected to my iBook which has only usb-ports. I would need to get Garmin&#8217;s own serial cable and &#8217;serial to usb&#8217;-adapter for my mac. The Garmin&#8217;s cable was easy to get, but the adapter were more tricky, because most of the adapters were only for windows. Finally I found Prodige&#8217;s adapter which were told to be compatible with Macs and it had drivers with it. It used prolific&#8217;s chips.</p>
<p>Needed cables:<br />
<a href="http://www.verkkokauppa.com/popups/prodinfo.php?id=2036">Prodige USB-serial-adapter RS232 DB9 male</a><br />
<a href="https://buy.garmin.com/shop/shop.do?pID=574">Garmin PC interface cable (RS232 serial port connector)</a></p>
<p>For the usb-serial-adapter I tried the bundled drivers, but those were useless. I googled around and tried lot&#8217;s of things but none seemed to work. Finally I found a <a href="http://www.kfu.com/~nsayer/osxhax/archives/000006.html">working solution</a>.</p>
<p>1. Download and install a working driver from <a href="http://www.ftdichip.com/Drivers/VCP.htm">here</a> (ver. 2.1.10 for PPC is mirrored <a href="http://dobh.net/downloads/FTDIUSBSerialDriver_v2_1_10.dmg">here</a>)<br />
2. Reboot for good measure<br />
3. Plugin the adapter and test</p>
<p>The quoted post:</p>
<blockquote><p>I was frustrated, bitter and thinking of taking someone&#8217;s life; but now I&#8217;m smug and happy and the birds are singing outside my window. What finally worked for me: PB G4, OSX 10.3.9, IOGear-232A (model GUC232A), various Garmin GPSs&#8217;, and http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_1_0.dmg.</p>
<p>I&#8217;ve tried every other revision of every other driver, newer and older, including v1.1.0b1, and although PL2303_1.0.8 showed a tty.usbserial0 in the /dev list, nothing was talking (that I could determine).<br />
Not http://www.prolific.com.tw/eng/Download-2.asp?ID=17<br />
Not http://www.ramelectronics.net/download/BF-810/OSX/</p>
<p>I edited my /System/Library/Extensions/ProlificUsbSerial.kext/Contents/Info.plist to reflect my System Profiler:USB-Serial Controller:Product ID of 8200, however it does not indicate a Vendor ID at all (so I tried 1367 and any others on this list). I deleted the two /System/Library/Extensions.* files, reloaded (sudo kextload -v /System/Library/Extensions/ProlificUsbSerial.kext) and rebooted. Still nothing!!! I even tried cursing and praying (but may have done those out of order).</p>
<p>Then I:<br />
1. Downloaded and installed FTDIUSBSerialDriver_v2_1_0,<br />
2. Deleted the ../Extensions.* files for good measure,<br />
3. sudo kextload -v /System/Library/Extensions/FTDIUSBSerialDriver.kext (no editing),<br />
4. Rebooted for good measure,<br />
5. and now I&#8217;m singing in the sunshine. A glimpse into the new /System/Library/Extensions/FTDIUSBSerialDriver/Contents/Info.plist shows a plethora of supported devices. Apparently if a rifle doesn&#8217;t work, try a shotgun.</p>
<p>I had earlier gotten my Garmin to talk with VPC7 WinXP Pro. Now I want to try to get it to work with System 9 so I can use http://www.gpsy.com/. Whoops! It&#8217;s gone native too! Guess I was too late. Life is sweet.</p>
<p>Thanks to everyone who has posted on this string and encouragement to everyone who follows.Those with determination shall persevere!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia 6120 Classic and Apple iSync</title>
		<link>http://dobh.net/?p=54</link>
		<comments>http://dobh.net/?p=54#comments</comments>
		<pubDate>Sun, 25 Nov 2007 16:19:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nokia 6120c]]></category>
		<category><![CDATA[iBook]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=54</guid>
		<description><![CDATA[Fixed quote from this post:
http://discussions.europe.nokia.com/discussions/board/message?board.id=pcsuite&#038;message.id=18480&#038;view=by_date_ascending&#038;page=3

To get the iSync to work with the Nokia 6120 Classic:
Download the plugin from
http://the.taoofmac.com/media/Nokia/6120/Nokia-6120c.phoneplugin.zip
(mirrored here) and unzip it.
Now find iSync (it should be at your Applications-folder), right-click (ctrl-click if you have an one button mouse) on it and select &#8216;Show Package Contents&#8217;. 
Navigate to Contents > Plugins > ApplePhoneConduit.syncdevice > Contents [...]]]></description>
			<content:encoded><![CDATA[<p>Fixed quote from this post:<br />
<a href="http://discussions.europe.nokia.com/discussions/board/message?board.id=pcsuite&#038;message.id=18480&#038;view=by_date_ascending&#038;page=3">http://discussions.europe.nokia.com/discussions/board/message?board.id=pcsuite&#038;message.id=18480&#038;view=by_date_ascending&#038;page=3<br />
</a><br />
To get the iSync to work with the Nokia 6120 Classic:</p>
<p>Download the plugin from<br />
<a href="http://the.taoofmac.com/media/Nokia/6120/Nokia-6120c.phoneplugin.zip">http://the.taoofmac.com/media/Nokia/6120/Nokia-6120c.phoneplugin.zip</a><br />
(mirrored <a href='http://dobh.net/downloads/nokia-6120cphoneplugin.zip' title='Nokia 6120 Classic plugin for iSync'>here</a>) and unzip it.</p>
<p>Now find iSync (it should be at your Applications-folder), right-click (ctrl-click if you have an one button mouse) on it and select &#8216;Show Package Contents&#8217;. </p>
<p>Navigate to <strong>Contents > Plugins > ApplePhoneConduit.syncdevice > Contents > PlugIns</strong> and drop the &#8216;Nokia-6120c.phoneplugin&#8217;-folder into this <strong>PlugIns folder</strong>.</p>
<p>Now unpair the mac from the phone (if you have already paired them) and re-setup the phone using Apple&#8217;s bluetooth utility.</p>
<p>Start iSync and the phone should come up automatically. (Actually the iSync will start automatically, when you finish the pairing-process)</p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Old server broke down</title>
		<link>http://dobh.net/?p=32</link>
		<comments>http://dobh.net/?p=32#comments</comments>
		<pubDate>Fri, 14 Sep 2007 22:41:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=32</guid>
		<description><![CDATA[My old server had a major harddrive breakdown but luckily I had a new server awaiting for installation. Too bad that it seems that I lost all of my data and I can&#8217;t find backups anywhere. I&#8217;m going to see if the data can still be rescued.
]]></description>
			<content:encoded><![CDATA[<p>My old server had a major harddrive breakdown but luckily I had a new server awaiting for installation. Too bad that it seems that I lost all of my data and I can&#8217;t find backups anywhere. I&#8217;m going to see if the data can still be rescued.</p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Still alive</title>
		<link>http://dobh.net/?p=9</link>
		<comments>http://dobh.net/?p=9#comments</comments>
		<pubDate>Tue, 06 Mar 2007 21:37:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://dobh.net/?p=9</guid>
		<description><![CDATA[I haven’t abandoned my blog. I just took a “little” vacation =)
]]></description>
			<content:encoded><![CDATA[<p>I haven’t abandoned my blog. I just took a “little” vacation =)</p>
]]></content:encoded>
			<wfw:commentRss>http://dobh.net/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
