<?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>Technology Blog Dietmar Zlabinger</title>
	<atom:link href="http://tech.zlabinger.at/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.zlabinger.at</link>
	<description>Just another Zlabinger.at Blogs weblog</description>
	<lastBuildDate>Mon, 04 Jan 2010 23:18:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to mount initrd?</title>
		<link>http://tech.zlabinger.at/2010/01/04/how-to-mount-initrd/</link>
		<comments>http://tech.zlabinger.at/2010/01/04/how-to-mount-initrd/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 21:04:08 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/?p=88</guid>
		<description><![CDATA[reading/writing initrd &#8211; the initial ram disk of a desktop Linux system:
mkdir tmp
cd tmp
gzip -dc /somepath/initrd.gz &#124; cpio -id
# do the edits on the files
find . &#124; cpio &#8211;quiet &#8211;dereference -o -H newc &#124; gzip -9 &#38;gt; /somepath/new-initrd.gz
]]></description>
			<content:encoded><![CDATA[<p>reading/writing initrd &#8211; the initial ram disk of a desktop Linux system:</p>
<p><span id="more-89"></span>mkdir tmp<br />
cd tmp<br />
gzip -dc /somepath/initrd.gz | cpio -id</p>
<p># do the edits on the files</p>
<p>find . | cpio &#8211;quiet &#8211;dereference -o -H newc | gzip -9 &amp;gt; /somepath/new-initrd.gz</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2010/01/04/how-to-mount-initrd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsing ASN1</title>
		<link>http://tech.zlabinger.at/2009/05/12/parsing-asn1/</link>
		<comments>http://tech.zlabinger.at/2009/05/12/parsing-asn1/#comments</comments>
		<pubDate>Tue, 12 May 2009 18:41:52 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/?p=76</guid>
		<description><![CDATA[Abstract Syntax Notation 1 (ASN1) is probably one of the worst encodings the Internet community has seen. Unfortunately this encoding is a key component in Internet security. Peter Gutmann, professor at the University of Auckland, NZ has not just written &#8220;How Not to Design a Crypto Protocol/Standard&#8220;, but also an ASN1-dump C-program.  I added a [...]]]></description>
			<content:encoded><![CDATA[<p>Abstract Syntax Notation 1 (ASN1) is probably one of the worst encodings the Internet community has seen. Unfortunately this encoding is a key component in Internet security. Peter Gutmann, professor at the University of Auckland, NZ has not just written &#8220;<a title="How Not to Design a Crypto Protocol/Standard" href="http://www.cs.auckland.ac.nz/~pgut001/pubs/pfx.html" target="_blank">How Not to Design a Crypto Protocol/Standard</a>&#8220;, but also an ASN1-dump C-program.  I added a Java-script port written by <a title="Lapo Luchini" href="http://lapo.it/" target="_blank">Lapo Luchini</a> to my homepage under h<a title="ASN1dump" href="http://www.zlabinger.at/asn1dump" target="_self">ttp://www.zlabinger.at/asn1dump</a>.</p>
<p>This version uses the <a title="Signatur RTR" href="http://www.signatur.rtr.at/en/index.html" target="_blank">top certificate</a> of the <a title="TKK" href="http://www.rtr.at/en/rtr/OrganeTKK" target="_blank">TKK</a> as an example.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2009/05/12/parsing-asn1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Efficiency of xfs and ext3</title>
		<link>http://tech.zlabinger.at/2009/05/12/efficiency-of-xfs-and-ext3/</link>
		<comments>http://tech.zlabinger.at/2009/05/12/efficiency-of-xfs-and-ext3/#comments</comments>
		<pubDate>Tue, 12 May 2009 17:38:06 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/?p=72</guid>
		<description><![CDATA[In a test-setup I put 561GByte of data onto a 1 TByte harddisk. The first disk is formated with ext3, the other with xfs.
Here are the results:

df -h
/dev/sdc1             932G  561G  372G  61% /media/disk1_1T
/dev/sdd1        [...]]]></description>
			<content:encoded><![CDATA[<p>In a test-setup I put 561GByte of data onto a 1 TByte harddisk. The first disk is formated with ext3, the other with xfs.<br />
Here are the results:<br />
<code><br />
df -h<br />
/dev/sdc1             932G  561G  372G  61% /media/disk1_1T<br />
/dev/sdd1             917G  561G  311G  65% /media/disk2_1T<br />
mount<br />
/dev/sdc1 on /media/disk1_1T type xfs (rw)<br />
/dev/sdd1 on /media/disk2_1T type ext4 (rw)<br />
</code></p>
<p>Ok, by default ext reserves 5% for root-only usage, after removing that reservation ext4 ist still behind xfs:<br />
<code><br />
tune2fs -m0 /dev/sdd1<br />
Setting reserved blocks percentage to 0% (0 blocks)</p>
<p>df<br />
/dev/sdc1             932G  561G  372G  61% /media/hd51_1T<br />
/dev/sdd1             917G  561G  357G  62% /media/hd53_1T<br />
</code></p>
<p>Conclusion: ext3 reserves 15GByte more administrative space.<br />
Of course, it&#8217;s not all about efficiency.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2009/05/12/efficiency-of-xfs-and-ext3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus EEE Box B202 &amp; Linux</title>
		<link>http://tech.zlabinger.at/2008/12/14/asus-eee-box-b202-linux/</link>
		<comments>http://tech.zlabinger.at/2008/12/14/asus-eee-box-b202-linux/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 20:46:43 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/?p=53</guid>
		<description><![CDATA[You may call it a PC, you may call it a low-cost Mac-Mini, Microsoft calls it an  ULCPC &#8211; an ultra low cost PC, I call it an ideal home server. If your Linksys NSLU2 is great but lacks RAM and performance but you do not like the noise and power consumption of a [...]]]></description>
			<content:encoded><![CDATA[<p>You may call it a PC, you may call it a low-cost Mac-Mini, Microsoft calls it an  ULCPC &#8211; an ultra low cost PC, I call it an ideal home server. If your Linksys NSLU2 is great but lacks RAM and performance but you do not like the noise and power consumption of a standard PC, then read on.<br />
<span id="more-53"></span><br />
The B202 does not support X64 (64bit mode), but as the hardware design limits memory to max 2GB, the no point in running a 64bit-OS.<br />
Debian (lenny) boots without any problems, just WLAN is not recoginised.<br />
This is what /proc/cpuinfo says:<br />
<code><br />
 cat /proc/cpuinfo<br />
processor       : 0<br />
vendor_id       : GenuineIntel<br />
cpu family      : 6<br />
model           : 28<br />
model name      : Intel(R) Atom(TM) CPU N270   @ 1.60GHz<br />
stepping        : 2<br />
cpu MHz         : 1608.032<br />
cache size      : 512 KB<br />
physical id     : 0<br />
siblings        : 2<br />
core id         : 0<br />
cpu cores       : 1<br />
apicid          : 0<br />
initial apicid  : 0<br />
fdiv_bug        : no<br />
hlt_bug         : no<br />
f00f_bug        : no<br />
coma_bug        : no<br />
fpu             : yes<br />
fpu_exception   : yes<br />
cpuid level     : 10<br />
wp              : yes<br />
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm<br />
bogomips        : 3252.73<br />
clflush size    : 64<br />
power management:</p>
<p>processor       : 1<br />
vendor_id       : GenuineIntel<br />
cpu family      : 6<br />
model           : 28<br />
model name      : Intel(R) Atom(TM) CPU N270   @ 1.60GHz<br />
stepping        : 2<br />
cpu MHz         : 1608.032<br />
cache size      : 512 KB<br />
physical id     : 0<br />
siblings        : 2<br />
core id         : 0<br />
cpu cores       : 1<br />
apicid          : 1<br />
initial apicid  : 1<br />
fdiv_bug        : no<br />
hlt_bug         : no<br />
f00f_bug        : no<br />
coma_bug        : no<br />
fpu             : yes<br />
fpu_exception   : yes<br />
cpuid level     : 10<br />
wp              : yes<br />
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm<br />
bogomips        : 3215.95<br />
clflush size    : 64<br />
power management:<br />
</code><br />
And dmesg says the CPU is fast enougth for SAMBA &amp; Co:<br />
<code><br />
[    0.252015] Total of 2 processors activated (6468.68 BogoMIPS).<br />
</code></p>
<p>lspci shows that WLAN comes from <a href="http://www.ralinktech.com/ralink/Home/Support/Linux.html">Ralink</a> (2790)<br />
<code><br />
lspci -v<br />
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)<br />
        Subsystem: Intel Corporation Mobile 945GME Express Memory Controller Hub<br />
        Flags: bus master, fast devsel, latency 0<br />
        Capabilities: [e0] Vendor Specific Information<br />
        Kernel driver in use: agpgart-intel<br />
        Kernel modules: intel-agp</p>
<p>00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1252<br />
        Flags: bus master, fast devsel, latency 0, IRQ 5<br />
        Memory at feb80000 (32-bit, non-prefetchable) [size=512K]<br />
        I/O ports at ec80 [size=8]<br />
        Memory at d0000000 (32-bit, prefetchable) [size=256M]<br />
        Memory at feb40000 (32-bit, non-prefetchable) [size=256K]<br />
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-<br />
        Capabilities: [d0] Power Management version 2</p>
<p>00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)<br />
        Subsystem: ASUSTeK Computer Inc. Device 1252<br />
        Flags: bus master, fast devsel, latency 0<br />
        Memory at fea80000 (32-bit, non-prefetchable) [size=512K]<br />
        Capabilities: [d0] Power Management version 2</p>
<p>00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
        Subsystem: ASUSTeK Computer Inc. Device 8331<br />
        Flags: bus master, fast devsel, latency 0, IRQ 16<br />
        Memory at feb38000 (64-bit, non-prefetchable) [size=16K]<br />
        Capabilities: [50] Power Management version 2<br />
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-<br />
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00<br />
        Kernel driver in use: HDA Intel<br />
        Kernel modules: snd-hda-intel</p>
<p>00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])<br />
        Flags: bus master, fast devsel, latency 0<br />
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0<br />
        I/O behind bridge: 0000d000-0000dfff<br />
        Memory behind bridge: fe800000-fe8fffff<br />
        Prefetchable memory behind bridge: 00000000bfe00000-00000000bfefffff<br />
        Capabilities: [40] Express Root Port (Slot+), MSI 00<br />
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+<br />
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Capabilities: [a0] Power Management version 2<br />
        Kernel driver in use: pcieport-driver<br />
        Kernel modules: shpchp</p>
<p>00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])<br />
        Flags: bus master, fast devsel, latency 0<br />
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0<br />
        Memory behind bridge: fe700000-fe7fffff<br />
        Capabilities: [40] Express Root Port (Slot+), MSI 00<br />
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+<br />
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Capabilities: [a0] Power Management version 2<br />
        Kernel driver in use: pcieport-driver<br />
        Kernel modules: shpchp</p>
<p>00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) (prog-if 00 [Normal decode])<br />
        Flags: bus master, fast devsel, latency 0<br />
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=0<br />
        I/O behind bridge: 0000c000-0000cfff<br />
        Memory behind bridge: fa700000-fe6fffff<br />
        Prefetchable memory behind bridge: 00000000bbe00000-00000000bfdfffff<br />
        Capabilities: [40] Express Root Port (Slot+), MSI 00<br />
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+<br />
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Capabilities: [a0] Power Management version 2<br />
        Kernel driver in use: pcieport-driver<br />
        Kernel modules: shpchp</p>
<p>00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0, IRQ 23<br />
        I/O ports at e480 [size=32]<br />
        Kernel driver in use: uhci_hcd<br />
        Kernel modules: uhci-hcd</p>
<p>00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0, IRQ 19<br />
        I/O ports at e800 [size=32]<br />
        Kernel driver in use: uhci_hcd<br />
        Kernel modules: uhci-hcd</p>
<p>00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0, IRQ 18<br />
        I/O ports at e880 [size=32]<br />
        Kernel driver in use: uhci_hcd<br />
        Kernel modules: uhci-hcd</p>
<p>00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0, IRQ 16<br />
        I/O ports at ec00 [size=32]<br />
        Kernel driver in use: uhci_hcd<br />
        Kernel modules: uhci-hcd</p>
<p>00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0, IRQ 23<br />
        Memory at feb3fc00 (32-bit, non-prefetchable) [size=1K]<br />
        Capabilities: [50] Power Management version 2<br />
        Capabilities: [58] Debug port: BAR=1 offset=00a0<br />
        Kernel driver in use: ehci_hcd<br />
        Kernel modules: ehci-hcd</p>
<p>00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])<br />
        Flags: bus master, fast devsel, latency 0<br />
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=32<br />
        Capabilities: [50] Subsystem: ASUSTeK Computer Inc. Device 1347</p>
<p>00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, medium devsel, latency 0<br />
        Capabilities: [e0] Vendor Specific Information<br />
        Kernel modules: intel-rng, iTCO_wdt</p>
<p>00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02) (prog-if 80 [Master])<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19<br />
        I/O ports at 01f0 [size=8]<br />
        I/O ports at 03f4 [size=1]<br />
        I/O ports at 0170 [size=8]<br />
        I/O ports at 0374 [size=1]<br />
        I/O ports at ffa0 [size=16]<br />
        Capabilities: [70] Power Management version 2<br />
        Kernel driver in use: ata_piix<br />
        Kernel modules: ata_piix</p>
<p>00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)<br />
        Subsystem: ASUSTeK Computer Inc. Device 1347<br />
        Flags: medium devsel, IRQ 19<br />
        I/O ports at 0400 [size=32]<br />
        Kernel driver in use: i801_smbus<br />
        Kernel modules: i2c-i801</p>
<p>03:00.0 Network controller: RaLink Device 0781<br />
        Subsystem: <strong>RaLink Device 2790</strong><br />
        Flags: bus master, fast devsel, latency 0, IRQ 17<br />
        Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]<br />
        Capabilities: [40] Power Management version 3<br />
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/5 Enable-<br />
        Capabilities: [70] Express Endpoint, MSI 00</p>
<p>04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)<br />
        Subsystem: ASUSTeK Computer Inc. Device 8168<br />
        Flags: bus master, fast devsel, latency 0, IRQ 220<br />
        I/O ports at dc00 [size=256]<br />
        Memory at fe8ff000 (64-bit, non-prefetchable) [size=4K]<br />
        Memory at bfef0000 (64-bit, prefetchable) [size=64K]<br />
        Expansion ROM at fe8c0000 [disabled] [size=128K]<br />
        Capabilities: [40] Power Management version 3<br />
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+<br />
        Capabilities: [70] Express Endpoint, MSI 01<br />
        Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2<br />
        Capabilities: [d0] Vital Product Data<br />
        Kernel driver in use: r8169<br />
        Kernel modules: r8169<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2008/12/14/asus-eee-box-b202-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual home with Red Hat (Centos)</title>
		<link>http://tech.zlabinger.at/2008/11/21/dual-home-with-red-hat-centos/</link>
		<comments>http://tech.zlabinger.at/2008/11/21/dual-home-with-red-hat-centos/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 20:15:25 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/?p=46</guid>
		<description><![CDATA[Most people have a number of computers and need at NAT device to connect them to the Internet, but in my case I had to solve the opposite problem &#8211; I had two internet connections, but just a single computer. With other words: I wanted  the computer to be reachable from two different public [...]]]></description>
			<content:encoded><![CDATA[<p>Most people have a number of computers and need at NAT device to connect them to the Internet, but in my case I had to solve the opposite problem &#8211; I had two internet connections, but just a single computer. With other words: I wanted  the computer to be reachable from two different public addresses within two different subnets.<br />
<span id="more-46"></span><br />
This is the solution:<br />
/etc/iproute2/rt_tables<br />
<code><br />
#<br />
# reserved values<br />
#<br />
255     local<br />
254     main<br />
253     default<br />
0       unspec<br />
#<br />
# local<br />
#<br />
#1      inr.ruhep<br />
<strong># Provider DF<br />
1 DF<br />
# Provider NX<br />
2 NX<br />
3 IN</strong><br />
</code></p>
<p>Then I had to add some files in /etc/sysconfig/network-scripts<br />
In my setup eth2 and eth2:0 are used for internet access:</p>
<p>ifcfg-eth2<br />
<code><br />
DEVICE=eth2<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
HWADDR=00:0c:29:3d:xx:xx<br />
IPADDR=81.162.157.165<br />
NETMASK=81.162.157.0<br />
# no default gateway<br />
TYPE=Ethernet<br />
</code></p>
<p>ifcfg-eth2:0<br />
<code><br />
DEVICE=eth2:0<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
HWADDR=00:0c:29:3d:xx:xx<br />
IPADDR=81.162.149.189<br />
NETMASK=255.255.255.240<br />
GATEWAY=81.162.149.177<br />
TYPE=Ethernet<br />
</code><br />
route-eth2<br />
<code><br />
default via 81.162.157.1 table DF<br />
</code></p>
<p>route-eth2:0<br />
<code><br />
default via 81.162.149.177 table NX<br />
</code></p>
<p>rule-eth2<br />
<code><br />
from  81.162.157.165 lookup DF<br />
</code></p>
<p>rule-eth2:0<br />
<code><br />
from  81.162.149.189 lookup NX<br />
</code></p>
<p>That&#8217;s it. Of course you have to replace the addresses 81.162.149.189/28 and 81.162.157.165/24 with yours. I used dummy addresses in the examples above. Good luck.</p>
<p>And do not forget to backup before:<br />
<code>cd /source/dir<br />
tar -cf - . | ( cd /destination/dir ; tar -xpvf - )</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2008/11/21/dual-home-with-red-hat-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Option Icon 72 under Linux</title>
		<link>http://tech.zlabinger.at/2007/12/09/option-icon-72-under-linux/</link>
		<comments>http://tech.zlabinger.at/2007/12/09/option-icon-72-under-linux/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 23:03:27 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/2007/12/09/option-icon72-under-linux/</guid>
		<description><![CDATA[The Drei &#8220;Internet to go&#8221; mobile broadband prepaid-package comes with an Option Icon72 USB modem. The original driver supports MS Windows, but of course, running it under Linux is much more interesting.

The Option Icon72 (GTM378) is an UMTS-modem with an USB interface. It is very similar to the popular Huawei E220 modem. The difficult part [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.drei.at" title="H3G Austria" target="_blank">Drei</a> &#8220;Internet to go&#8221; mobile broadband prepaid-package comes with an Option Icon72 USB modem. The original driver supports MS Windows, but of course, running it under Linux is much more interesting.</p>
<p><span id="more-37"></span><img src="https://www.zlabinger.at/blog/wp-content/uploads/2007/12/option-icon72.gif" alt="Option Icon 72" /><br />
The Option Icon72 (GTM378) is an UMTS-modem with an USB interface. It is very similar to the popular Huawei E220 modem. The difficult part is to switch this modem from mass-storage mode (Windows driver) to the USB-serial mode. There is a tool for the old Option 3,6 MBit-box called &#8220;icon_switch&#8221; written by <a href="http://www.draisberghof.de/" target="_blank" title="Homepage of Josua Dietze">Josua Dietze</a>. Unfortunately the newer Icon72  uses different initialization commands. A newer and more flexible &#8211; tool &#8220;<a href="http://www.draisberghof.de/usb_modeswitch/" title="Homepage of USB_modeswitch" target="_blank">USB_modeswitch</a>&#8221; written by the same author includes a configuration file for the Icon72 but that configuration did not work with my Icon72 (firmware version 2.2.0Hd, Date: Apr 13 2007, Time: 12:09:19).</p>
<p>By sniffing the USB communication under Windows using &#8220;<a href="http://www.pcausa.com/Utilities/UsbSnoop/default.htm" title="Homepage of SniffUSB, a Windows USB sniffer" target="_blank">SniffUSB</a>&#8221; I found a number of commands sent to the device. Sending the same sequence allowed me use the device under Linux. The result of my work was a modified version of icon_switch, I named it icon_switch72 which supports switching the Option Icon72 into modem-mode.</p>
<p><strong>Download: <a href="http://www.zlabinger.at/blog/wp-content/uploads/2007/12/icon_switch72.c" title="Source Code for icon_switch72">icon_switch72.c</a></strong> (static binary: <a href="http://www.zlabinger.at/blog/wp-content/uploads/2007/12/icon_switch72static.zip" id="p42">icon_switch72static</a>)</p>
<p>For the rest (how to compile and how to configure ppp) I basically refer to the <a href="http://wwwu.uni-klu.ac.at/agebhard/GlobeSurfer/index.html" title="Homepage of icon_switch" target="_blank">page of Alrecht Gebhard</a>, but:</p>
<ul>
<li>use <strong>icon_switch72</strong> instead of the original source file named icon_switch</li>
<li>modprobe usbserial vendor=0&#215;0af0 product=<strong>0&#215;6901</strong></li>
<li>the modem requires a specific <strong><a href="https://www.zlabinger.at/blog/wp-content/uploads/2007/12/icon72init.txt" id="p40">init sequence</a> </strong>(again, result of sniffing &#8211; the <a href="https://www.zlabinger.at/blog/wp-content/uploads/2007/12/original-init-sequence.txt" id="p41">original sequence</a> was a bit longer)<strong><br />
</strong></li>
<li>to connect to Drei use the APN &#8220;<strong>drei.at</strong>&#8220;</li>
</ul>
<p>The whole solution is by far not as mature as the original Windows driver, in the original setup, a number of parameters are checked before the connection is set up, and also during the connection a second (and third?) serial port are used to control the quality and/or to send and receive SMS (under Linux this would require a different concept for the ppp daemon).</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2007/12/09/option-icon-72-under-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Renaming DigiCam Photos</title>
		<link>http://tech.zlabinger.at/2007/10/21/renaming-digicam-photos/</link>
		<comments>http://tech.zlabinger.at/2007/10/21/renaming-digicam-photos/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 12:52:22 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/2007/10/21/renaming-digicam-photos/</guid>
		<description><![CDATA[Exif infos can be used to rename photosÂ  For example, including the photos date and time into the filename helps to keep photos organized.
I use Irfanview to rename the files. My standard format is _-.jpg.

The Canon Powershot G2 and G6 cameras use the E306 (DateTime according to the Exif-specification) variable.

Note: &#8220;Replace text (2)&#8221; replaces space [...]]]></description>
			<content:encoded><![CDATA[<p>Exif infos can be used to rename photosÂ  For example, including the photos date and time into the filename helps to keep photos organized.</p>
<p>I use Irfanview to rename the files. My standard format is _-.jpg.</p>
<p><span id="more-33"></span></p>
<p>The Canon Powershot G2 and G6 cameras use the E306 (DateTime according to the Exif-specification) variable.</p>
<p><img src="http://www.zlabinger.at/blog/wp-content/uploads/2007/10/rename.gif" alt="Rename dialog in Irfanview" style="width: 406px;height: 394px" /></p>
<p>Note: &#8220;Replace text (2)&#8221; replaces space (not visible) with underline.<br />
The Olympus uD500 cam does not support this  variable, but in this case the same info can be found in E36867 (DateTimeOriginal).</p>
<p>If also this variable is missing (or there is no EXIF info at all), the date of the file ($T in Irfanview) can be used instead, but the output format is different.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2007/10/21/renaming-digicam-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto receive DVB-H in Vienna</title>
		<link>http://tech.zlabinger.at/2007/04/02/howto-receive-dvb-h-in-vienna/</link>
		<comments>http://tech.zlabinger.at/2007/04/02/howto-receive-dvb-h-in-vienna/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 19:51:13 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/2007/04/02/howto-receive-dvb-h-in-vienna/</guid>
		<description><![CDATA[At the time of writing there was an ongoing DVB-H trial in Vienna on UHF channel 36 (center frequency 594 MHz).

DVB-H is just a variant of DVB-T, so my idea was to use a DVB-T USB stick to receive DVB-H on my Linux-PC.

(1)
The first thing to do is get a working DVB-T configuration. This is [...]]]></description>
			<content:encoded><![CDATA[<p>At the time of writing there was an ongoing DVB-H trial in Vienna on UHF channel 36 (center frequency 594 MHz).</p>
<p><img src="https://www.zlabinger.at/blog//wp-content/uploads/2008/05/screenshot-vlc-media-player.png" alt="DVB-H screenshot" /><br />
DVB-H is just a variant of DVB-T, so my idea was to use a DVB-T USB stick to receive DVB-H on my Linux-PC.<br />
<span id="more-32"></span></p>
<p>(1)<br />
The first thing to do is get a working DVB-T configuration. This is rather straight forward as long as a device driver for Linux available. The biggest problem is get a working firmware. In my case I needed dvb-usb-wt220u-zl0353-01.fw for a Wideview stick (bought as &#8220;dnt Eurostick&#8221;).</p>
<p>(2)</p>
<p>Tune to the correct frequency. This is channel 36 (equivalent to a center frequency of 594 MHz). You can find a frequency table at<br />
<a title="http://www.zlabinger.at/tech/dvb/dvbchannels.html" href="http://www.zlabinger.at/tech/dvb/dvbchannels.html">http://www.zlabinger.at/tech/dvb/dvbchannels.html </a></p>
<p>dvbtune -f 594000<br />
Using DVB card &#8220;WideView USB DVB-T&#8221;<br />
tuning DVB-T (in United Kingdom) to 594000000 Hz<br />
polling&#8230;.<br />
Getting frontend event<br />
FE_STATUS:<br />
polling&#8230;.<br />
Getting frontend event<br />
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC<br />
Bit error rate: 0<br />
Signal strength: 13878<br />
SNR: 58082<br />
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC</p>
<p>(3)</p>
<p>Next is to scan for interesting PIDs:<br />
# scan -c<br />
using &#8216;/dev/dvb/adapter0/frontend0&#8242; and &#8216;/dev/dvb/adapter0/demux0&#8242;<br />
0&#215;0000 0&#215;2bbb: pmt_pid 0&#215;00c8 OpenMux &#8212; Int Table (running)<br />
0&#215;0000 0&#215;2b8e: pmt_pid 0&#215;00b4 OpenMux IP Gateway &#8212; ORF1 (running)<br />
0&#215;0000 0&#215;2b8f: pmt_pid 0&#215;00b5 OpenMux IP Gateway &#8212; ORF2 (running)<br />
0&#215;0000 0&#215;2b90: pmt_pid 0&#215;00b6 OpenMux IP Gateway &#8212; ATV (running)<br />
0&#215;0000 0&#215;2b91: pmt_pid 0&#215;00b7 OpenMux IP Gateway &#8212; MTV-Mobilkom1 (running)<br />
0&#215;0000 0&#215;2b95: pmt_pid 0&#215;00bd OpenMux IP Gateway &#8212; OE3 (running)<br />
0&#215;0000 0&#215;2b96: pmt_pid 0&#215;00bf OpenMux IP Gateway &#8212; OE2W (running)<br />
0&#215;0000 0&#215;2b93: pmt_pid 0&#215;00b9 OpenMux IP Gateway &#8212; H3G1 (running)<br />
0&#215;0000 0&#215;2b94: pmt_pid 0&#215;00ba OpenMux IP Gateway &#8212; H3G2 (running)<br />
0&#215;0000 0&#215;2bbc: pmt_pid 0&#215;00c4 OpenMux IP Gateway &#8212; ESG ORS (running)<br />
0&#215;0000 0&#215;2b97: pmt_pid 0&#215;00c0 OpenMux IP Gateway &#8212; FM4 (running)<br />
0&#215;0000 0&#215;2ba2: pmt_pid 0&#215;00b8 OpenMux IP Gateway &#8212; ORF Mobil (running)<br />
dumping lists (12 services)<br />
Int Table                (0&#215;2bbb) 80:<br />
ORF1                     (0&#215;2b8e) 0c:<br />
ORF2                     (0&#215;2b8f) 0c:<br />
ATV                      (0&#215;2b90) 0c:<br />
MTV-Mobilkom1            (0&#215;2b91) 0c:<br />
OE3                      (0&#215;2b95) 0c:<br />
OE2W                     (0&#215;2b96) 0c:<br />
H3G1                     (0&#215;2b93) 0c:<br />
H3G2                     (0&#215;2b94) 0c:<br />
ESG ORS                  (0&#215;2bbc) 0c:<br />
FM4                      (0&#215;2b97) 0c:<br />
ORF Mobil                (0&#215;2ba2) 0c:<br />
Done.<br />
#</p>
<p>(4)</p>
<p>The same can be achieved with &#8220;dvbsnoop&#8221;:</p>
<p>dvbsnoop -s pidscan<br />
dvbsnoop V1.4.00 &#8212; http://dvbsnoop.sourceforge.net/</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Transponder PID-Scan&#8230;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
PID found:    0 (0&#215;0000)  [SECTION: Program Association Table (PAT)]<br />
PID found:   16 (0&#215;0010)  [SECTION: Network Information Table (NIT) - actual network]<br />
PID found:   17 (0&#215;0011)  [SECTION: Service Description Table (SDT) - actual transport stream]<br />
PID found:   20 (0&#215;0014)  [SECTION: Time Date Table (TDT)]<br />
PID found:   21 (0&#215;0015)  [SECTION: ITU-T Rec. H.222.0|ISO/IEC13818 reserved]<br />
PID found:  181 (0&#215;00b5)  [SECTION: Program Map Table (PMT)]<br />
PID found:  182 (0&#215;00b6)  [SECTION: Program Map Table (PMT)]<br />
PID found:  183 (0&#215;00b7)  [SECTION: Program Map Table (PMT)]<br />
PID found:  184 (0&#215;00b8)  [SECTION: Program Map Table (PMT)]<br />
PID found:  185 (0&#215;00b9)  [SECTION: Program Map Table (PMT)]<br />
PID found:  186 (0&#215;00ba)  [SECTION: Program Map Table (PMT)]<br />
PID found:  196 (0&#215;00c4)  [SECTION: Program Map Table (PMT)]<br />
PID found: 1200 (0&#215;04b0)  [SECTION: IP/MAC Notification Table (INT) [EN 301 192]]<br />
PID found: 8191 (0&#215;1fff)</p>
<p>(5)<br />
By scanning an arbitrary service the Elementary PID (the one the actual IP traffic is on) can be found:</p>
<p>&#8211; dvbsnoop -spiderpid 183<br />
dvbsnoop V1.4.00 &#8212; http://dvbsnoop.sourceforge.net/</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
SECT-Packet: 00000001   PID: 183 (0&#215;00b7), Length: 28 (0&#215;001c)<br />
Time received: Fri 2007-03-30  00:14:18.451<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
0000:  02 b0 19 2b 91 c1 00 00  ff ff f0 00 90 e4 74 f0   &#8230;+&#8230;&#8230;&#8230;.t.<br />
0010:  07 52 01 01 66 02 00 05  69 53 80 20               .R..f&#8230;iS.</p>
<p>PID:  183 (0&#215;00b7)<br />
Guess table from table id&#8230;<br />
PMT-decoding&#8230;.<br />
Table_ID: 2 (0&#215;02)  [= Program Map Table (PMT)]<br />
section_syntax_indicator: 1 (0&#215;01)<br />
(fixed &#8216;0&#8242;): 0 (0&#215;00)<br />
reserved_1: 3 (0&#215;03)<br />
Section_length: 25 (0&#215;0019)<br />
Program_number: 11153 (0&#215;2b91)<br />
reserved_2: 3 (0&#215;03)<br />
Version_number: 0 (0&#215;00)<br />
current_next_indicator: 1 (0&#215;01)  [= valid now]<br />
Section_number: 0 (0&#215;00)<br />
Last_Section_number: 0 (0&#215;00)<br />
reserved_3: 7 (0&#215;07)<br />
PCR PID: 8191 (0&#215;1fff)<br />
reserved_4: 15 (0&#215;0f)<br />
Program_info_length: 0 (0&#215;0000)</p>
<p>Stream_type loop:</p>
<p>Stream_type: 144 (0&#215;90)  [= User private]<br />
reserved_1: 7 (0&#215;07)<br />
Elementary_PID: 1140 (0&#215;0474)<br />
reserved_2: 15 (0&#215;0f)<br />
ES_info_length: 7 (0&#215;0007)</p>
<p>DVB-DescriptorTag: 82 (0&#215;52)  [= stream_identifier_descriptor]<br />
Descriptor_length: 1 (0&#215;01)<br />
component_tag: 1 (0&#215;01)</p>
<p>DVB-DescriptorTag: 102 (0&#215;66)  [= data_broadcast_id_descriptor]<br />
Descriptor_length: 2 (0&#215;02)<br />
Data_broadcast_ID: 5 (0&#215;0005)  [= Multi protocol encapsulation]</p>
<p>CRC: 1767079968 (0&#215;69538020)<br />
==========================================================</p>
<p>#</p>
<p>(6)</p>
<p>Now let us perform a test to see if that PID is actually present:</p>
<p>dvbsnoop -spiderpid 1140<br />
dvbsnoop V1.4.00 &#8212; http://dvbsnoop.sourceforge.net/</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
SECT-Packet: 00000001   PID: 1140 (0&#215;0474), Length: 996 (0&#215;03e4)<br />
Time received: Fri 2007-03-30  00:15:34.630<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
0000:  3e b3 e1 0d e1 c1 00 00  0c 80 00 00 45 00 03 d4   &gt;&#8230;&#8230;&#8230;..E&#8230;<br />
0010:  68 70 00 00 07 11 d3 96  ac 16 05 0d e1 e1 e1 0d   hp&#8230;&#8230;&#8230;&#8230;..<br />
0020:  c0 12 04 4c 03 c0 dd f5  80 e0 5a 1e fa b3 d3 8d   &#8230;L&#8230;&#8230;Z&#8230;..<br />
(&#8230;)  03d0:  8e 91 da df 06 f9 42 54  2c 90 bf 5e 2a 7f f7 c0   &#8230;&#8230;BT,..^*&#8230;<br />
03e0:  9c ee 8a fd                                        &#8230;.</p>
<p>PID:  1140 (0&#215;0474)<br />
Guess table from table id&#8230;<br />
DSM-CC DATAGRAM-decoding&#8230;.<br />
Table_ID: 62 (0&#215;3e)  [= DSM-CC - private data section  // DVB datagram]<br />
section_syntax_indicator: 1 (0&#215;01)<br />
private_indicator: 0 (0&#215;00)<br />
reserved_1: 3 (0&#215;03)<br />
Section_length: 993 (0&#215;03e1)<br />
MACaddrbyte/DevicdID 6: 13 (0&#215;0d)<br />
MACaddrbyte/DeviceID 5: 225 (0xe1)<br />
reserved_2: 3 (0&#215;03)<br />
payload_scrambling_control: 0 (0&#215;00)  [= unscrambled]<br />
address_scrambling_control: 0 (0&#215;00)  [= unscrambled]<br />
LLC_SNAP_flag: 0 (0&#215;00)<br />
current_next_indicator: 1 (0&#215;01)  [= valid now]<br />
Section_number: 0 (0&#215;00)<br />
Last_Section_number: 0 (0&#215;00)<br />
MACaddrbyte/DeviceID 4: 12 (0&#215;0c)<br />
MACaddrbyte/DeviceID 3: 128 (0&#215;80)<br />
MACaddrbyte/DeviceID 2: 0 (0&#215;00)<br />
MACaddrbyte/DeviceID 1: 0 (0&#215;00) =&gt; MAC-Address/DeviceID: 00:00:80:0c:e1:0d<br />
IP_datagram_bytes<br />
0000:  45 00 03 d4 68 70 00 00  07 11 d3 96 ac 16 05 0d   E&#8230;hp&#8230;&#8230;&#8230;.<br />
0010:  e1 e1 e1 0d c0 12 04 4c  03 c0 dd f5 80 e0 5a 1e   &#8230;&#8230;.L&#8230;&#8230;Z.<br />
(&#8230;)</p>
<p>(7)</p>
<p>Before we can create a network interface using this PID (to listen to FM4) we have get a description of the service, the so called SDP-file. This file can be found on PID 1200 [I forgot how I found this PID, possibly by guessing..]</p>
<p>dvbsnoop  -b 1201 &gt; pid1201.txt</p>
<p>In this file some XML structure can be found, somewhere in the middle there is the SDP for FM4:</p>
<p>v=0<br />
o=- 1284305069 1139040522 IN IP4 192.168.250.2<br />
s=realtimeaudio<br />
c=IN IP4 226.226.0.2<br />
a=control:*<br />
a=range:npt=0.0-<br />
a=ISMA-compliance:1,1.0,1<br />
a=mpeg4-iod: &#8220;data:application/mpeg4-iod;base64,AoEHAA///w///wN+AAFAYGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFTb0JLQUtmQXlRRDZBVUVEVUFWQUFZQUFBZ1RNQUFCdFlBR0VBQkVBQUNzUkFBQXJFUWdJQUFBQUFNPQQNAgUAAQAAAAAAAAAAAAYJAQAAAAAAAAAA&#8221;<br />
m=audio 9030 RTP/AVP 101<br />
b=AS:112<br />
a=rtpmap:101 mpeg4-generic/44100/2<br />
a=control:trackID=1000<br />
a=fmtp:101 streamtype=5; profile-level-id=15; bitrate=112000; config=1210; sizelength=13; indexlength=3; indexdeltalength=3; profile=1; mode=AAC-hbr<br />
a=mpeg4-esid:1000</p>
<p>(8)</p>
<p>So now it is time to create a network interface using this PID:</p>
<p>dvbnet -p 1175</p>
<p>(9)</p>
<p>Next is to configure the network interface to promiscous mode (the destionation MAC should be ff:ff:.. but is &#8220;abused&#8221; by the DVB-H standard to carry time-slicing information.<br />
ifconfig dvb0_0 10.11.12.13 promisc up</p>
<p>The IP address is without any meaning (to me), but it is mandatory for the next command to succeed.</p>
<p>(10)</p>
<p>route add -net 224.0.0.0/4 dev dvb0_0</p>
<p>This sets the default route for multicast traffic.<br />
(11)</p>
<p>vlc -vvv myservice.sdp</p>
<p>Not you should be able to listen. If not &#8211; maybe you need a different kernel. I succeded with Fedora core 6 and failed with Knoppix.</p>
<p>(12)</p>
<p>The default buffer value of 300ms in vlc is too short for the time slicing used in DVB-H. A value of 3000ms or more (10s) is suggested.</p>
<p><span class="q">With Input/Codecs -&gt; Access modules -&gt; UDP/RTP -&gt; Caching value set to 3000 ms, the errors you will notice otherwise will be gone.</span><br />
(13)</p>
<p>Good luck!</p>
<p>Update March 2008: In February 2008 the DVB-H trial ended. Soon after new 10-year-licenses were issued to a consortium around Media Broadcast. It is intended to start commercial operation in June (in time for the euro-2008 soccer-championships). But the new programming will probably be encrypted.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2007/04/02/howto-receive-dvb-h-in-vienna/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nokia E61 and VoIP with Asterisk</title>
		<link>http://tech.zlabinger.at/2007/03/09/nokia-e61-and-voip-with-asterisk/</link>
		<comments>http://tech.zlabinger.at/2007/03/09/nokia-e61-and-voip-with-asterisk/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 23:28:32 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/2007/03/09/nokia-e61-and-voip-with-asterisk/</guid>
		<description><![CDATA[You connecting flight is late. Ok, then let us kill time. First thing you need is a Nokia E61. The list of features sounds great, but when it gets to configure VoIP things become wearied.

First thing to do is to type *#0000#. If the result is 3 dot somethin you&#8217;re well off, else you can [...]]]></description>
			<content:encoded><![CDATA[<p>You connecting flight is late. Ok, then let us kill time. First thing you need is a Nokia E61. The list of features sounds great, but when it gets to configure VoIP things become wearied.</p>
<p><span id="more-31"></span></p>
<p>First thing to do is to type *#0000#. If the result is 3 dot somethin you&#8217;re well off, else you can only hope not to get 1.0610.04.04 (19-04-06). This is version 1 and the voip client there is more than broken.</p>
<p>So let me start with the bugs first:</p>
<ul>
<li>If there is no @ in the username, the phone will simply do nothing, no attempt to register at all. It just complains that it can&#8217;t get connected. If you need a realm anyway &#8211; or your provider ignores the realm &#8211; you&#8217;re well off, else: bad luck</li>
<li>The credentials have to be repeated in the &#8220;proxy&#8221; and &#8220;registry&#8221; section. But there the username is converted to lower case when being used for authentication &#8211; causing authentication to fail. So if your provider uses uppercase letters in the username &#8211; bad luck again.</li>
<li>There is no support for address translation, both ends of the voip call either need public IPs &#8211; or both need private IPs (for example when you connect to a local Asterisk box). If not &#8211; you guessed it: no luck again.</li>
</ul>
<p>The best thing to do would be to upgrade the phone. But there is a small problem: Your provider needs to authorize the new version first, so if you have a SIM-locked phone, chances are high that the outdated firmware you have is still the latest version available. Some people say that there is a backdoor to upgrade anyway, I didn&#8217;t try.<br />
Conclusion: You need a local Asterisk server and the username should only contain lower-case letters.</p>
<p>This is how to configure it:</p>
<ul>
<li>Make sure WLAN is working (use the web-browser to surf some pages)</li>
<li>Install Asterisk and verify if it works (use Xlite for this)</li>
<li>Configure a user containing only LOWERCASE letters</li>
<li>Profile name: blabla</li>
<li>Service profile: IETF (means SIP)</li>
<li>Default acces point: your neighbour&#8217;s WLAN <img src='http://tech.zlabinger.at/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li>Public username: sip:username@192.168.14.1  Don&#8217;t forget the realm. You really need it with version 1</li>
<li>Use Compression: No</li>
<li>Registration: &#8220;Always on&#8221; if you have two chargers &#8211; one at home and another one at your office &#8230;</li>
<li>Use security: No (Don&#8217;t know what this is, seems to be a Nokia-thing)</li>
</ul>
<blockquote><p>Proxy Server:</p></blockquote>
<ul>
<li>Proxy server address: sip:192.168.14.1 (do not use a domain name here, some people say that the DNS-client is broken too, it might be due to lack of support of SRV-records)</li>
<li>Realm: domain.tld</li>
<li>User name: username</li>
<li>Password: password</li>
<li>Allow loose routing: Yes (No idea what this would be good for)</li>
<li>Transport type: UDP (Asterisk does not support TCP)</li>
<li>Port: 5060 (default value)</li>
</ul>
<p>Registrar server: same settings as for the proxy</p>
<p>In Asterisk the default settings should be fine:</p>
<p>[username]</p>
<p>type=friend</p>
<p>username=username (lower case only)<br />
secret=password</p>
<p>qualify=yes</p>
<p>You missed your flight? Don&#8217;t blame me, blame N**** <img src='http://tech.zlabinger.at/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2007/03/09/nokia-e61-and-voip-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My photo-blogs</title>
		<link>http://tech.zlabinger.at/2007/01/14/my-photo-blogs/</link>
		<comments>http://tech.zlabinger.at/2007/01/14/my-photo-blogs/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 22:04:42 +0000</pubDate>
		<dc:creator>dietmar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.zlabinger.at/blog/2007/01/14/my-photo-blogs/</guid>
		<description><![CDATA[You can find photos taken with my Nokia N70 camera-phone at http://www.flickr.com/photos/zlabinger/ and photos taken with my Sony-Ericsson K800 at http://zlabinger.blogspot.com/ (old photos) and http://zlabinger2.blogspot.com (newer photos).
Dietmar
]]></description>
			<content:encoded><![CDATA[<p>You can find photos taken with my Nokia N70 camera-phone at <a target="_blank" href="http://www.flickr.com/photos/zlabinger/">http://www.flickr.com/photos/zlabinger/</a> and photos taken with my Sony-Ericsson K800 at <a target="_blank" href="http://zlabinger.blogspot.com/">http://zlabinger.blogspot.com/</a> (old photos) and <a href="http://zlabinger2.blogspot.com">http://zlabinger2.blogspot.com</a> (newer photos).<br />
Dietmar</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.zlabinger.at/2007/01/14/my-photo-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
