LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] O2 Siemens S45 GPRS with laptop

[ILUG] O2 Siemens S45 GPRS with laptop

Ciaran Johnston cj at nologic.org
Tue Oct 1 18:11:03 IST 2002


Gavin McCullagh said:
> On Tue, 01 Oct 2002, Waider wrote:
>
>> If you've got a Windows box at your disposal, set it up there, switch
>> on modem logging, and snag the AT commands from modemlog.txt. I've got
>> this working with GPRS on Vodafone using the following:
>>
>> 'OK'	'AT+CGDCONT=2,"IP","isp.vodafone.ie"'
>> 'OK'	'AT+CGQREQ=2,0,0,0,0,0;+CGQMIN=2,0,0,0,0,0'
>> 'OK'	'ATD*99***2#'
>>
>> Note, the first line /is/ provider specific. You're assigning an APN.
>> The 2 in the first line matches - AFAIK - the 2's elsewhere; certainly
>> in the ATD line anyway. Consider it a profile number, since I don't
>> know the correct name for it. If you ask O2 tech support for the O2
>> APN they should give it to you, I presume.

If anyone cares:

The first line defines the PDP context on the phone. The first number here
is the PDP Connection ID, and is only used between the computer and the
phone. The "IP" specifies the PDP type - can be IP (Internet Protocol), PPP
(Point to Point Protocol) or a couple of others. The third parameter is the
APN, a string for selecting the GGSN node. A string which may follow here
is the PDP address (a dot-decimal IP address), followed by two integers
giving PDP data compression and PDP header compression on/off. Issuing the
command "AT+CGDCONT?" will return a list of contexts preconfigured on the
phone.

The AT+CGQREQ here is actually requesting a quality of service profile for
a PDP context with CID of 2 (i.e. the previous one configured), followed by
QoS classes for precendence, delay, reliability, peak, and mean throughput.
There are various integer values for each of these; in each case 0 means
use the network settings, which is probably the best bet. The CGQMIN
specifies the minimum QoS for that PDP context and again takes network
defaults.

The ATD command is syntactically correct, and indeed the 2 does refer to
the PDP context.

For reading current settings, "AT+CGQREQ?"
For checking the command is supported, "AT+CGQREQ=?"

Repeat the "?" and "=?" after each command - CGDCONT, CGQMIN - to check
settings and support.

The command "AT+CGATT?" will tell you if you are attached to a GPRS
service. 1 == yes, 2 == no.

Externally from this you will need to sort out your DNS servers, either get
them from your ISP or try and figure out how to dynamically assign them.

Bear in mind I have never done this, although I work with GPRS / GSM / 3G
technologies so I know a little bit about it.

/Ciaran






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell