Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • WordPress with internal server error on 1and1 hosting

    Posted on March 3rd, 2010 Sean Add comments

         For some reason, wordpress will always display “Error 500 – internal server error” for some PHP pages. My webhosting is on 1and1, so somehow the setting of PHP server is not correct.
    Finally, got a solution and it works:

    Modify the file .htaccess on the root directory:

    1. Add the code following at top of .htaccess:
      AddType x-mapp-php5 .php
    2. Changing:
      RewriteEngine on
      to:
      RewriteEngine ON

         Save the file, upload to the server. Here you go.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    516 views
  • How to convert Cisco Aironet 1130 to autonomous

    Posted on January 23rd, 2010 Sean 1 comment

         I got some Cisco Aironet 1130 AP’s from Amazon a couple of month ago. but even those are brand new, it seems like there is no Cisco OS inside of the AP. From Cisco website, It sounds like the AP that we are using may be a LWAPP (Lightweight) AP. This is why we can’t configure it via the web. The solution is follow these steps showing below to revert them from LWAPP mode to autonomous mode by loading a Cisco IOS release using a TFTP server:

    1. Set the static IP address of your PC on which your TFTP server software runs to 10.0.0.2
    2. Download the TFTP server software. (e.g. one software called TFTPD32 can be downloaded from here)
    3. Make sure that the PC contains the access point image file (can download from Cisco website) in the TFTP server root folder and that the TFTP server is activated.
    4. Disable any software firewall products, such as Windows firewall etc.
    5. Rename the access point image file in the TFTP server folder to c1130-k9w7-tar.default.
    6. Connect the PC to the Ethernet port of access point.
    7. Disconnect power from the access point.
    8. Press and hold MODE while you reconnect power to the access point.
    9. Hold the MODE button until the status LED turns red (might be 20 to 30 seconds) and then release.
    10. The access point should receive the img file from the TFTP server
    11. Wait until the file has been transferred, the access point will reboot as indicated by all LEDs turning green followed by the Status LED blinking green.
    12. After the access point reboots, connect it to the DHCP server, and get the IP of AP by DHCP server.
    13. use IE to connect the AP GUI by typing the IP
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    1,798 views
  • 无聊的Google

    Posted on June 9th, 2009 Sean 2 comments

         最近在网上看到某才子发的文章,列举了一些Google翻译有意思的地方。自己试了下其中一个,觉得不但没有什么意思,反而有些无聊:

         政治之类的事情,我一向不太过问。不过对于Google翻译的本身功能来讲,是为了方便网友们尽量找到正确的各种文字翻译。如果我真是一个不懂英文的人,说不定真的会信以为真,将这段话用于我自己的英文学习中。这对于平时标榜服务互联网的Google来说,不正是搬起石头砸自己的脚吗?
         随后,又试了一下Yahoo的翻译,意思准确。也许Google的工程师们平时真的太无聊了……

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    408 views
  • 在Ubuntu中更改Opera丑陋的中文字体

    Posted on March 3rd, 2009 Sean Add comments

         最近在办公室一直用Ubuntu,浏览器自然也一直在用firefox。鉴于在用Windows时,我就一直是火狐狸的死饭,到现在难免有些视觉疲劳。突发奇想,决定安装一个Opera玩玩。
         安装过程很顺利,可用opera浏览中文网页的时候,那丑陋的中文字体实在让我无法接受。没办法,上网Google了半天,加上自己最近对Ubuntu的理解,终于找出办法:

         保存,重新启动Opera,看了看,还算比较完美。

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    363 views
  • Ubuntu网络设置

    Posted on February 18th, 2009 Sean 2 comments

         今天早上打开电脑,发现Ubuntu系统的网络设置出现故障,系统栏的网络图标上出现了一个红色的叉叉,点击后出现的解释是:wired network device is unmanaged.
         打开我的网络配置文件”/etc/network/interface”,内容如下:

    auto lo
    iface lo inet loopback
    iface eth0 inet dhcp
    auto eth0

         google了半天,大部分的解释是:network-manager is supposed to ignore any interfaces that have configuration entries in the file /etc/network/interfaces,解决的办法基本上如下:

         这样根本就是治标不治本嘛!最后我尝试把网卡的设置直接变成:

    auto lo
    iface lo inet loopback

    也就是说,保留loopback网络设置。
         reboot后,一切正常!

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    529 views