Hi all !
I have been having problems with trying to make a ppp connection with vsnl. I
have a script which executes pppd and uses a chat script. I checked out the
/var/log/messages file, according to which the password, and connection is
made fine. I even have been allocated an IP address. Despite that a ping gives
a message saying: Network unreachable.
The error seems to be somthing about locating a module.
I do not know anything about the kernel and modules andstuff and am reasonably
new to linux.
The /var/log/messages is as follows.
Feb 20 08:26:12 localhost modprobe: can't locate module char-major-108
Feb 20 08:26:12 localhost kernel: CSLIP: code copyright 1989 Regents of the
University of California
Feb 20 08:26:12 localhost kernel: PPP: version 2.3.7 (demand dialling)
Feb 20 08:26:12 localhost kernel: PPP line discipline registered.
Feb 20 08:26:12 localhost kernel: registered device ppp0
Feb 20 08:26:12 localhost pppd[746]: pppd 2.3.10 started by root, uid 0
Feb 20 08:26:13 localhost chat[748]: timeout set to 30 seconds
Feb 20 08:26:13 localhost chat[748]: abort on (\nBUSY\r)
Feb 20 08:26:13 localhost chat[748]: abort on (\nNO ANSWER\r)
Feb 20 08:26:13 localhost chat[748]: abort on (\nRINGING\r\n\r\nRINGING\r)
Feb 20 08:26:13 localhost chat[748]: send (rAT^M)
Feb 20 08:26:13 localhost chat[748]: expect (OK)
Feb 20 08:26:13 localhost chat[748]: rAT^M^M
Feb 20 08:26:13 localhost chat[748]: OK
Feb 20 08:26:13 localhost chat[748]: -- got it
Feb 20 08:26:13 localhost chat[748]: send (ATH0^M)
Feb 20 08:26:13 localhost chat[748]: timeout set to 30 seconds
Feb 20 08:26:13 localhost chat[748]: expect (OK)
Feb 20 08:26:13 localhost chat[748]: ^M
Feb 20 08:26:13 localhost chat[748]: ATH0^M^M
Feb 20 08:26:13 localhost chat[748]: OK
Feb 20 08:26:13 localhost chat[748]: -- got it
Feb 20 08:26:13 localhost chat[748]: send (ATX1DT172226^M)
Feb 20 08:26:14 localhost chat[748]: expect (CONNECT)
Feb 20 08:26:14 localhost chat[748]: ^M
Feb 20 08:26:33 localhost chat[748]: ATX1DT172226^M^M
Feb 20 08:26:33 localhost chat[748]: CONNECT
Feb 20 08:26:33 localhost chat[748]: -- got it
Feb 20 08:26:33 localhost chat[748]: send (^M)
Feb 20 08:26:33 localhost chat[748]: expect (name:)
Feb 20 08:26:33 localhost chat[748]: 57600^M
Feb 20 08:26:34 localhost chat[748]: ^M
Feb 20 08:26:34 localhost chat[748]: User Access Verification^M
Feb 20 08:26:34 localhost chat[748]: Username:
Feb 20 08:26:34 localhost chat[748]: -- got it
Feb 20 08:26:34 localhost chat[748]: send (username was here^M)
Feb 20 08:26:34 localhost chat[748]: expect (assword:)
Feb 20 08:26:34 localhost chat[748]: username was here^M
Feb 20 08:26:34 localhost chat[748]: Password:
Feb 20 08:26:34 localhost chat[748]: -- got it
Feb 20 08:26:34 localhost chat[748]: send (password was here^M)
Feb 20 08:26:34 localhost pppd[746]: Serial connection established.
Feb 20 08:26:34 localhost pppd[746]: Using interface ppp0
Feb 20 08:26:34 localhost pppd[746]: Connect: ppp0 <--> /dev/ttyS1
Feb 20 08:26:36 localhost kernel: PPP BSD Compression module registered
Feb 20 08:26:36 localhost kernel: PPP Deflate Compression module registered
Feb 20 08:26:36 localhost pppd[746]: local IP address 202.54.82.156
Feb 20 08:26:36 localhost pppd[746]: remote IP address 202.54.10.55
Feb 20 08:26:36 localhost modprobe: no dependency information for module:
"/dev/ttyS1"
Feb 20 08:32:06 localhost pppd[746]: Terminating on signal 15.
Feb 20 08:32:08 localhost pppd[746]: Hangup (SIGHUP)
Feb 20 08:32:08 localhost pppd[746]: Modem hangup
Feb 20 08:32:08 localhost pppd[746]: Connection terminated.
Feb 20 08:32:08 localhost pppd[746]: Connect time 5.6 minutes.
Feb 20 08:32:08 localhost pppd[746]: Sent 297 bytes, received 318 bytes.
Feb 20 08:32:09 localhost pppd[746]: Exit.
B.T.W., I did not get disconnected, but killed the pppd process. ( whcih is
shown in the log file)( Incase that helps in solving the problem)
Can somebody please help me out ?
Thank you.
Kayomarz
------------------------------------------------------------
Get your FREE web-based e-mail and newsgroup access at:
http://MailAndNews.com
Create a new mailbox, or access your existing IMAP4 or
POP3 mailbox from anywhere with just a web browser.
------------------------------------------------------------
--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.