<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Phuket Information Technology Blog &#187; linux</title>
	<atom:link href="http://www.phuket-data-wizards.com/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phuket-data-wizards.com/blog</link>
	<description>Thailand Data Recovery News, Phuket IT, Wired and Wireless Networks and other computer stuff</description>
	<lastBuildDate>Wed, 28 Sep 2011 12:24:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ZTE MF180 (AIS branded)</title>
		<link>http://www.phuket-data-wizards.com/blog/2011/08/31/zte-mf180-ais-branded/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2011/08/31/zte-mf180-ais-branded/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 06:21:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quality Control]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[ais]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mf180]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[zte]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=474</guid>
		<description><![CDATA[Just tested ZTE MF180 3G modem provided by AIS with our 3G  sharing wireless router. Download speed ~ 2.5 Mbps, upload ~ 400kbps (to Prince of Songkla University, Phuket). Works under Ubuntu Linux too.]]></description>
			<content:encoded><![CDATA[<p>Just tested <a href="http://www.zte.co.nz/main/MF180.htm">ZTE MF180</a> 3G modem provided by AIS with our 3G  sharing wireless router. Download speed ~ 2.5 Mbps, upload ~ 400kbps (to Prince of Songkla University, Phuket). Works under Ubuntu Linux too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2011/08/31/zte-mf180-ais-branded/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Matching Linux ata numbers to the device names</title>
		<link>http://www.phuket-data-wizards.com/blog/2011/07/16/matching-linux-ata-numbers-to-the-device-names/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2011/07/16/matching-linux-ata-numbers-to-the-device-names/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 11:13:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[ata]]></category>
		<category><![CDATA[device name]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raid recovery]]></category>
		<category><![CDATA[raid5]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=440</guid>
		<description><![CDATA[Many thanks to Dirk Tilger for the information on his blog. I am just providing the more manageable commands to type Recently we had to recover data from a 8-drive soft-RAID5 on Linux. It had 3 devices failed out of 8. 2 of the drives just had some bad sectors on them. The problem is, [...]]]></description>
			<content:encoded><![CDATA[<p>Many thanks to Dirk Tilger for the <a href="http://miriup.de/index.php?option=com_content&amp;view=article&amp;id=84%3Amapping-linux-kernel-ata-errors-to-a-device&amp;catid=8%3Alinux&amp;Itemid=25&amp;lang=en">information on his blog</a>. I am just providing the more manageable commands to type <img src='http://www.phuket-data-wizards.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Recently we had to recover data from a 8-drive soft-RAID5 on Linux. It had 3 devices failed out of 8. 2 of the drives just had some bad sectors on them. The problem is, the Linux kernel reports errors on the device as ata channel numbers, for example as &#8220;ata1.00&#8243;. All 8 drives were the same model, the serial number is not reported via dmesg, so how to know the device name (like /dev/sda) that is causing these error messages?</p>
<p>The command</p>
<pre>grep '[0-9]' /sys/class/scsi_host/host{0..9}/unique_id</pre>
<p>will provide output like this:</p>
<pre>/sys/class/scsi_host/<span style="color: #0000ff;">host0</span>/unique_id:<span style="color: #0000ff;">1</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host1</span>/unique_id:<span style="color: #0000ff;">2</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host2</span>/unique_id:<span style="color: #0000ff;">0</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host3</span>/unique_id:<span style="color: #0000ff;">0</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host4</span>/unique_id:<span style="color: #0000ff;">3</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host5</span>/unique_id:<span style="color: #0000ff;">4</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host6</span>/unique_id:<span style="color: #0000ff;">5</span>
/sys/class/scsi_host/<span style="color: #0000ff;">host7</span>/unique_id:<span style="color: #0000ff;">6</span></pre>
<p>so we can match the unique id used in kernel error messages to the host number. Then the command:</p>
<pre>ls -l /sys/block/sd*</pre>
<p>Will show us which device name belongs to which host number:</p>
<pre>/sys/block/sda -&gt; ../devices/pci0000:00/0000:00:13.2/usb1/1-6/1-6:1.0/host2/target2:0:0/2:0:0:0/block/sda
/sys/block/sdb -&gt; ../devices/pci0000:00/0000:00:13.2/usb1/1-8/1-8:1.0/host3/target3:0:0/3:0:0:0/block/sdb
/sys/block/sdc -&gt; ../devices/pci0000:00/0000:00:12.0/<span style="color: #0000ff;">host6</span>/target6:0:0/6:0:0:0/block/<span style="color: #0000ff;">sdc</span>
/sys/block/sdd -&gt; ../devices/pci0000:00/0000:00:13.2/usb1/1-8/1-8:1.0/host3/target3:0:0/3:0:0:1/block/sdd
/sys/block/sde -&gt; ../devices/pci0000:00/0000:00:13.2/usb1/1-8/1-8:1.0/host3/target3:0:0/3:0:0:2/block/sde
/sys/block/sdf -&gt; ../devices/pci0000:00/0000:00:13.2/usb1/1-8/1-8:1.0/host3/target3:0:0/3:0:0:3/block/sdf
/sys/block/sdg -&gt; ../devices/pci0000:00/0000:00:12.0/<span style="color: #0000ff;">host7</span>/target7:0:0/7:0:0:0/block/<span style="color: #0000ff;">sdg</span></pre>
<p>From these two outputs we can see that the unique id 6 maps to host7, and host7 maps to /dev/sdg. And finally, with the command:</p>
<pre>hdparm -i /dev/sdg</pre>
<pre>/dev/sdg:
 Model=ST3500418AS, FwRev=CC34, SerialNo=6VM2KSFD</pre>
<p>we can find the serial number of the drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2011/07/16/matching-linux-ata-numbers-to-the-device-names/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitor Windows Server via WMI from Ubuntu Linux</title>
		<link>http://www.phuket-data-wizards.com/blog/2011/07/15/monitor-windows-server-via-wmi-from-ubuntu-linux/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2011/07/15/monitor-windows-server-via-wmi-from-ubuntu-linux/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 05:34:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wmi]]></category>
		<category><![CDATA[wmic]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=423</guid>
		<description><![CDATA[This article is a work in progress deb package for the Linux WMI client (wmic) for Ubuntu 10.10 can be downloaded here. We use this utility together with collectd, it&#8217;s Exec plug-in and rrdgraph. For example with this script we read the Transactions performance counter for MS SQL Server: #!/bin/bash INTERVAL="${COLLECTD_INTERVAL:-60}" while sleep "$INTERVAL" do [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>This article is a work in progress</strong></span></p>
<p>deb package for the Linux WMI client (wmic) for Ubuntu 10.10 can be downloaded <a href="http://www.mikepalmer.net/archives/134">here</a>.</p>
<p>We use this utility together with <a href="http://collectd.org/" target="_blank">collectd</a>, it&#8217;s <a href="http://collectd.org/wiki/index.php/Plugin:Exec" target="_blank">Exec plug-in</a> and <a href="http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html" target="_blank">rrdgraph</a>.</p>
<p>For example with this script we read the Transactions performance counter for MS SQL Server:</p>
<pre>#!/bin/bash
INTERVAL="${COLLECTD_INTERVAL:-60}"

while sleep "$INTERVAL"
do
        TRANSPS=$((wmic -U user%password //server "SELECT TransactionsPersec FROM Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases WHERE Name='_Total'" | grep "_Total" | awk -F "|" '{ print $2; }') 2&gt;/dev/null);
        if [ $? -ne 0 ]
        then
              TRANSPS="U"
        fi
        echo "PUTVAL sqlserver/exec-mssql-wmi/operations interval=$INTERVAL N:$TRANSPS"
done</pre>
<p>Note what the rrd file name (in this case operations) should start from the defined word in types.db</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2011/07/15/monitor-windows-server-via-wmi-from-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual PPPoE Connections with Automatic Failover on Ubuntu</title>
		<link>http://www.phuket-data-wizards.com/blog/2011/07/07/dual-pppoe-connections-with-automatic-failover-on-ubuntu/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2011/07/07/dual-pppoe-connections-with-automatic-failover-on-ubuntu/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:01:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[adsl]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pppd]]></category>
		<category><![CDATA[pppoe]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[two]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=375</guid>
		<description><![CDATA[This article is a work in progress Both modems should be set to Bridged Mode Packages involved: pppd, shorewall, iproute2 /etc/ppp/peers/cat, configuration file for CAT Telecom provider: noipdefault #defaultroute #replacedefaultroute #usepeerdns hide-password debug noauth persist maxfail 0 lcp-echo-interval 30 lcp-echo-failure 5 mtu 1492 plugin rp-pppoe.so eth0 rp_pppoe_service 'cat' user "lettersandnumbers@hinet.p" linkname cat unit 0 /etc/ppp/peers/tot, [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>This article is a work in progress</strong></span></p>
<p>Both modems should be set to Bridged Mode</p>
<p>Packages involved: <a href="http://ppp.samba.org/">pppd</a>, <a href="http://www.shorewall.net/">shorewall</a>, <a href="http://www.policyrouting.org/">iproute2</a></p>
<h4>/etc/ppp/peers/cat, configuration file for CAT Telecom provider:</h4>
<pre>noipdefault
#defaultroute
#replacedefaultroute
#usepeerdns
hide-password
debug
noauth
persist
maxfail 0
lcp-echo-interval 30
lcp-echo-failure 5
mtu 1492
plugin rp-pppoe.so eth0
rp_pppoe_service 'cat'
user "lettersandnumbers@hinet.p"
linkname cat
unit 0</pre>
<h4>/etc/ppp/peers/tot, configuration file for TOT provider:</h4>
<pre>noipdefault
#defaultroute
#replacedefaultroute
#usepeerdns
hide-password
debug
noauth
persist
maxfail 0
lcp-echo-interval 30
lcp-echo-failure 5
mtu 1492
plugin rp-pppoe.so eth1
rp_pppoe_service 'tot'
user "phoneno@totgoldbiz"
linkname tot
unit 1</pre>
<p>I will explain the options.</p>
<pre>#defaultroute
#replacedefaultroute
#usepeerdns</pre>
<p>These we comment out, we will control default routes in the /etc/ppp/ip-up.local and /etc/ppp/ip-down.local scripts; we are not going to use DNS servers offered by the provider and will use fixed DNS (like Google DNS) instead.</p>
<pre>persist
maxfail 0
lcp-echo-interval 30
lcp-echo-failure 5</pre>
<p>Persist sets pppd to keep the connection; maxfail 0 prevents pppd from giving up after 5 unsuccessful connections; we are sending line control protocol &#8220;pings&#8221; every 30 seconds and going to disconnect and try to connect back again if 5 of these &#8220;pings&#8221; are lost in a row.</p>
<pre>unit 0
linkname cat</pre>
<p>unit is a very important option to nail the number (ppp0, ppp1 etc.) of the connection. If this option is not specified, the connections will be numbered in the order they are established and the interface number would change all the time.  linkname defines the name of .pid created in /var/run, I check for the existence of these files from PHP script to report in the web interface if the provider connection is on or off.</p>
<h4>/etc/network/interfaces (fragment)</h4>
<pre>auto cat
iface cat inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider cat

auto tot
iface cat inet ppp
pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf
provider tot</pre>
<h4>/etc/iproute2/rt_tables</h4>
<pre>#
# reserved values
#
255     local
254     main
253     default
0       unspec
#
# local
#
100     ppp0
200     ppp1</pre>
<h4>/etc/ppp/ip-up.local</h4>
<pre>#!/bin/bash
if [[ "$PPP_IFACE" == "ppp0" ]] ; then
        METRIC=1
else
        METRIC=2
fi

ip route add default dev $PPP_IFACE table $PPP_IFACE
ip route add default dev $PPP_IFACE metric $METRIC
ip rule add from $PPP_LOCAL lookup $PPP_IFACE
shorewall refresh
/usr/sbin/ddclient -syslog -file /etc/ddclient-$PPP_IFACE.conf</pre>
<p>pppd does not have option to specify interface metric. There is a <a title="pppd interface metric patch" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578726">proposed patch</a> for it, but it is not in the mainline yet. That&#8217;s why we move routing setup to this file. First line adds a default route to the routing table named ppp0 or ppp1. Third line adds a rule: if the source address of a packet is a local address of ppp interface, route it through this specific table (ppp0 or ppp1).</p>
<p>I am not sure if refreshing shorewall config is really needed, but won&#8217;t do any harm. ddclient updates DynDNS records using two different config files for two interfaces.</p>
<h4>/etc/ppp/ip-down.local</h4>
<pre>#!/bin/sh
ip route del default table $PPP_IFACE
ip route del default dev $PPP_IFACE
ip rule del lookup $PPP_IFACE
shorewall refresh</pre>
<h4>/etc/shorewall/interfaces (fragment)</h4>
<pre>net     ppp0            detect          tcpflags,routefilter,nosmurfs,mss=1452
net     ppp1            detect          tcpflags,routefilter,nosmurfs,mss=1452</pre>
<p>Important to clamp MSS to 1452 bytes here</p>
<p>&#8220;ip route show&#8221; output when both connections are on:</p>
<pre>default dev ppp0  scope link  metric 1
default dev ppp1  scope link  metric 2</pre>
<p>Primary interface ppp0, with lowest metric is used first. If it will go down, the second default route will be used automatically.</p>
<p><span style="color: #ff0000;"><strong>To be continued &#8211; from failover to load-balancing&#8230;</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2011/07/07/dual-pppoe-connections-with-automatic-failover-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TOT FTTH Hardware</title>
		<link>http://www.phuket-data-wizards.com/blog/2011/05/10/tot-ftth-hardware/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2011/05/10/tot-ftth-hardware/#comments</comments>
		<pubDate>Tue, 10 May 2011 14:00:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[fiber optic]]></category>
		<category><![CDATA[FTTH]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pppoe]]></category>
		<category><![CDATA[TOT]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wg-332s]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=326</guid>
		<description><![CDATA[The customer was issued the following hardware for the TOT Fiber optic 10Mbps home package: Fiber: single fiber, dual wavelength with an SC connector. Optical Network Unit (ONU): Mitsubishi AS-1000GN2-1GC. Router: Welltech Computer WG-332S (not even listed on Welltech website). I think I never saw the router without any authentication before! It is a VoIP [...]]]></description>
			<content:encoded><![CDATA[<p>The customer was issued the following hardware for the TOT Fiber optic 10Mbps home package:</p>
<p>Fiber: single fiber, dual wavelength with an SC connector.</p>
<p>Optical Network Unit (ONU): Mitsubishi AS-1000GN2-1GC.</p>
<p>Router: Welltech Computer WG-332S (not even listed on <a href="http://www.welltech.com">Welltech</a> website). I think I never saw the router without any authentication before! It is a VoIP router with two FXS ports, also one LAN port is labelled (by TOT) as IPTV.</p>
<p>We took the Welltech router out and set up a PPPoE connection from Ubuntu Linux server through Mitsubishi modem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2011/05/10/tot-ftth-hardware/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Aztech HW550-3G</title>
		<link>http://www.phuket-data-wizards.com/blog/2009/09/04/aztech-hw550-3g/</link>
		<comments>http://www.phuket-data-wizards.com/blog/2009/09/04/aztech-hw550-3g/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 18:31:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[aztech]]></category>
		<category><![CDATA[dmesg]]></category>
		<category><![CDATA[hw550-3g]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.phuket-data-wizards.com/blog/?p=121</guid>
		<description><![CDATA[Linux version 2.6.21 (root@rdfwsrv.aztech.com) (gcc version 3.4.2) #113 Wed Aug 19 17:08:03 SGT 2009 The CPU feqenuce set to 384 MHz CPU revision is: 0001964c Determined physical RAM map: memory: 02000000 @ 00000000 (usable) On node 0 totalpages: 8192 DMA zone: 64 pages used for memmap DMA zone: 0 pages reserved DMA zone: 8128 pages, [...]]]></description>
			<content:encoded><![CDATA[<p>Linux version 2.6.21 (root@rdfwsrv.aztech.com) (gcc version 3.4.2) #113 Wed Aug 19 17:08:03 SGT 2009</p>
<p>The CPU feqenuce set to 384 MHz<br />
CPU revision is: 0001964c<br />
Determined physical RAM map:<br />
memory: 02000000 @ 00000000 (usable)<br />
On node 0 totalpages: 8192<br />
DMA zone: 64 pages used for memmap<br />
DMA zone: 0 pages reserved<br />
DMA zone: 8128 pages, LIFO batch:0<br />
Normal zone: 0 pages used for memmap<br />
Built 1 zonelists.  Total pages: 8128<br />
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock4<br />
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.<br />
Primary data cache 16kB, 4-way, linesize 32 bytes.<br />
Synthesized TLB refill handler (20 instructions).<br />
Synthesized TLB load handler fastpath (32 instructions).<br />
Synthesized TLB store handler fastpath (32 instructions).<br />
Synthesized TLB modify handler fastpath (31 instructions).<br />
Cache parity protection disabled<br />
cause = 1080002c, status = 1100ff00<br />
PID hash table entries: 128 (order: 7, 512 bytes)<br />
calculating r4koff&#8230; 00177000(1536000)<br />
CPU frequency 384.00 MHz<br />
Using 192.000 MHz high precision timer.<br />
Console: colour dummy device 80&#215;25<br />
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<br />
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<br />
Memory: 28804k/32768k available (2802k kernel code, 3964k reserved, 634k data, 124k init, 0k highmem)<br />
Calibrating delay loop&#8230; 255.48 BogoMIPS (lpj=510976)<br />
Mount-cache hash table entries: 512<br />
NET: Registered protocol family 16<br />
SCSI subsystem initialized<br />
usbcore: registered new interface driver usbfs<br />
usbcore: registered new interface driver hub<br />
usbcore: registered new device driver usb<br />
NET: Registered protocol family 2<br />
Time: MIPS clocksource has been installed.<br />
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br />
TCP established hash table entries: 1024 (order: 1, 8192 bytes)<br />
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)<br />
TCP: Hash tables configured (established 1024 bind 1024)<br />
TCP reno registered<br />
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher<br />
squashfs: LZMA suppport for slax.org by jro<br />
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.<br />
fuse init (API version 7.8)<br />
io scheduler noop registered (default)<br />
Ralink gpio driver initialized<br />
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096<br />
N_HDLC line discipline registered.<br />
Serial: 8250/16550 driver $Revision: 1.3 $ 2 ports, IRQ sharing disabled<br />
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A<br />
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A<br />
loop: loaded (max 8 devices)<br />
rdm_major = 254<br />
GDMA1_MAC_ADRH &#8212; : 0&#215;00000000<br />
GDMA1_MAC_ADRL &#8212; : 0&#215;00000000<br />
Ralink APSoC Ethernet Driver Initilization. v1.60  256 rx/tx descriptors allocated, mtu = 1500!<br />
GDMA1_MAC_ADRH &#8212; : 0&#215;00000030<br />
GDMA1_MAC_ADRL &#8212; : 0x0af505b6<br />
PROC INIT OK!<br />
PPP generic driver version 2.4.2<br />
PPP Deflate Compression module registered<br />
PPP BSD Compression module registered<br />
PPP MPPE Compression module registered<br />
NET: Registered protocol family 24<br />
ralink flash device: 0&#215;1000000 at 0xbf000000<br />
Ralink SoC physically mapped flash: Found 1 x16 devices at 0&#215;0 in 16-bit bank<br />
Ralink SoC physically mapped flash: Found an alias at 0&#215;800000 for the chip at 0&#215;0<br />
Amd/Fujitsu Extended Query Table at 0&#215;0040<br />
number of CFI chips: 1<br />
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<br />
Creating 7 MTD partitions on &#8220;Ralink SoC physically mapped flash&#8221;:<br />
0&#215;00000000-0&#215;00030000 : &#8220;Bootloader&#8221;<br />
0&#215;00030000-0&#215;00040000 : &#8220;Config&#8221;<br />
0&#215;00040000-0&#215;00050000 : &#8220;Factory&#8221;<br />
0&#215;00050000-0x001d0000 : &#8220;Kernel&#8221;<br />
0x001d0000-0&#215;00750000 : &#8220;RootFS&#8221;<br />
0&#215;00750000-0&#215;00800000 : &#8220;aztechjffs2&#8243;<br />
0&#215;00000000-0&#215;00800000 : &#8220;wholeImage&#8221;<br />
block2mtd: version $Revision: 1.1.1.1 $<br />
usbcore: registered new interface driver cdc_acm<br />
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters<br />
usbcore: registered new interface driver cdc_wdm<br />
usbcore: registered new interface driver usblp<br />
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver<br />
Initializing USB Mass Storage driver&#8230;<br />
usbcore: registered new interface driver usb-storage<br />
USB Mass Storage support registered.<br />
usbcore: registered new interface driver usbhid<br />
drivers/usb/input/hid-core.c: v2.6:USB HID core driver<br />
usbcore: registered new interface driver cdc_ether<br />
nf_conntrack version 0.5.0 (256 buckets, 2048 max)<br />
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone<br />
arp_tables: (C) 2002 David S. Miller<br />
TCP cubic registered<br />
NET: Registered protocol family 1<br />
NET: Registered protocol family 10<br />
NET: Registered protocol family 17<br />
802.1Q VLAN Support v1.8 Ben Greear &lt;greearb@candelatech.com&gt;<br />
All bugs added by David S. Miller &lt;davem@redhat.com&gt;<br />
VFS: Mounted root (squashfs filesystem) readonly.<br />
Freeing unused kernel memory: 124k freed<br />
Algorithmics/MIPS FPU Emulator v1.5<br />
devpts: called with bogus options<br />
lm: no version for &#8220;struct_module&#8221; found: kernel tainted.<br />
dwc_otg: version 2.72a 24-JUN-2008<br />
DWC_otg: Core Release: 2.66a<br />
DWC_otg: Periodic Transfer Interrupt Enhancement &#8211; disabled<br />
DWC_otg: Multiprocessor Interrupt Enhancement &#8211; disabled<br />
DWC_otg: Using DMA mode<br />
DWC_otg: Device using Buffer DMA mode<br />
dwc_otg lm0: DWC OTG Controller<br />
drivers/usb/core/inode.c: creating file &#8216;devices&#8217;<br />
drivers/usb/core/inode.c: creating file &#8217;001&#8242;<br />
dwc_otg lm0: new USB bus registered, assigned bus number 1<br />
dwc_otg lm0: irq 18, io mem 0&#215;00000000<br />
DWC_otg: Init: Port Power? op_state=1<br />
DWC_otg: Init: Power Port (0)<br />
usb usb1: default language 0&#215;0409<br />
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1<br />
usb usb1: Product: DWC OTG Controller<br />
usb usb1: Manufacturer: Linux 2.6.21 dwc_otg_hcd<br />
usb usb1: SerialNumber: lm0<br />
usb usb1: uevent<br />
usb usb1: usb_probe_device<br />
usb usb1: configuration #1 chosen from 1 choice<br />
usb usb1: adding 1-0:1.0 (config #1, interface 0)<br />
usb 1-0:1.0: uevent<br />
hub 1-0:1.0: usb_probe_interface<br />
hub 1-0:1.0: usb_probe_interface &#8211; got id<br />
hub 1-0:1.0: USB hub found<br />
hub 1-0:1.0: 1 port detected<br />
hub 1-0:1.0: standalone hub<br />
hub 1-0:1.0: ganged power switching<br />
hub 1-0:1.0: individual port over-current protection<br />
hub 1-0:1.0: Single TT<br />
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)<br />
hub 1-0:1.0: power on to power good time: 2ms<br />
hub 1-0:1.0: local power source is good<br />
hub 1-0:1.0: enabling power on all ports<br />
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000<br />
drivers/usb/core/inode.c: creating file &#8217;001&#8242;<br />
usb usb1: HUB Connect Vendor ID: 0&#215;0000<br />
usb usb1: HUB Connect Product ID: 0&#215;0000</p>
<p>phy_tx_ring = 0x018c6000, tx_ring = 0xa18c6000, size: 16 bytes</p>
<p>phy_rx_ring = 0x018c7000, rx_ring = 0xa18c7000, size: 16 bytes<br />
GDMA1_FWD_CFG = 10000<br />
rt2860v2_ap: module license &#8216;unspecified&#8217; taints kernel.<br />
2860 version : 2.0.0.0 (Aug 19 2009)</p>
<p>=== pAd = c1097000, size = 485360 ===</p>
<p>RTMPAllocAdapterBlock, Status=0<br />
RX DESC a1ec2000  size = 2048<br />
RTMPAllocTxRxRingMemory, Status=0<br />
1. Phy Mode = 9<br />
2. Phy Mode = 9<br />
3. Phy Mode = 9<br />
MCS Set = ff ff 00 00 01<br />
Main bssid = 00:30:0a:f5:05:b7<br />
The UUID Hex string is:2880288028801880a88000300af505b7<br />
The UUID ASCII string is:28802880-2880-1880-a880-00300af505b7!<br />
== RTMPInitialize, Status=0<br />
0&#215;1300 = 00064380<br />
ra2880stop()&#8230;Done<br />
Free TX/RX Ring Memory!<br />
eth2.2: Setting MAC address to  00 30 0a f5 05 b8.<br />
device eth2 entered promiscuous mode<br />
VLAN (eth2.2):  Setting underlying device (eth2) to promiscious mode.</p>
<p>phy_tx_ring = 0x01a43000, tx_ring = 0xa1a43000, size: 16 bytes</p>
<p>phy_rx_ring = 0x01a44000, rx_ring = 0xa1a44000, size: 16 bytes<br />
GDMA1_FWD_CFG = 10000<br />
eth2.1: add 33:33:00:00:00:01 mcast address to master interface<br />
eth2.1: add 01:00:5e:00:00:01 mcast address to master interface<br />
eth2.1: add 33:33:ff:f5:05:b6 mcast address to master interface<br />
eth2.2: add 33:33:00:00:00:01 mcast address to master interface<br />
eth2.2: add 01:00:5e:00:00:01 mcast address to master interface<br />
eth2.2: add 33:33:ff:f5:05:b8 mcast address to master interface<br />
device ra0 entered promiscuous mode<br />
eth2.1: dev_set_promiscuity(master, 1)<br />
device eth2.1 entered promiscuous mode<br />
br0: port 2(eth2.1) entering learning state<br />
br0: port 1(ra0) entering learning state<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ra0: no IPv6 routers present<br />
eth2: no IPv6 routers present<br />
eth2.2: no IPv6 routers present<br />
eth2.1: no IPv6 routers present<br />
br0: no IPv6 routers present<br />
br0: topology change detected, propagating<br />
br0: port 2(eth2.1) entering forwarding state<br />
br0: topology change detected, propagating<br />
br0: port 1(ra0) entering forwarding state<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0<br />
ip_table: set wan_name=ppp0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phuket-data-wizards.com/blog/2009/09/04/aztech-hw550-3g/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

