Using PPPoE

Paul A. Hoadley paulh at logicsquad.net
Wed Apr 13 23:24:05 PDT 2005


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
> 
> 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 at 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 = 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?


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050414/d502df37/attachment.bin


More information about the freebsd-questions mailing list