gprs + 2.2.19 + siemens s45 problem
Hi to everyone.
Here's my problem. As you may already guessed, I'm trying to setup a GPRS connection under linux (RedHat 6.2, kernel 2.2.19).
I know it is too ancient, but I installed it on my laptop in ~2001 and don't want to touch, additionally the laptop is too old to run something modern. I believe that if i upgrade to the recent kernel etc, the problem might disappear, but i have no chance to do it (no speed internet to download a linux, no friends with recent CDs :-( (if anyone could ship a cd would be great lol %)
My configuration:
Laptop Toshiba Satellite 460CDT
Phone Siemens S45i connected via irda
RedHat 2.2.19
pppd 2.4.2
Some configs:
/etc/sysconfig/network-scripts/chat-ppp3:
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'AT&FE0+CBST=75'
'OK' 'AT+FCLASS=0'
'OK' 'ATS7=60\\Q0'
'OK' 'AT+CGDCONT=1,"IP","vvv.umc.ua"'
'OK' 'ATD*99***1#'
'CONNECT' ''
'TIMEOUT' '5'
/etc/sysconfig/network-scripts/ifcfg-ppp3: (commented lines are the tries that i performed)
DEVICE="ppp3"
ONBOOT="no"
USERCTL="yes"
PEERDNS="yes"
MODEMPORT="/dev/ircomm0"
LINESPEED="57600" # this seems not working
#LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="no"
#HARDFLOWCTL="yes"
ESCAPECHARS="no"
#PPPOPTIONS="ipcp-accept-remote default-asyncmap nobsdcomp noccp\ nodeflate +chap name umc"
PPPOPTIONS="ipcp-accept-remote novj novjccomp nobsdcomp nopcomp \ noaccomp noccp"
PAPNAME=""
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="5"
RETRYTIMEOUT="100"
BOOTPROTO="none"
/etc/ppp/chap-secrets:
# Secrets for authentication using CHAP
# clientserversecretIP addresses
# a bit insecure - access to everyone
""*""*
*""""*
"umc"*"umc"*
Now when we do "ifup ppp3", we see this in logs:
Mar 15 13:45:17 robot pppd[1426]: Using interface ppp0
Mar 15 13:45:17 robot pppd[1426]: Connect: ppp0 <--> /dev/ircomm0
Mar 15 13:45:18 robot pppd[1426]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x64de8434> <pcomp> <accomp>]
Mar 15 13:45:18 robot pppd[1426]: rcvd [LCP ConfNak id=0x1 <asyncmap 0xa0000>]
Mar 15 13:45:18 robot pppd[1426]: sent [LCP ConfReq id=0x2 <asyncmap 0xa0000> <magic 0x64de8434> <pcomp> <accomp>]
Mar 15 13:45:18 robot pppd[1426]: rcvd [LCP ConfAck id=0x2 <asyncmap 0xa0000> <magic 0x64de8434> <pcomp> <accomp>]
Mar 15 13:45:19 robot pppd[1426]: rcvd [LCP ConfReq id=0x3 <mru 2000> <asyncmap
0xa0000> <pcomp> <accomp> <magic 0xba91ed36> <auth chap MD5>]
Mar 15 13:45:19 robot pppd[1426]: sent [LCP ConfAck id=0x3 <mru 2000> <asyncmap
0xa0000> <pcomp> <accomp> <magic 0xba91ed36> <auth chap MD5>]
Mar 15 13:45:19 robot pppd[1426]: rcvd [CHAP Challenge id=0x1 <fbf6a06fdc6071881da8a180bdd03057bbd61e0d>, name = ""]
Mar 15 13:45:19 robot pppd[1426]: sent [CHAP Response id=0x1 <8958331e343e2a96b4493b013ffaf6a7>, name = "robot"]
Mar 15 13:45:19 robot pppd[1426]: rcvd [CHAP Success id=0x1 ""]
Mar 15 13:45:19 robot pppd[1426]: sent [IPCP ConfReq id=0x1 <addr 10.0.0.2> <compress VJ 0f 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Mar 15 13:45:21 robot pppd[1426]: rcvd [LCP TermReq id=0x3]
Mar 15 13:45:21 robot pppd[1426]: LCP terminated by peer
^^^^^^^^^^^^^^^^ remote side disconnected us! ^^^^^^^^^^^^^^^^^^^
Mar 15 13:45:21 robot pppd[1426]: sent [LCP TermAck id=0x3]
Mar 15 13:45:22 robot pppd[1426]: Terminating on signal 15.
Mar 15 13:45:24 robot pppd[1426]: rcvd [LCP TermReq id=0x3]
IrDA connection by itself works, i use scmxx (which is a linux comm program for siemens) with no problems, so i guess there are no problems with irda itself. I have read on one forum to limit the connection speed to 57600, but i think this hardly work on 2.2.19 kernel - before the connection is established, i see in logs something like "changing tty speed to 115200" regardless of the setting in the config file. Changing the speed with stty or setserial seems makes no difference.
Another clue may be broken pppd either on my side or on provider.
Connection works perfectly under windows, i use login/pw "umc/1".
When I'm trying to authenticate via CHAP with the secret name "umc", my phone hangs and turns off with a beep, as soon as it receives a CHAP response from a host !
I also tried to authenticate via PAP, but the host rejects it and returns to CHAP.
On windows, the connection speed is limited to 57600, but as i said this seems does not work on linux.
I would appreciate any help.
Thanks,
Max.
|