if i try to use the gui to dial i get connection failed after about a minute with the green light blinking slowly on my audiovox card--- i've tried various settings --- for number *99***1# and *99# --- under the network tab i have it auto-detect ---- under the modem tab i have tried AT+CGDCONT=1,,"internet2.voicestream.com" as per a recomendation from tech support and AT+CGDCONT=1,\"IP",\"internet2.voicestream.com\" from this how-to --
then i try the more complicated method---
when i follow the steps and then try to pppd call gprs i get.....
Removed stale lock on ttyS3 (pid 2485)
Press CTRL-C to close the connection at any stage!
defining PDP context...
Connect script failed
i am using a c860 with a fresh flash of cacko 1.21 with hotfix b. i have the audiovox rtm8000 and t-moble as my provider.
anyone have any ideas?
Here is what works for me (latest Cacko + hotfix, same GRPS card):
1. In /etc/pcmcia/serial.opts make sure you have this:
SERIAL_OPTS="uart 16550A"
2. In /etc/ppp/char-secrets add the following if you don't have already:
guest * guest
3. My /etc/ppp/options .ttyS3
-detach
asyncmap 0
crtscts
modem
lock
115200
connect-delay 1000
4. My /etc/ppp/peers/connecttmobile
exec /usr/sbin/chat -sVS \
TIMEOUT 5 \
ECHO ON \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
TIMEOUT 12 \
SAY "Press CTRL-C to close the connection at any stage!" \
SAY "\ndefining PDP context...\n" \
OK ATH \
OK ATE0V1 \
OK 'AT+CGDCONT=1,"IP","internet3.voicestream.com"' \
OK ATD*99***1# \
TIMEOUT 22 \
SAY "\nwaiting for connect...\n" \
CONNECT "" \
SAY "\nConnected." \
SAY "\nIf the following ppp negotiations fail,\n" \
SAY "try restarting the phone.\n"
5. /etc/ppp/peers/disconnecttmobile
exec /usr/sbin/chat -s -V -S \
"" "\K" \
"" "+++ATH"
6. /etc/ppp/peers/gprs.sh
#!/bin/sh
cardctl suspend
sleep 1
cardctl resume
sleep 1
pppd call tmobile
7. /etc/ppp/peers/tmobile
/dev/ttyS3
115200
crtscts
connect /etc/ppp/peers/connecttmobile
user guest
mru 1450
mtu 1450
:10.0.0.1
ipcp-accept-local
defaultroute
nodeflate
noipdefault
nomagic
novj
novjccomp
usepeerdns
Once I have all this I add the following 2 aliases to my .profile
to connect and disconnect (from bash):
alias gprs_on=/etc/ppp/peers/gprs.sh
alias gprs_off='cardctl suspend'
After you run grps_on and see that ip address was assigned (dhcp) you
can then start opera (it will try to connect but refuse that since you
are already connected). Or you can open another bash window and
ssh into your servers etc.
Hope this helps and good luck.
tg