Problem on dial up connection for sim900 module to rspberry pi

Status
Not open for further replies.

sethuraman

Newbie level 2
Joined
Oct 19, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
hi


I have set up a like bellow sim900 GSM module to interface with raspberry pi. I believe I have established a gprs connection to AT&T though wvdial

am following above steps but i cant connect internet my raspberry pi
am try to ping google.com
i am unable browse the internet please help me how to resolve this problem give me the guidance to resolve this problem thanks in advance

Code:
sudo ifdown eth0
sudo ifdown wlan0
sudo poff -a
sudo pon internet


sudo ifdown eth0
sudo ifdown wlan0
sudo poff -a
sudo pon internet


    /etc/wvdial.conf

[Dialer Defaults]
Modem Type = Analog Modem
Modem = /dev/ttyAMA0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CFUN=1
Init4 = AT+CGATT=1

[Dialer internet]
Init5 = AT+CGDCONT=1,"IP","CMNET"
Phone = *99***1#
Username = cmnet
Password = cmnet
;Ask Password = 0
Dial Command = ATDT

;Carrier check = off
Stupid mode = on
;Compuserve = 0
Idle Seconds = 0
New PPPD = yes
ISDN = 0
;Auto DNS = 1
Check Def Route = 1

    /etc/ppp/peers/internet

name wvdial
connect "/usr/bin/wvdial --chat internet"
/dev/ttyAMA0
115200

modem
nocrtscts
#usepeerdns
noipdefault
ipcp-accept-local
ipcp-accept-remote
defaultroute
noauth
persist
#demand
debug
logfd 6
#idle 180
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…