Blog

  • 除草一下

    今年生活上沒有太大變動,當然工作上不能說沒有太大變動,至少公司進行的事情總是會影響到一些組織方面,大致上除了一直都很忙之外也沒有什麼可以在這裡紀錄…er…或者是不放在 Twitter 或 Facebook 而紀錄在這裡。

    連非常簡單的電影隨手記都沒有持續,唯一持續的大概就是每個月都得結一次家用支出。(哈)

    不知不覺就到生日月,過完這個月就又邁入新一歲了。

  • Use nc(netcat) to check the DataPower service ports

    To check the SSH service (default port 22):
    [code language=”bash” light=”true”]nc -z $IP 22[/code]
    To check the XML Management Interface (default port 5550):
    [code language=”bash” light=”true”]nc -z $IP 5550[/code]
    To check the SNMP (UDP port 161):
    [code language=”bash” light=”true”]nc -zu $IP 161[/code]

    If connection is successful, it will report a message like:
    [code language=”bash” light=”true”]Connection to $IP 22 port [tcp/ssh] succeeded![/code]
    and exit with 0.

    Reference: nc(1) – Linux man page

  • reinstall the T410

    I put an old 160GB HD on T410 then start to use IBM OCDC ISO on it.

  • disable USB automount in Ubuntu

    Since there is a bug in Ubuntu which let iPhone with iOS7 can not be mounted, I decided to disable it. Here is the steps:

    1. Install dconf-tools.
    2. Launch dconf Editor and navigate to org -> gnome -> desktop -> media-handling
    3. Uncheck “automount” and “automount-open”
  • Got a T420

    Since the T410 is used for nearly four years and there is a chance to get a newer machine, I got a second hand T420 yesterday. It is pretty much like T410. So I decided to switch the HD, the Ubuntu 12.04 is working fine with it.

    The only thing I need to do is change the device MAC address to fit the current machine.