PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : t-dsl mit kernel 2.4.13


wudmx
09.11.01, 23:06
hi!



also ich hab suse 7.0. allerdings den kernel 2.4.13. will dsl von der telekom haben. unter windows geht es, mit roaring penguin auch. das belastet aber ziemlich meine cpu, wie es auch in mehreren zeitschriften steht. will also die modullösung verwenden.



die module hab ich natuerlich mitkompiliert:



find /lib/modules/2.4.13/ -name 'pppo[ex].o'



/lib/modules/2.4.13/kernel/drivers/net/pppox.o



/lib/modules/2.4.13/kernel/drivers/net/pppoe.o



okay. gut soweit. dann hab ich mir ppp-2.4.1 und den patch4 dazu gezogen. ausgepackt, gepatcht, ./configure,make,make install. alles hat geklappt. netzwerkkarte: ich hab nur eine, also eth0. ip: 192.168.0.2 ... ansonsten nix angegeben.



ifconfig eth0 up



eth0 Link encap:Ethernet HWaddr 00:20:18:3B:E3:82



inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0



UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1



RX packets:749 errors:0 dropped:0 overruns:0 frame:0



TX packets:892 errors:0 dropped:0 overruns:0 carrier:0



collisions:0 txqueuelen:100



Interrupt:10 Base address:0xd000



gut soweit. dann mal t-online konfigurieren:



/etc/ppp/pap-secrets



# Secrets for authentication using PAP



# client server secret IP addresses



0000000000001111111111110001@t-online.de * 00000000



dann die /etc/ppp/options



# /etc/ppp/options



# Nachladen des PPPoE-Plugins - Der Pfad muss eventuell angepasst werden!



plugin /usr/lib/pppd/2.4.1/pppoe.so



# Dial On Demand



#demand



# Das Verbinden wird vom pppoe übernommen, ein Connect-Skript ist also



# nicht nötig



connect /bin/true



# Lokale und Remote-IP-Nummer vom Server wird akzeptiert



ipcp-accept-remote



ipcp-accept-local



# Der Server teilt uns den Nameserver mit



usepeerdns



# Nach 3 Minuten (180 s) Inaktivität wird aufgelegt



idle 180



# Wir haben keine gültige Default-IP, also nehmen wir die vom



# Provider zugewiesene



noipdefault



# Die Defaultroute wird auf diese Verbindung gesetzt



defaultroute



# Unser Login-Name beim Provider - muss exakt uebereinstimmen



# mit /etc/ppp/pap-secrets



user "0000000000001111111111110001@t-online.de"



hide-password



# Wir haben kein Modem, ein Handshake ist nicht nötig



nocrtscts



local



auth



# Bei PPPoE darf die MTU nicht größer als 1492 sein, pppoed setzt



# dieses jedoch nicht automatisch



mru 1492



mtu 1492



# Alle 10 s nachschauen, ob der Server noch da ist. Bei 3 "Fehlpaketen"



# Verbindung beenden



lcp-echo-interval 10



lcp-echo-failure 3



# Specifies that pppd should use a UUCP-style lock on the serial device



# to ensure exclusive access to the device.



lock



# Nur zu Testzwecken sind die Meldungen im Syslog interessant



debug



# Nicht in den Hintergrund "rutschen" - nur zu Testzwecken aktivieren!



#nodetach



okay, jetzt



pppd eth0



in der /var/log/messages:



Nov 10 23:57:29 linux pppd[5002]: Plugin /usr/lib/pppd/2.4.1/pppoe.so loaded.



Nov 10 23:57:29 linux pppd[5002]: PPPoE Plugin Initialized



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module escape



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module escape



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module crtscts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module crtscts



Nov 10 23:57:29 linux modprobe: modprobe: Safe mode parameter starts with '-'



Nov 10 23:57:29 linux modprobe: modprobe: Safe mode parameter starts with '-'



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module nocrtscts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module nocrtscts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module cdtrcts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module cdtrcts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module nocdtrcts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module nocdtrcts



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module xonxoff



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module xonxoff



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module modem



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module modem



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module local



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module local



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module sync



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module sync



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module vj



Nov 10 23:57:29 linux modprobe: modprobe: Can't locate module vj



Nov 10 23:57:29 linux pppd[5025]: pppd 2.4.1 started by root, uid 0



Nov 10 23:57:29 linux pppd[5025]: Sending PADI



Nov 10 23:57:29 linux pppd[5025]: HOST_UNIQ successful match



Nov 10 23:57:29 linux pppd[5025]: HOST_UNIQ successful match



Nov 10 23:57:29 linux pppd[5025]: Got connection: 1cd6



Nov 10 23:57:29 linux pppd[5025]: Connecting PPPoE socket: 00:90:1a:01:05:36



c eth0 0x807ef68



Nov 10 23:57:29 linux pppd[5025]: using channel 24



Nov 10 23:57:29 linux pppd[5025]: Using interface ppp0



Nov 10 23:57:29 linux pppd[5025]: Connect: ppp0 <--> eth0



Nov 10 23:57:29 linux pppd[5025]: Couldn't increase MTU to 1500.



Nov 10 23:57:29 linux pppd[5025]: Couldn't increase MRU to 1500



Nov 10 23:57:29 linux pppd[5025]: sent [LCP ConfReq id=0x1 <mru 1492> <auth c



MD5> <magic 0xdda298f0>]



Nov 10 23:57:30 linux pppd[5025]: rcvd [LCP ConfReq id=0x6b <mru 1492> <auth



> <magic 0x5f4a4865>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0



0 88 88 88 88



Nov 10 23:57:30 linux pppd[5025]: sent [LCP ConfRej id=0x6b <auth pap>]



Nov 10 23:57:30 linux pppd[5025]: rcvd [LCP ConfReq id=0x6c <mru 1492> <magic



5f4a4865>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00



00 88 88 88 88



Nov 10 23:57:30 linux pppd[5025]: sent [LCP ConfAck id=0x6c <mru 1492> <magic



5f4a4865>]



Nov 10 23:57:30 linux pppd[5025]: rcvd [LCP TermReq id=0x6d] c2 19 00 00 00 0



1 00 01 9a 12 49 10 00 00 01 01 0a e0 90 c0 1d 00 6b f9 78 30 62 f2 0b 5c 4c



Nov 10 23:57:30 linux pppd[5025]: sent [LCP TermAck id=0x6d]



Nov 10 23:57:30 linux pppd[5025]: Modem hangup



Nov 10 23:57:30 linux pppd[5025]: Connection terminated.



Nov 10 23:57:30 linux pppd[5025]: Doing disconnect



Nov 10 23:57:30 linux pppd[5025]: Exit.



###############################



kann mir jemand helfen? wie gesagt, mit roaring penguin klappts. aber ich hätte gerne die modullösung.



danke



wudmx

wudmx
09.11.01, 23:43
hat sich geklaert, habs endlich geschafft, auch wenn ich jetzt nicht mehr weiß, worans lag!
cu
wudmx