[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSM/GPRS



On Sunday 19 Sep 2004 21:13, Marco Peereboom wrote:
> Any hardware, any method.

$ cat ppp.conf                                                                                                                                                                                         
default:
 # set log Phase Chat LCP IPCP CCP tun command
 enable dns
 set device /dev/cua00
 set speed 115200
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 # My Nokia does not like it
 disable ipv6cp

gprs:
 # GSM 07.07
 #
 # <APN> - service provider specific
 #
 # AT+COPS=
 # <mode>,<format>,<oper>
 # Select network or autoselect. `Read` returns current network. `Test`
 # returns available networks. (e.g. AT+COPS=?)
 # AT+CGDCONT= - specify PDP parameters for a context
 # <context>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>,<pd1>[,...[<pdN>]]
 # AT+CGQREC=, AT+CGQMIN= - QoS profile
 # <context>,<precedence>,<delay>,<reliability>,<peak>,<mean>
 # AT+CGATT= - GPRS {de}attach
 # <state>
 # AT+CGACT= - {de}activate PDP context
 # <state>[,<context>[,<context>[,...]]]
 # AT+CGDATA= - data state
 # <L2P>[,<context>]

 # -ddial
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 30 \"\" \
 AT+CGDCONT=1,\\\"IP\\\",\\\"ORANGEINTERNET\\\",,0,0 OK \
 AT+CGDATA=\\\"PPP\\\",1 CONNECT"

cix:
 # AT+CBST - select bearer service type
 # <speed>,<name>,<ce>

 set phone 0845xxxxxxx
 set timeout 60
 set authname xxxxxxx
 set authkey xxxxxxx
 # 28.8 where supported
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 30 \"\" \
 AT+CBST=16,0,1 OK \
 ATDT \\T CONNECT"$ 

The above has been working perfectly for me for years.

> If it works somewhere I'll consider buying the necessary gear.  I do 
> have two ATT Sony/Ericson phones and if it works on it cheaper for me 
> :-)
>
> Bluetooth or IRDA is fine.

Bluetooth? If you have a Bluetooth stack working on OpenBSD you probably see 
the phone as a local com port so the above still applies. I use an old 
fashioned RS-232 cable :-)