ppp problem ( pppoe )

Marius Cirsta marius_mps at yahoo.com
Mon Nov 7 02:48:55 GMT 2005


  I've got to use PPPoE to access the internet through
a regular LAN ( my ISP requires it ) . It works on
Windows ( using PAP as auth ) and on Linux using
rp-pppoe .
It seems simple enough to do in FreeBSD but it doesn't
work .

Here's my ppp.conf file :


default:
set log Phase tun command # you can add more detailed
logging if you wish
set ifaddr 10.0.0.1/0 10.0.0.2/0

rds:
set device PPPoE:xl0:rds # replace xl1 with your
Ethernet device
set authname tm212418
set authkey PASS
set dial
set login
add default HISADDR

And here's how the log looks and what fails :

Nov 7 02:27:55 ppp[541]: tun0: Phase: Caught signal 2,
abort connection(s)
Nov 7 02:28:02 ppp[541]: tun0: Command: /dev/ttyv0:
equit
Nov 7 02:28:10 ppp[541]: tun0: Command: /dev/ttyv0:
call
Nov 7 02:28:10 ppp[541]: tun0: Phase: bundle:
Establish
Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: closed
-> opening
Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink:
Connected!
Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: opening
-> dial
Nov 7 02:28:10 ppp[541]: tun0: Phase: deflink: dial ->
carrier
Nov 7 02:28:11 ppp[541]: tun0: Phase: Received
NGM_PPPOE_ACNAME (hook "RMSPPPOE")
Nov 7 02:28:11 ppp[541]: tun0: Phase: Received
NGM_PPPOE_SESSIONID
Nov 7 02:28:11 ppp[541]: tun0: Phase: Received
NGM_PPPOE_SUCCESS
Nov 7 02:28:11 ppp[541]: tun0: Phase: deflink: carrier
-> login
Nov 7 02:28:11 ppp[541]: tun0: Phase: deflink: login
-> lcp
Nov 7 02:28:12 ppp[541]: tun0: Warning: deflink:
Reducing configured MRU from 1500 to 1492
Nov 7 02:28:14 ppp[541]: tun0: Phase: bundle:
Authenticate
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: his =
CHAP 0x81, mine = none
Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Input:
CHALLENGE (16 bytes from -)
Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Output:
RESPONSE (tm212418)
Nov 7 02:28:14 ppp[541]: tun0: Phase: Chap Input:
FAILURE (E=691 R=1 C=DBD8E1FC29E5AA114460DFB8BAA09887
V=3)
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink:
Disconnected!
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: lcp ->
logout
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: logout
-> hangup
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink:
Disconnected!
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: Connect
time: 4 secs: 267 octets in, 196 octets out
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: 8
packets in, 7 packets out
Nov 7 02:28:14 ppp[541]: tun0: Phase: total 115
bytes/sec, peak 38 bytes/sec on Mon Nov 7 02:28:13
2005
Nov 7 02:28:14 ppp[541]: tun0: Phase: deflink: hangup
-> closed
Nov 7 02:28:14 ppp[541]: tun0: Phase: bundle: Dead


It looks to my that it fails on authentification . I
would like to use pap as it works in Windows ( I have
no idea what rp-pppoe uses ) but I don't know how to
do it as deny chap and disable chap don't seem to have
any efect ( it still tries chap auth and then fails )
.
Any ideas on what to do would be greatly apreciated .
I can't use FreeBSD without a working net connection
and it's a pity .


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


More information about the freebsd-questions mailing list