Link SIM900 to a dns

Status
Not open for further replies.

Steider

Newbie level 3
Joined
Mar 11, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
30
Hello,

I have a Raspberry PI on which i pluged a sim900. My goal is to reach the Raspberry via the sim900. For example, I want to connect via ssh, as I currently done via the raspberry ethernet port.

My Sim900 is configured as follow :
Code:
AT+CGATT=1
-->AT+CGATT=1

AT+CGDCONT=1,"IP","Internet"
-->OK

AT+CSTT="<APN>","<username>","<password>"
-->OK

AT+CIICR
-->OK

AT+CIFSR
-->10.205.114.28

I have now a local ip but i want to link her to my dns "dns.thing.th" : 78.204.252.105 for example.

I tried :
Code:
AT+CDNSCFG="78.204.252.105"
-->OK

Now, i don't know how to access my raspberry via the sim900.

I can't connect in ssh on 78.204.252.105, and i can't ping 10.205.114.28 from my raspberry (Of course :roll

Thank you for your help.
 

Is the IP that you had obtained is PUBLIC or PRIVATE IP?? I think it is a VPN static ip... Static ip cant reach the dynamic ips.
 

The ip i obtained each time i connect is private (10.0.0.0 type).

Since i posted this thread, i obtained some informations :

My real need is to have internet by GPRS 3G on a Raspberry. I then need a PPP mode that i obtained with a ATD*99***#1.
Now i dont know how to use this connection to have internet on my raspberry.

Have you an idea ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…