Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved) Komisches Internetproblem, benötige Hilfe
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
bd_italy
Apprentice
Apprentice


Joined: 19 Apr 2006
Posts: 184

PostPosted: Sat Sep 02, 2006 8:53 am    Post subject: (solved) Komisches Internetproblem, benötige Hilfe Reply with quote

Hallo,

da ich durch diesen Thread mein Netzwerk wider zum funktionieren
brachte habe ich jetzt wider ein größeres für mich unerklärliches Problem.
Nach einem von der routine abgebrochenen (grund weiß ich leider nicht mehr genau :oops: ) emerge sync && emerge --update --deep world
da ich mein system ein bisschen aufräumen und aktuell halten wollte funktioniert mein Internet nicht mehr.
hier ein paar auszuge von denen ichd enke dass sie zur Lösung des Problems wichtig sind.
Modem ist ein Alcatel Speedtouch 330 USB ADSL Modem

Code:

localhost ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:63:E0:9E:81
          inet addr:192.168.0.50  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1026 errors:0 dropped:0 overruns:0 frame:0
          TX packets:759 errors:0 dropped:0 overruns:0 carrier:0
          collisions:3 txqueuelen:1000
          RX bytes:81413 (79.5 Kb)  TX bytes:95117 (92.8 Kb)
          Interrupt:11 Base address:0xe800

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:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:928 (928.0 b)  TX bytes:928 (928.0 b)
localhost ~ # /usr/sbin/pppd call speedtch debug
Plugin pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname_pppoatm - SUCCESS:8.35
using channel 2
Using interface ppp0
Connect: ppp0 <--> 8.35
sent [LCP ConfReq id=0x1 <magic 0x28a974d7>]
rcvd [LCP ConfReq id=0x1 <auth pap> <magic 0x57b8f156>]
sent [LCP ConfAck id=0x1 <auth pap> <magic 0x57b8f156>]
sent [LCP ConfReq id=0x1 <magic 0x28a974d7>]
rcvd [LCP ConfAck id=0x1 <magic 0x28a974d7>]
sent [PAP AuthReq id=0x1 user="##geheim##" password=##geheim##]
rcvd [LCP ConfReq id=0x1 <mru 1464> <auth chap MD5> <magic 0x999e3940>]
sent [LCP ConfReq id=0x2 <magic 0xff4a05b3>]
sent [LCP ConfAck id=0x1 <mru 1464> <auth chap MD5> <magic 0x999e3940>]
rcvd [LCP ConfReq id=0x2 <mru 1464> <auth chap MD5> <magic 0x999e3940>]
sent [LCP ConfAck id=0x2 <mru 1464> <auth chap MD5> <magic 0x999e3940>]
sent [LCP ConfReq id=0x2 <magic 0xff4a05b3>]
rcvd [LCP ConfAck id=0x2 <magic 0xff4a05b3>]
rcvd [CHAP Challenge id=0x1 <3a61eee84cfcec9bb822619cacfa20b9>, name = "MILZ-LNS-8"]
sent [CHAP Response id=0x1 <75f0bdc697d9b532da0889f1c0de7d10>, name = "eu1338278@tele2.it"]
rcvd [CHAP Success id=0x1 ""] 00 00
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 85.36.34.232>]
sent [IPCP ConfAck id=0x1 <addr 85.36.34.232>]
rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 83.176.118.158> <ms-dns1 193.12.150.2> <ms-dns3 212.247.152.2>]
sent [IPCP ConfReq id=0x3 <addr 83.176.118.158> <ms-dns1 193.12.150.2> <ms-dns3 212.247.152.2>]
rcvd [IPCP ConfAck id=0x3 <addr 83.176.118.158> <ms-dns1 193.12.150.2> <ms-dns3 212.247.152.2>]
local  IP address 83.176.118.158
remote IP address 85.36.34.232
primary   DNS address 193.12.150.2
secondary DNS address 212.247.152.2
localhost ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:63:E0:9E:81
          inet addr:192.168.0.50  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:844 errors:0 dropped:0 overruns:0 carrier:0
          collisions:3 txqueuelen:1000
          RX bytes:90411 (88.2 Kb)  TX bytes:106991 (104.4 Kb)
          Interrupt:11 Base address:0xe800

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:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:928 (928.0 b)  TX bytes:928 (928.0 b)

ppp0      Link encap:Point-to-Point Protocol
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1464  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:64 (64.0 b)  TX bytes:97 (97.0 b)
localhost ~ # ping www.google.de
ping: unknown host www.google.de
localhost ~ # ping 212.247.152.2
connect: Network is unreachable
localhost ~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo




wie gesagt das lokale netz funktioniert bestens (gott sei dank kann ich dan diesmal alles über putty machen :D )
Es liegt keine Störung der Leitung oder beim Provider vor, da ich das Modem gerade an einen Windows Rechner angeschlossen und mit gleichen DNS Servern etc. betrieben habe.

Grüße aus dem gerade sonnigen Italien
bd_italy

€: kennt jemand zufällig ein paar gute (schnelle) freie dns-server? binn mit denen von meinem provider nicht so zufrieden...


Last edited by bd_italy on Sun Sep 03, 2006 7:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Sep 03, 2006 12:20 pm    Post subject: Reply with quote

Es kann nicht funktionieren weil dein ppp0-Device keine IP-Adresse hat und in deiner Routing-Tabelle fehlt auch der Eintrag des Default-GWs.

Nur ist die Frage wieso das so ist denn laut ppp erhältst du ja eine IP-Adresse.
Vielleicht sieht du in /var/log/messages etwas relevantes.

Kontrolliere mal deine Dateien unter /etc/ppp !
Vielleicht hängt das auch mit dem update auf das neue baselayout zusammen (falls du es gemacht hast) denn da wurde etwas bezüglich ppp geändert (siehe Suche).
Back to top
View user's profile Send private message
bd_italy
Apprentice
Apprentice


Joined: 19 Apr 2006
Posts: 184

PostPosted: Sun Sep 03, 2006 2:59 pm    Post subject: Reply with quote

tuxian wrote:
Es kann nicht funktionieren weil dein ppp0-Device keine IP-Adresse hat und in deiner Routing-Tabelle fehlt auch der Eintrag des Default-GWs.

Nur ist die Frage wieso das so ist denn laut ppp erhältst du ja eine IP-Adresse.
Vielleicht sieht du in /var/log/messages etwas relevantes.

Kontrolliere mal deine Dateien unter /etc/ppp !
Vielleicht hängt das auch mit dem update auf das neue baselayout zusammen (falls du es gemacht hast) denn da wurde etwas bezüglich ppp geändert (siehe Suche).


hallo,
danke für deine hilfe..

in /var/log/messages habe ich das gefunden,
wird da jemand schlauer daraus als ich??
Code:

Sep  2 10:08:15 localhost ATM dev 0: ADSL line is synchronising
Sep  2 10:08:15 localhost ATM dev 0: ADSL line is up (4832 kb/s down | 320 kb/s up)
Sep  2 10:08:19 localhost eth0: link up, 10Mbps, half-duplex, lpa 0x0021
Sep  2 10:08:25 localhost rc-scripts: Configuration not set for ppp0 - assuming DHCP
Sep  2 10:08:25 localhost rc-scripts: network interface ppp0 does not exist
Sep  2 10:08:25 localhost rc-scripts: Please verify hardware or kernel module (driver)
Sep  2 10:08:29 localhost sshd[5533]: Server listening on 0.0.0.0 port 22.
Sep  2 10:08:35 localhost ddclient[5752]: WARNING:  cannot connect to checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname 'checkip.dyndns.org'
Sep  2 10:08:36 localhost dhcpd: Wrote 0 deleted host decls to leases file.
Sep  2 10:08:36 localhost dhcpd: Wrote 0 new dynamic host decls to leases file.
Sep  2 10:08:36 localhost dhcpd: Wrote 0 leases to leases file.
Sep  2 10:08:38 localhost proftpd[6172]: localhost - ProFTPD 1.2.10 (stable) (built Sat Mar 11 17:11:02 GMT 2006) standalone mode STARTUP
Sep  2 10:08:50 localhost cron[6424]: (CRON) STARTUP (V5.0)
Sep  2 10:08:58 localhost pppd[6495]: Plugin pppoatm.so loaded.
Sep  2 10:08:58 localhost pppd[6495]: PPPoATM plugin_init
Sep  2 10:08:58 localhost pppd[6495]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
Sep  2 10:08:58 localhost pppd[6495]: pppd 2.4.3 started by root, uid 0
Sep  2 10:08:58 localhost pppd[6495]: Using interface ppp0
Sep  2 10:08:58 localhost pppd[6495]: Connect: ppp0 <--> 8.35
Sep  2 10:09:01 localhost pppd[6495]: CHAP authentication succeeded
Sep  2 10:09:01 localhost pppd[6495]: CHAP authentication succeeded
Sep  2 10:09:02 localhost pppd[6495]: local  IP address 81.211.215.81
Sep  2 10:09:02 localhost pppd[6495]: remote IP address 85.36.34.232
Sep  2 10:09:02 localhost pppd[6495]: primary   DNS address 193.12.150.2
Sep  2 10:09:02 localhost pppd[6495]: secondary DNS address 212.247.152.2
Sep  2 10:09:07 localhost rc-scripts: Configuration not set for ppp0 - assuming DHCP
Sep  2 10:09:07 localhost dhclient: ppp0: unknown hardware address type 512
Sep  2 10:09:08 localhost dhclient: ppp0: unknown hardware address type 512
Sep  2 10:09:08 localhost dhclient: DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 3
Sep  2 10:09:11 localhost dhclient: DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 8
Sep  2 10:09:15 localhost dhcpd: DHCPREQUEST for 192.168.0.1 from 00:13:d3:a3:85:c1 via eth0
Sep  2 10:09:15 localhost dhcpd: DHCPACK on 192.168.0.1 to 00:13:d3:a3:85:c1 via eth0


in /etc/ppp habe ich folgende dateien:
Code:


localhost ~ # ls -al /etc/ppp/
total 44
drwxr-xr-x  3 root root 4096 Aug 30 16:44 .
drwxr-xr-x 54 root root 4096 Sep  2 10:40 ..
-rw-------  1 root root  113 Jan 30  2006 chap-secrets
-rw-------  1 root root   78 Aug 30 14:40 chap-secrets.example
-rwxr-xr-x  1 root root  960 Aug 25 16:52 ip-down
-rwxr-xr-x  1 root root 1482 Aug 25 16:52 ip-up
-rw-r--r--  1 root root    5 Aug 30 14:41 options
-rw-r--r--  1 root root    0 Jan 30  2006 options.pptp
-rw-------  1 root root  111 Jan 30  2006 pap-secrets
-rw-------  1 root root   77 Aug 30 14:40 pap-secrets.example
drwxr-xr-x  2 root root 4096 Jan 30  2006 peers
-rw-r--r--  1 root root   49 Sep  2 10:40 resolv.conf

fehlt hier was wichtiges? habe eigentlich nichts geändert.

und ja, habe ein update auf das baselayout probiert, danach hat das inet aber noch 2-3 reboots lang funktioniert...

grüße
bd_italy
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Sep 03, 2006 4:35 pm    Post subject: Reply with quote

Code:
Sep  2 10:09:07 localhost rc-scripts: Configuration not set for ppp0 - assuming DHCP


Das wird das Problem sein und hat sicher mit dem neuen baselayout etwas zu tun.
Ein paar Zeilen weiter versucht er eine IP mittels DHCP für ppp0 zu bekommen:
Code:

Sep  2 10:09:08 localhost dhclient: DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 3
Sep  2 10:09:11 localhost dhclient: DHCPDISCOVER on ppp0 to 255.255.255.255 port 67 interval 8


Code:
/usr/sbin/pppd call speedtch debug


Schau mal in deine /etc/conf.d/net ob was da bezüglich ppp steht.
Back to top
View user's profile Send private message
bd_italy
Apprentice
Apprentice


Joined: 19 Apr 2006
Posts: 184

PostPosted: Sun Sep 03, 2006 4:46 pm    Post subject: Reply with quote

tuxian wrote:

Schau mal in deine /etc/conf.d/net ob was da bezüglich ppp steht.

Code:
localhost ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=("192.168.0.50 netmask 255.255.255.0 broadcast 192.168.0.255")
modules=("ifconfig")


mhhh.. aber was soll ich da für ppp0 eintragen? Ich habe ja keine feste ip etc.... :?
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Sun Sep 03, 2006 5:48 pm    Post subject: Reply with quote

Probiere mal
Code:
config_ppp0=( "pppd" )
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Sep 03, 2006 6:47 pm    Post subject: Reply with quote

Für PPPoE sollte es ungefähr so aussehen:

/etc/conf.d/net:
modules=( "iproute2" )
config_eth0=( "10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255" )
config_eth1=( "null" )
config_ppp0=( "ppp" )
link_ppp0="eth1"
plugins_ppp0=( "pppoe" )
username_ppp0="username"
password_ppp0="password"
pppd_ppp0=( "updetach" "defaultroute" )

_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
bd_italy
Apprentice
Apprentice


Joined: 19 Apr 2006
Posts: 184

PostPosted: Sun Sep 03, 2006 7:45 pm    Post subject: Reply with quote

tuxian wrote:
Probiere mal
Code:
config_ppp0=( "pppd" )



danke das wars :D
jetzt funktioniert alles wieder


Think4UrS11 wrote:
Für PPPoE sollte es ungefähr so aussehen: ......


danke, habe aber PPPoA :wink:


Grüße an alle und danke
bd_italy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum