ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
[size=18:1cfd604b19][/size:1cfd604b19][color=blue:1cfd604b19][/color:1cfd604b19]ผมใช้ลินุกซ์ทะเล 7.0 และ internal modem ของ U.S.Robotics หลังจากติดตั้งไดรเวอร์โมเดมที่มีมาให้ในแผ่นที่ 3 และใช้ KPPP ตรวจหา ปรากฏว่า มันพบโมเด็มแล้ว แต่พอเชื่อมต่ออินเทอร์เน็ต มันก็เหมือนจะเชื่อมต่อสำเร็จแต่แล้วมันก็ขึ้นมาว่า The pppd daemon died unexpectedly! Exit status: 16 See 'man pppd' for an explanation of the error codes or take a look at the kppp FAQ on http://devel-home.kde.org/~kppp/index.html พอผมคลิกต่อไป มันก็ขึ้นมาว่า KPPP could not prepare a PPP log. It's very likely that pppd was started without the "debug" option. Without this option it's difficult to find out PPP problems, so you should turn on the debug option. Shall I turn it on now ผมเลยตอบไปว่า "yes" เสร็จแล้วมันก็ขึ้นมาว่า The "debug" option has been added. You should now try to reconnect. If that fails again, you will get a PPP log that may help you to track down the connection problem. ใน PPP log file มันก็มีข้อความดังนี้ครับ Nov 16 22:46:29 linuxtle407 pppd[10771]: pppd 2.4.2 started by yusuke_432, uid 500 Nov 16 22:46:29 linuxtle407 pppd[10771]: Using interface ppp0 Nov 16 22:46:29 linuxtle407 pppd[10771]: Connect: ppp0 <--> /dev/ttySHSF0 Nov 16 22:46:36 linuxtle407 pppd[10771]: PAP authentication succeeded Nov 16 22:46:36 linuxtle407 pppd[10771]: Deflate (15) compression enabled Nov 16 22:46:48 linuxtle407 pppd[10771]: local IP address 10.21.3.252 Nov 16 22:46:48 linuxtle407 pppd[10771]: remote IP address 10.21.1.1 Nov 16 22:46:48 linuxtle407 pppd[10771]: primary DNS address 202.44.8.34 Nov 16 22:46:48 linuxtle407 pppd[10771]: secondary DNS address 202.44.8.2 Nov 16 22:46:49 linuxtle407 pppd[10771]: local IP address 10.21.3.118 Nov 16 22:46:49 linuxtle407 pppd[10771]: remote IP address 10.21.1.1 Nov 16 22:46:49 linuxtle407 pppd[10771]: primary DNS address 202.44.8.34 Nov 16 22:46:49 linuxtle407 pppd[10771]: secondary DNS address 202.44.8.2 Nov 16 22:50:14 linuxtle407 pppd[10771]: Hangup (SIGHUP) Nov 16 22:50:14 linuxtle407 pppd[10771]: Modem hangup Nov 16 22:50:14 linuxtle407 pppd[10771]: Connection terminated. Nov 16 22:50:14 linuxtle407 pppd[10771]: Connect time 3.8 minutes. Nov 16 22:50:14 linuxtle407 pppd[10771]: Sent 9425 bytes, received 3840 bytes. Nov 16 22:50:15 linuxtle407 pppd[10771]: Connect time 3.8 minutes. Nov 16 22:50:15 linuxtle407 pppd[10771]: Sent 9425 bytes, received 3840 bytes. Nov 16 22:50:15 linuxtle407 pppd[10771]: Exit. พอผมเชื่อมต่ออินเทอร์เน็ตใหม่มันก็ยังเป็นเหมือนเดิมครับ รบกวนใครก็ได้ที่พอจะทราบวิธีการแก้ไขช่วยบอกด้วยครับ ขอบคุณครับ
รูปภาพของ Noi
Noi
Rating 5
Posts: 391
Joined: 13-12-2002
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

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

อนึ่ง นี่เป็นการคาดเดาที่อิงจากประสบการณ์ของผมเองนะครับ รอความเห็นท่านอื่นๆ อีกทีละกันครับ :)

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ผมได้ลองเช็คโดยการเชื่อมต่อด้วย Internet Explorer ของวินโดวส์แล้วปรากฏว่ามันเชื่อมต่อได้ครับ ยังไงผมจะลองเช็คดูอีกที ขอบคุณมากครับ

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ลองใช้ username และ password เดียวกันกับที่ใช้ใน IE ของวินโดวส์แล้วแต่ก็ยังต่อไม่ได้เลยครับ

รูปภาพของ wd
wd
Rating 2
Posts: 63
Joined: 04-02-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ลองดูนะครับ ไม่ค่อยเป็นเหมือนกันครับ
แก้ /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

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ค่าในไฟล์ /etc/ppp/options มันไม่ยอมให้แก้ คือ มันอ่านได้อย่างเดียว ไปกำหนดสิทธิ์อะไรให้มันก็ไม่ได้ เลยยังแก้ตามที่บอกไม่ได้เลยครับ พอจะรู้วิธีแก้ครับไหม แต่ยังไงก็ต้องขอขอบคุณนะครับ

รูปภาพของ wd
wd
Rating 2
Posts: 63
Joined: 04-02-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

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

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ขอบคุณครับ แก้ไฟล์ /etc/ppp/options ได้แล้วครับ แต่ก็ยังต่อเน็ตไม่ได้เลย

รูปภาพของ wd
wd
Rating 2
Posts: 63
Joined: 04-02-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

ไม่แน่ใจนะครับ ผมลองค้นกูเกิลดู ปรากฎว่าพบปัญหานี้กับไดร์เวอร์ของ 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 (จริงหรือเปล่าก็ไม่ทราบ รายงานจากประสบการณ์ครับ)

เล่าสู่กันฟังเฉยๆ ครับ ท่านใดมีความรู้จริงๆ เห็นว่าผิดพลาดยังไง รบกวนช่วยแก้ไขให้ด้วยครับ

รูปภาพของ yusuke_432
yusuke_432
Rating 1
Posts: 6
Joined: 04-11-2005
ต่ออินเทอร์เน็ตไม่ได้ครับ ใครก็ได้ช่วยที

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

Syndicate content