Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting APN using AT Commands

Tags:

at-command

apn

I need to connect in internet with a usb 3g dongle using at commands.

My apn provider is:

APN = tim.br
Username = tim
Password = tim

How can I connect using only at commands? It's possible?

Thanks.

like image 369
FBilac Avatar asked Sep 02 '13 18:09

FBilac


2 Answers

To connect, you need to use AT commands:

AT+CGDCONT=1,"IP","tim.br"

to configure APN, and then

ATD*99***1#

to actually connect. This will open a PPP session, and the username and password is usually provided over PAP in the PPP session itself, so you'll need to put them in your PPP client.

like image 50
Divide Avatar answered Oct 16 '22 02:10

Divide


Try something like this:-

AT+CGDCONT=1,"IP","tim.br"
ATD*99***1#
like image 36
Rahul Tripathi Avatar answered Oct 16 '22 03:10

Rahul Tripathi