
Connection terminated. << โดนตัดจากทาง ISP ครับ คาดว่า user name หรือ password ผิด หรือ account หมดอายุครับ ถ้าใช้ TOT ก็อาจเป็นได้ว่าไม่ได้ใช้นานแล้ว ก็จะเจอปัญหานี้ได้ครับ
อนึ่ง นี่เป็นการคาดเดาที่อิงจากประสบการณ์ของผมเองนะครับ รอความเห็นท่านอื่นๆ อีกทีละกันครับ :)



ลองดูนะครับ ไม่ค่อยเป็นเหมือนกันครับ
แก้ /etc/ppp/options ( เดิมน่าจะมีแค่ lock กับ debug ) เป็น
[code:1:15934fe5dd]asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx[/code:1:15934fe5dd]
ทั้งหมดนี้เป็นค่าดีฟอลท์ของ ubuntu ของผมใช้ค่านี้แล้วต่อได้ครับ (ถ้าเดิมมี debug อยู่ คงค่าไว้ก็ได้ครับ)
คำอธิบายของค่าแต่ละค่ามีดังนี้
# async character map -- 32-bit hex; each bit is a character
# that needs to be escaped for pppd to receive it. 0x00000001
# represents '\x01', and 0x80000000 represents '\x1f'.
asyncmap 0
# Require the peer to authenticate itself before allowing network
# packets to be sent or received.
# Please do not disable this setting. It is expected to be standard in
# future releases of pppd. Use the call option (see manpage) to disable
# authentication for specific peers.
auth
# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
# on the serial port.
crtscts
# Specifies that pppd should use a UUCP-style lock on the serial device
# to ensure exclusive access to the device.
lock
# Don't show the passwords when logging the contents of PAP packets.
# This is the default.
hide-password
# Use the modem control lines. On Ultrix, this option implies hardware
# flow control, as for the crtscts option. (This option is not fully
# implemented.)
modem
# Add an entry to this system's ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system.
proxyarp
# If this option is given, pppd will send an LCP echo-request frame to the
# peer every n seconds. Normally the peer should respond to the echo-request
# by sending an echo-reply. This option can be used with the
# lcp-echo-failure option to detect that the peer is no longer connected.
lcp-echo-interval 30
# If this option is given, pppd will presume the peer to be dead if n
# LCP echo-requests are sent without receiving a valid LCP echo-reply.
# If this happens, pppd will terminate the connection. Use of this
# option requires a non-zero value for the lcp-echo-interval parameter.
# This option can be used to enable pppd to terminate after the physical
# connection has been broken (e.g., the modem has hung up) in
# situations where no hardware modem control lines are available.
lcp-echo-failure 4
# Disable the IPXCP and IPX protocols.
# To let pppd pass IPX packets comment this out --- you'll probably also
# want to install ipxripd, and have the Internal IPX Network option enabled
# in your kernel. /usr/doc/HOWTO/IPX-HOWTO.gz contains more info.
noipx
จำได้ว่า เคยลง tle (fedora ด้วย) แล้วมีปัญหาต่อไม่ได้เหมือนกัน
ต้องใช้วิธีสลับกันระหว่าง kppp กับ Network Device Control


การแก้ไฟล์ /etc/ppp/options ต้องใช้สิทธิ์ของ root ขั้นตอนคือให้เข้าไปที่เทอร์มินอล เปลี่ยนสิทธิ์เป็น root (ถ้าจำไม่ผิดพาสเวิรด์เดิมคือ 123456) แล้วทำการแก้ไขไฟล์ตามต้องการ
[code:1:4bbd1a604a]su
Password:<-- PASSWORD (ค่าเดิมคือ 123456)
gedit /etc/ppp/options
<-- แก้ตามต้องการ
exit[/code:1:4bbd1a604a]


ไม่แน่ใจนะครับ ผมลองค้นกูเกิลดู ปรากฎว่าพบปัญหานี้กับไดร์เวอร์ของ linuxant (hsf,hcf) เป็นส่วนใหญ่
ถ้าเดาไม่ผิด ปัญหานี้ยังไม่สามารถแก้ได้ เนื่องจากไดร์เวอร์ของ linux ยังไม่สามารถแทนไดร์เวอร์ที่ใช้กับวินโดส์ได้อย่างสมบูรณ์
ถึงแม้คนเขียนไดร์เวอร์จะอยู่ในสังกัดของ coxenant เหมือนกันก็ตาม (แต่แยกบริษัทออกมาเป็น linuxant)
คนตอบปัญหาบอกว่าต้องใช้ซีพียูความถึ่สูงๆ ถึง 1G จึงจะแก้ได้ แต่อีกคนก็บอกว่า ของเขา 1.7G ก็ยังมีปัญหา
ขอเล่าประสบการณ์เกี่ยวกับ internal modem สักเล็กน้อยครับ
กรณีที่ 1. ผมทดลองทำ ppp server โดยมีโมเด็ม external-serial 2 ตัว ,external-usb 1 ตัว และ internal 2 ตัว
ตัวที่เป็น external-serial ไม่มีปัญหา
ตัวที่เป็น external-usb ยังมีปัญหากับไดร์เวอร์บ้าง แต่ก็พอใช้งานได้ สายหลุดบ้าง แต่เครื่องไม่แฮงค์
ตัวที่เป็น internal ใช้ไดร์เวอร์ hsfmodem ของ linuxant ทั้งคู่ ตัวหนึ่งเป็นของ aztech ใช้งานได้ดีมาก
ส่วนอีกตัวเป็นของ u.s.robotics มีปัญหาร้ายแรงคือ เมื่อใช้ไปสักพัก server จะแฮงค์ ถึงตอนนี้ก็ยังแก้ปัญหานี้ไม่ได้
กรณีที่ 2. เครื่องของพี่ชาย ใช้โมเด็ม u.s.robotics เหมือนกัน เขาใช้ windows-me ต่อเข้า easy ได้ แต่ต่อเข้า ppp-server ของผมไม่ได้
ตอนหลังเขาลง windows ใหม่ ปรากฏว่าต่ออะไรไม่ได้เลยเหมือนกัน ต้องเปลี่ยนโมเด็มเป็นยี่ห้ออื่นซึ่งเป็น internal เหมือนกัน ก็สามารถต่อได้ทั้ง easy และ ppp-server
มีข้อพิจารณาอีกเรื่องคือ ไดร์เวอร์ hsfmodem ใช้งานได้แค่ 14.4k ต้องซื้อ license ในราคา $15 จึงจะใช้ได้เต็ม 56k
แต่เท่าที่ใช้งานมา internal มีข้อดีคือ ทนต่อการ surge ของฟ้าผ่าสูงกว่า external (จริงหรือเปล่าก็ไม่ทราบ รายงานจากประสบการณ์ครับ)
เล่าสู่กันฟังเฉยๆ ครับ ท่านใดมีความรู้จริงๆ เห็นว่าผิดพลาดยังไง รบกวนช่วยแก้ไขให้ด้วยครับ

ผมเองก็สงสัยอย่างนั้นเหมือนกันครับ แต่ไม่เป็นไรครับ ผมลง OS 2 ตัว คือ วินโดวส์กับลินุกซ์ เวลาผมต่อเน็ต ผมก็จะใช้วินโดวส์เพื่อตัดปัญหา แต่ถ้ามีหนทางแก้ไขก็จะดียิ่งขึ้นไปอีก เพราะกะว่าจะลงลินุกซ์ตัวเดียวถ้าใช้คล่องแล้ว ขอบคุณทุกท่านที่กรุณาตอบคำถามครับ
Posts: 6
Joined: 04-11-2005