Re: PPPoE - Connection reset by peer

2008-08-15 Thread Olaf Schreck
> Warning: disable lcp: Invalid command > Warning: disable lcp: Failed 1 Brainfart, sorry. I confused it with "disable lqr" which had fixed a different problem for me. No idea for your problem. Sorry for posting noise.

PPPoE(4) - pap failure: &22 (Re: PPPoE - Connection reset by peer)

2008-08-14 Thread Dongsheng Song
When I user pppoe(4): # cat /etc/hostname.bge0 up # cat /etc/hostname.pppoe0 inet 0.0.0.0 255.255.255.255 NONE \ pppoedev bge0 authproto pap \ authname '[EMAIL PROTECTED]' authkey 'yyy' up dest 0.0.0.1 !/sbin/route add -inet 59.37.173.0/24 0.0.0.1 I got error "pap failure: &22": Aug 15

Re: PPPoE - Connection reset by peer

2008-08-14 Thread Stuart Henderson
On 2008-08-14, Olaf Schreck <[EMAIL PROTECTED]> wrote: >> Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: login -> lcp >> Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: FSM: Using "deflink" as a >> transport > [...] >> Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: read (0): >> Conn

Re: PPPoE - Connection reset by peer

2008-08-14 Thread Dongsheng Song
# ppp -ddial pppoe Working in ddial mode Using interface: tun0 Warning: disable lcp: Invalid command Warning: disable lcp: Failed 1 # dmesg OpenBSD 4.4-current (GENERIC.MP) #5: Thu Aug 14 13:26:09 CST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP ... 2008/8/14 Olaf Schreck

Re: PPPoE - Connection reset by peer

2008-08-14 Thread Olaf Schreck
> Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: login -> lcp > Aug 14 16:44:28 proxy ppp[23119]: tun1: LCP: FSM: Using "deflink" as a > transport [...] > Aug 14 16:44:28 proxy ppp[23119]: tun1: Phase: deflink: read (0): > Connection reset by peer [...] > Aug 14 16:44:28 proxy ppp[23119]:

Re: PPPoE - Connection reset by peer

2008-08-14 Thread Antti Harri
Hi, I don't know what's solution to your problem but I recommend you take a look at the kernel pppoe driver: pppoe(4). It's very simple to configure and works as good as pppoe can work. -- Antti Harri

PPPoE - Connection reset by peer

2008-08-14 Thread Dongsheng Song
I have a adsl used by windows, it's fine. When I used in OpenBSD: # cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun debug command set redial 15+5 0 set reconnect 30 1 pppoe: set device "!/usr/sbin/pppoe -i bge0" set mtu max 1492 set mru max 1492 set speed sync set d