имею следующую ситуацию
есть Siemens MC60 + COM кабель хочу пользоватся инетом и шарой
бьюсь вторую неделю с настройками (в винде эта конфигурация работает)
конфиги следующие:
/etc/chatscripts/beeline
Исходный код
ABORT "BUSY"
ABORT "NO CARRIER"
"" "AT"
"OK" "AT+CGDCONT=1,\042IP\042,\042internet.beeline.ru\042"
OK ATD*99***1#
TIMEOUT 30
CONNECT
/etc/ppp/pap-secrets
Исходный код
# Secrets for authentication using PAP
# client server secret IP addresses
"beeline" * "beeline"
/etc/ppp/chap-secrets
Исходный код
# Secrets for authentication using CHAP
# client server secret IP addresses
"beeline" * "beeline"
/etc/ppp/peers/beeline
Исходный код
# Most GPRS phones don't reply to LCP echo's
lcp-echo-failure 0
lcp-echo-interval 0
# Connect chat
connect "/usr/sbin/chat -e -v -f /etc/chatscripts/beeline"
debug
# Bluetooth serial port
/dev/ttyS0
# Serial port line speed
115200
#57600
# Hardware flow control:
crtscts
# Ignore carrier detect signal from the modem:
local
# pppd must not propose any IP address to the peer!
noipdefault
# Accept peers idea of our local address
ipcp-accept-local
# Add the ppp interface as default route to the IP routing table
defaultroute
# Newer pppd's also support replacing the default route, if one is
# already present, when the GPRS connection should be set as the default route
# to the network
replacedefaultroute
# DNS servers from the phone:
# some phones support this, some don't.
usepeerdns
# ppp compression:
# ppp compression may be used between the phone and the pppd, but the
# serial connection is usually not the bottleneck in GPRS, so the
# compression is useless (and with some phones need to disabled before
# the LCP negotiations succeed).
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
# The phone is not required to authenticate:
noauth
# Username and password:
# If username and password are required by the APN, put here the username
# and put the username-password combination to the secrets file:
# /etc/ppp/pap-secrets for PAP and /etc/ppp/chap-secrets for CHAP
# authentication. See pppd man pages for details.
user "beeline"
Показать весь код