From owner-freebsd-questions@FreeBSD.ORG Thu Apr 14 06:24:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5004316A4CE for ; Thu, 14 Apr 2005 06:24:05 +0000 (GMT) Received: from bigbird.logicsquad.net (ppp243-186.lns2.adl2.internode.on.net [203.122.243.186]) by mx1.FreeBSD.org (Postfix) with SMTP id E2DE243D2D for ; Thu, 14 Apr 2005 06:24:03 +0000 (GMT) (envelope-from paulh@bigbird.logicsquad.net) Received: (qmail 81835 invoked by uid 1001); 14 Apr 2005 06:24:01 -0000 Date: Thu, 14 Apr 2005 15:54:01 +0930 From: "Paul A. Hoadley" To: Alexandre Vasconcelos Message-ID: <20050414062401.GA78187@bigbird.logicsquad.net> References: <26551fb5050413060419fadcf4@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <26551fb5050413060419fadcf4@mail.gmail.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Using PPPoE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 06:24:05 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Wed, Apr 13, 2005 at 10:04:14AM -0300, Alexandre Vasconcelos wrote: > default: > set log phase chat connect lcp ipcp tun command > set ifaddr 10.0.0.140/32 0.0.0.0/0 >=20 > brtelecom: > set device PPPoE:sis0 > set authname myusername > set authkey mypassword > set dial > set login > add default HISADDR Presumably this is a cut-and-paste artefact, but the space in column one of non-label lines is significant. I assume it's correct in /etc/ppp/ppp.conf, since you seem to be getting somewhere according to ppp.log. Also, some ISPs need a 'provider' name after the interface name (e.g. ' set device PPPoE:sis0:internode'). Again, this may not be your problem, but might be worth checking. > When I run ppp -ddial brt modem lights start to blink, but ifconfig > shows interface tun0 without any IP address and /var/log/ppp.log > shows: Again, presumably just a typo, but you'd need to run 'ppp -ddial brtelecom'. Anyway, start with interactive mode. Just run 'ppp' and then 'dial brtelecom' at the prompt. 'man ppp' describes how the prompt changes to indicate how far you're getting in the connection process. > [root@alex ppp]# tail -f /var/log/ppp.log > Apr 12 01:13:01 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial. > Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP: deflink: > RecvConfigReq(112) state =3D Initial > Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP: IPADDR[6] 200.103.98.174 > Apr 12 01:13:04 alex ppp[9723]: tun0: IPCP: deflink: Oops, RCR in Initial. > Apr 12 01:13:07 alex ppp[9723]: tun0: IPCP: deflink: I presume this means you're getting as far as IPCP. Can you post a log for a whole connection attempt? --=20 Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCXgyB730Z/jysbzIRAr2BAJ0fmsOSSAUjYGRtEK+PdVtmBWdl8gCdFh8S 9ugx+Rfbp9+e2CziUgq3r70= =mvtP -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--