<?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/"
	>

<channel>
	<title>tiri technology blog</title>
	<atom:link href="http://tiri.li/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiri.li</link>
	<description>im web oder während unserer arbeit gefunden</description>
	<pubDate>Wed, 24 Jun 2009 19:43:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>xen gpg-key aktualisieren</title>
		<link>http://tiri.li/apt-key-add-xen-gpg-key-aktualisiern</link>
		<comments>http://tiri.li/apt-key-add-xen-gpg-key-aktualisiern#comments</comments>
		<pubDate>Wed, 24 Jun 2009 19:43:55 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[apt]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[update]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=165</guid>
		<description><![CDATA[Sofern beim apt-get update eine Fehlermeldung folgender Art
Reading package lists... Done
W: GPG error: http://updates.xensource.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 841D6D8DFE3F8BB2
W: You may want to run apt-get update to correct these problems
kommt, so sind die Schlüssel für das Debian XEN Repository zu aktualisieren.
Die Aktualisierung des [...]]]></description>
			<content:encoded><![CDATA[<p>Sofern beim <code>apt-get update</code> eine Fehlermeldung folgender Art<br />
<code>Reading package lists... Done<br />
W: GPG error: http://updates.xensource.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 841D6D8DFE3F8BB2<br />
W: You may want to run apt-get update to correct these problems</code><br />
kommt, so sind die Schlüssel für das Debian XEN Repository zu aktualisieren.</p>
<p>Die Aktualisierung des Keys ist durch<br />
<code>wget -q http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY -O- | apt-key add -</code><br />
möglich.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/apt-key-add-xen-gpg-key-aktualisiern/feed/</wfw:commentRss>
		</item>
		<item>
		<title>xen VM-Import &#8212; auch über Befehlszeile</title>
		<link>http://tiri.li/schneller-xen-vm-import-auch-via-befehlszeile</link>
		<comments>http://tiri.li/schneller-xen-vm-import-auch-via-befehlszeile#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:50:13 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[tools]]></category>

		<category><![CDATA[virtualisierung]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=158</guid>
		<description><![CDATA[Eine exportierte xva-Datei ist schnell auf einem anderen System wieder nutzbar. Hierzu verwendet man den Befehl xe vm-import.
command name            : vm-import
        reqd params     : filename
        optional [...]]]></description>
			<content:encoded><![CDATA[<p>Eine exportierte xva-Datei ist schnell auf einem anderen System wieder nutzbar. Hierzu verwendet man den Befehl xe vm-import.<br />
<code>command name            : vm-import<br />
        reqd params     : filename<br />
        optional params : preserve, sr-uuid, force<br />
        description     : Import a VM. If the option preserve=true is given then as many settings as possible are restored, including VIF MAC addresses. The default is to regenerate VIF MAC addresses. The VDIs will be imported into the Pool's default SR unless an override is provided. If the force option is given then any disk data checksum failures will be ignored.<br />
</code><br />
Z.B. <code><br />
[root@xen213 xvavg]# time xe vm-import filename=017-otrs.xva preserve=true<br />
4d004962-9536-1233-7511-4db3369d72e1</p>
<p>real    3m57.150s<br />
user    0m1.320s<br />
sys     0m3.770s<br />
</code><br />
Jetzt sind noch die Netzwerkeinstellungen (virtueller Switch) zu überprüfen und die Maschine hat ihren neuen Wirt gefunden.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/schneller-xen-vm-import-auch-via-befehlszeile/feed/</wfw:commentRss>
		</item>
		<item>
		<title>xen VM-Export &#8212; Commandline ist am schnellsten</title>
		<link>http://tiri.li/schneller-xen-export-vm-in-xva</link>
		<comments>http://tiri.li/schneller-xen-export-vm-in-xva#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:33:45 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[export]]></category>

		<category><![CDATA[tools]]></category>

		<category><![CDATA[tricks]]></category>

		<category><![CDATA[virtualisierung]]></category>

		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=151</guid>
		<description><![CDATA[Ein Export einer XEN-VM über das XEN-Center dauert eine erhebliche Zeit, wobei nicht nachvollziehbar ist, wo diese verschenkt wird. Daher ist es empfehlenswert, den Export in eine .xva-Datei über die Befehlszeile auf ein Netzlaufwerk, lokale Platte oder USB-Disk vorzunehmen.]]></description>
			<content:encoded><![CDATA[<p>Ein Export einer XEN-VM über das XEN-Center dauert eine erhebliche Zeit, wobei nicht nachvollziehbar ist, wo diese verschenkt wird. Daher ist es empfehlenswert, den Export in eine .xva-Datei über die Befehlszeile auf ein Netzlaufwerk, lokale Platte oder USB-Disk vorzunehmen.</p>
<p>Anzeige aller VMs, die exportiert werden könnten (status: halted)</p>
<p><code>xe vm-list params=all power-state=halted<br />
</code></p>
<p>Wichtig ist für uns der vm-name bzw. die uuid. Jetzt können wir den Export starten.</p>
<p><code><br />
[root@xen211 ~]# time xe vm-export filename=/tmp/export/017-otrs.xva vm=09faa5ff-ceea-1234-e02e-97cae69878d5<br />
Export succeeded</code><br />
<code>real    7m30.623s<br />
user    0m1.310s<br />
sys     0m12.590s<br />
[root@xen211 ~]# ls -Al /tmp/export/017-otrs.xva<br />
-rwxr-xr-x 1 root root 4234127360 Jun 24 20:28 /tmp/export/017-otrs.xva<br />
</code></p>
<p>Sofern die Maschine nicht für den Export bereit ist, kommt eine entsprechende Meldung, z.B.<br />
<code>Another operation involving the object is currently in progress<br />
class: VM</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/schneller-xen-export-vm-in-xva/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reflashing TEW-652BRP</title>
		<link>http://tiri.li/2009/03/19/reflashing-tew-652brp/</link>
		<comments>http://tiri.li/2009/03/19/reflashing-tew-652brp/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 11:21:32 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[openwrt]]></category>

		<category><![CDATA[trendnet]]></category>

		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=147</guid>
		<description><![CDATA[Das &#8220;Zurückflashen&#8221; mit der Original-Firmware von Trendnet funktioniert innerhalb weniger Minuten aus der Befehlszeile des openwrt Systems.

12:15:01 eth0: negotiated 100baseTx-FD, link ok
12:16:21 eth0: no link
12:16:34 eth0: negotiated 100baseTx-FD, link ok
12:16:41 eth0: no link
12:16:43 eth0: negotiated 100baseTx-FD flow-control, link ok
64 bytes from 192.168.10.1: icmp_seq=112 ttl=64 time=1001 ms
64 bytes from 192.168.10.1: icmp_seq=113 ttl=64 time=0.279 ms

Um 12:15 Uhr [...]]]></description>
			<content:encoded><![CDATA[<p>Das &#8220;Zurückflashen&#8221; mit der Original-Firmware von Trendnet funktioniert innerhalb weniger Minuten aus der Befehlszeile des openwrt Systems.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">12:15:01 eth0: negotiated 100baseTx-FD, link ok
12:16:21 eth0: no link
12:16:34 eth0: negotiated 100baseTx-FD, link ok
12:16:41 eth0: no link
12:16:43 eth0: negotiated 100baseTx-FD flow-control, link ok
64 bytes from 192.168.10.1: icmp_seq=112 ttl=64 time=1001 ms
64 bytes from 192.168.10.1: icmp_seq=113 ttl=64 time=0.279 ms</pre></div></div>

<p>Um 12:15 Uhr haben wir das System mit der Original-Firmware betankt, zwei Minuten später ist das System komplett wieder verfügbar.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/tmp# wget http://192.168.1.11/fw110b08.bin
Connecting to 192.168.1.11 (192.168.1.11:80)
fw110b08.bin         100% |*******************************|  3776k --:--:-- ETA
root@OpenWrt:/tmp# md5sum fw110b08.bin
a0199c645cc6adc4eb48e0e1e131f73e  fw110b08.bin
root@OpenWrt:/tmp# mtd -r write fw110b08.bin firmware
Unlocking firmware ...
Writing from fw110b08.bin to firmware ...  [w]
Rebooting ...
Connection closed by foreign host.</pre></div></div>

</pre>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/2009/03/19/reflashing-tew-652brp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>openwrt und TrendNet TEW-652BRP</title>
		<link>http://tiri.li/2009/03/19/openwrt-und-trendnet-tew-652brp/</link>
		<comments>http://tiri.li/2009/03/19/openwrt-und-trendnet-tew-652brp/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 10:42:59 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[atheros]]></category>

		<category><![CDATA[openwrt]]></category>

		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=139</guid>
		<description><![CDATA[Erster Login nach dem Flashen mit Stephen Gutknechts Firmware r14786.

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------
&#160;
&#160;
BusyBox v1.11.3 (2009-03-08 05:47:50 CDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
&#160;
  _______    [...]]]></description>
			<content:encoded><![CDATA[<p>Erster Login nach dem Flashen mit Stephen Gutknechts Firmware r14786.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------
&nbsp;
&nbsp;
BusyBox v1.11.3 (2009-03-08 05:47:50 CDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
&nbsp;
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r14786) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------</pre></div></div>

<p><span id="more-139"></span></p>
<h2>uname</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# uname -a
Linux OpenWrt 2.6.28.7 #2 Sun Mar 8 05:59:30 CDT 2009 mips unknown</pre></div></div>

<h2>df</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    2.4M      2.4M         0 100% /
/dev/root                 2.4M      2.4M         0 100% /rom
tmpfs                    14.6M    108.0k     14.5M   1% /tmp
tmpfs                   512.0k         0    512.0k   0% /dev
mini_fo:/tmp/root         2.4M      2.4M         0 100% /tmp/root
/dev/mtdblock4          640.0k    208.0k    432.0k  33% /jffs
mini_fo:/jffs             2.4M      2.4M         0 100% /</pre></div></div>

<h2>CPU</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/cpuinfo
system type             : Atheros AR9130 rev 1 (id:0xb4)
machine                 : TRENDnet TEW-632BRP
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 266.24
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x08e0, 0x0f
fb, 0x0560]
ASEs implemented        : mips16
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available</pre></div></div>

<h2>memory</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/meminfo
MemTotal:          29840 kB
MemFree:           12804 kB
Buffers:            1336 kB
Cached:             4824 kB
SwapCached:            0 kB
Active:             3032 kB
Inactive:           4000 kB
Active(anon):        996 kB
Inactive(anon):        0 kB
Active(file):       2036 kB
Inactive(file):     4000 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:           888 kB
Mapped:              780 kB
Slab:               2784 kB
SReclaimable:        792 kB
SUnreclaim:         1992 kB
PageTables:          216 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       14920 kB
Committed_AS:       3108 kB
VmallocTotal:    1048404 kB
VmallocUsed:        1696 kB
VmallocChunk:    1038988 kB</pre></div></div>

<h2>Wireless</h2>
<p>root@OpenWrt:/# iwconfig<br />
lo        no wireless extensions.</p>
<p>eth0      no wireless extensions.</p>
<p>eth1      no wireless extensions.</p>
<p>br-lan    no wireless extensions.</p>
<p>wmaster0  no wireless extensions.</p>
<p>wlan0     IEEE 802.11bgn  ESSID:&#8221;"<br />
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated<br />
          Tx-Power=0 dBm<br />
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B<br />
          Encryption key:off<br />
          Power Management:off<br />
          Link Quality:0  Signal level:0  Noise level:0<br />
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0<br />
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0</p>
<p>ip6tnl0   no wireless extensions.</p>
<p>sit0      no wireless extensions.</p>
<p>root@OpenWrt:/# iw dev wlan0 station dump</p>
<p>root@OpenWrt:/# iwlist wlan0 scanning<br />
wlan0     Interface doesn&#8217;t support scanning : Network is down
</pre>
<p>OK, schauen wir uns mal die Konfiguration an</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">oot@OpenWrt:/# uci show wireless
wireless.wlan0=wifi-device
wireless.wlan0.type=mac80211
wireless.wlan0.channel=5
wireless.wlan0.disabled=1
wireless.@wifi-iface[0]=wifi-iface
wireless.@wifi-iface[0].device=wlan0
wireless.@wifi-iface[0].network=lan
wireless.@wifi-iface[0].mode=ap
wireless.@wifi-iface[0].ssid=OpenWrt
wireless.@wifi-iface[0].encryption=none</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# uci set wireless.wlan0.disabled=0
root@OpenWrt:/# dmesg
Linux version 2.6.28.7 (adminsag@ipcmedialinux1) (gcc version 4.1.2) #2 Sun Mar 8 05:59:30 CDT 2009
prom: fw_arg0=00000002, fw_arg1=8006040c, fw_arg2=00000000, fw_arg3=00000000
MyLoader: sysp=c4ddc6dc, boardp=ccc2ccc9, parts=8c4bcc8e
console [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR9130 rev 1 (id:0xb4), CPU:400.000 MHz, AHB:100.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -&gt; 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -&gt; 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 80277b10, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
  Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 init=/etc/preinit
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29708k/32768k available (1824k kernel code, 3060k reserved, 326k data, 132k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
net_namespace: 708 bytes
NET: Registered protocol family 16
MIPS: machine is TRENDnet TEW-632BRP
ar71xx: using random MAC address for eth0
ar71xx: using random MAC address for eth1
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Mar  8 2009 05:53:55 Installing.
msgmni has been set to 58
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console handover: boot [early0] -&gt; real [ttyS0]
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xb9000000, irq 4
eth0: connected to 4 PHYs
eth1: Atheros AG71xx at 0xba000000, irq 5
eth1: connected to PHY at 0:04 [uid=004dd042, driver=Generic PHY]
Atheros AR71xx SPI Controller driver version 0.2.2
m25p80 spi0.0: s25sl032a (4096 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x3e0000
Searching for RedBoot partition table in spi0.0 at offset 0x3f0000
No RedBoot partition table detected in spi0.0
Creating 6 MTD partitions on &quot;spi0.0&quot;:
0x00000000-0x00020000 : &quot;u-boot&quot;
0x00020000-0x00030000 : &quot;config&quot;
0x00030000-0x000f0000 : &quot;kernel&quot;
0x000f0000-0x003f0000 : &quot;rootfs&quot;
mtd: partition &quot;rootfs&quot; set to be root filesystem
mtd: partition &quot;rootfs_data&quot; created automatically, ofs=350000, len=A0000
0x00350000-0x003f0000 : &quot;rootfs_data&quot;
0x003f0000-0x00400000 : &quot;art&quot;
0x00030000-0x003f0000 : &quot;firmware&quot;
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=42)
TCP vegas registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear &lt;greearb@candelatech.com&gt;
All bugs added by David S. Miller &lt;davem@redhat.com&gt;
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
ar71xx: pll_reg 0xb8050014: 0x13000a44
eth0: link up (100Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
br-lan: port 1(eth0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth1: link is not ready
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
phy0: Selected rate control algorithm 'ath9k_rate_control'
phy0: Atheros AR9100 MAC/BB Rev:0, AR2122 RF Rev:a1, mem=0xb80c0000, irq=2
cfg80211: Calling CRDA for country: US
PPP generic driver version 2.4.2
ip6tnl0: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (512 buckets, 2048 max)
ip6_tables: (C) 2000-2006 Netfilter Core Team
gpio-buttons driver version 0.1.1
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... &lt;7&gt;br-lan: no IPv6 routers present
eth0: no IPv6 routers present
done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
ar71xx-wdt: enabling watchdog timer
&nbsp;
root@OpenWrt:/# wifi up
Configuration file: /var/run/hostapd-wlan0.conf
Using interface wlan0 with hwaddr 02:87:12:20:40:90 and ssid 'OpenWrt'
&nbsp;
root@OpenWrt:/# dmesg | tail
ar71xx-wdt: enabling watchdog timer
ADDRCONF(NETDEV_UP): wlan0: link is not ready
device wlan0 entered promiscuous mode
wlan0: deauthenticating by local choice (reason=3)
br-lan: port 2(wlan0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 2(wlan0) entering forwarding state
wlan0: no IPv6 routers present
root@OpenWrt:/#</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# iw list
Wiphy phy0
        Band 1:
                HT capabilities: 0x104e
                         * 20/40 MHz operation
                         * SM PS disabled
                         * 40 MHz short GI
                         * max A-MSDU len 3839
                         * DSSS/CCK 40 MHz
                HT A-MPDU factor: 0x0003 (65535 bytes)
                HT A-MPDU density: 0x0006 (8 usec)
                HT MCS set: ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
                Bitrates:
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
        Supported interface modes:
                 * IBSS
                 * Station
                 * AP
                 * AP(VLAN)
                 * Monitor</pre></div></div>

<p>Ein Client hat sich angemeldet. Erstaunlicherweise wird am Client eine wechselnde Übertragungsrate von 1M/24M/54Mbit gezeigt.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# iw dev wlan0 station dump
Station 00:14:d1:c6:ec:b4 (on wlan0)
        inactive time:  160 ms
        rx bytes:       9146
        tx bytes:       3248
        signal:         -25 dBm
        tx bitrate:     1.0 MBit/s</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Station 00:14:d1:c6:ec:b4 (on wlan0)
        inactive time:  1080 ms
        rx bytes:       24214
        tx bytes:       16469
        signal:         -25 dBm
        tx bitrate:     54.0 MBit/s</pre></div></div>

<h2>Packages</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/snapshots/ar71xx/packages/Packages.gz
Connecting to downloads.openwrt.org (195.56.146.238:80)
Packages.gz          100% |*******************************|   136k --:--:-- ETA
Inflating http://downloads.openwrt.org/snapshots/ar71xx/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/snapshots</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tiri.li/2009/03/19/openwrt-und-trendnet-tew-652brp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Customizing openWRT auf ASUS WL500gP</title>
		<link>http://tiri.li/wissen/openwrt/customizing-openwrt-on-asus-wl500gp</link>
		<comments>http://tiri.li/wissen/openwrt/customizing-openwrt-on-asus-wl500gp#comments</comments>
		<pubDate>Sun, 15 Mar 2009 21:59:55 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=118</guid>
		<description><![CDATA[Es ist sinnvoll, nach dem Flashen das System noch ein wenig zu erweitern&#8230; (und darauf zu achten, dass noch Platz auf /dev/mtdblock/4 bleibt&#8230;

root@asus500gp:~# export http_proxy=http://192.168.1.5:3128
root@asus500gp:~# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/Packages.gz
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
Packages.gz          100% &#124;**********************************************************************&#124;   132k --:--:-- ETA
Inflating http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/snapshots
root@asus500gp:~# opkg [...]]]></description>
			<content:encoded><![CDATA[<p>Es ist sinnvoll, nach dem Flashen das System noch ein wenig zu erweitern&#8230; (und darauf zu achten, dass noch Platz auf /dev/mtdblock/4 bleibt&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@asus500gp:~# export http_proxy=http://192.168.1.5:3128
root@asus500gp:~# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/Packages.gz
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
Packages.gz          100% |**********************************************************************|   132k --:--:-- ETA
Inflating http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/snapshots
root@asus500gp:~# opkg install wl
Installing wl (4.150.10.5.3-2) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./wl_4.150.10.5.3-2_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
wl_4.150.10.5.3-2_mi 100% |**********************************************************************| 70746  --:--:-- ETA
Configuring wl
root@asus500gp:~# opkg install nas
Package nas (4.150.10.5.3-2) installed in root is up to date.
root@asus500gp:~# opkg install kmod-usb-storage
Installing kmod-usb-storage (2.4.35.4-brcm-2.4-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./kmod-usb-storage_2.4.35.4-brcm-2.4-1_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
kmod-usb-storage_2.4 100% |**********************************************************************| 41140  --:--:-- ETA
Installing kmod-usb-core (2.4.35.4-brcm-2.4-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./kmod-usb-core_2.4.35.4-brcm-2.4-1_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
kmod-usb-core_2.4.35 100% |**********************************************************************| 46569  --:--:-- ETA
Installing kmod-scsi-core (2.4.35.4-brcm-2.4-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./kmod-scsi-core_2.4.35.4-brcm-2.4-1_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
kmod-scsi-core_2.4.3 100% |**********************************************************************| 55025  --:--:-- ETA
Configuring kmod-scsi-core
Configuring kmod-usb-core
Configuring kmod-usb-storage
root@asus500gp:~#</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@asus500gp:~# opkg install bash
Installing bash (3.2-2) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./bash_3.2-2_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
bash_3.2-2_mipsel.ip 100% |*******************************************************************************************************************|   303k --:--:-- ETA
Installing libncurses (5.6-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./libncurses_5.6-1_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
libncurses_5.6-1_mip 100% |*******************************************************************************************************************|   138k --:--:-- ETA
Configuring bash
Configuring libncurses</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@asus500gp:~# opkg install tinyproxy
Installing tinyproxy (1.6.4-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/./tinyproxy_1.6.4-1_mipsel.ipk
Connecting to 192.168.1.5:3128 (192.168.1.5:3128)
tinyproxy_1.6.4-1_mi 100% |*******************************************************************************************************************| 46807  --:--:-- ETA
Configuring tinyproxy</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@asus500gp:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.6M      1.6M         0 100% /
/dev/root                 1.6M      1.6M         0 100% /rom
tmpfs                    14.9M    716.0k     14.2M   5% /tmp
/dev/mtdblock/4           5.8M      1.2M      4.6M  20% /jffs
mini_fo:/jffs             1.6M      1.6M         0 100% /</pre></div></div>

<h2>Links</h2>
<ul>
<li><a href="http://forum.openwrt.org/viewtopic.php?id=19008">WL500W Mimo</a></li>
<li><a href="http://forum.openwrt.org/viewtopic.php?id=18577">130Mbit</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/wissen/openwrt/customizing-openwrt-on-asus-wl500gp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>openWRT auf ASUS WL500gP</title>
		<link>http://tiri.li/wissen/openwrt/openwrt-auf-asus-WL-500gP-Premium-Router</link>
		<comments>http://tiri.li/wissen/openwrt/openwrt-auf-asus-WL-500gP-Premium-Router#comments</comments>
		<pubDate>Sun, 15 Mar 2009 20:45:26 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[hardware]]></category>

		<category><![CDATA[hotspot]]></category>

		<category><![CDATA[modules]]></category>

		<category><![CDATA[openwrt]]></category>

		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=108</guid>
		<description><![CDATA[Heute habe ich einen Router von ASUS mit dem aktuellen openWRT 8.09 bestückt.
Die Vorgehensweise war folgendermaßen:
Flash-Skript
Um den Router bequem flashen zu können, kommt es auf Sekunden an. Daher habe ich ein Skript erstellt, welches das WRT-Image dann schnell via TFTP auf das System bringen kann.

#!/bin/sh
/sbin/arp -s 192.168.1.1 00:11:22:AA:BB:CC
/usr/bin/atftp --trace --verbose --local-file openwrt-brcm-2.4-squashfs.trx --remote-file openwrt-brcm-2.4-squashfs.trx --put [...]]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich einen Router von ASUS mit dem aktuellen <a href="http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/openwrt-brcm-2.4-squashfs.trx">openWRT 8.09</a> bestückt.</p>
<p>Die Vorgehensweise war folgendermaßen:</p>
<h2>Flash-Skript</h2>
<p>Um den Router bequem flashen zu können, kommt es auf Sekunden an. Daher habe ich ein Skript erstellt, welches das WRT-Image dann schnell via TFTP auf das System bringen kann.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>arp <span style="color: #660033;">-s</span> 192.168.1.1 00:<span style="color: #000000;">11</span>:<span style="color: #000000;">22</span>:AA:BB:CC
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>atftp <span style="color: #660033;">--trace</span> <span style="color: #660033;">--verbose</span> <span style="color: #660033;">--local-file</span> openwrt-brcm-<span style="color: #000000;">2.4</span>-squashfs.trx <span style="color: #660033;">--remote-file</span> openwrt-brcm-<span style="color: #000000;">2.4</span>-squashfs.trx <span style="color: #660033;">--put</span> 192.168.1.1</pre></div></div>

<h2>Los gehts</h2>
<p>Vorbereitungen auf der Konsole (als root)</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">( ping 192.168.1.1 2&gt;&amp;1 | grep -v &quot;Unreacheable&quot; ) &amp;
mii-tool -w &amp;</pre></div></div>

<p>Auf dem Router drücken wir die &#8220;EZ-Setup&#8221; Taste und schalten den Strom ein.<br />
Durch das mii-Tool können wir sofort sehen, wenn das System nach Stromgabe einen Link hat.<br />
Wenn der erste Ping antwortet, dann können wir mit dem Flashen beginnen, indem<br />
wir die EZ-Setup Taste loslassen und unser flash.sh Skript starten.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Trace mode on.
Verbose mode on.
sent WRQ &lt;file: openwrt-brcm-2.4-squashfs.trx, mode: octet &lt;&gt;&gt;
received ACK &lt;block: 0&gt;
sent DATA &lt;block: 1, size: 512&gt;
received ACK &lt;block: 1&gt;
sent DATA &lt;block: 2, size: 512&gt;
received ACK &lt;block: 2&gt;
...
sent DATA &lt;block: 4233, size: 512&gt;
received ACK &lt;block: 4233&gt;</pre></div></div>

<p>Jetzt noch ca. 5 Minuten warten und den Router booten.</p>
<h2>openWRT is alive</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1 (192.168.1.1).
Escape character is '^]'.
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------
&nbsp;
&nbsp;
BusyBox v1.11.2 (2009-01-06 07:18:07 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
&nbsp;
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (8.09, r14511) ----------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/#</pre></div></div>

<h3>cpuinfo</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/cpuinfo 
system type             : Broadcom BCM5354 chip rev 2
processor               : 0
cpu model               : BCM3302 V2.9
BogoMIPS                : 237.56
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
VCED exceptions         : not available
VCEI exceptions         : not available</pre></div></div>

<h3>free</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/meminfo 
        total:    used:    free:  shared: buffers:  cached:
Mem:  31285248 10735616 20549632        0  1236992  4132864
Swap:        0        0        0
MemTotal:        30552 kB
MemFree:         20068 kB
MemShared:           0 kB
Buffers:          1208 kB
Cached:           4036 kB
SwapCached:          0 kB
Active:           3292 kB
Inactive:         1976 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        30552 kB
LowFree:         20068 kB
SwapTotal:           0 kB
SwapFree:            0 kB</pre></div></div>

<h3>df</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"> df -h 
Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.6M      1.6M         0 100% /
/dev/root                 1.6M      1.6M         0 100% /rom
tmpfs                    14.9M    108.0k     14.8M   1% /tmp
mini_fo:/tmp/root         1.6M      1.6M         0 100% /tmp/root
/dev/mtdblock/4           5.8M    328.0k      5.5M   6% /jffs
mini_fo:/jffs             1.6M      1.6M         0 100% /</pre></div></div>

<h3>proc/net/&#8230;</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:   63971     890    0    0    0     0          0         0   277296    1130    0    0    0     0       0          0
eth0.0:   47837     889    0    0    0     0          0         0    90984     681    0    0    0     0       0          0
eth0.1:       0       0    0    0    0     0          0         0   181482     447    0    0    0     0       0          0
br-lan:   44281     889    0    0    0     0          0         0    88260     681    0    0    0     0       0          0
   wl0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
root@OpenWrt:/# cat /proc/net/wireless 
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 18
   wl0: 0000    5.    0.    0.       0      0      0      0      0        0</pre></div></div>

<h3>logread</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Feb  6 02:49:01 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
Feb  6 02:49:01 OpenWrt user.notice kernel: klogd started: BusyBox v1.11.2 (2009-01-06 07:18:07 CET)
Feb  6 02:49:01 OpenWrt user.warn kernel: CPU revision is: 00029029
Feb  6 02:49:01 OpenWrt user.warn kernel: Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Feb  6 02:49:01 OpenWrt user.warn kernel: Primary data cache 16kB, 2-way, linesize 16 bytes.
Feb  6 02:49:01 OpenWrt user.warn kernel: Linux version 2.4.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #51 Sat Feb 14 23:44:13 CET 2009
Feb  6 02:49:01 OpenWrt user.warn kernel: Setting the PFC to its default value
Feb  6 02:49:01 OpenWrt user.warn kernel: Determined physical RAM map:
Feb  6 02:49:01 OpenWrt user.warn kernel:  memory: 02000000 @ 00000000 (usable)
Feb  6 02:49:01 OpenWrt user.warn kernel: On node 0 totalpages: 8192
Feb  6 02:49:01 OpenWrt user.warn kernel: zone(0): 8192 pages.
Feb  6 02:49:01 OpenWrt user.warn kernel: zone(1): 0 pages.
Feb  6 02:49:01 OpenWrt user.warn kernel: zone(2): 0 pages.
Feb  6 02:49:01 OpenWrt user.warn kernel: Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Feb  6 02:49:01 OpenWrt user.warn kernel: CPU: BCM5354 rev 2 at 240 MHz
Feb  6 02:49:01 OpenWrt user.warn kernel: Using 120.000 MHz high precision timer.
Feb  6 02:49:01 OpenWrt user.warn kernel: Calibrating delay loop... 237.56 BogoMIPS
Feb  6 02:49:01 OpenWrt user.info kernel: Memory: 30468k/32768k available (1425k kernel code, 2300k reserved, 100k data, 84k init, 0k highmem)
Feb  6 02:49:01 OpenWrt user.info kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Feb  6 02:49:01 OpenWrt user.info kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Feb  6 02:49:01 OpenWrt user.info kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Feb  6 02:49:01 OpenWrt user.info kernel: Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Feb  6 02:49:01 OpenWrt user.warn kernel: Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Feb  6 02:49:01 OpenWrt user.warn kernel: Checking for 'wait' instruction...  unavailable.
Feb  6 02:49:01 OpenWrt user.warn kernel: POSIX conformance testing by UNIFIX
Feb  6 02:49:01 OpenWrt user.warn kernel: PCI: no core
Feb  6 02:49:01 OpenWrt user.warn kernel: PCI: Fixing up bus 0
Feb  6 02:49:01 OpenWrt user.info kernel: Linux NET4.0 for Linux 2.4
Feb  6 02:49:01 OpenWrt user.info kernel: Based upon Swansea University Computer Society NET3.039
Feb  6 02:49:01 OpenWrt user.warn kernel: Initializing RT netlink socket
Feb  6 02:49:01 OpenWrt user.warn kernel: Starting kswapd
Feb  6 02:49:01 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Feb  6 02:49:01 OpenWrt user.info kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Feb  6 02:49:01 OpenWrt user.info kernel: devfs: boot_options: 0x1
Feb  6 02:49:01 OpenWrt user.notice kernel: JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Feb  6 02:49:01 OpenWrt user.info kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
Feb  6 02:49:01 OpenWrt user.warn kernel: pty: 256 Unix98 ptys configured
Feb  6 02:49:01 OpenWrt user.info kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Feb  6 02:49:01 OpenWrt user.info kernel: ttyS00 at 0xb8000300 (irq = 3) is a 16550A
Feb  6 02:49:01 OpenWrt user.info kernel: ttyS01 at 0xb8000400 (irq = 3) is a 16550A
Feb  6 02:49:01 OpenWrt user.info kernel: b44.c:v0.93 (Mar, 2004)
Feb  6 02:49:01 OpenWrt user.debug kernel: PCI: Setting latency timer of device 00:01.0 to 64
Feb  6 02:49:01 OpenWrt user.info kernel: eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1f:c6:69:b0:d3
Feb  6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Feb  6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Feb  6 02:49:01 OpenWrt user.debug kernel: Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Feb  6 02:49:01 OpenWrt user.notice kernel:  Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Feb  6 02:49:01 OpenWrt user.notice kernel: number of CFI chips: 1
Feb  6 02:49:01 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Feb  6 02:49:01 OpenWrt user.notice kernel: Flash device: 0x800000 at 0x1c000000
Feb  6 02:49:01 OpenWrt user.notice kernel: bootloader size: 131072
Feb  6 02:49:01 OpenWrt user.info kernel: Physically mapped flash: Filesystem type: squashfs, size=0x1814cb
Feb  6 02:49:01 OpenWrt user.warn kernel: Updating TRX offsets and length:
Feb  6 02:49:01 OpenWrt user.warn kernel: old trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00211000 crc32=0x13a80633
Feb  6 02:49:01 OpenWrt user.warn kernel: new trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00200000 crc32=0x6ed94e69
Feb  6 02:49:01 OpenWrt user.warn kernel: Done
Feb  6 02:49:01 OpenWrt user.notice kernel: Creating 5 MTD partitions on &quot;Physically mapped flash&quot;:
Feb  6 02:49:01 OpenWrt user.notice kernel: 0x00000000-0x00020000 : &quot;cfe&quot;
Feb  6 02:49:01 OpenWrt user.notice kernel: 0x00020000-0x007f0000 : &quot;linux&quot;
Feb  6 02:49:01 OpenWrt user.notice kernel: 0x0009b000-0x00220000 : &quot;rootfs&quot;
Feb  6 02:49:01 OpenWrt user.warn kernel: mtd: partition &quot;rootfs&quot; doesn't start on an erase block boundary -- force read-only
Feb  6 02:49:01 OpenWrt user.notice kernel: 0x007f0000-0x00800000 : &quot;nvram&quot;
Feb  6 02:49:01 OpenWrt user.notice kernel: 0x00220000-0x007f0000 : &quot;rootfs_data&quot;
Feb  6 02:49:01 OpenWrt user.info kernel: Initializing Cryptographic API
Feb  6 02:49:01 OpenWrt user.info kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Feb  6 02:49:01 OpenWrt user.info kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Feb  6 02:49:01 OpenWrt user.info kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Feb  6 02:49:01 OpenWrt user.info kernel: TCP: Hash tables configured (established 2048 bind 4096)
Feb  6 02:49:01 OpenWrt user.info kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Feb  6 02:49:01 OpenWrt user.info kernel: NET4: Ethernet Bridge 008 for NET4.0
Feb  6 02:49:01 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear &lt;greearb@candelatech.com&gt;
Feb  6 02:49:01 OpenWrt user.info kernel: All bugs added by David S. Miller &lt;davem@redhat.com&gt;
Feb  6 02:49:01 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Feb  6 02:49:01 OpenWrt user.info kernel: Mounted devfs on /dev
Feb  6 02:49:01 OpenWrt user.info kernel: Freeing unused kernel memory: 84k freed
Feb  6 02:49:01 OpenWrt user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Feb  6 02:49:01 OpenWrt user.warn kernel: diag: Detected 'ASUS WL-500g Premium V2'
Feb  6 02:49:01 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb  6 02:49:01 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb  6 02:49:01 OpenWrt user.info kernel: roboswitch: Probing device eth0: found!
Feb  6 02:49:01 OpenWrt user.info kernel: mini_fo: using base directory: /
Feb  6 02:49:01 OpenWrt user.info kernel: mini_fo: using storage directory: /tmp/root
Feb  6 02:49:01 OpenWrt user.warn kernel: jffs2.bbc: SIZE compression mode activated.
Feb  6 02:49:03 OpenWrt user.info kernel: b44: eth0: Link is up at 100 Mbps, full duplex.
Feb  6 02:49:03 OpenWrt user.info kernel: b44: eth0: Flow control is off for TX and off for RX.
Feb  6 02:49:04 OpenWrt user.debug kernel: eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:04 OpenWrt user.info kernel: eth0.0: dev_set_promiscuity(master, 1)
Feb  6 02:49:04 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Feb  6 02:49:04 OpenWrt user.info kernel: device eth0.0 entered promiscuous mode
Feb  6 02:49:04 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb  6 02:49:04 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb  6 02:49:04 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb  6 02:49:04 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:05 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
Feb  6 02:49:05 OpenWrt user.debug kernel: eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
Feb  6 02:49:05 OpenWrt user.debug kernel: eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
Feb  6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering disabled state
Feb  6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering learning state
Feb  6 02:49:06 OpenWrt user.info kernel: br-lan: port 1(eth0.0) entering forwarding state
Feb  6 02:49:06 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Feb  6 02:49:07 OpenWrt user.debug kernel: PCI: Setting latency timer of device 00:05.0 to 64
Feb  6 02:49:07 OpenWrt user.emerg kernel: PCI/DMA
Feb  6 02:49:07 OpenWrt user.emerg kernel: wl0: wlc_attach: chiprev 2 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
Feb  6 02:49:07 OpenWrt user.warn kernel: wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
Feb  6 02:49:07 OpenWrt user.info : Warning: loading wl will taint the kernel: non-GPL license - Proprietary
Feb  6 02:49:07 OpenWrt user.info :   See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Feb  6 02:49:07 OpenWrt user.info kernel: CSLIP: code copyright 1989 Regents of the University of California
Feb  6 02:49:07 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Feb  6 02:49:08 OpenWrt user.warn kernel: ip_tables: (C) 2000-2002 Netfilter core team
Feb  6 02:49:09 OpenWrt user.warn kernel: ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
Feb  6 02:49:10 OpenWrt user.info : 'wl0' is disabled
Feb  6 02:49:10 OpenWrt user.info : 'wl0' is disabled
Feb  6 02:49:11 OpenWrt user.info : Loading defaults
Feb  6 02:49:11 OpenWrt user.info : Loading synflood protection
Feb  6 02:49:11 OpenWrt user.info : Adding custom chains
Feb  6 02:49:12 OpenWrt user.info : Loading zones
Feb  6 02:49:12 OpenWrt user.info : Loading rules
Feb  6 02:49:12 OpenWrt user.info : Loading forwarding
Feb  6 02:49:13 OpenWrt user.info : Loading redirects
Feb  6 02:49:13 OpenWrt user.info : Loading includes
Feb  6 02:49:13 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: started, version 2.46 cachesize 150
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: compile time options: IPv6 GNU-getopt no-DBus no-I18N TFTP
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: using local addresses only for domain lan
Feb  6 02:49:19 OpenWrt daemon.warn dnsmasq[570]: no servers found in /tmp/resolv.conf.auto, will retry
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: read /etc/hosts - 1 addresses
Feb  6 02:49:19 OpenWrt daemon.info dnsmasq[570]: read /etc/ethers - 0 addresses
Feb  6 02:49:20 OpenWrt user.warn kernel: jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
Feb  6 02:49:20 OpenWrt user.warn kernel: jffs2_build_filesystem(): unlocking the mtd device... done.
Feb  6 02:49:20 OpenWrt user.warn kernel: jffs2_build_filesystem(): erasing all blocks after the end marker... 
Feb  6 02:50:04 OpenWrt user.info kernel: done.
Feb  6 02:50:04 OpenWrt user.info : copying files ... done
Feb  6 02:50:04 OpenWrt user.info kernel: mini_fo: using base directory: /
Feb  6 02:50:04 OpenWrt user.info kernel: mini_fo: using storage directory: /jffs
Feb  6 02:50:16 OpenWrt authpriv.info dropbear[625]: Running in background</pre></div></div>

<h3>dmesg</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">CPU revision is: 00029029
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.35.4 (nbd@baustelle) (gcc version 3.4.6 (OpenWrt-2.0)) #51 Sat Feb 14 23:44:13 CET 2009
Setting the PFC to its default value
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 30468k/32768k available (1425k kernel code, 2300k reserved, 100k data, 84k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:1f:c6:69:b0:d3
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x1814cb
Updating TRX offsets and length:
old trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00211000 crc32=0x13a80633
new trx = [0x0000001c, 0x00000904, 0x0007b000], len=0x00200000 crc32=0x6ed94e69
Done
Creating 5 MTD partitions on &quot;Physically mapped flash&quot;:
0x00000000-0x00020000 : &quot;cfe&quot;
0x00020000-0x007f0000 : &quot;linux&quot;
0x0009b000-0x00220000 : &quot;rootfs&quot;
mtd: partition &quot;rootfs&quot; doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : &quot;nvram&quot;
0x00220000-0x007f0000 : &quot;rootfs_data&quot;
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear &lt;greearb@candelatech.com&gt;
All bugs added by David S. Miller &lt;davem@redhat.com&gt;
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium V2'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found!
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
eth0.0: add 01:00:5e:00:00:01 mcast address to master interface
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
eth0.1: del 01:00:5e:00:00:01 mcast address from vlan interface
eth0.1: del 01:00:5e:00:00:01 mcast address from master interface
eth0.1: add 01:00:5e:00:00:01 mcast address to master interface
br-lan: port 1(eth0.0) entering disabled state
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
PCI: Setting latency timer of device 00:05.0 to 64
PCI/DMA
wl0: wlc_attach: chiprev 2 coreunit 0 corerev 13 cccap 0x104007ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
device wl0 entered promiscuous mode
wl0: attempt to add interface with same source address.</pre></div></div>

<h3>modules</h3>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@asus500gp:~# lsmod 
Module                  Size  Used by    Tainted: P  
wlcompat                9504   0 (unused)
ip_conntrack_tftp       1724   0 (unused)
ip_nat_irc              2360   0 (unused)
ip_conntrack_irc        3140   1
ip_nat_ftp              2984   0 (unused)
ip_conntrack_ftp        4284   1
ipt_MASQUERADE          1316   1
iptable_nat            21000   3 [ip_nat_irc ip_nat_ftp ipt_MASQUERADE]
ipt_state                408   6
ip_conntrack           22640   3 [ip_conntrack_tftp ip_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp ipt_MASQUERADE iptable_nat ipt_state]
ipt_REJECT              3932   2
ipt_TCPMSS              2316   1
ipt_LOG                 3804   0 (unused)
ipt_multiport            748   0 (unused)
ipt_mac                  556   0 (unused)
ipt_limit                892   1
iptable_mangle          2156   0 (unused)
iptable_filter          1676   1
ip_tables              16960  13 [ipt_MASQUERADE iptable_nat ipt_state ipt_REJECT ipt_TCPMSS ipt_LOG ipt_multiport ipt_mac ipt_limit iptable_mangle iptable_filter]
ppp_async               8044   0 (unused)
ppp_generic            22380   0 [ppp_async]
slhc                    6064   0 [ppp_generic]
wl                    666560   0 (unused)
switch-robo             5084   0 (unused)
switch-core             5104   0 [switch-robo]
diag                   48752   0 (unused)</pre></div></div>

<h2>Wireless</h2>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# wifi
'wl0' is disabled
'wl0' is disabled</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# uci set wireless.wl0.disabled=0
root@OpenWrt:/# uci commit wireless
root@OpenWrt:/# wifi</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# cat /proc/net/wireless 
Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 18
   wl0: 0000    5.    0.  164.       0      0      0      0      0        0</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# iwconfig wl0
wl0       IEEE 802.11-DS  ESSID:&quot;OpenWrt&quot;  
          Mode:Master  Frequency:2.432 GHz  Access Point: 00:1F:C6:69:B0:D3   
          Bit Rate=54 Mb/s   Tx-Power:32 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Link Quality:5  Signal level:0  Noise level:164
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">root@OpenWrt:/# iwlist wl0 scanning
wl0       Scan completed :
          Cell 01 - Address: 00:1B:2F:73:29:64
                    ESSID:&quot;22845254&quot;
                    Mode:Managed
                    Channel:6
                    Quality:1/5  Signal level:-84 dBm  Noise level:-92 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 02 - Address: 00:17:9A:F7:22:A9
                    ESSID:&quot;Default&quot;
                    Mode:Managed
                    Channel:6
                    Quality:5/5  Signal level:-57 dBm  Noise level:-92 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 03 - Address: 00:1F:3F:0F:52:CD
                    ESSID:&quot;WLAN&quot;
                    Mode:Managed
                    Channel:9
                    Quality:5/5  Signal level:-50 dBm  Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s</pre></div></div>

<h2>Da geht die LuCI ab</h2>
<p>lynx http://192.168.1.1</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">                                                                                                        OpenWrt - LuCI
&nbsp;
   Skip to navigation Skip to content             
&nbsp;
OpenWrt Firmware
&nbsp;
   Kamikaze (r14417)
   Load: 0.08 0.02 0.01
   Hostname: OpenWrt
&nbsp;
Navigation
&nbsp;
     * Essentials
     * Administration
&nbsp;
Authorization Required
&nbsp;
   Please enter your username and password.
&nbsp;
   Username
   root________________
   Password
   ******______________
&nbsp;
   Login Reset
&nbsp;
   Powered by LuCI 0.8.6 Release (v0.8.6)</pre></div></div>

<h2>Customizing</h2>
<p>Siehe auch <a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Asus/WL500GP#head-46063d37905b1eeff794d9401450f86dcc2e7142">openWRT WIKI ASUS WL500gP</a> und <a href="http://downloads.openwrt.org/kamikaze/8.09/brcm-2.4/packages/">Packages</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">opkg update
opkg install wl
opkg install nas
opkg install kmod-usb-storage</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tiri.li/wissen/openwrt/openwrt-auf-asus-WL-500gP-Premium-Router/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XENserver export/import virtueller Maschinen</title>
		<link>http://tiri.li/2009/03/12/xenserver-exportimport-virtueller-maschinen/</link>
		<comments>http://tiri.li/2009/03/12/xenserver-exportimport-virtueller-maschinen/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 21:45:09 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[export]]></category>

		<category><![CDATA[import]]></category>

		<category><![CDATA[recovery]]></category>

		<category><![CDATA[xen]]></category>

		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=97</guid>
		<description><![CDATA[
time xe vm-export vm=742ba99e-5f8b-b29d-e5a4-2f0e647838cb filename=/data/xtradius.xvm

In ca. 5 minuten ist er mit 4GB fertig.
Was macht XENserver da ? Es erstellt ein Archiv mit allen Daten der VM.

[root@xen211 data]# file xtradius.xvm 
xtradius.xvm: tar archive
[root@xen211 data]# tar tvf xtradius.xvm
---------- 0/0           73769 1970-01-01 01:00:00 ova.xml
---------- 0/0    [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">time xe vm-export vm=742ba99e-5f8b-b29d-e5a4-2f0e647838cb filename=/data/xtradius.xvm</pre></div></div>

<p>In ca. 5 minuten ist er mit 4GB fertig.<br />
Was macht XENserver da ? Es erstellt ein Archiv mit allen Daten der VM.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[root@xen211 data]# file xtradius.xvm 
xtradius.xvm: tar archive
[root@xen211 data]# tar tvf xtradius.xvm
---------- 0/0           73769 1970-01-01 01:00:00 ova.xml
---------- 0/0         1048576 1970-01-01 01:00:00 Ref:42/00000000
---------- 0/0              40 1970-01-01 01:00:00 Ref:42/00000000.checksum
---------- 0/0         1048576 1970-01-01 01:00:00 Ref:42/00000001
---------- 0/0              40 1970-01-01 01:00:00 Ref:42/00000001.checksum
---------- 0/0         1048576 1970-01-01 01:00:00 Ref:42/00000003
...</pre></div></div>

<p>Die ova.xml sieht ungefähr so aus:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>version<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>hostname<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>chocky-2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>date<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2009-01-30<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>product_version<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>5.0.0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>product_brand<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>XenServer<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>build_number<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>12527p<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>xapi_major<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>xapi_minor<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>export_vsn<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>objects<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>class<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VM<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>id<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:36<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>snapshot<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>uuid<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>742ba99e-5f8b-b29d-e5a4-2f0e647838cb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>allowed_operations<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>copy<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>clone<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>export<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>current_operations<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>OpaqueRef:3f0b3fc4-771d-a131-a254-27c6bcbe941f<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>export<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>power_state<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Halted<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>name_label<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>xtradius .178.14<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>name_description<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>user_version<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>is_a_template<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;boolean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/boolean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>suspend_VDI<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>OpaqueRef:NULL<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>resident_on<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>OpaqueRef:NULL<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>affinity<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>OpaqueRef:23f2b1c8-1a4d-324b-6e91-a98a091ac0de<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>memory_target<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>268435456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>memory_static_max<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>268435456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>memory_dynamic_max<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>268435456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>memory_dynamic_min<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>268435456<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>memory_static_min<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>16777216<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VCPUs_params<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VCPUs_max<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VCPUs_at_startup<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>actions_after_shutdown<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>destroy<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>actions_after_reboot<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>restart<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>actions_after_crash<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>restart<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>consoles<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VIFs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:37<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:39<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>VBDs<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:41<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:44<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Ref:45<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/data<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>crash_dumps<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;data</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
                      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/member<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...</pre></div></div>

<p>Die exportierte Maschine können wir jetzt mittels scp auf einen anderen XENserver bringen und dort<br />
importieren. Da wir eine identische Kopie wollen mit denselben MAC-Adressen, wird der Parameter &#8220;preserve&#8221; verwendet.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">xe vm-import filename=/data/xtradius.xvm preserve=true</pre></div></div>

<p>Nach ca. 20 Minuten ist die VM komplett verfügbar, taucht auch im XENcenter des neuen Hosts auf und<br />
kann gestartet und genutzt werden. Allerdings hat die Maschine nun eine neue UUID, weshalb man beim Skripten besser auf den Namen gehen sollte.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">xe vm-start name-label=&quot;xtradius .178.14&quot;</pre></div></div>

<p>Alternativ kann man import und start auch verknüpfen:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">xe vm-start uuid=$(xe vm-import filename=/data/xtradius.xvm preserve=true)</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tiri.li/2009/03/12/xenserver-exportimport-virtueller-maschinen/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Migration von einer XEN VM auf einen anderen Host</title>
		<link>http://tiri.li/2009/03/12/migration-von-einer-xen-vm-auf-einen-anderen-host/</link>
		<comments>http://tiri.li/2009/03/12/migration-von-einer-xen-vm-auf-einen-anderen-host/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 20:46:11 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[live-migration]]></category>

		<category><![CDATA[lvm]]></category>

		<category><![CDATA[migration]]></category>

		<category><![CDATA[recovery]]></category>

		<category><![CDATA[xen]]></category>

		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=90</guid>
		<description><![CDATA[Ziel ist es, hier eine Migration einer bestehenden VM auf einen anderen XEN-Server ohne Shared Storage vorzunehmen. Keine Live-Migration, sondern Offline, um die Integrität zu wahren.
Bestimmen der uuid unserer zu migrierenden Maschine und aller Parameter

[root@xen211 ~]# xe vm-list params=all uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb
uuid ( RO)              [...]]]></description>
			<content:encoded><![CDATA[<p>Ziel ist es, hier eine Migration einer bestehenden VM auf einen anderen XEN-Server ohne Shared Storage vorzunehmen. Keine Live-Migration, sondern Offline, um die Integrität zu wahren.</p>
<p><strong>Bestimmen der uuid unserer zu migrierenden Maschine und aller Parameter</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[root@xen211 ~]# xe vm-list params=all uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb
uuid ( RO)                          : 742ba99e-5f8b-b29d-e5a4-2f0e647838cb
                    name-label ( RW): xtradius .178.14
              name-description ( RW): 
                  user-version ( RW): 1
                 is-a-template ( RW): false
                 is-a-snapshot ( RO): false
                   snapshot_of ( RO): &lt;not in database&gt;
                     snapshots ( RO): 
                 snapshot_time ( RO): 19700101T00:00:00Z
             is-control-domain ( RO): false
                   power-state ( RO): running
                 memory-actual ( RO): 268435456
                 memory-target ( RO): 268435456
             memory-static-max ( RW): 268435456
            memory-dynamic-max ( RW): 268435456
            memory-dynamic-min ( RW): 268435456
             memory-static-min ( RW): 16777216
              suspend-VDI-uuid ( RO): &lt;not in database&gt;
                  VCPUs-params (MRW): 
                     VCPUs-max ( RW): 1
              VCPUs-at-startup ( RW): 1
        actions-after-shutdown ( RW): Destroy
          actions-after-reboot ( RW): Restart
           actions-after-crash ( RW): Restart
                 console-uuids (SRO): 1814bfe2-510e-bbc5-64f0-9100ac1f94d0
                      platform (MRW): nx: false; acpi: true; apic: true; pae: true; viridian: true
            allowed-operations (SRO): snapshot; pause; clean_shutdown; clean_reboot; hard_shutdown; hard_reboot; suspend; changing_VCPUs_live; pool_migrate
            current-operations (SRO): 
            blocked-operations (MRW): 
           allowed-VBD-devices (SRO): &lt;expensive field&gt;
           allowed-VIF-devices (SRO): &lt;expensive field&gt;
                possible-hosts ( RO): &lt;expensive field&gt;
               HVM-boot-policy ( RW): 
               HVM-boot-params (MRW): 
         HVM-shadow-multiplier ( RW): 1.000
                     PV-kernel ( RW): 
                    PV-ramdisk ( RW): 
                       PV-args ( RW): 
                PV-legacy-args ( RW): 
                 PV-bootloader ( RW): pygrub
            PV-bootloader-args ( RW): 
           last-boot-CPU-flags ( RO): 
              last-boot-record ( RO): &lt;expensive field&gt;
                   resident-on ( RO): 14b1b468-6294-4f7f-8af6-c7d5c5e86d63
                      affinity ( RW): 14b1b468-6294-4f7f-8af6-c7d5c5e86d63
                  other-config (MRW): last_shutdown_time: 20090311T11:44:01Z; last_shutdown_action: Destroy; last_shutdown_initiator: external; last_shutdown_reason: halted; linux_template: true; install-methods: ; mac_seed: fafd65c2-fa2a-7cbd-49e4-d2770a34fdf5
                        dom-id ( RO): 3
               recommendations ( RO): &lt;restrictions&gt;&lt;restriction field=&quot;memory-static-max&quot; max=&quot;34359738368&quot; /&gt;&lt;restriction field=&quot;vcpus-max&quot; max=&quot;8&quot; /&gt;&lt;restriction property=&quot;number-of-vbds&quot; max=&quot;7&quot; /&gt;&lt;restriction property=&quot;number-of-vifs&quot; max=&quot;7&quot; /&gt;&lt;/restrictions&gt;
                 xenstore-data (MRW): 
                 ha-always-run ( RW): false
           ha-restart-priority ( RW): 
                         blobs ( RO): 
                    start-time ( RO): 20090312T20:21:00Z
                  install-time ( RO): 20090130T20:36:09Z
                  VCPUs-number ( RO): 1
             VCPUs-utilisation (MRO): &lt;expensive field&gt;
                    os-version (MRO): name: Debian 5.0; uname: 2.6.18.8.xs5.0.0.10.439; distro: debian; major: 5; minor: 0
            PV-drivers-version (MRO): major: 5; minor: 0; micro: 0; build: 10918
         PV-drivers-up-to-date ( RO): true
                        memory (MRO): 
                         disks (MRO): 
                      networks (MRO): 0/ip: 192.168.178.14
                         other (MRO): 
                          live ( RO): true
    guest-metrics-last-updated ( RO): 20090312T20:21:07Z</pre></div></div>

<p><strong>Durchführen eines &#8220;Safe-Shutdown&#8221; unserer Virtuellen Maschine</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">xe vm-shutdown uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb</pre></div></div>

<p><strong>Herausfinden aller Virtual Disks der VM</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[root@xen211 ~]# xe vbd-list params=all vm-uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb
uuid ( RO)                        : 2af47033-2fc8-e377-d4c1-7b77a25833af
                     vm-uuid ( RO): 742ba99e-5f8b-b29d-e5a4-2f0e647838cb
               vm-name-label ( RO): xtradius .178.14
                    vdi-uuid ( RO): df44a238-b528-48be-b870-58bb73e217d3
              vdi-name-label ( RO): 1
          allowed-operations (SRO): pause; unpause; attach
          current-operations (SRO): 
                       empty ( RO): false
                      device ( RO): xvdb
                  userdevice ( RW): 1
                    bootable ( RW): false
                        mode ( RW): RW
                        type ( RW): Disk
                 unpluggable ( RW): false
          currently-attached ( RO): false
                  attachable ( RO): &lt;expensive field&gt;
                storage-lock ( RO): false
                 status-code ( RO): 0
               status-detail ( RO): 
          qos_algorithm_type ( RW): 
        qos_algorithm_params (MRW): 
    qos_supported_algorithms (SRO): 
                other-config (MRW): owner: 
                 io_read_kbs ( RO): &lt;expensive field&gt;
                io_write_kbs ( RO): &lt;expensive field&gt;
&nbsp;
&nbsp;
uuid ( RO)                        : 460b14ee-b566-d622-ed69-4ff765074b7b
                     vm-uuid ( RO): 742ba99e-5f8b-b29d-e5a4-2f0e647838cb
               vm-name-label ( RO): xtradius .178.14
                    vdi-uuid ( RO): &lt;not in database&gt;
              vdi-name-label ( RO): &lt;EMPTY&gt;
          allowed-operations (SRO): insert; pause; unpause; attach
          current-operations (SRO): 
                       empty ( RO): true
                      device ( RO): 
                  userdevice ( RW): 3
                    bootable ( RW): false
                        mode ( RW): RO
                        type ( RW): CD
                 unpluggable ( RW): false
          currently-attached ( RO): false
                  attachable ( RO): &lt;expensive field&gt;
                storage-lock ( RO): false
                 status-code ( RO): 0
               status-detail ( RO): 
          qos_algorithm_type ( RW): 
        qos_algorithm_params (MRW): 
    qos_supported_algorithms (SRO): 
                other-config (MRW): 
                 io_read_kbs ( RO): &lt;expensive field&gt;
                io_write_kbs ( RO): &lt;expensive field&gt;
&nbsp;
&nbsp;
uuid ( RO)                        : d4f56044-e7f3-17fb-9149-268fdd0fe302
                     vm-uuid ( RO): 742ba99e-5f8b-b29d-e5a4-2f0e647838cb
               vm-name-label ( RO): xtradius .178.14
                    vdi-uuid ( RO): 854c68ca-ce5c-4e02-8101-3dce30e847dd
              vdi-name-label ( RO): 0
          allowed-operations (SRO): pause; unpause; attach
          current-operations (SRO): 
                       empty ( RO): false
                      device ( RO): xvda
                  userdevice ( RW): 0
                    bootable ( RW): true
                        mode ( RW): RW
                        type ( RW): Disk
                 unpluggable ( RW): false
          currently-attached ( RO): false
                  attachable ( RO): &lt;expensive field&gt;
                storage-lock ( RO): false
                 status-code ( RO): 0
               status-detail ( RO): 
          qos_algorithm_type ( RW): 
        qos_algorithm_params (MRW): 
    qos_supported_algorithms (SRO): 
                other-config (MRW): owner: 
                 io_read_kbs ( RO): &lt;expensive field&gt;
                io_write_kbs ( RO): &lt;expensive field&gt;</pre></div></div>

<p>Für uns interessant sind alle Zeilen, die die vdi-uuid enthalten, und dort auch nur die, die in der Datenbank vorhanden sind, also auch im LVM sichtbar sind.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xe vbd-list <span style="color: #007800;">params</span>=vdi-uuid vm-uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'/[:alnum:]/ &amp;&amp; !/not in database/{print $NF}'</span></pre></div></div>

<p>Die zugehörigen LVs heißen dann</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">lvs | grep -E $(echo $(xe vbd-list params=vdi-uuid vm-uuid=742ba99e-5f8b-b29d-e5a4-2f0e647838cb | awk '/[:alnum:]/ &amp;&amp; !/not in database/{printf &quot;|%s&quot;,$NF}' | cut -c2-)) | awk '{print $1}'</pre></div></div>

<p>Soweit so gut. Jetzt müssen wir die virtuellen Platten noch exportieren, am besten auf unseren lokalen Storage (wenn auch NFS oder eine Pipe ebenfalls möglich wäre). Hierzu sollten wir (generell) eine lokale Datenpartition nutzen.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">lvcreate -n datalv -L 20G VG_XenStorage-fa726b3d-8ba1-dc56-e22a-2bec0b519663
mkfs.ext3 /dev/VG_XenStorage-fa726b3d-8ba1-dc56-e22a-2bec0b519663/datalv
tune2fs -c0 -i0 /dev/VG_XenStorage-fa726b3d-8ba1-dc56-e22a-2bec0b519663/datalv
mount /dev/VG_XenStorage-fa726b3d-8ba1-dc56-e22a-2bec0b519663/datalv /data</pre></div></div>

<p>Damit wir allerdings auf die LVs der virtuellen Maschinen überhaupt zugreifen können, müssen wir<br />
die VG erneut einlesen.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vgchange <span style="color: #660033;">-a</span> y</pre></div></div>

<p>Jetzt kann der Export stattfinden.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>VG_XenStorage-fa726b3d-8ba1-dc56-e22a-2bec0b519663<span style="color: #000000; font-weight: bold;">/</span>LV-854c68ca-ce5c-4e02-<span style="color: #000000;">8101</span>-3dce30e847dd <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>xtradius-4G.img <span style="color: #007800;">bs</span>=1M
<span style="color: #000000;">4096</span>+<span style="color: #000000;">0</span> records <span style="color: #000000; font-weight: bold;">in</span>
<span style="color: #000000;">4096</span>+<span style="color: #000000;">0</span> records out
<span style="color: #000000;">4294967296</span> bytes <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">4.3</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span> copied, <span style="color: #000000;">219.663</span> seconds, <span style="color: #000000;">19.6</span> MB<span style="color: #000000; font-weight: bold;">/</span>s</pre></div></div>

<p>Diesen bringen wir mittels scp auf den neuen Server (auf dem bereits eine datalv gemountet ist).<br />
Im Gigabit Netzwerk klappt das für unser 4GB Image in wenigen Minuten (ca 20-30MB/sec).</p>
<p>Auf der anderen Maschine erzeugen wir uns wieder eine VM in der wir die Images in die entsprechenden lokalen LVs hineinbringen.</p>
<p>Soweit EDV zu Fuß. Viel gelernt, viel Skripting, aber es geht auch einfacher mittels xe vm-export <img src='http://tiri.li/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> !</p>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/2009/03/12/migration-von-einer-xen-vm-auf-einen-anderen-host/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installation von WebSVN auf RHEL4.7</title>
		<link>http://tiri.li/websvn</link>
		<comments>http://tiri.li/websvn#comments</comments>
		<pubDate>Sun, 08 Mar 2009 20:50:32 +0000</pubDate>
		<dc:creator>tirili</dc:creator>
		
		<category><![CDATA[Wissen]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[webserver]]></category>

		<category><![CDATA[websvn]]></category>

		<guid isPermaLink="false">http://tiri.li/?p=81</guid>
		<description><![CDATA[Für WebSVN wird PHP benötigt.
Ich habe aktualisierte Pakete für httpd-2.2.10 und php-5.2.6 unter RHEL4.7 erstellt.
Installation

yum install php


=============================================================================
 Package                 Arch       Version          Repository    [...]]]></description>
			<content:encoded><![CDATA[<p>Für WebSVN wird PHP benötigt.<br />
Ich habe aktualisierte Pakete für httpd-2.2.10 und php-5.2.6 unter RHEL4.7 erstellt.</p>
<h2>Installation</h2>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 php                     x86_64     5.2.6-4tiri.4EL  tiri              3.9 M
Installing for dependencies:
 curl                    x86_64     7.12.1-11.el4    rhel4-u7          233 k
 libidn                  x86_64     0.5.6-1          rhel4-u7          171 k
 php-cli                 x86_64     5.2.6-4tiri.4EL  tiri              2.6 M
 php-common              x86_64     5.2.6-4tiri.4EL  tiri              489 k</pre></div></div>

<h2>WebSVN</h2>
<p>Systemvoraussetzungen prüfen: phpinfo:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">                                                                                                      phpinfo() (p9 of 17)
iconv
&nbsp;
   iconv support         enabled
   iconv implementation  glibc
   iconv library version 2.3.4
          Directive        Local Value Master Value
   iconv.input_encoding    ISO-8859-1  ISO-8859-1
   iconv.internal_encoding ISO-8859-1  ISO-8859-1
   iconv.output_encoding   ISO-8859-1  ISO-8859-1</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>html
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>websvn.tigris.org<span style="color: #000000; font-weight: bold;">/</span>files<span style="color: #000000; font-weight: bold;">/</span>documents<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1380</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">44451</span><span style="color: #000000; font-weight: bold;">/</span>websvn-2.1.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf websvn-2.1.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> apache.apache websvn-2.1.0
<span style="color: #c20cb9; font-weight: bold;">mv</span> websvn-2.1.0 websvn
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">777</span> websvn<span style="color: #000000; font-weight: bold;">/</span>cache</pre></div></div>

<p><strong>Konfiguration</strong></p>
<p>Um WebSVN zum laufen zu bringen, muss eine Minimalkonfiguration in include/config.php angelegt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000088;">$config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">useGeshi</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">parentPath</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/srv/subversion/repos&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setTemplatePath</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;./templates/calm/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Jetzt kann der Zugriff über <a href="http://tiri.li/websvn/">http://subversion-server/websvn/</a> erfolgen.</p>
]]></content:encoded>
			<wfw:commentRss>http://tiri.li/websvn/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
