SSH connection starts up slowly

The situation is: when connect to a server with SSH session, it starts up slowly (but the web connection is fast). For some tracing and debugging, it is due to the stupid DNS setting by someone.

The reference is – SSH session slow to start? It’s the DNS stupid!, and the solution listing:

1. Check for the DNS settings in /etc/resolv.conf or NetworkManger in Gnome or any management tools on desktop environment. Or
2. Set the ”UseDNS no” in sshd config: /etc/ssh/sshd_config, and then restart sshd.

Enjoy it. 🙂

Solution for android cannot search any wifi access point

The situations are:

1. There are access points but android phone has no result in the list.
2. The access point used in the past cannot be listing too.

The solution is, via the reference – HTC Tattoo WIFI 掃描找不到任何 AP 之解法:


Using any file manager which can access the /data directory for your phone. Then remove a system generated file: /data/misc/wifi/wpa_supplicant.conf.

Because the file is generated by system which can be regenerated after reboot. So after reboot the wifi function works fine. But the secured network connections should be connected by hand again. Enjoy it. 🙂