Subject: PPP - Can not "Activate the link"
To: None <netbsd-help@netbsd.org>
From: Smyth, Daniel <Daniel.Smyth@team.telstra.com>
List: netbsd-help
Date: 12/07/2004 09:04:30
This is a multi-part message in MIME format.
------_=_NextPart_001_01C4DBDF.8F8CDD20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I would appreciate some guidance on what I should look for next in
trying to resolve this problem I am having with setting up a ppp dial-up
connection to my ISP.
I have a fresh install of NetBSD 1.6.2 default kernel on i386
Set up dial-up ppp connection to my ISP as per NetBSD Guide Networking
'how-to'
The modem works fine and I can establish a connection to my ISP through
tty01
# cu -p modem
CONNECTED
ATDT<myispnumber>=20
Prompts for user name and password and begins PPP session no problems
However when I attempt to activate the link
# pppd call myisp
Using connection script
# /etc/ppp/peers/myisp
connect '/usr/sbin/chat -v -f /etc/ppp/peers/bignet.chat'
noauth
user dan
remotename myisp.net
Debug
And chat file
# /etc/ppp/peers/myisp.chat
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
" ATDT<myispnumber>=20
CONNECT "
Fails to activate. I get some light change on the modem but it does not
dial.
# tail -f /var/log/messages
Tells me that the "Connection script failed" but does not say why.
=20
I have checked and rechecked the relevant files that are exact copies of
the NetBSD Guide examples with my ISP details substituted where
appropriate. Also checked the file permissions and they are as they
should be.
/etc/resolv.conf
/etc/nsswitch.conf
/etc/ppp/peers/myisp
/etc/ppp/peers/myisp.chat
/etc/ppp/options
I'm going around in circles and have not been able to find any clues in
the archive.=20
--
Daniel Smyth=20
------_=_NextPart_001_01C4DBDF.8F8CDD20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6603.0">
<TITLE>PPP - Can not "Activate the link"</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=3D2 FACE=3D"Courier New">I would appreciate some guidance =
on what I should look for next in trying to resolve this problem I am =
having with setting up a ppp dial-up connection to my ISP.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">I have a fresh install of NetBSD =
1.6.2 default kernel on i386</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Set up dial-up ppp connection to =
my ISP as per NetBSD Guide Networking 'how-to'</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">The modem works fine and I can =
establish a connection to my ISP through tty01</FONT>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New"># cu -p modem</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">CONNECTED</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">ATDT<myispnumber> </FONT>
</P>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Prompts for user name and =
password and begins PPP session no problems</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New">However when I attempt to =
activate the link</FONT>
</P>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New"># pppd call myisp</FONT>
</P>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Using connection script</FONT>
</P>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New"># /etc/ppp/peers/myisp</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">connect ’/usr/sbin/chat -v =
-f /etc/ppp/peers/bignet.chat’</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">noauth</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">user dan</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">remotename myisp.net</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Debug</FONT>
</P>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">And chat file</FONT>
</P>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New"># =
/etc/ppp/peers/myisp.chat</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">ABORT BUSY</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">ABORT "NO =
CARRIER"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">ABORT "NO =
DIALTONE"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">" ATDT<myispnumber> =
</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">CONNECT "</FONT>
</P>
<BR>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Fails to activate. I get some =
light change on the modem but it does not dial.</FONT>
</P>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New"># tail -f =
/var/log/messages</FONT>
</P>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">Tells me that the =
"Connection script failed" but does not say why.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">I have checked and rechecked the =
relevant files that are exact copies of the NetBSD Guide examples with =
my ISP details substituted where appropriate. Also checked the file =
permissions and they are as they should be.</FONT></P>
<UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">/etc/resolv.conf</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">/etc/nsswitch.conf</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">/etc/ppp/peers/myisp</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">/etc/ppp/peers/myisp.chat</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">/etc/ppp/options</FONT>
</P>
</UL>
<P><FONT SIZE=3D2 FACE=3D"Courier New">I'm going around in circles and =
have not been able to find any clues in the archive. </FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Courier New">--</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Daniel Smyth </FONT>
</P>
<BR>
<BR>
</BODY>
</HTML>
------_=_NextPart_001_01C4DBDF.8F8CDD20--