ху@вей весь мозг съел. Модем от МТС - подключается с пол пинка, такой же точно модем от мегафона - не подключается, переведен в режим модема, разлочен (с компа из мегафоновской оболочки подключается к мтсу с мтсовской симкой), в ресивере никак не хочет подключаться ни с родной ни с мтсовской симкой.
вот чего пишет:
[PGI ~]$ ls -ls /dev/tty*
0 crw-rw-rw- 1 root root 5, 0 Sep 13 1988 /dev/tty
0 crw-rw---- 1 root root 204, 40 Sep 13 1988 /dev/ttyAS0
0 crw-rw---- 1 root root 204, 41 Sep 13 1988 /dev/ttyAS1
0 crw-rw---- 1 root root 188, 0 Jan 1 00:17 /dev/ttyUSB0
0 crw-rw---- 1 root root 188, 1 Jan 1 00:17 /dev/ttyUSB1
0 crw-rw---- 1 root root 188, 2 Jan 1 00:17 /dev/ttyUSB2
[2]+ Done(6) pppd call mts
[PGI ~]$ lsusb
Bus 002 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[PGI ~]$ pppd call mts &
[PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/mts.chat finished (pid 1279), status = 0x3
Connect script failed
файлики настройки:
var/etc/ppp/chats/mts
# GPRS Chat File, contains all parameters that /usr/sbin/chat will pass to the modem to create the GPRS connection
#
#
# Abort Strings
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'TIMEOUT' '10'
#
# Modem Init
'' 'ATZ'
#
#
'OK' 'ATM1L1'
#
# "internet" represents Vodafone's APN, whereas "general.t-mobile.uk" is T-mobiles UK APN address
'OK' 'AT&f+cgdcont=1,"IP","internet.mts.ru","",0,0'
'OK' 'ATDT*99***1#'
'CONNECT' ''
var/etc/ppp/peers/mts
#this file contains all the parameters pppd will pass to the modem to establish the GPRS connection
#
# The user and password has been commented out becasue the "noauth" command is being used
user mts
#password mts
#
# This places a default route in the routing table with the peer as the gateway
defaultroute
#
# This can also be used to replace existing default routes
#replacedefaultroute
#
# Serial Modem to use
/dev/ttyUSB0
460800
#
# Call this chat script to issue the modem commands
connect "/sbin/chat -v -f /var/etc/ppp/chats/mts.chat"
#
# Enable debugging to /var/log/messages
debug
#
# Enable kernel debugging level 4
kdebug 4
#
#
ipcp-no-addresses
#
#
noipdefault
#
# Do not require the peer to use authentication
noauth
#
# Disable Van Jacobson style TCP/IP header compression in both TX and RX
novj
#
# Disable compression control protocol,if peer doesnt accept requests for CCP from pppd
noccp
#
# Use RTS/CTS hardware flow control
crtscts
#
# I cant find what this means, but if its not included there is no output to the command prompt
modem -detach
#
# Use DNS given to peer and rewrite /etc/resolv.conf
usepeerdns
#
# pppd will accept the peers idea of its remote ip address
ipcp-accept-remote
#
# pppd will accept the peers idea of its local ip address
ipcp-accept-local
#
подскажите чего не так сделал? имхо проблема в модеме, но где искать, не могу понять. На этих же настройках на таком же модеме от мтс - работает.
модем 1550