Loading Blog Search...

Tuesday, November 29, 2005

Ubuntu Breedy Problem with cisco airo wireless

I finally arrange time to upgrade my old laptop to breedy last week. Unfortunately, I found the KDE reponse is fairy slow. I am not sure why.
Another problem is the airo wireless card driver creates two interfaces --- eth1 and eth2, ifconfig returns sth. like:
eth1 Link encap:UNSPEC HWaddr 00-09-E8-B4-CF-8D-6C-6F-00...
RX packets:2 errors:7 dropped:0 overruns:0 frame:7
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:105 (105.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x100

eth2 Link encap:Ethernet HWaddr 00:09:E8:B4:CF:8D
inet addr: Bcast: Mask:
inet6 addr: fe80::209:e8ff:feb4:cf8d/64 Scope:Link
RX packets:3 errors:1014 dropped:0 overruns:0 frame:1014
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1186 (1.1 KiB) TX bytes:920 (920.0 b)
Interrupt:3 Base address:0x100
With this kind of configuration, the wireless network cannot be brought up by default.
In this post, byronclark told me airo card create one interface to rfmon mode to monitor sth. To overcome the problem, I changed /etc/iftab to bind the MAC address of my card to eth1, as:
eth1 mac 00:09:e8:b4:cf:8d arp 1
Now, it is OK.

Sunday, November 27, 2005

从新加坡经马六甲到新加坡 Malacca one day tour

马六甲,世界著名海峡,主要国际运输海路关口,是中学世界地理必考之地。 本来我想马六甲于我的缘分大概也就仅止于此, 哪怕居留于新加坡之后若干时间。 不过LP倒是很想去马六甲。
再次对马六甲有感性认识, 源于前室友夫妻的马六甲游历。 照片上的马六甲渔人码头破落不堪, 不过听说大芒果便宜漂亮。
还见过老朋友在马六甲荷兰广场的照片, 只觉得一片大红的很是俗气。 听说是因为红是荷兰的代表色,不过此代表色决然不同于荷兰足球队的亮橘红, 比较像烂番茄酱红。
最近一次听说马六甲是无意发现一个同事家乡马六甲, 征询他对家乡的意见, 答案出乎意料, 他说马六甲必吉隆坡好多了。
综上, 我对马六甲的印象是混乱的, 概念是不清的, 兴趣是不高的。 可是还是挡不住有缘。

From S'pore to Malacca, all around the express way are palms. On the road, our guide introduced lots of basic knowledge about tropical plants. I am not a native english speaker, and I did not grow up in a tropical country, so, I and my wife were listening and feeling interesting about the difference among TREE, PALM, PLANT, while the s'porean beside are bored. Before we ride on the express way, the only impression Malaysia gave me is dirty city, but now, I must say the uninterrrupted plam woods are really gorgeous.
After several hours on bus, we arrive at a small town, where a food court is waiting us. :-D Actually I think the food court is mostly oriented to S'pore tourist. There are some foods with unkown name. The most interesting things I found is the lamp chimney in the corridor. They are make of bamboo. What you may found more interesting is that there are many different styles of chimneies.
I know more than 20 percent ppls in Malaysia is Chinese, but I am still astonished by how many chinese symbols there are. Unlike most ppls begin to visit a city from its famous resorts, we begin from a chinese street in Malacca. In from the entry of this street is a chinese style stage, maybe used for chinese celebration.
There are several temples inside the street, not only chinese temple. In Malaysia and S'pore, ppls are really easy-going in term of how to treat other religions and races. I hear that some guys even do Christmas Mass Pray. Considering what happened in Denmark recently, living here is not too bad. From the wall in a temple, we can also see this: the chinese dragon is like a combination of chinese style fresco and western style embossment.
Here, I take another pic of Chinese temple wall. There are some featured shops in the street, and my wife buy a bamboo wind-bell, which can produce sound like wooden-fish, a symbol of Chinese Buddhism.
After leaving the small street, we visited a boring shopping mall, and rested for a while, util we start to Holland church. Holland settled right after Portugal in Malacca, and built these famous churchs. Around the center church, including the church itself, all buildings are red color.
On the way from the church to a food factory, we passed by a ancient battle ship. The battle ship is left by Holland. Can you imagine, such a ship conquered a whole country at that years. Malaysia is fortunate for that when the colonist changed from Portugal to Holland, and then to England, there is no war happend in Malaysis.
Finally, I arrived at the last stop in Malacca, a well-known candy factory shop. Outside the shop, there is a Malacca tree, which the Malacca strait is named after.

Monday, November 14, 2005

Transparent KDE style & access map

Here is the cluster map of this page. Wow, you can see where did you friends come from in such a visual way. I have been waiting this gadget to open register for long long time, util I find it reopen and renamed to ClusterMaps. I registered my own account, and this tool can show a thumbnails of world map, annotated with points. Each point presents how many ppls visited your site from the location it is placed. You can see it from my right panel. ;-)

desktop 1
Originally uploaded by li-zhao.
I love the transparent term window title, border, menu and taskbar (taskbar v2 from kde-look.org). They make the whole desktop a art works.

Friday, November 11, 2005

Some notes for ubuntu (debian)

1. To install gsview, it needs libgs.so. We can get libgs.so by compile ghostscript via:
make so; make soinstall
please donnot install ghostscript 8.51 exe files, only install so is enough.
2. SCIM conflicts with acroread if you set GTK_IM_MODULE="scim", thus, please donnot set it like this.
3. For ubuntu (5.10 with 1.7.1-1 cups-pdf), to add a cups-pdf printer, a.start gnome-cups-manager
b.add printer
c.select use another printer by specifying a port
d.choose the virtual printer
e.click next
f.select generic-postscript color printer driver
4.Do you love transparent window, buttun, taskbar, etc? crystal is a good theme make ur window title, border transparent. For KDE taskbar, please try to install taskbar v2 from kde-look.org