Talk:Manually using GPRS

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (file not found /etc/init.d/gsmd: new section)
(file not found /etc/init.d/gsmd)
Line 19: Line 19:
 
----
 
----
 
Since OM2008.9 (Maybe OM2008.8) we should not have anymore the gsmd installed. <br>
 
Since OM2008.9 (Maybe OM2008.8) we should not have anymore the gsmd installed. <br>
 +
Maybe we need to shutdown Qtopia phone stack.
 
Here is a working script to start the pppd connection script :
 
Here is a working script to start the pppd connection script :
 
<pre>
 
<pre>

Revision as of 13:45, 25 September 2008

Error messages I get

First, let me say that I actually managed to get GPRS up and running with the provided instructions. However, not at the first attempt and generally only one in ten times.

There are two kinds of errors I seem to get:

  • in the first situation, I get a CONNECT and "serial connection established", "using channel 0", "Using interface ppp0", "Connect: ppp0 <--> /dev/ttySAC0" and then "tcsetattr: Invalid argument (line 964) and then the scrip stops
  • in the second situation, I get a CONNECT and then during the ppp negotiation I get "LCP terminated" and the script starts over.

But every ten or so attempts the whole thing works :-)

I'd be quite happy if anyone could shed some light on this.

I see the same thing, but I would put it at one in four. It seems the modem doesn't always start up reliably. --Sagacis 06:21, 29 August 2007 (CEST)

file not found /etc/init.d/gsmd


Since OM2008.9 (Maybe OM2008.8) we should not have anymore the gsmd installed.
Maybe we need to shutdown Qtopia phone stack. Here is a working script to start the pppd connection script :

#!/bin/bash
if test -f /etc/init.d/gsmd; then
/etc/init.d/gsmd stop
fi
echo "1" > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
chown uucp.uucp /dev/ttySAC0
stty -F /dev/ttySAC0 crtscts
pppd call gprs
Personal tools

Error messages I get

First, let me say that I actually managed to get GPRS up and running with the provided instructions. However, not at the first attempt and generally only one in ten times.

There are two kinds of errors I seem to get:

  • in the first situation, I get a CONNECT and "serial connection established", "using channel 0", "Using interface ppp0", "Connect: ppp0 <--> /dev/ttySAC0" and then "tcsetattr: Invalid argument (line 964) and then the scrip stops
  • in the second situation, I get a CONNECT and then during the ppp negotiation I get "LCP terminated" and the script starts over.

But every ten or so attempts the whole thing works :-)

I'd be quite happy if anyone could shed some light on this.

I see the same thing, but I would put it at one in four. It seems the modem doesn't always start up reliably. --Sagacis 06:21, 29 August 2007 (CEST)

file not found /etc/init.d/gsmd


Since OM2008.9 (Maybe OM2008.8) we should not have anymore the gsmd installed.
Here is a working script to start the pppd connection script :

#!/bin/bash
if test -f /etc/init.d/gsmd; then
/etc/init.d/gsmd stop
fi
echo "1" > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
chown uucp.uucp /dev/ttySAC0
stty -F /dev/ttySAC0 crtscts
pppd call gprs