Hallo!
Seit längerem liebäugle ich schon mit dem Umstieg von Linux (Debian) zu OpenBSD. Es ist in meinen Augen das Betriebssystem mit dem Sexappeal, den ich brauche, wenn ich mehrere Stunden täglich damit arbeiten soll.
Gesagt getan: Seit Sommer 2003 Jahr besitze ich alle aktuellen OpenBSD CD-Sets, lese alles an Material (Absolute OpenBSD, Packet Filtering with pf) offline wie auch online (OBSD FAQ, euer Forum hier) und denke, dass ich jetzt für den Umstieg bereit bin.
Hilfen gen Google bin ich aus der Linux-Community leid und hoffe dass ihr die Benutzer die sich hier melden nicht für $LOCAL_DAU haltet.
Mein Problem bezieht sich auf den Verbindungsaufbau mit meinem Internet Service Provider via PPPoE. Es handelt sich dabei um KAMP-DSL.
Folgendermaßen sieht meine /etc/ppp/ppp.conf-Datei aus:
<snip>
default:
set log Phase Chat LCP IPCP CCP tun command
pppoe:
set device "!/usr/sbin/pppoe -i rl2"
set mtu max 1412
set mru max 1412
set speed sync
set login
disable lqr
disable acfcomp protocomp
deny acfcomp
set authname "dslflat/h17339%kamp-dsl"
set authkey "MEINPASSWORT"
<snap>
Ich habe zusätzlich noch mein Login und Passwort in die PAP- sowie CHAP-Secrets-Datei eingetragen wobei ich jeweils für die beiden Felder für server und IP-Adresse ein Asterisk eingetragen habe.
Beim Verbindungsaufbau erhalte ich nun folgenden Fehler:
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Input: FAILURE (Authentication failed)
Hier das gesamte Log eines Verbindungsversuches:
<snip>
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigReq(2) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerDown
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(18) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigNak(2) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Opened --> Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(18) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(19) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigReq(3) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigAck(3) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(19) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(20) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(20) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(21) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(21) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(22) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(22) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(23) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigRej(23) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(24) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigAck(24) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerUp
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: his = PAP, mine = none
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Output: dslflat/h17339%kamp-dsl ********
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Input: FAILURE (Authentication failed)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerDown
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendTerminateReq(25) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Opened --> Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvTerminateReq(72) state = Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendTerminateAck(72) state = Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: read (0): Connection reset by peer
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerFinish
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Closing --> Initial
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Disconnected!
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: lcp -> logout
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Disconnected!
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: logout -> hangup
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Connect time: 4 secs: 230 octets in, 316 octets out
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: 42 packets in, 48 packets out
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: total 136 bytes/sec, peak 109 bytes/sec on Fri Apr 9 23:32:15 2004
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: HUPing 4530
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: hangup -> opening
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Enter pause (3) for redialing.
Apr 9 23:32:15 eris ppp[17920]: tun0: Chat: deflink: Reconnect try 3 of 0
<snap>
Der Zugang funktioniert mit einem Hardware-Router, sowie mit dem selben Computer unter Debian GNU/Linux einwandfrei.
Ich bin ratlos und hoffe ihr könnt mir einen Tip geben. Interessant wäre z.B zu erfahren, ob ich in der Datei /etc/ppp/ppp.conf eine Anweisung eintragen kann das PAP-Secret aus /etc/ppp/pap-secrets zu verwenden und nicht meinen angegebenen authname und authkey.
Würde ich das erreichen, indem ich beide einfach entferne oder muß ich einen bestimmten Switch dafür setzen?
Ich habe schon bezüglich lqr rescherchiert [1] und anscheinend gibt es Probleme damit nicht nur in der Schweiz, sondern auch in Deutschland. Mein Problem scheint damit aber nichts zutun zu haben.
Trotzdem würde ich dazu gern wissen, wo der Unterschied zwischen accept und enable besteht, pppoe(8) [2] gibt da leider keinen Hinweis zu. Ist es so, dass enable es Client-Seitig einschaltet und accept es Peer-Seitig (wenn der peer es via LCP vorschlägt) akzeptiert wird?
[1]=<http://archives.neohapsis.com/archives/openbsd/2003-08/0279.html>;<http://marc.theaimsgroup.com/?l=openbsd-misc&m=108027969927790&w=2>
[2]=<http://resin.csoft.net/cgi-bin/man.cgi?section=8&topic=pppoe>
Hoffe ihr könnt etwas Licht in meine dunkle Katakombe bringen.
-Falk
Seit längerem liebäugle ich schon mit dem Umstieg von Linux (Debian) zu OpenBSD. Es ist in meinen Augen das Betriebssystem mit dem Sexappeal, den ich brauche, wenn ich mehrere Stunden täglich damit arbeiten soll.
Gesagt getan: Seit Sommer 2003 Jahr besitze ich alle aktuellen OpenBSD CD-Sets, lese alles an Material (Absolute OpenBSD, Packet Filtering with pf) offline wie auch online (OBSD FAQ, euer Forum hier) und denke, dass ich jetzt für den Umstieg bereit bin.
Hilfen gen Google bin ich aus der Linux-Community leid und hoffe dass ihr die Benutzer die sich hier melden nicht für $LOCAL_DAU haltet.
Mein Problem bezieht sich auf den Verbindungsaufbau mit meinem Internet Service Provider via PPPoE. Es handelt sich dabei um KAMP-DSL.
Folgendermaßen sieht meine /etc/ppp/ppp.conf-Datei aus:
<snip>
default:
set log Phase Chat LCP IPCP CCP tun command
pppoe:
set device "!/usr/sbin/pppoe -i rl2"
set mtu max 1412
set mru max 1412
set speed sync
set login
disable lqr
disable acfcomp protocomp
deny acfcomp
set authname "dslflat/h17339%kamp-dsl"
set authkey "MEINPASSWORT"
<snap>
Ich habe zusätzlich noch mein Login und Passwort in die PAP- sowie CHAP-Secrets-Datei eingetragen wobei ich jeweils für die beiden Felder für server und IP-Adresse ein Asterisk eingetragen habe.
Beim Verbindungsaufbau erhalte ich nun folgenden Fehler:
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Input: FAILURE (Authentication failed)
Hier das gesamte Log eines Verbindungsversuches:
<snip>
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigReq(2) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerDown
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(18) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigNak(2) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Opened --> Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(18) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(19) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigReq(3) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigAck(3) state = Req-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0xe612faa4
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(19) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(20) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(20) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(21) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(21) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(22) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigNak(22) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1492
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(23) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigRej(23) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MRU[4] 1412
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendConfigReq(24) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvConfigAck(24) state = Ack-Sent
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: MAGICNUM[6] 0x0ec88c2e
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerUp
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: his = PAP, mine = none
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Output: dslflat/h17339%kamp-dsl ********
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: Pap Input: FAILURE (Authentication failed)
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerDown
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendTerminateReq(25) state = Opened
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Opened --> Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: RecvTerminateReq(72) state = Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: SendTerminateAck(72) state = Closing
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: read (0): Connection reset by peer
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: LayerFinish
Apr 9 23:32:15 eris ppp[17920]: tun0: LCP: deflink: State change Closing --> Initial
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Disconnected!
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: lcp -> logout
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Disconnected!
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: logout -> hangup
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Connect time: 4 secs: 230 octets in, 316 octets out
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: 42 packets in, 48 packets out
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: total 136 bytes/sec, peak 109 bytes/sec on Fri Apr 9 23:32:15 2004
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: HUPing 4530
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: hangup -> opening
Apr 9 23:32:15 eris ppp[17920]: tun0: Phase: deflink: Enter pause (3) for redialing.
Apr 9 23:32:15 eris ppp[17920]: tun0: Chat: deflink: Reconnect try 3 of 0
<snap>
Der Zugang funktioniert mit einem Hardware-Router, sowie mit dem selben Computer unter Debian GNU/Linux einwandfrei.
Ich bin ratlos und hoffe ihr könnt mir einen Tip geben. Interessant wäre z.B zu erfahren, ob ich in der Datei /etc/ppp/ppp.conf eine Anweisung eintragen kann das PAP-Secret aus /etc/ppp/pap-secrets zu verwenden und nicht meinen angegebenen authname und authkey.
Würde ich das erreichen, indem ich beide einfach entferne oder muß ich einen bestimmten Switch dafür setzen?
Ich habe schon bezüglich lqr rescherchiert [1] und anscheinend gibt es Probleme damit nicht nur in der Schweiz, sondern auch in Deutschland. Mein Problem scheint damit aber nichts zutun zu haben.
Trotzdem würde ich dazu gern wissen, wo der Unterschied zwischen accept und enable besteht, pppoe(8) [2] gibt da leider keinen Hinweis zu. Ist es so, dass enable es Client-Seitig einschaltet und accept es Peer-Seitig (wenn der peer es via LCP vorschlägt) akzeptiert wird?
[1]=<http://archives.neohapsis.com/archives/openbsd/2003-08/0279.html>;<http://marc.theaimsgroup.com/?l=openbsd-misc&m=108027969927790&w=2>
[2]=<http://resin.csoft.net/cgi-bin/man.cgi?section=8&topic=pppoe>
Hoffe ihr könnt etwas Licht in meine dunkle Katakombe bringen.
-Falk