gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

0.3.3 -> 0.5.0_pre upgrade gnokiid problem (5110)


From: Jon Wikne
Subject: 0.3.3 -> 0.5.0_pre upgrade gnokiid problem (5110)
Date: Mon, 23 Sep 2002 14:21:54 +0200 (MET DST)

Hi,

I have kept Gnokii 0.3.3 until now. When upgrading to 0.5.0_pre
(20020922 CVS snapshot), gnokiid aborts during connect when
I attempt to make a data connection with my 5110. I use the
same connect script (included below) that worked perfectly
with 0.3.3. When I downgrade gnokiid to 0.3.3 again, it works
again.

0.5.0_pre dials out, makes a connect, I get "CARRIER".
Then, the message I get is:

XID: N2 15 Connect script failed.

"Connect script failed" is a message I have seen before when
there is a problem at the remote end, but the "XID: N2 15"
I have never seen before. I do not know if it is issued by
gnokiid or one of the other programs involved (i.e. chat / pppd).

Any ideas?


Thanks,
-- Jon

-----------------------------------------------------------------

#!/bin/sh
# Script to launch PPP over a Nokia 5110 / 6110 mobile phone
# 20-06-2000 -- Jon Wikne

# Launch gnokiid....
echo "Launching gnokiid... "
/usr/local/sbin/gnokiid &

# Wait for gnokiid to find the phone.
sleep 7

# Now, down to business!
echo "Calling and starting pppd... "
pppd /dev/gnokii 115200 debug connect \
'chat -v ECHO ON ABORT BUSY ABORT ERROR ABORT "NO CARRIER" \
"" AT OK ATDTphonenumber CONNECT ""' \
noipdefault ipcp-accept-local ipcp-accept-remote \
user username

# Some cleaning up to do....

echo -n "Stopping gnokiid... "
ps ax | awk 'BEGIN { prog="/usr/local/sbin/gnokiid"; ARGC=1 } 
{ if (prog == $5) { print $1 ; exit 0 } }' $1
kill "$1"
echo $1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]