tag:blogger.com,1999:blog-3928190665450830956.post2910447524010810953..comments2024-03-20T19:08:49.979+08:00Comments on Coder's Talk: Maxis GPRS ConnectionApOgEEhttp://www.blogger.com/profile/10350138531363117428noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-3928190665450830956.post-66506472939341461882008-12-02T17:31:00.000+08:002008-12-02T17:31:00.000+08:00Yes, you are rigth, I missed that. Then I guess I ...Yes, you are rigth, I missed that. Then I guess I will continue to use COM1...<BR/><BR/>Thanks for all,<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-46714600531865636722008-12-02T08:58:00.000+08:002008-12-02T08:58:00.000+08:00Hi daniel,yes, there is differences between ttyAM0...Hi daniel,<BR/><BR/>yes, there is differences between ttyAM0 and ttyTS0. check your cable pinout. you can't simply wire the RX, TX and GND to the port because the wavecom modem also check for RTS,CTS and other signals. you have to also loopback the RTS and CTS pin on the wavecom 15 pin connector and also loop the DCD, DTR and DSR pins together.ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-77773045691471873442008-12-02T00:27:00.000+08:002008-12-02T00:27:00.000+08:00Hi ApOgEE,I am currently trying to use /dev/ttyTS0...Hi ApOgEE,<BR/><BR/>I am currently trying to use /dev/ttyTS0 for ppp connexion. I installed tsuart0 and tsuart7260 so that I can use /dev/ttyTS0.<BR/>When I try to output some caracters through COM3, it works on my hyperterminal. But when I try the ppp connexion (having modified /etc/ppp/peers/wavecomGPRS to use ttyTS0), it doesn't work. When I try ttyAM0, it works. Do you know if there is a difference that can explain this ??<BR/><BR/>Thanks for your help,<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-89830262422305606262008-10-13T16:28:00.000+08:002008-10-13T16:28:00.000+08:00You were rigth, I was missing ppp_async in /etc/mo...You were rigth, I was missing ppp_async in /etc/modules.<BR/><BR/>Thanks very much for your help, it seems to be working now.<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-30818845919738191122008-10-13T15:55:00.000+08:002008-10-13T15:55:00.000+08:00Hi Daniel, I didn't recompile the kernel. Make sur...Hi Daniel, I didn't recompile the kernel. <BR/><BR/>Make sure you have ppp_async on your /etc/modules<BR/><BR/>I'm using the same sd card image from TS. I just do some update and upgrade by apt-get update and apt-get upgrade.<BR/><BR/>Currently, my SD card image is debian Etch not Sarge. And install again the etch version of ppp and chat.ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-11975246767660472162008-10-13T14:59:00.000+08:002008-10-13T14:59:00.000+08:00I have tried using ttyAM0 and it seems to be bette...I have tried using ttyAM0 and it seems to be better. But I still get an error message : "Couldn't set tty to PPP discipline: Invalid argument". I have made some search and it seems that this error comes from some kernel modules missing. Did you had to recompile the kernel to make PPP work ?<BR/><BR/>I use the debian that comes on the sd card from TS.<BR/><BR/>Moreover, do you know some hhtp/ftp sites that works for ARM to add in /etc/apt/sources.list ?<BR/><BR/>Thanks again for your help.<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-43440367785790289732008-10-10T22:06:00.000+08:002008-10-10T22:06:00.000+08:00Thanks for your help, I will try that ASAP.Thanks for your help, I will try that ASAP.Danielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-68272349459487006382008-10-10T21:58:00.000+08:002008-10-10T21:58:00.000+08:00in order to disable the serial console on ttyAM0, ...in order to disable the serial console on ttyAM0, you can either swap the serial console to ttyAM1 by placing a jumper on JP4. Or you may simply disable the serial console by removing the jumper on JP2.<BR/><BR/>then comment this line on /etc/inittab :<BR/><BR/>T0:23:respawn:/sbin/getty -L ttyAM0 115200 vt100ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-28894093576964322752008-10-10T21:46:00.000+08:002008-10-10T21:46:00.000+08:00Daniel, there are three serial ports on the board....Daniel, <BR/><BR/>there are three serial ports on the board. One with the male DB9 connector and the other two is labelled as COM2 and COM3 on the board. <BR/><BR/>the ttyAM0 is the one with DB9 connector. ttyAM1 is COM2 and ttyTS0 is COM3.<BR/><BR/>if you plug your wavecom modem on ttyAM0, you do have to disable the serial console output on /etc/inittab. I still need the serial console, that's why I use COM3 for the modem.ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-55994440353934308552008-10-10T21:38:00.000+08:002008-10-10T21:38:00.000+08:00Thanks for the answer. In fact, I use ttyAM0 becau...Thanks for the answer. In fact, I use ttyAM0 because I have no device called /dev/ttyTS0. That's strange if we use the same board... Is it a link to another device ??Danielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-65294840476412284352008-10-10T21:22:00.000+08:002008-10-10T21:22:00.000+08:00Hi Daniel,I connect my wavecom modem to /dev/ttyTS...Hi Daniel,<BR/><BR/>I connect my wavecom modem to /dev/ttyTS0. I didn't set anything to the /etc/inittab<BR/><BR/>However, check this out if you wanna see my /etc/inittab contents: <A HREF="http://jerungkun.googlepages.com/etc-inittab.txt" REL="nofollow">/etc/inittab</A>ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-8247378405061574072008-10-10T18:32:00.000+08:002008-10-10T18:32:00.000+08:00Hi,Thanks for this article. I am also using a TS72...Hi,<BR/><BR/>Thanks for this article. I am also using a TS7260 card and I would like to use PPP with a wavecom modem but It still doesn't work even with your scripts. Could you please tell me how your tty is configured in /etc/inittab ?<BR/><BR/>Thanks,<BR/><BR/>DanielDanielhttps://www.blogger.com/profile/11471168162357760596noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-50478538781449884242008-08-25T14:32:00.000+08:002008-08-25T14:32:00.000+08:00hi sean, no I don't have webserver on my SBC. yes,...hi sean, no I don't have webserver on my SBC. yes, I periodically uploading rain gauge data via GPRS. currently i can start remote console session on my SBC over GPRS just when those SBCs successfully connected to my pptp server and I'll have em as my VPN clients.ApOgEEhttps://www.blogger.com/profile/10350138531363117428noreply@blogger.comtag:blogger.com,1999:blog-3928190665450830956.post-25453498918999981582008-08-25T14:18:00.000+08:002008-08-25T14:18:00.000+08:00Interesting - thought I'd nearly found my answer! ...Interesting - thought I'd nearly found my answer! Been trying to find out if I can use dynamic DNS over GPRS in Malaysia, when I started reading your article, I thought you were going to say you had a webserver on your SBC. Do you?<BR/>Are you periodically uploading your rain gauge data via GPRS? Can you start a remote console session on your SBC over GPRS? ... so many questions!Seanhttps://www.blogger.com/profile/05021552425646997195noreply@blogger.com