請教一下各位前輩們,小生的系統是 Debian Sarge base-system,原本使用內附的核心(2.4.27)時 ADSL 連線一切正常,自從在把 kernel 更新到 2.6.12.3 的時候,因為不小心把 IPv6 的東西編譯成模組,而已至於開機之後都會載入那些 IPv6 的東東,而且 ifconfig -a 產生的訊息中,已經沒有 ppp 的介面而多了一個 sit0,那個好像是 IPv6 轉換 IPv4 之類的東西,而且執行 pon 指令就會出現以下這段訊息:
/usr/sbin/pppd: In file /etc/ppp/peers/provider: unrecognized option '/dev/modem'
小生試著把 /etc/ppp/peers/provider 內的 /dev/modem 註解掉,但是這樣每當一執行 pon 時就出現 ATZ 三個字以後整個 console 當掉。後來小生把核心重編拿掉 IPv6 但是問題還是依舊,以下是小生 /etc/ppp/peers/provider 的內容,煩請各位前輩指點一下不才的小生好嗎??? 非常的感謝各位!!!
# example configuration for a dialup connection authenticated with PAP or CHAP
#
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd ( 8 ) for information on all the options.
# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
user "myusername@realm"
# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********"
# Serial device to which the modem is connected.
/dev/modem
# Speed of the serial line.
115200
# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute
# Makes pppd "dial again" when the connection is lost.
persist
# Do not ask the remote to authenticate.
noauth