Blogs

Blognone Tech Day 3

วันนี้มีงาน Blognone Tech Day 3 งานเริ่มตั้งแต่บ่าย ผมก็ตั้งใจไปตั้งแต่บ่าย แต่มีธุระต้องไปทำก่อน กว่าจะไปถึงก็เกือบสี่โมงเย็น อย่างน้อยก็ทันฟังอ.รวิทัตพูดเกี่ยวกับการศึกษา ฟังแล้วจี้ใจดำ เข้าถึงแก่นของปัญหา ผมว่าหลายคนรู้นะ แต่ก็ไม่รู้จะทำยังไง เพราะเราคือเบื้ยเล็กๆ ในระบบที่เรียกว่าประเทศไทย ระบบนี้มีคนไม่กี่คนเลือกเส้นทางชีวิตให้เราเริ่มตั้งแต่เกิด จนเกือบตาย มีไม่กี่คนที่หลุดออกไปนอกระบบได้ กลายเป็นผู้ที่สามารถเปลี่ยนกฎในช่วงสั้นๆ ของชีวิต เอ๊ะ ประเทศไทยคือ The Matrix นี่หว่า ว่าแต่ Red Pill อยู่ไหน

Goodbye Siemens CX65, Welcome Sony Ericsson W810i

I have been used Siemens CX65 since 3 years ago. The last mention is about accessing to the inside data on Ubuntu Edgy. Anyway, it has served me so well but it also turns out that its joystick has gone due to unknown exact reason. In addition, it sometimes shutdown itself without any notification. As a result, I missed so many calls. That's why I have to find a new mobile phone. Today is the day. I bought a Sony Ericsson W810i.

How to change keyboard layout in Ubuntu Server

I'm testing web hosting control panel inside virtual machine. The operating system I chose is Linux and the distribution is Ubuntu Gutsy Gibbon. Yes, I know it is still in alpha but it is going to be stable within 2 months. Since I quickly installed this machine from server CD, I accidentally chose incorrect keyboard layout. That's why I would like to change it right now.

How to install VMware on Ubuntu Gutsy Gibbon

This is my first task. I would like to run VMware under Ubuntu Gutsy Gibbon. Unfortunately, it seems like VMware doesn't support the latest kernel, 2.6.22-9, yet. As a result, I got below error messages.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.22-9-386/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-9-386'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
/tmp/vmware-config0/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’
/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’
/tmp/vmware-config0/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’
make[2]: *** [/tmp/vmware-config0/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-9-386'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
Unable to build the vmnet module.

Upgrading Ubuntu Feisty Fawn to Gutsy Gibbon

Yesterday, I upgraded my laptop which formerly was Ubuntu Feisty Fawn to Gutsy Gibbon Alpha release. Yes, it is still an alpha release and actually I just upgraded to the most up-to-date version. In other words, I didn't upgrading through CD image, instead, I downloaded all fresh packages from public archive site.

How to solve "sudo: timestamp too far in the future"

sudo is a must to have in all Unix host to prevent wide-spread of root account. It also has built-in security checking by time. However, sometimes this feature might annoy sudo to stop working after adjusting date/time back from the future.

sudo: timestamp too far in the future: Aug  9 18:31:44 2007

To solve this problem, I have a clue.