|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ivaylo DJOUNOV (ivaylo
gmx.co.uk)Date: Sun Mar 03 2002 - 10:42:15 CST
Hi,
I've experienced probs to connect to my ISP. The ISP provide PPPoE, usin'
Mikrotik RouterOS (http://www.mikrotik.com). Auth type is PAP. It seems that
everythink goes well until the PAP negotiation, so LCP never comes up.
***************************************************************
Here is my /etc/ppp/ppp.conf:
default:
set log Phase Chat LCP IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
enable pap
pppoe:
set cd 5
set device "!/usr/sbin/pppoe -i ep1 -n spnet"
set mtu max 1500
set mru max 1500
set speed sync
# set mppe
disable acfcomp protocomp
deny acfcomp
# enable lqr
# set dial
# set login
# set timeout 0
enable mssfixup
# add default HISADDR
enable dns
# nat enable yes
# resolv writable
set authname "pppoe"
set authkey "test"
***************************************************************
Here is a bit of the "ppp" logout:
Mar 2 18:32:57 sauron ppp[20238]: tun0: Chat: deflink: Redial timer expired.
Mar 2 18:32:57 sauron ppp[20238]: tun0: Warning: Carrier settings ignored
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: Connected!
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: opening -> dial
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: dial -> carrier
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: carrier -> login
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: login -> lcp
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: State change
Initial --> Closed
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: State change
Closed --> Stopped
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: RecvConfigReq(1) state
= Stopped
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: MRU[4] 1492
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: MAGICNUM[6] 0x9dd5df1f
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: Too many LCP REQs
sent - abandoning negotiation
Other scenario was:
Mar 2 18:32:57 sauron ppp[20238]: tun0: Chat: deflink: Redial timer expired.
Mar 2 18:32:57 sauron ppp[20238]: tun0: Warning: Carrier settings ignored
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: Connected!
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: opening -> dial
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: dial -> carrier
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: carrier -> login
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: login -> lcp
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: State change
Initial --> Closed
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: State change
Closed --> Stopped
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: deflink: RecvConfigReq(1) state
= Stopped
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: MRU[4] 1492
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Mar 2 18:32:57 sauron ppp[20238]: tun0: LCP: MAGICNUM[6] 0x9dd5df1f
Mar 2 18:32:57 sauron ppp[20238]: tun0: Phase: deflink: Connection reset by
peer
Has anyone used ppp+pppoe under OpenBSD and if so found such a situation ?
I also would to know if there is a netgraph implementation in OpenBSD3.0 /
i386 (I've checked the FAQ, man's and so on, but I didn't find anything
appropriate).
Best regards,
Ivaylo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]