Some More Random Solaris Notes

To enable Jumbo Frames for Intel Gigabit Ethernet cards, edit /kernel/drv/e1000g.conf and make the following change:

MaxFrameSize=3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;

To share a zfs filesystem (e.g. /pool/user) over nfs:

zfs set sharenfs=on pool/user

Use “on” or “off” to toggle it on and off. If you want to set particular nfs share options you can use those options instead (on is equivalent to ‘rw’):

zfs set sharenfs=”rw=host.example.com” pool/user

Thanks For Donating

From Ron Paul:

On just one day, in honor of the 234th anniversary of the Boston Tea Party, the new American revolutionaries brought in $6.04 million, another one-day record. The average donation was $102; we had 58,407 individual contributors, of whom an astounding 24,915 were first-time donors. And it was an entirely voluntary, self-organized, decentralized, independent effort on the internet.

Boston Tea Party Ron Paul Donation Drive

From http://www.teaparty07.com/:

On December 16th, 1773, American colonists dumped tea into the Boston Harbor to protest an oppressive tax. This December 16th, American citizens will dump millions of dollars into the Ron Paul presidential campaign to protest the oppressive and unconstitutional inflation tax – which has enabled a flawed foreign policy, a costly war and the sacrificing of our liberties here at home.

Please join us this December 16th 2007 for the largest one-day political donation event in history. Our goal is to bring together 100,000 people to donate $100 each, creating a one day donation total of $10,000,000.

Make your pledge at http://www.teaparty07.com/ and donate on December 16 at https://www.ronpaul2008.com/donate/. (If you prefer to donate by mail, get your mail-in donation form at here.)

Also please remember that if you want to vote for Ron Paul in the primaries, you must be registered Republican in most states.

I have donated to Ron Paul, have changed my voter registration, and will vote for him in the California primary.

Enabling Samba on recent Solaris releases

I recently upgraded two of my Solaris boxes to the latest Solaris 10 release and had some problems getting Samba working correctly again. Originally Samba on Solaris was started via the /etc/init.d/samba script and depended on whether the /etc/sfw/smb.conf configuration file existed. Then when the service framework came into use it was converted to a service, and you enabled it by running ‘svcadm enable samba’. All pretty straightforward so far.

In current Solaris releases there is a subtle change that may not be immediately obvious. For most Samba configurations you have two daemon processes running, smbd and nmbd. smbd is what actually does the file serving. If you only have smbd running you can still access files but you need to manually enter the filesystem path to get there. nmbd provides the netbios/wins service which is what announces on the LAN that the computer is part of a workgroup and what its name is. This is the piece that allows you to go to “My Network Places” or “View Workgroup Computers” and have stuff just automatically appear.

The change in the current Solaris versions is that while both daemons were controlled together in the past, they are now controlled as separate services. So now if you just do ‘svcadm enable samba’ it turns on only smbd and you only get file sharing that you can manually access. If you go to “My Network Places” or “View Workgroup Computers” you won’t see anything from that server. To enable nmbd also you need to also run ‘svcadm enable wins’.

Why would they do things this way? In more advanced network configurations you may have a domain controller that performs the netbios/wins functions. In that environment, separately running nmbd on a standalone server could cause confusion. Others may not want to run it because they don’t want an intruder to be able to easily discover shared filesystems. In any case, for most simple LAN based file service implementations, such as a home or small office network, you would probably want to run both services.

Pizza Now Available


Click For Larger Version

Personal Pizza is now available at select SUBWAYâ„¢ Taiwan Restaurants for $180 each: Cheese, Veggie, Sausage or Pepperoni, with extra topping options such as bacon, meatball, double meat or double cheese.

This is a test product which will be available at limited locations to test market response. The test stores are:

Available Now: SUBWAYâ„¢ Qingcheng Restaurant (Nanjing E. Rd. MRT)
Available This Week: SUBWAYâ„¢ Tianmu Taipei American School Restaurant, SUBWAYâ„¢ Minquan/Longjiang Restaurant
Available In Coming Weeks: SUBWAYâ„¢ Dunhua/Civic Restaurant, SUBWAYâ„¢ Xingtian Temple Restaurant

(Product availability may change without notice.)

Youtube Popularity

I don’t really understand how videos manage to get popular on Youtube. At current count my videos have been watched a total of 7,293 times. I’ve made no effort to promote them and have only posted links on my blog and a couple of times on Forumosa. Three of the videos are of the English version video explaining the driver’s license test in Taiwan which have been up for a while and are actually useful, so I can understand why they’ve been viewed a lot, as they are actually useful.

But the most popular of my videos is a not terribly exciting video showing a bit of surveillance video from my restaurant during an earthquake. It has no editing, no sound, no titles, and to be honest the it’s far from the most interesting earthquake video on Youtube (see my favorites for some better ones). I don’t mean to sell it short; I do think it is interesting and worth watching. It’s just that I’m boggled that it currently has been watched 3,255 times. And all it shows is some ads and lights swinging gently for a minute.

The only external link that shows up other than my own stuff is a link from taggy.jp which seems to be some sort of Japanese version of Digg or Delicio.us. Apparently the video currently has 8 points there. Other than that the only thing it has going for it is a good subject and tags in both English and Chinese and a decent description (only English though; my Chinese doesn’t do well at long stuff). But still, 3,255 views. Wow!

twquake 1.5.1

We had a couple of quakes today, including one that woke me up at 6:54 am this morning:

M 5.0 46.0 km ENE of Yilan City 2007-11-08 06:54 #074 (1108065450074)
http://www.cwb.gov.tw/V5e/seismic/Data/quake/EE1108065450074.gif
http://www.cwb.gov.tw/V5e/seismic/Data/quake/EE1108065450074.txt

A smaller one this afternoon which I didn’t feel brought to my attention a few minor bugs that I hadn’t resolved in a while in my twquake perl script which fetches earthquake data from the Central Weather Bureau. That led me to other bugs and cosmetic issues and eventually spawned a new version of the script. Behold: twquake version 1.5.1. (I also noticed that I never posted version 1.5.0 which fixed a major bug. Well, actually the bug is in LWP::Simple but I had to convert to using LWP::UserAgent instead to avoid the bug.) If anyone actually uses this program besides me, please download the new version!

For those who are interested, I also run two mailing lists which send out alerts with the information on each earthquake reported in Taiwan. There’s an English version and a Chinese version:

Sign up for Taiwan earthquake alerts:
English: http://lists.jameslick.com/mailman/listinfo/twquake-alert-en
中文: http://lists.jameslick.com/mailman/listinfo/twquake-alert-zh

2007 Baseball World Cup

Today SUBWAYâ„¢ Xingtian Temple restaurant is busy from the early morning preparing meals for the 2007 Baseball World Cup. We are supplying lunch for the noon games held in Xinzhuang (the games are also being held in Tianmu and two sites in Taizhong) from now through November 18. In Taiwan the games can be watched on TVBS or TVBS-G.

Quick Comparison Guide To Dr.Eye 8.0 Versions

Here’s a quick “Comparison Guide” to the Dr.Eye 8.0 packages available in Taiwan. The feature sets between the different packages has changed since 7.0 and as far as I can tell the feature comparison chart is only available in the manual, which doesn’t help you decide which version to buy.

There are at least four packaged versions of Dr.Eye 8.0 available in Taiwan:

Dr.Eye 8.0 Luxury (Orange Box TW$1090 MSRP)
Dr.Eye 8.0 Professional Upgrade (Blue Box TW$1090 MSRP)
Dr.Eye 8.0 Professional (Blue Box TW$1650 MSRP)
Dr.Eye 8.0 Professional 2-User Pack (Blue Box TW$3300 MSRP)

To find the MSRP (retail price) look under the bar code at the bottom right of the back of the box.

Unlike previous versions, the “Luxury” package no longer contains “Chinese Traditional to English” translation functions. It only contains “Chinese Traditional to/from Chinese Simplified”, “English to Chinese Traditional” and “English to Chinese Simplified”. Because of this, it is probably of limited use to most foreigners who will probably want to translate from Chinese more often than the reverse.

Instead, you will probably be better off with the Professional package which in addition to the above also supports “Chinese Traditional to English”, “Chinese Simplified to English” and “Japanese to/from Chinese Traditional”. The other major difference is that the Professional package also contains more dictionaries.

If you decide to get the Professional package, be careful you don’t get the upgrade version by mistake (unless you are actually upgrading). The easiest way to tell is to make sure the MSRP on the back of the package is TW$1650.

Dr.Eye 8.0 lists in the system requirements that it requires the Traditional Chinese version of XP/2003/Vista but it actually works fine on the English version of XP. (Presumably you would have to have the East Asian support added, but this is a standard feature of XP which can be added from the XP installation disk.) It also comes with the user interface in English, Traditional Chinese or Simplified Chinese all on the same disk.

One other potential catch if you have old computer gear: The package comes on DVD, not CD.

Note: Though the Professional ‘2-User Pack’ list price is exactly twice that of the single-user version, the street price is only about 50% more.