上個月更新電腦後發現google相關的app都出現斷線的訊息,如google map無法取得路況及大眾運輸的資訊,google now無法搜尋。大概有覺得應該是DNS server的問題,不過一直找不到問題在哪,甚至也以為是WIFI AP的問題。後來發現問題在pfsense的DHCP server選項DNS server我之前因為有開啟DNS forwarder加入自身IP,那個時候是pfsense自己撥接,後來我改成使用dlink router當作gateway之後也沒有做更改。將DNS server設定刪除後解決,DNS forwarder功能也沒問題。
10/11 更新
發現不是上述的問題而是WIFI AP造成,將AP重設後問題解決
參考資料
自己
2018年10月11日 星期四
2013年12月9日 星期一
pfsense pptp 807
本來以為807是port filtered造成的,結果發現是一場誤會。(修正:filtered會造成807沒錯,但是是要從內網去test port,如果從外網IP去test會有filtered卻連得上的結果,可能跟中華電信有關)
我出現807時pfsense都會出現這行字 vnode_pager_getpages i/o read error,然後web gui會出現這段並且無法登入,也許出現的字會略不同:
另外如果要使用PPPOE則不要在general setup設定DNS server,並且要把之前使用的gateway清除,否則會無法獲取IP。
如果無法獲取IP時便重啟之參考code
參考資料
http://www.vixual.net/blog/archives/32
http://forum.pfsense.org/index.php?topic=39390.0
http://www.techsupportforum.com/forums/f31/windows-7-pptp-vpn-error-807-and-800-a-559778.html
http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/windows-7-pro-pptp-vpn-error-807-and-will-not/6cb8e5a3-a107-4164-bc2b-131a5fc12ba6
http://zh.wikipedia.org/wiki/%E9%BB%9E%E5%B0%8D%E9%BB%9E%E9%9A%A7%E9%81%93%E5%8D%94%E8%AD%B0
http://blog.xuite.net/gp.gp/os/26008367
http://forum.pfsense.org/index.php?topic=57459.0
http://forum.pfsense.org/index.php?topic=53469.5;wap2
http://serverfault.com/questions/396666/batch-ping-ip-and-execute-different-commands-on-return
我出現807時pfsense都會出現這行字 vnode_pager_getpages i/o read error,然後web gui會出現這段並且無法登入,也許出現的字會略不同:
Warning: fopen(/tmp/config.lock): failed to open stream: Device not configured in /etc/inc/util.inc on line 127 Warning: flock() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 138 Warning: fclose() expects parameter 1 to be resource, null given in /etc/inc/util.inc on line 139 Warning: session_start(): open(/var/tmp//sess_c117ccb8d15b44abd4d463ae8ce44d7c, O_RDWR) failed: No space left on device (28) in /etc/inc/auth.inc on line 1357搜尋的結果並不是pfsense的問題,我之前還寫了個小程式讓pfsense重啟,短期是有效但是會造成使用中一直中斷也不行,有人說把virtualbox的設定值存放裝置內使用主機I/O快取關閉,這樣可以改用virtualbox內的cache,不過測試結果還是一樣會出現錯誤,可能我硬碟真的loading太大。最後參考了一篇提到,把虛擬硬碟檔案放到與系統碟不同的硬碟存放就可以避免,試了之後也的確有效。注意此處的系統碟不是指WINDOWS安裝的磁區,而是另一顆實體硬碟上的磁區。
另外如果要使用PPPOE則不要在general setup設定DNS server,並且要把之前使用的gateway清除,否則會無法獲取IP。
如果無法獲取IP時便重啟之參考code
ping -n 1 xxx.yyy.zzz.www | findstr TTL && start home.mp3
ping -n 1 xxx.yyy.zzz.www | findstr TTL || start alarm.mp3
參考資料
http://www.vixual.net/blog/archives/32
http://forum.pfsense.org/index.php?topic=39390.0
http://www.techsupportforum.com/forums/f31/windows-7-pptp-vpn-error-807-and-800-a-559778.html
http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/windows-7-pro-pptp-vpn-error-807-and-will-not/6cb8e5a3-a107-4164-bc2b-131a5fc12ba6
http://zh.wikipedia.org/wiki/%E9%BB%9E%E5%B0%8D%E9%BB%9E%E9%9A%A7%E9%81%93%E5%8D%94%E8%AD%B0
http://blog.xuite.net/gp.gp/os/26008367
http://forum.pfsense.org/index.php?topic=57459.0
http://forum.pfsense.org/index.php?topic=53469.5;wap2
http://serverfault.com/questions/396666/batch-ping-ip-and-execute-different-commands-on-return
訂閱:
文章 (Atom)