Re: adsl

From: O.Kock <webmaster@e-sharing.de>
Date: Sun Jun 20 2004 - 19:14:52 CEST

Elke Wilkeit schrieb:

>hei *,
>
>nachdem ihr euch gerade so fachkundig "uber masquerading unterhalten
>habt, trau ich mich kaum, mit so einer trivialen frage zu
>kommen, aber ihr seid mal wieder meine letzte hoffnung:
>
> wie kann ich feststellen, ob mein rechner prinzipiell, d.h. auf
> hardware-ebene, imstande ist, ans netz zu kommen?
>
>bisher ist mir die netz-verbindung bei meinen rechnern relativ
>problemlos mit adsl-setup gelungen. mehrfach. und nun dieses.
>
>die situation: nach einem l"ufter-defekt mit nachfolgendem cpu-crash
>habe ich in meinem rechner nach und nach so einiges auswechseln
>lassen, "uber wochen und per trial und error, ich bin mit meinen
>nerven am ende.
>
>nun ist es mir gelungen, RedHat 9.0 (sorry, aber das kenne ich nun
>wenigstens einigerma"sen) zu installieren und es sieht alles ganz
>vertraut aus, nur bekomme ich die kiste nicht ans netz. ifup eth0
>funktioniert und ppp0 ist so konfiguriert, dass es eth0 benutzt.
>
>ich habe folgende scripte mit set -x ausspioniert und nichts
>verd"achtiges gefunden, konnte ja mit zwei anderen rechnern
>vergleichen, auf denen dasselbe system l"auft:
>
> adsl-start
> adsl-connect
> ifup ppp0
>
>alle drei melden schlicht eine 1 zur"uck: fehlschlag. nicht sehr
>ergiebig, aber adsl-start hat eine debug-option, deren ausgabe ich
>unten anh"ange.
>
> ifup eth0
>
>funktioniert, beim einstecken des ethernet-kabels leuchtet die lampe
>der karte und mit ifup ppp0 bringe ich die l"ampchen des HUB zum
>blinken, wie gewohnt. allerdings bekomme ich keine netz-vebindung und
>in /etc/syslog/messages steht nach einem
>
> /etc/rc.d/init.d/network restart
> ifup ppp0
>
>folgendes, was mir keine idee liefert.
>hoffentlich versteht es einer von euch besser als ich:
>
>==================================================================
>hier die messages nach /etc/rc.d/init.d/network restart; ifup ppp0
>==================================================================
>Jun 20 13:38:01 hiob network: Shutting down interface eth0: succeeded
>Jun 20 13:38:01 hiob network: Shutting down loopback interface:
>succeeded
>Jun 20 13:38:01 hiob sysctl: net.ipv4.ip_forward = 0
>Jun 20 13:38:01 hiob network: Disabling IPv4 packet forwarding:
>succeeded
>Jun 20 13:38:01 hiob sysctl: net.ipv4.ip_forward = 0
>Jun 20 13:38:01 hiob sysctl: net.ipv4.conf.default.rp_filter = 1
>Jun 20 13:38:01 hiob sysctl: kernel.sysrq = 0
>Jun 20 13:38:01 hiob sysctl: kernel.core_uses_pid = 1
>Jun 20 13:38:01 hiob network: Setting network parameters: succeeded
>Jun 20 13:38:01 hiob network: Bringing up loopback interface:
>succeeded
>Jun 20 13:38:03 hiob network: Bringing up interface eth0: succeeded
>Jun 20 13:38:24 hiob pppd[12398]: pppd 2.4.1 started by root, uid 0
>Jun 20 13:38:24 hiob pppd[12398]: Using interface ppp0
>Jun 20 13:38:24 hiob pppd[12398]: Connect: ppp0 <--> /dev/pts/3
>Jun 20 13:38:24 hiob /etc/hotplug/net.agent: assuming ppp0 is already
>up
>Jun 20 13:38:24 hiob pppoe[12399]: PPP session is 2855
>Jun 20 13:38:56 hiob pppoe[12399]: Session 2855 terminated -- received
>PADT from peer
>Jun 20 13:38:56 hiob pppoe[12399]: Sent PADT
>Jun 20 13:38:56 hiob pppd[12398]: Modem hangup
>Jun 20 13:38:56 hiob pppd[12398]: Connection terminated.
>Jun 20 13:38:56 hiob pppd[12398]: Exit.
>Jun 20 13:38:56 hiob /etc/hotplug/net.agent: NET unregister event not
>supported
>[ewi@kira adsl] (0)
>
>
>tja, das w"ars so weit. nach allem, was ich in den letzten wochen
>erlebt habe, tippe ich darauf, dass immer noch etwas mit der hardware
>nicht stimmt. aber wie kann ich feststellen, ob das so ist?
>
>herzliche gr"u"se, elke.
>
>
>
>=============================================================
>hier die debug-ausgabe von adsl-start
>=============================================================
>
>[root@hiob root]# export DEBUG=1; /sbin/adsl-start
>find debug-info in file /tmp/pppoe-debug-5676/pppoe-debug.txt
>[root@hiob root]# cat /tmp/pppoe-debug-5676/pppoe-debug.txt
>---------------------------------------------
>* The following section contains information about your system
>Sat Jun 19 19:11:04 CEST 2004
>Output of uname -a
>Linux hiob 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386
>GNU/Linux
>---------------------------------------------
>* The following section contains information about your network
>* interfaces. The one you chose for PPPoE should contain the words:
>* 'UP' and 'RUNNING'. If it does not, you probably have an Ethernet
>* driver problem.
>Output of ifconfig -a
>eth0 Link encap:Ethernet HWaddr 00:0E:A6:77:02:AC
> inet addr:192.168.1.1 Bcast:192.168.1.255
>* Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:8496 errors:0 dropped:0 overruns:0 frame:0
> TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:839710 (820.0 Kb) TX bytes:14069 (13.7 Kb)
> Interrupt:9 Base address:0xa400
>
>eth1 Link encap:Ethernet HWaddr 00:50:DA:46:60:29
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:10 Base address:0xa000
>
>lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:241347 errors:0 dropped:0 overruns:0 frame:0
> TX packets:241347 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:16474686 (15.7 Mb) TX bytes:16474686 (15.7 Mb)
>
>---------------------------------------------
>* The following section contains information about kernel modules
>* If the module for your Ethernet card is 'tulip', you might
>* want to look for an updated version at http://www.scyld.com
>Output of lsmod
>Module Size Used by Not tainted
>ppp_synctty 7744 0 (unused)
>ppp_async 9312 0 (autoclean)
>ppp_generic 24156 0 (autoclean) [ppp_synctty ppp_async]
>slhc 6644 0 (autoclean) [ppp_generic]
>radeon 114916 0
>parport_pc 18756 1 (autoclean)
>lp 8868 0 (autoclean)
>parport 36480 1 (autoclean) [parport_pc lp]
>autofs 12948 0 (autoclean) (unused)
>3c59x 30416 0 (unused)
>via-rhine 15568 1
>mii 3944 0 [via-rhine]
>ipt_REJECT 3896 6 (autoclean)
>iptable_filter 2380 1 (autoclean)
>ip_tables 14648 2 [ipt_REJECT iptable_filter]
>sg 35980 0 (autoclean)
>sr_mod 17912 0 (autoclean)
>ide-scsi 11984 0
>scsi_mod 106200 3 [sg sr_mod ide-scsi]
>ide-cd 35196 0
>cdrom 33472 0 [sr_mod ide-cd]
>keybdev 2880 0 (unused)
>mousedev 5428 1
>hid 21700 0 (unused)
>input 5792 0 [keybdev mousedev hid]
>usb-uhci 25868 0 (unused)
>ehci-hcd 19592 0 (unused)
>usbcore 77696 1 [hid usb-uhci ehci-hcd]
>ext3 69984 2
>jbd 51220 2 [ext3]
>---------------------------------------------
>* The following section lists your routing table.
>* If you have an entry which starts with '0.0.0.0', you probably
>* have defined a default route and gateway, and pppd will
>* not create a default route using your ISP. Try getting
>* rid of this route.
>Output of netstat -n -r
>Kernel IP routing table
>Destination Gateway Genmask Flags MSS Window
>* irtt Iface
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
>* 0 eth0
>169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
>* 0 eth0
>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
>* 0 lo
>0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0
>* 0 eth0
>---------------------------------------------
>Contents of /etc/resolv.conf
>* The following section lists DNS setup.
>* If you can browse by IP address, but not name, suspect
>* a DNS problem.
>---------------------------------------------
>* The following section lists /etc/ppp/options.
>* You should have NOTHING in that file.
>Contents of /etc/ppp/options
>---------------------------------------------
>[root@hiob root]# ls /etc/ppp/options
>ls: /etc/ppp/options: No such file or directory
>
>
>=============================================================
>hier infos aus adsl-connect
>=============================================================
>adsl-connect hat zwar keine debug-option, man kann ihm aber mit set -x
>folgende klagen entlocken, am ende seiner arbeit sagt es:
>
>[root@hiob root]# /sbin/adsl-connect
>...
>+ test '' '!=' ''
>+ test yes '!=' no
>+ DEFROUTE=defaultroute
>+ PPP_STD_OPTIONS=ipparam ppp0 linkname ppp0 noipdefault noauth
>default-asyncmap defaultroute hide-password nodetach usepeerdns mtu
>1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj
>novjccomp user 0006830747295200412533700001 lcp-echo-interval 80
>lcp-echo-failure 3
>+ PPPOE_CMD=/usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth0
>-T 20 -U -m 1412
>+ test '' '!=' ''
>+ echo 6056
>+ '[' true ']'
>+ test '' '!=' ''
>+ /usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p
>/var/run/pppoe-adsl.pid.pppoe -I eth0 -T 20 -U -m 1412 ' ipparam
>ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute
>hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp
>nobsdcomp nodeflate nopcomp novj novjccomp user
>0006830747295200412533700001 lcp-echo-interval 80 lcp-echo-failure 3
>+ echo 6085
>+ wait
>Using interface ppp0
>Connect: ppp0 <--> /dev/pts/2
>PAP authentication failed
>
>

passwort falsch eingeben?
t-online sperrt den account bis 24:00
bei 9maliger falsch sendung von dem Passwort

>Connection terminated.
>pppoe: read (asyncReadFromPPP): Session 1184: Input/output error
>+ test -x /etc/ppp/adsl-lost
>+ /usr/bin/logger -t adsl-connect -p daemon.notice 'ADSL connection
>lost; attempting re-connection.'
>+ sleep 5
>+ '[' true ']'
>+ test '' '!=' ''
>+ /usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p
>/var/run/pppoe-adsl.pid.pppoe -I eth0 -T 20 -U -m 1412 ' ipparam
>ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute
>hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp
>nobsdcomp nodeflate nopcomp novj novjccomp user
>0006830747295200412533700001 lcp-echo-interval 80 lcp-echo-failure 3
>+ echo 6105
>+ wait
>Using interface ppp0
>Connect: ppp0 <--> /dev/pts/2
>
> hier hab ich mit Ctrl-C abgebrochen, es kommt aber auch von allein
> irgendwann drauf, aufzugeben. nach dem abbruch meldete es noch:
>
>[root@hiob root]# PAP authentication failed
>Connection terminated.
>
>
>
>

versuche mal
# pppoeconf
damit kann man die adsl verbindung komplett einrichten

-- 
Oliver Kock
Buemmersteder Tredde 230
D-26133 Oldenburg
Email: webmaster@e-sharing.de
Internet:http://www.dachboden.info
KeyID:93BF73D8

Received on Sun, 20 Jun 2004 19:14:52 +0200

This archive was generated by hypermail 2.1.8 : Sun Jun 20 2004 - 19:15:19 CEST