Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 15:54:01 +0930
From:      "Paul A. Hoadley" <paulh@logicsquad.net>
To:        Alexandre Vasconcelos <alex.vasconcelos@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using PPPoE
Message-ID:  <20050414062401.GA78187@bigbird.logicsquad.net>
In-Reply-To: <26551fb5050413060419fadcf4@mail.gmail.com>
References:  <26551fb5050413060419fadcf4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414062401.GA78187>