Some time ago I used my phone's internal GPRS Modem using the PPP package. Recently I wanted to use the modem again, as a friend gave me the notice that his phone wasn't working anymore, and I noticed with the old Scripts I couldn't manage to get it working too.
So I was thinking for a long time what could be the source of the problem, and now I believe one package of PPP hs changed and uses different default values. So I thought by giving a value for every option this might solve the problem and Yep it did. So the actual files for /etc/chatscript/GPRS and /etc/ppp/peers/GPRS are the following ones
The file /etc/chatscript/GPRS for Swisscom, Switzerland Users
ABORT 'NO CARRIER'
# or OK ATD*99#
The file /etc/ppp/peers/GPRS is as follows
# You usually need this if there is no PAP authentication
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/GPRS"
# Set up routing to go through this PPP link
# Set this to /dev/ircomm0 or similar
# Reconnect on disconnect
# Be extra verbose
# You may need these
# Use remote DNS
# With GPRS, authentication is normally done automatically
# via your cellphone number, so leave login name empty
Now connect the phone via USB to your computer and select Phone Mode on the w810i. Then if you want to connect either call
'sudo pon GPRS' or 'sudo pppd call GPRS'
To disconnect simply call 'sudo poff'.
But on my way investigating the source of the problem I found the package wvdial . Which I found much easier to use.
1. Connect your Phone via USB and select 'Phone Mode'.
2. Execute 'sudo wvdialconf',
3. Add the following section to the file /etc/wvdial.conf (for swisscom Users)
Init = AT+CGDCONT=1,"IP","gprs.swisscom.ch"
Username = gprs
Password = gprs
Phone = *99***1#
4. Then to connect simply execute : 'sudo wvdial Swisscom' (where Swisscom is the same as in Dialer Swisscom)
5. To disconnect simply CTRL+C.