You are not logged in.

#1 2016-07-27 10:42:19

sant527
Member
Registered: 2009-06-21
Posts: 273

PPP not woking with my modem

I have a usb dongle with airtle sim card. I am trying to start interet using ppp method.

its not working.



the following is my /etc/ppp/peers/provider

 noauth
#change this if you move the path to your connect script
  connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
#change this if you move the path to your disconnect script
#  disconnect "/usr/sbin/chat -v -f /etc/chatscripts/vodafone-disconnect"
#I found that I needed this to remove problems with loopback on connecting
#  silent
#remove this if you don't want lots of information going to /var/log/messages
  debug
#this is the device specified in your rfcomm.conf file
  /dev/ttyUSB1
#speed at which to connect - might be worth trying higher...
  9600
#this is needed so that a default route is added to your routing table
  defaultroute
#this is needed so that you pick up Orange's DNS settings
  usepeerdns

/etc/chatscripts/provider

#This chatfile was generated by pppconfig 2.3.18.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED

REPORT CONNECT

# modeminit
'' ATZ
OK 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'
OK 'AT+CGDCONT=1,"IP","airtelgprs.com"'

# ispnumber
OK-AT-OK "ATDT*99#"
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

# end of pppconfig stuff

when i try
pon provider
it shows nothing.

Offline

Board footer

Powered by FluxBB