Frequently Asked Questions for FreeBSD 2.X : Networking : 我不能使用 ppp ,我做錯了什麼嗎 ?
Previous: FreeBSD 支援 NAT 或 Masquerading 嗎?
Next: 我一執行 ppp ,它就掛在那邊不動了

10.7. 我不能使用 ppp ,我做錯了什麼嗎 ?

你應該先看看 ppp man pageppp 使用說明. 使用以下指令來打開記錄 (logging) 的功能

        set log Phase Chat Connect Carrier lcp ipcp ccp command
      

這個命令可以在 ppp command prompt 或者是在 /etc/ppp/ppp.conf 組態檔案中加入。 (加在 default section 的開頭最好). 確定在 /etc/syslog.conf 裡面有這麼一行:

        !ppp
        *.*              /var/log/ppp.log
      

而且/var/log/ppp.log 這個檔案存在。 如此一來 你可以從 log 檔案中知道到底發生了什麼事情。 先不用擔心檔案的內容你看不懂, 如果你要向人求救的話 , 救你的人會看得懂的。

如果你系統上的那份 ppp 不提供 "set log" 的指令的話, 你應該去下載 最新版本. 這個版本在 FreeBSD 2.1.5 以上的版本都可以使用。

10.7.1. 我一執行 ppp ,它就掛在那邊不動了

10.7.2. Ppp 在 -auto 模式下不能撥號

10.7.3. What does "No route to host" mean

10.7.4. My connection drops after about 3 minutes

10.7.5. My connection drops under heavy load

10.7.6. My connection drops after a random amount of time

10.7.7. Nothing happens after the Login OK! message

10.7.8. I keep seeing errors about magic being the same

10.7.9. LCP negotiations continue 'till the connection is closed

10.7.10. Ppp locks up shortly after connecting

10.7.11. Ppp locks up when I shell out to test it

10.7.12. Ppp over a null-modem cable never exits

10.7.13. Why does ppp dial for no reason in -auto mode

10.7.14. What do these CCP errors mean

10.7.15. Ppp locks up during file transfers with IO errors

10.7.16. Why doesn't ppp log my connection speed?

10.7.17. Ppp ignores the `\' character in my chat script

10.7.18. Ppp gets a seg-fault, but I see no ppp.core file

10.7.19. The process that forces a dial in auto mode never connects

10.7.20. Why don't most games work with the -alias switch

10.7.21. What are FCS errors ?

10.7.22. None of this helps - I'm desperate !


Frequently Asked Questions for FreeBSD 2.X : Networking : 我不能使用 ppp ,我做錯了什麼嗎 ?
Previous: FreeBSD 支援 NAT 或 Masquerading 嗎?
Next: 我一執行 ppp ,它就掛在那邊不動了