fixing VPN problem in Ubuntu Windows 
Source : http://blog.wensheng.org/2015/05/fixing ... buntu.html

fixing VPN problem in Ubuntu

I set up VPN in Ubuntu 14.04, but when I tried to turn it on in NetworkManager, I kept getting errors like "No suitable device found", "Could not find source connection" in /var/log/syslog.

The problem turned out to be that my ethernet connection was not managed by NetworkManager. "nmcli c" didn't show my wired connection.

The solution:
Edit /etc/NetworkManager/NetworkManager.conf, in section [ifupdown], change "managed=false" to "managed=true", then do a:
"sudo service network-manager restart"
Now both vpn and ethernet connections are managed by NetworkManager, turning on VPN just works.

p.s.
About Having DNS Issues when connected to a VPN

source : https://askubuntu.com/questions/320921/having-dns-issues-when-connected-to-a-vpn-in-ubuntu-13-04

Question
I am connecting to a Cisco VPN Server using vpnc. Once connected, my machine was unable to automatically update DNS setting from the new VPN. I tested by temporarily changing /etc/resolv.conf with the proper nameserver and search domain, and everything worked. This is obviously not a long term solution, so I added an additional DNS server and search domain to the VPN settings in Network manager. With those settings in place, resolvconf does add the search domain, but not the DNS IP, and I still cannot do any lookups.

What is my next step in configuring or troubleshooting from here?

Answer

First make sure that there are no lines beginning with nameserver in any files in /etc/resolvconf/resolv.conf.d. If /etc/resolvconf/resolv.conf.d/tail is a symbolic link to target original, make it point to /dev/null.

Second, disconnect from the VPN. Edit /etc/NetworkManager/NetworkManager.conf

$ sudo gedit /etc/NetworkManager/NetworkManager.conf

and comment out

dns=dnsmasq
(i.e., add a # so that it looks like the following)

#dns=dnsmasq
and then

sudo service network-manager restart

[ 發表回應 ] ( 16預覽 )   |  常註連結  |   ( 2.8 / 1157 )
Raid Card Setting Suggestion by LSI 
Here are some suggestions you can try to improve your
performance:
set:
1. set write cache ->enabled (objects -> physical drives -> press
enter on each hard drive and set write cache to enable)
2. read policy -> adaptive (objects -> logical drive)
3. write policy -> wrtback (objects -> logical drive)
4. cache policy -> direct i/o (objects -> logical drive) also, you may have to troubleshoot your stripe size to get the optimal writing performance when using raid. If you think you will be writing large sequential files, then use a larger stripe size.


[ 發表回應 ] ( 17預覽 )   |  常註連結  |   ( 3 / 1143 )
隨行蒙恬筆Windows 7 Bug Fix 
Remove Windows Update KB2973201

[ 發表回應 ] ( 17預覽 )   |  常註連結  |   ( 2.9 / 1166 )
清心明月 
清 風不識字 何以亂翻書 明月斜窗照 學子案前倦
心 有千千結 何奈無人曉 書生手提筆 滿腹牢騷發
明 日君王側 言議紛紛擾 驚疑舉不定 徒呼說奈何
月 月夜夢醒 光陰催人老 募然再回首 已是浩告白

甲爸單系

[ 發表回應 ] ( 22預覽 )   |  常註連結  |   ( 3.1 / 751 )
農曆曆法 
資料來源:香港天文台
http://www.hko.gov.hk/gts/time/calendarinfoc.htm

曆法是為了配合人們日常生活的需要,根據天象而制訂的計算時間方法。在中國,農業向來是經濟的命脈,而農業依賴曆法以計算季節的更替,因此中國採用的曆法又稱為農曆。

根據月球環繞地球運行所訂的曆法稱為陰曆;根據太陽在不同季節的位置變化所訂的曆法稱為陽曆;農曆是涵蓋月球運行規律及太陽位置變化的陰陽曆。

農曆的基礎是「回歸年」和「朔望月」。「回歸年」是太陽接連兩次通過春分點所需的時間,即365.2422日(365日5小時48分46秒)。「朔望月」是月球接連兩次朔(新月)或兩次望(滿月)相隔的時間,即29.5306日(29日12小時44分3秒)。

對古時一般生活需要來說,以月相的變化(即新月>上弦>滿月>下弦>新月)來計算日子是比較方便的方法。農曆以朔為每個月的開端,這時月球和太陽的黃經相等,日食發生時必定是朔。月食發生時必定是望,這時月球和太陽的黃經相差180度。

由於12個「朔望月」只有354.3672日,跟「回歸年」的365.2422日相差超過10日,把相差累積起來便成為閏月。早在公元前五、六百年的春秋時代,中國曆法便採用十九年七個閏月的安排。

[ 發表回應 ] ( 22預覽 )   |  常註連結  |   ( 2.9 / 1242 )

<前一頁 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 下一頁> >>