hi!!

this could b jus another simple question on connecting to the internet
through modem. i have a dax externel serial modem. i have a connection
to sancharnet bsnl. the connection works well in win98. now when i try
to connect it through pon using ppp in GNU/Linux, it dials in but the
authentition fails. i chose PAP authentication option in ppp.

have anybody, connected to bsnl sancharnet through external modem. can
u share ur wvdial conf file or  the
 /etc/ppp/peers/<connection> file with me(with username and pwd
removed ofcourse).


the logs
------------

note: the connection name is new_conn

/var/log/messages
--------------------------

Oct  1 17:26:58 wisdom pppd[512]: pppd 2.4.2 started by root, uid 0
Oct  1 17:26:59 wisdom chat[513]: abort on (BUSY)
Oct  1 17:26:59 wisdom chat[513]: abort on (NO CARRIER)
Oct  1 17:26:59 wisdom chat[513]: abort on (VOICE)
Oct  1 17:26:59 wisdom chat[513]: abort on (NO DIALTONE)
Oct  1 17:26:59 wisdom chat[513]: abort on (NO DIAL TONE)
Oct  1 17:26:59 wisdom chat[513]: abort on (NO ANSWER)
Oct  1 17:26:59 wisdom chat[513]: abort on (DELAYED)
Oct  1 17:26:59 wisdom chat[513]: send (ATZ^M)
Oct  1 17:26:59 wisdom chat[513]: expect (OK)
Oct  1 17:26:59 wisdom chat[513]: ATZ^M^M
Oct  1 17:26:59 wisdom chat[513]: OK
Oct  1 17:26:59 wisdom chat[513]:  -- got it
Oct  1 17:26:59 wisdom chat[513]: send (ATDT172233^M)
Oct  1 17:26:59 wisdom chat[513]: expect (CONNECT)
Oct  1 17:26:59 wisdom chat[513]: ^M
Oct  1 17:27:40 wisdom chat[513]: ATDT172233^M^M
Oct  1 17:27:40 wisdom chat[513]: CONNECT
Oct  1 17:27:40 wisdom chat[513]:  -- got it
Oct  1 17:27:40 wisdom chat[513]: send (\d)
Oct  1 17:27:41 wisdom pppd[512]: Serial connection established.
Oct  1 17:27:41 wisdom pppd[512]: Using interface ppp0
Oct  1 17:27:41 wisdom pppd[512]: Connect: ppp0 <--> /dev/ttyS0
Oct  1 17:27:43 wisdom pppd[512]: Remote message: Authentication failure
Oct  1 17:27:43 wisdom pppd[512]: Connection terminated.
Oct  1 17:27:44 wisdom pppd[512]: Hangup (SIGHUP)
Oct  1 17:27:44 wisdom pppd[512]: Exit.

/etc/ppp/peers/new_conn
------------------------------------

# This optionfile was generated by pppconfig 2.3.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/new_conn"
debug
/dev/ttyS0
57600
defaultroute
noipdefault
user "foobar"
remotename new_conn
ipparam new_conn

usepeerdns

/etc/chatscripts/new_conn
--------------------------------------

# This chatfile was generated by pppconfig 2.3.
# 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
# modeminit
'' ATZ
# ispnumber
OK-AT-OK "ATDT172233"
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

# end of pppconfig stuff

please help!

regards,
R K


-- 
with "freedom", comes great responsibilities


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to