debian-und-dsl nocheinmal
Jan-Benedict Glaw
jbglaw at lug-owl.de
Tue Nov 18 08:29:14 CET 2003
On Tue, 2003-11-18 01:38:34 +0100, Sascha Grabienski <achsas at gmx.de>
wrote in message <3FB96A0A.2090804 at gmx.de>:
> Einwahl ins Internet: 1und1-dsl, teledat-331-Lan, Realtec-Netzwerkkarte.
> Woody 30 r1, non-us, stable,
> es hat trotz Neu-Installation immer noch nicht geklappt.
> bash:
> debian:~# pon dsl-provider
> debian:~# poff
>
> (-keine sichtbare Reaktion -auch in pppstatus)
Da kommen auch keine Reaktionen. "pon", bestenfalls einige Sekunden
warten, dann sollte die Leitung stehen (mal vorausgesetzt, daß der Modem
"sync" hat etc.).
> debian:~# ifconfig -a
> eth0 Protokoll:Ethernet Hardware Adresse 00:02:44:72:79:4F
> inet Adresse:192.168.1.1 Bcast:192.168.1.255 Maske:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:9 errors:0 dropped:0 overruns:0 frame:0
> TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
> Kollisionen:0 Sendewarteschlangenlänge:100
> RX bytes:540 (540.0 b) TX bytes:3331 (3.2 KiB)
> Interrupt:9 Basisadresse:0xd400
>
> lo Protokoll:Lokale Schleife
> inet Adresse:127.0.0.1 Maske:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:76 errors:0 dropped:0 overruns:0 frame:0
> TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
> Kollisionen:0 Sendewarteschlangenlänge:0
> RX bytes:5047 (4.9 KiB) TX bytes:5047 (4.9 KiB)
>
> ppp0 Protokoll:Punkt-zu-Punkt Verbindung
> PUNKTZUPUNKT NOARP MULTICAST MTU:1492 Metric:1
> RX packets:6 errors:0 dropped:0 overruns:0 frame:0
> TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
> Kollisionen:0 Sendewarteschlangenlänge:10
> RX bytes:158 (158.0 b) TX bytes:232 (232.0 b)
Hier fehlt noche die IP-Adresse; sollte von Deiner Gegenstelle
zugewiesen werden.
> sl0 Protokoll:Serielle IP
> inet Adresse:192.168.0.1 P-z-P:192.168.0.2 Maske:255.255.255.255
> UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1492 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> Kollisionen:0 Sendewarteschlangenlänge:10
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Wie kommst Du zu einem SLIP-Interface????
> debian:~# route -n
> Kernel IP Routentabelle
> Ziel Router Genmask Flags Metric Ref Use
> Iface
> 192.168.0.2 0.0.0.0 255.255.255.255 UH 1 0 0 sl0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 0.0.0.0 0.0.0.0 0.0.0.0 U 1 0 0 sl0
Riecht etwas nach "defaultroute to sl0"; aber das ist sicher falsch. Wie
kommst Du zu einem SLIP-Interface..?
> debian:~# route
> Kernel IP Routentabelle
> Ziel Router Genmask Flags Metric Ref Use
> Iface
> 192.168.0.2 * 255.255.255.255 UH 1 0 0 sl0
> localnet * 255.255.255.0 U 0 0 0 eth0
> default * 0.0.0.0 U 1 0 0 sl0
> debian:~# ifup eth0
> ifup: interface eth0 already configured
> debian:~# pppoe -I eth0 -A
> Access-Concentrator: BIEX11-erx
> Got a cookie: ad 28 8d 87 76 f6 d2 a9 d1 79 09 26 74 a8 3e db
> --------------------------------------------------
> AC-Ethernet-Address: 00:90:1a:10:10:68
> --------------------------------------------------
Schön, das DSL-Geraffel ist also technisch OK.
> =========================================================================
> =========================================================================
> diald.log:
> ...
> Mon Nov 17 21:03:14 2003 CET: Calling site 192.168.0.2.
> Mon Nov 17 21:03:18 2003 CET: Calling site 192.168.0.2.
> ...
> =========================================================================
Schmeiß' den diald 'raus! Der startet den pppd notfalls mehrfach; dann
gehen die Links leider alle baden, weil so ein DSL-Modem Dir nur exakt
*eine* Verbindung erlaubt.
> ppp-connect-errors
>
> pppoe: read (asyncReadFromPPP): Input/output error
> pppoe: read (asyncReadFromPPP): Input/output error
> =========================================================================
IMHO Folgefehler wg. mehrerer gestarteter pppds.
> syslog:
>
> Nov 18 00:19:53 debian syslogd 1.4.1#10: restart.
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Connection from host
> localhost (127.0.0.1).
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Status.
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Connection from host
> localhost (127.0.0.1).
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Offline.
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Connection from host
> localhost (127.0.0.1).
> Nov 18 00:19:54 debian wwwoffled[685]: WWWOFFLE Purge.
> Nov 18 00:19:54 debian wwwoffled[685]: Cannot change to directory 'temp'
> [No such file or directory]; not purged.
> Nov 18 00:19:54 debian wwwoffled[685]: WWWOFFLE Purge finished.
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE Connection from host
> localhost (127.0.0.1).
> Nov 18 00:19:54 debian wwwoffled[255]: WWWOFFLE In Autodial Mode.
> Nov 18 00:19:54 debian anacron[265]: Job `cron.daily' terminated
> Nov 18 00:19:54 debian anacron[265]: Normal exit (1 jobs run)
> Nov 18 00:23:01 debian /USR/SBIN/CRON[694]: (mail) CMD ( if [ -x
> /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
> Nov 18 00:23:01 debian diald[191]: Trigger: udp 192.168.0.1/1025
> 212.185.248.180/53
> Nov 18 00:23:01 debian diald[191]: Calling site 192.168.0.2
> Nov 18 00:23:01 debian diald[191]: No devices free to call out on.
> Nov 18 00:23:01 debian diald[191]: Connect script failed.
> ...
> =========================================================================
Kill' den diald.
> Wie vor ein paar Tagen schon mal beschrieben, tu ich mich schwer mit
> Debian ins Internet zu kommen. Scheint wohl ein
> Adress/Konfigurations-Problem zu sein.
Erster Fehler: diald.
Zweiter Fehler: Das sl0-Interface. Wenn Du nicht wirklich mit einem
gekreuzten Kabel einen zweiten Rechner anbindest, hat das nichts auf
Deinem Rechner verloren.
> Für Hilfe bin ich dankbar.
> Gruß auch an die, die schon geholfen haben ... Respekt ...
Also, da ich nicht weiß, wie das SLIP-Interface da hingekommen ist, gehe
ich hier mal vom Stand "frische Neuinstallation Debian GNU/Linux 'Woody'
mit Disketten-Satz 'bf-2.4'" aus.
Nach der Basis-Installation *nichts* weiteres installieren. Kein
"dselekt", kein "aptitude", kein "tasksel".
Danach:
# apt-get install ppp pppoeconf pppoe
Eventuell wird Dir bei der Installation von pppoeconf gleich das
Konfigurations-Interface aufgemacht (ein Text-Menü). Wenn ja, dort die
Werte eintippen; wenn nein, dann:
# pppoeconf
...und alles eingeben.
Danach kannst Du nochmal testen, ob Dein Modem noch tut:
# pppoe -I eth0 -A
Nun wählen mit:
# pon; sleep 10
gefolgt von
# ping 62.52.24.140
Sollte auf Anhieb tun. Wenn nicht, dann beachte folgendes:
- Es darf immer nur ein pppd laufen; laufen mehrere, wird etwas nicht
funktionieren. Dagegen hilft "poff", im Zweifelsfall mehrfach
hintereinander aufgerufen. Die brachiale Methode ist "killall pppd".
- Wenn es nicht sofort tut, erstmal Debugging einschalten. Dazu das Wort
"debug" in der entsprechenden Datei unter /etc/ppp/peers/ schreiben.
- Vor jedem "pon" erst nachsehen, ob nicht noch irgendwo ein alter pppd
'rumsteht.
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20031118/d2d03b97/attachment.sig>
More information about the Linux
mailing list