Bernd Walter wrote:
Hallo Bernd,
> Du hast Befehle drin die unter Garantie nicht in der Anleitung
> stehen und vom ppp auch nicht verstanden werden.
> »set accept« gibt es nicht.
Also ich hab mich nochmals ans Werk gemacht und alles frisch
aufgespielt. Es wurde der Kernel nur mit folgenden Optionen
compiliert:
options NETGRAPH
options NETGRAPH_SOCKET
options NETGRAPH_PPPOE
Keine Firewall eingebaut um möglichst jeden Fehler auszuschalten.
Auch kein Gateway.
Zusätzlich wurde aus den Ports tcpmssd installiert zwecks
MTU-Korrektur.
Ein ppp brachte folgende Ausgabe:
Working in interactive mode
Using interface tun0
ppp on abyss>
Ein darauf eingegebenes dial ergab nichts. Leider kann ich nicht
nachvollziehen an welcher Stelle es klemmt.
Hier mal meine entsprechenden Configs und Logs:
/etc/rc.conf
# --sysinstall generated deltas -- # Sat Dec 22 12:56:20 2001
# Created: Sat Dec 22 12:56:20 2001
hostname="abyss.test.local"
#ifconfig_xl0="DHCP"
ifconfig_xl0="up"
kern_securelevel_enable="NO"
keymap="german.iso"
linux_enable="YES"
nfs_reserved_port_only="YES"
nfs_server_enable="YES"
sendmail_enable="YES"
sshd_enable="YES"
Die Netzwerkkarte kann es nicht sein, denn wie zu sehen ist, wurde
bereits DHCP für die Installation des Servers eingesetzt.
Nachträglich wurde nur die Zeile ifconfig_xl0="up" wie im Howto
eingefügt und DHCP abgeschaltet und neu gebootet.
Ein grep in /etc/defaults/rc.conf forderte noch folgende Einträge
zutage, wobei ich nicht weiss ob die wichtig wären:
pppoed_enable="NO" # Run the PPP over Ethernet daemon.
pppoed_provider="*" # Provider and ppp(8) config file
entry.
pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if
enabled).
pppoed_interface="fxp0" # The interface that pppoed runs on.
Hier meine /etc/ppp/ppp.conf:
default:
set device PPPoE:xl0
set MTU 1492
set MRU 1492
set dial
set crtscts off
set speed sync
accept lqr
disable deflate
disable pred1
disable vjcomp
disable acfcomp
disable protocomp
enable dns
set log Phase LCP IPCP CCP Warning Error Alert
set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
add default HISADDR
set login
set authname geheim
set authkey secret
Das Ergebnis aus /var/log/ppp nach obiger Eingabe von ppp und dial
22 21:55:49 abyss ppp[232]: Phase: Using interface: tun0
Dec 22 21:55:49 abyss ppp[232]: Phase: deflink: Created in closed
state
Dec 22 21:55:49 abyss ppp[232]: Phase: PPP Started (interactive mode).
Dec 22 21:56:08 abyss ppp[232]: Phase: bundle: Establish
Dec 22 21:56:08 abyss ppp[232]: Phase: deflink: closed -> opening
Dec 22 21:56:08 abyss ppp[232]: Phase: deflink: Connected!
Dec 22 21:56:08 abyss ppp[232]: Phase: deflink: opening -> dial
Dec 22 21:56:08 abyss ppp[232]: Phase: deflink: dial -> carrier
Dec 22 21:56:13 abyss ppp[232]: Phase: deflink: Disconnected!
Dec 22 21:56:13 abyss ppp[232]: Phase: deflink: carrier -> hangup
Dec 22 21:56:13 abyss ppp[232]: Phase: deflink: Connect time: 5 secs:
0 octets
in, 0 octets out
Dec 22 21:56:13 abyss ppp[232]: Phase: deflink: : 0 packets in, 0
packets out
Dec 22 21:56:13 abyss ppp[232]: Phase: total 0 bytes/sec, peak 0
bytes/sec on
Sat Dec 22 21:56:13 2001
Dec 22 21:56:13 abyss ppp[232]: Phase: deflink: hangup -> closed
Dec 22 21:56:13 abyss ppp[232]: Phase: bundle: Dead
Woran klemmts?
Hier noch ein ifconfig danach:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::260:8ff:fec8:a138%xl0 prefixlen 64 scopeid 0x1
ether 00:60:08:c8:a1:38
media: Ethernet 10base2/BN
tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet6 fe80::260:8ff:fec8:a138%tun0 prefixlen 64 scopeid 0x7
Opened by PID 232
Gruss
Ingo
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 22 Dec 2001 - 23:25:50 CET