9 thoughts on “PPP over serial for GC864-QUAD-V2 in embedded linux”
Hello,
I’m working with GC864-QUAD-V2 for GSM interface and CC864-DUAL for CDMA interface. The telit module is connected to our embedded linux board through the serial port (UART). I want to use the telit module as the serial modem to have direct TCP/IP connection over the internet.
I want to set up the Point-To-Point Protocol (PPP) with the ISP provider through the GSM/CDMA module. Please provide necessary directions/documents to configure the telit GSM/CDMA module for configuring the PPP over the serial port.
Thanks,
-Ganesh
The setup is not different than with any other GPRS/CDMA modem, with procedures described in various how-to’s; the only gotcha might be to take care of the flowcontrol, set it the same in PPP and module.
Telit module is connected to my linux on "ttyUSB0"(usb-serial converter). I tried to use "wvdial" utility for connecting. It did not help. Even I tried to configure PPP daemon also. But no improvement. But I was able to send and receive commands and replys to GC864 through "minicom" of the linux.
The Communication settings in GC864 are:
+IPR = 0 (auto baud)
+IFC = 0,0 (No flow control)
My wvdial.conf settings are:
[Dialer Defaults] Modem Type = Analog Modem Modem = /dev/ttyUSB0 Flow control = no Carrier check = no Baud = 115200
root@ubuntu:/# wvdial –> WvDial: Internet dialer version 1.60 –> Initializing modem. –> Sending: ATZ –> Sending: ATQ0 –> Re-Sending: ATZ –> Modem not responding.
I have no experience with wvdial, is strange minicom sees the modem while wvdial doesn’t. All setting are the same, and minicom closed?
ppp worked!!. Thanks for your timely replys. Our setup did not have CTS/RTS connections, so I removed line crtscts from /etc/ppp/options.
Now I am able to use pon and poff for turning on/off ppp daemon..
Thanks!!
The setup is not different than with any other GPRS/CDMA modem, with procedures described in various how-to
Cosmin,
I’m new to the GPRS & HSDPA things but have
had GSM, circuit switched data modems running in the system that I’m
working on now. ( The delay through the GSM was just too long. )
Anyway, I’ve been trying to find all these "how-tos" and had no joy.
Could you point me to some please ?
– I’m just looking for a replacement for a circuit switched data path.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hello,
I’m working with GC864-QUAD-V2 for GSM interface and CC864-DUAL for CDMA interface. The telit module is connected to our embedded linux board through the serial port (UART). I want to use the telit module as the serial modem to have direct TCP/IP connection over the internet.
I want to set up the Point-To-Point Protocol (PPP) with the ISP provider through the GSM/CDMA module. Please provide necessary directions/documents to configure the telit GSM/CDMA module for configuring the PPP over the serial port.
Thanks,
-Ganesh
The setup is not different than with any other GPRS/CDMA modem, with procedures described in various how-to’s; the only gotcha might be to take care of the flowcontrol, set it the same in PPP and module.
Telit module is connected to my linux on "ttyUSB0"(usb-serial converter). I tried to use "wvdial" utility for connecting. It did not help. Even I tried to configure PPP daemon also. But no improvement. But I was able to send and receive commands and replys to GC864 through "minicom" of the linux.
The Communication settings in GC864 are:
+IPR = 0 (auto baud)
+IFC = 0,0 (No flow control)
My wvdial.conf settings are:
[Dialer Defaults]
Modem Type = Analog Modem
Modem = /dev/ttyUSB0
Flow control = no
Carrier check = no
Baud = 115200
Init1 = ATZ
Init3 = AT+CGDCONT=1,”IP”,”airtelgprs.com”,”",0,0
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
New PPPD = yes
Phone = *99***1#
Username = ”“
Password = ”“
Stupid Mode = 1
Thanks,
-Ganesh
Try to set AT&K0 as well. Any information where things get stuck?
I added AT&K0 also in the configuration file.
Now wvdial.conf looks like:
[Dialer Defaults]
Modem Type = Analog Modem
Modem = /dev/ttyUSB0
Flow control = no
Carrier check = no
Baud = 115200
Init1 = ATZ
Init2 = AT&K0
Init4 = AT+CGDCONT=1,”IP”,”airtelgprs.com”
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
New PPPD = yes
Phone = *99***1#
Username =
Password =
Stupid Mode = 1
————————————-
Below is output the "wvdialconf" command:
root@ubuntu:/# wvdialconf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
ttyS0<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3
ttyUSB0<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
————————————————-
Below is the output of the "wvdial" command:
root@ubuntu:/# wvdial
–> WvDial: Internet dialer version 1.60
–> Initializing modem.
–> Sending: ATZ
–> Sending: ATQ0
–> Re-Sending: ATZ
–> Modem not responding.
I have no experience with wvdial, is strange minicom sees the modem while wvdial doesn’t. All setting are the same, and minicom closed?
ppp worked!!. Thanks for your timely replys. Our setup did not have CTS/RTS connections, so I removed line crtscts from /etc/ppp/options.
Now I am able to use pon and poff for turning on/off ppp daemon..
Thanks!!
The Linux GPRS HOWTO doesn’t help you? If not, where do you get stuck?