belcel f**k off
Добавлено: 26 май 2004, 04:10
В-общем проблема в следующем: после дозвона кроме белселовского сервака нефига не пингуется, то есть инета нету... Вопрос - где грабли?
О себе: Slackware-current, linux-2.6.6, ppp-2.4.2, udev-025
Конфиги (респект Llama&Skylink) и сообщения pppd ниже:
/etc/ppp/peers/belcel
----------------------------
#user name
name belcel
#tty device (COM cable connected directly to COM1 port)
#/dev/ttyS0
#tty device (COM cable + USB to 9-pin Serial Converter)
/dev/ttyUSB0
# Serial port line speed (COM cable only)
#115200
# Serial port line speed (COM cable + USB to 9-pin Serial Converter)
230400
# Control character handling
asyncmap 20A0000
escape FF
#
# Generic options
#
defaultroute
# Comment this line out to let pppd background itself.
nodetach
# Set MTU
mtu 1400
# Use hardware flow conrtrol
crtscts
# Let the phone figure out all the IP addresses
noipdefault
ipcp-accept-local
ipcp-accept-remote
# No ppp compression
novj
novjccomp
# For sanity, keep a lock on the serial line
lock
#get DNS from the provider
usepeerdns
noauth
#
# Chat scripts
#
connect "/usr/sbin/chat -f /etc/ppp/chatscripts/belcel-connect-chat"
disconnect "/usr/sbin/chat -f /etc/ppp/chatscripts/belcel-disconnect-chat"
----------------------------
/etc/ppp/options
----------------------------
# General configuration options for PPPD:
lock
defaultroute
noipdefault
modem
/dev/ttyUSB0
230400
#/dev/modem
#57600
crtscts
# Uncomment the line below for more verbose error reporting:
debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do. To work around this,
# uncomment the line below. Note that this may have negative side effects
# on system security if you allow PPP dialins. See the docs in /usr/doc/ppp*
# for more information.
noauth
passive
asyncmap 0
name "belcel"
----------------------------
/etc/ppp/belcel-connect-chat
----------------------------
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT '\nRINGING\r\n\r\nRINGING\r'
SAY "CDMA 2000 modem init: press <ctrl>-C to disconnect"
TIMEOUT 5
'' 'AT'
OK 'ATZ'
OK 'at+crm=1;&C0'
OK 'ATS0=0'
OK 'ATD#777'
CONNECT ' '
SAY "\n + connected"
----------------------------
/etc/ppp/belcel-disconnect-chat
----------------------------
ABORT BUSY
ABORT ERROR
ABORT 'NO DIALTONE'
TIMEOUT 30
'' '+++\c'
SAY " + sending break"
'' 'ATH'
SAY "\n + dropping data connection"
----------------------------
/etc/ppp/resolv.conf
----------------------------
nameserver 193.232.248.2
nameserver 193.232.248.45
----------------------------
/tmp/ppp.log
----------------------------
CDMA 2000 modem init: press <ctrl>-C to disconnect
+ connected
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <auth chap MD5> <magic 0xc58cdcee> <pcomp> <accomp> <mrru 1500> <endpoint [null]>]
sent [LCP ConfRej id=0x2 <mrru 1500>]
rcvd [LCP ConfReq id=0x3 <mru 1500> <asyncmap 0x0> <auth chap MD5> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [LCP ConfNak id=0x3 <auth pap>]
rcvd [LCP ConfReq id=0x4 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [LCP ConfAck id=0x4 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [PAP AuthReq id=0x1 user="belcel" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 00> <addr 192.168.11.250>]
sent [IPCP ConfRej id=0x5 <compress VJ 0f 00>]
rcvd [LCP ProtRej id=0x6 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfNak id=0x1 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
sent [IPCP ConfReq id=0x2 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
rcvd [IPCP ConfReq id=0x7 <addr 192.168.11.250>]
sent [IPCP ConfAck id=0x7 <addr 192.168.11.250>]
rcvd [IPCP ConfAck id=0x2 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
local IP address 10.10.14.82
remote IP address 192.168.11.250
primary DNS address 193.232.248.2
secondary DNS address 193.232.248.45
Script /etc/ppp/ip-up started (pid 2774)
Script /etc/ppp/ip-up finished (pid 2774), status = 0x0
О себе: Slackware-current, linux-2.6.6, ppp-2.4.2, udev-025
Конфиги (респект Llama&Skylink) и сообщения pppd ниже:
/etc/ppp/peers/belcel
----------------------------
#user name
name belcel
#tty device (COM cable connected directly to COM1 port)
#/dev/ttyS0
#tty device (COM cable + USB to 9-pin Serial Converter)
/dev/ttyUSB0
# Serial port line speed (COM cable only)
#115200
# Serial port line speed (COM cable + USB to 9-pin Serial Converter)
230400
# Control character handling
asyncmap 20A0000
escape FF
#
# Generic options
#
defaultroute
# Comment this line out to let pppd background itself.
nodetach
# Set MTU
mtu 1400
# Use hardware flow conrtrol
crtscts
# Let the phone figure out all the IP addresses
noipdefault
ipcp-accept-local
ipcp-accept-remote
# No ppp compression
novj
novjccomp
# For sanity, keep a lock on the serial line
lock
#get DNS from the provider
usepeerdns
noauth
#
# Chat scripts
#
connect "/usr/sbin/chat -f /etc/ppp/chatscripts/belcel-connect-chat"
disconnect "/usr/sbin/chat -f /etc/ppp/chatscripts/belcel-disconnect-chat"
----------------------------
/etc/ppp/options
----------------------------
# General configuration options for PPPD:
lock
defaultroute
noipdefault
modem
/dev/ttyUSB0
230400
#/dev/modem
#57600
crtscts
# Uncomment the line below for more verbose error reporting:
debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do. To work around this,
# uncomment the line below. Note that this may have negative side effects
# on system security if you allow PPP dialins. See the docs in /usr/doc/ppp*
# for more information.
noauth
passive
asyncmap 0
name "belcel"
----------------------------
/etc/ppp/belcel-connect-chat
----------------------------
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT '\nRINGING\r\n\r\nRINGING\r'
SAY "CDMA 2000 modem init: press <ctrl>-C to disconnect"
TIMEOUT 5
'' 'AT'
OK 'ATZ'
OK 'at+crm=1;&C0'
OK 'ATS0=0'
OK 'ATD#777'
CONNECT ' '
SAY "\n + connected"
----------------------------
/etc/ppp/belcel-disconnect-chat
----------------------------
ABORT BUSY
ABORT ERROR
ABORT 'NO DIALTONE'
TIMEOUT 30
'' '+++\c'
SAY " + sending break"
'' 'ATH'
SAY "\n + dropping data connection"
----------------------------
/etc/ppp/resolv.conf
----------------------------
nameserver 193.232.248.2
nameserver 193.232.248.45
----------------------------
/tmp/ppp.log
----------------------------
CDMA 2000 modem init: press <ctrl>-C to disconnect
+ connected
Serial connection established.
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0x9fb4487d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <auth chap MD5> <magic 0xc58cdcee> <pcomp> <accomp> <mrru 1500> <endpoint [null]>]
sent [LCP ConfRej id=0x2 <mrru 1500>]
rcvd [LCP ConfReq id=0x3 <mru 1500> <asyncmap 0x0> <auth chap MD5> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [LCP ConfNak id=0x3 <auth pap>]
rcvd [LCP ConfReq id=0x4 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [LCP ConfAck id=0x4 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xc58cdcee> <pcomp> <accomp>]
sent [PAP AuthReq id=0x1 user="belcel" password=<hidden>]
rcvd [PAP AuthAck id=0x1 ""]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 00> <addr 192.168.11.250>]
sent [IPCP ConfRej id=0x5 <compress VJ 0f 00>]
rcvd [LCP ProtRej id=0x6 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
rcvd [IPCP ConfNak id=0x1 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
sent [IPCP ConfReq id=0x2 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
rcvd [IPCP ConfReq id=0x7 <addr 192.168.11.250>]
sent [IPCP ConfAck id=0x7 <addr 192.168.11.250>]
rcvd [IPCP ConfAck id=0x2 <addr 10.10.14.82> <ms-dns1 193.232.248.2> <ms-dns3 193.232.248.45>]
local IP address 10.10.14.82
remote IP address 192.168.11.250
primary DNS address 193.232.248.2
secondary DNS address 193.232.248.45
Script /etc/ppp/ip-up started (pid 2774)
Script /etc/ppp/ip-up finished (pid 2774), status = 0x0