如果你在Mac OS 下面使用Chrome 浏览器且你的作业系统语言设置为英语。从某些中文、日文网站下载文件时很可能会发现,你所下载的文件之名出现乱码。这时候你需要将Chrome 的显示语言相应地变更为中文或日语。

方法如下:

defaults write com.google.Chrome AppleLanguages '(zh-CN)'

重启Google Chrome

I have found a post related to this issue.

If you set the clock manually for a 2106 Wireless LAN Controller, it might lost the configuration (time only) after a hard reset (powered off directly and switch on again). Even if you replace the battery (BR2032) from the inside.

NTP configuration will remain in this case. It might be a hardware issue.

*** Update ***

It turns out that Cisco appliances do not have dedicated chip to keep time. That's why changing the battery won't work.

I have re-image my old Linksys EA4500 with the latest version of OpenWrt (50107), and I have found the most disturbing issue that is lots of TCP Retransmission found over Wireshark capture. A ' Suspected TCP Retransmission ' it said.

Apparently, when you connect to a terminal server via SSH, the command output would some how pause for a while and all printed out all the suddent.

Here is how I solve the problem.

Open ' /etc/config/network ' using vi editor. Adjust the following section accordingly.

config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
# option ip6assign '60' ;; This is the line I removed.

Finally, reboot your OpenWrt router with ' reboot ' command.

** Update **

The fix turned out not working. I have revert the router to official firmware, problem is gone.

To fixed the problem of Wireshark 1.x / 2.x on Mac OS X saying ' No Interfaces Found ', simply issue the following command.

$ sudo chown $(id | awk '{print $1}' | cut -d '=' -f 2 | cut -d '(' -f 2 | tr -d '|)') /dev/bpf*

When you try to convert your access point from CAPWAP mode to Autonomous Mode using archive command, you might be encountering the following problem.

*Mar 1 02:12:46.647: %CAPWAP-3-STATIC_TO_DHCP_IP:
Could not discover WLC using static IP. Forcing AP to use DHCP.

The most probable thing is that you didn't set the default gateway. You need default gateway to stop the OS from trying to update IP address from DHCP server. Here is how.

debug capwap console cli

debug capwap client no-reload

capwap ap ip address 10.0.0.1 255.255.255.0

capwap ap ip default-gateway 10.0.0.254

And then use the archive command to transfer k9w7 to the ap.

假设你的设备是/dev/tty.usbserial,命令如下:

screen /dev/tty.usbserial 9600

诚然,Telnet 这个协议的使用范围正在缩窄。Windows 7 或更新的版本。甚至默认不安装其客户端程式。但作为网络管理员的我们来说,Telnet 仍然是实验环境里面,我们最钟爱的协议。反正我们的密码就是Cisco。还怕sniffer 么。

在使用OS X 时,telnet 至某些设备会出现以下提示:

No default realm defined for Kerberos!

你有三种对策:

1. 不管它

2. 修改~/.telnetrc,增加如下内容:

default unset autologin

3. 配置设备上的Kerberos

Current Software Release

Upgrade Path to 7.0.220.0 Software

3.2.78.0 or later 3.2 release

Upgrade to 4.0.206.0 or later 4.0 release, then upgrade to 4.2.176.0, before upgrading to 7.0.230.0.

4.0.155.5 or later 4.0 release

Upgrade to 4.2.176.0 or later 4.2 releases before upgrading to 7.0.230.0.

4.1.171.0 or later 4.1 release

Upgrade to 4.2.209.0 before upgrading to 7.0.230.0.

4.1.191.xM

Upgrade to 4.1.192.35M and then to 6.0.182.0 before upgrading to 7.0.230.0.

4.1.192.22M or 4.1.192.35M

Upgrade to 4.2.209.0 before upgrading to 7.0.230.0.

4.2.130.0 or earlier 4.2 release

Upgrade to 4.2.209.0 before upgrading to 7.0.230.0.

4.2.173.0 or later 4.2 release

You can upgrade directly to 7.0.230.0.

4.2.209.0 or later 4.2 release

You can upgrade directly to 7.0.230.0.

5.0.148.0 or later 5.0 release

You can upgrade directly to 7.0.230.0.

5.1.151.0 or later 5.1 release

Upgrade to a 5.2 or a 6.0 release and then upgrade to 7.0.230.0.

5.2.157.0 or later 5.2 release

You can upgrade directly to 7.0.230.0.

6.0.188.0 or later 6.0 release

You can upgrade directly to 7.0.230.0.

6.0.196.0 or later 6.0 release

You can upgrade directly to 7.0.230.0.

7.0.98.0

You can upgrade directly to 7.0.230.0.

7.0.98.218

You can upgrade directly to 7.0.230.0.

7.0.116.0

You can upgrade directly to 7.0.230.0.

7.0.220.0

You can upgrade directly to 7.0.230.0.

[ mysqlcheck ]

mysqlcheck -r -u{USERNAME} -p{PASSWORD} {DATABASE} {TABLE}

[myisamchk]

myisamchk -r -f {FILENAME}.MYI

[ php.ini ]

max_execution_time = 300

[ www.conf ]

request_terminate_timeout = 300

[ nginx.conf ]

fastcgi_read_timeout 300; 

[ nginx site configuration ]

fastcgi_read_timeout 300; 

Then restart php5-fpm and Nginx.

Photography

Tools / Links

Recent Comments

  • k: 666 read more
  • k: 这张好屌 read more
  • erebus: 非常喜欢 read more
  • Frank: Its such as you read my thoughts! You seem to read more
  • John: I’ll immediately grasp your rss as I can not in read more
  • Jack: I've been browsing online greater than three hours lately, yet read more
  • erebus: Marked read more
  • erebus: oops read more
  • Shen, LiFeng: 相机LCD 和电脑LCD 严重有别。导致拍摄的时候爆光不足。无法弥补。 read more
  • erebus: 好昏暗 read more

Recent Entries

Books