|
Last blog posts
Login |
GPRS
GPRS Modem is basically a GSM cell phone on a PCMCIA card, with a little antenna sticking out.
It will let you connect to an always-on General Packet Radio Service network. In ye olden times, you would connect using a modem on a regular phone line (POTS) to a modem on the other end, establish a PPP link... and communicate. GPRS allows you to connect/communicate directly with packets, i.e. you don't need a modem anymore — since it's all digital to begin with (modem, being a MODulator DEModulator, i.e. converter between analog and digital). So, not needing a modem is good thing... but far more interesting is the fact, that since it's packet radio service, you don't need to dial either. Dialing took a lot of time, and you actually had to have a phone number to dial. With packet radio service, you only need a profile and send the packets away. Here is the critical part of my pppd(8) invocation, to get a ppp link across a GPRS modem: /usr/sbin/pppd persist holdoff 2 connect '/usr/sbin/chat -v ABORT "ERROR" "" "AT+cfun=1" OK "AT+cgreg=1" REG:\ "AT+cgdcont=2,\"IP\",\"proxy\"" OK "ATD*99***2#" CONNECT ""' /dev/ttyS3 115200 defaultroute crtscts noauth deflate 0 asyncmap 0 mtu 1500 mru 1500 noipdefault
And pppd(8) takes care of the rest... authenticating and initiating the ppp connection. Created by: admin last modification: Monday 16 of May, 2005 [21:33:37 UTC] by admin |