PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Gentoo und Adsl



Yagharek
06.12.04, 19:58
Ich versuche mich gerade in der Gentoo(2004.3)-Installation. Dabei halte ich mich an diese Anleitung. (http://www.gentoo.de/doc/de/handbook/handbook-x86.xml)

Nun habe ich das Problem, dass ich nicht sehr weit komme, denn meine Adsl-Einrichtung (http://www.gentoo.de/doc/de/handbook/handbook-x86.xml?part=1&chap=3#doc_chap3) funktioniert nicht wie erhofft.
"adsl-setup" kann ich noch ausführen und bei "adsl-start" kommt die Meldung, daß ich verbunden bin:

livecd ppp # adsl-start
..... Connected!
Aber weder "ping -c 3 134.102.20.20" noch "ping -c 3 www.google.de" findet etwas.

Wenn ich "adsl-connect" starte, erscheint folgende Ausgabe

livecd ppp # adsl-connect
/usr/sbin/adsl-connect: line 16: ipchains: command not found
/usr/sbin/adsl-connect: line 17: ipchains: command not found
/usr/sbin/adsl-connect: line 18: ipchains: command not found
/usr/sbin/adsl-connect: line 20: ipchains: command not found
/usr/sbin/adsl-connect: line 21: ipchains: command not found
/usr/sbin/adsl-connect: line 22: ipchains: command not found
/usr/sbin/adsl-connect: line 25: ipchains: command not found
/usr/sbin/adsl-connect: line 26: ipchains: command not found
/usr/sbin/adsl-connect: line 29: ipchains: command not found
/usr/sbin/adsl-connect: line 32: ipchains: command not found
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
not replacing existing default route to eth0 [192.168.1.1]
local IP address 134.102.71.104
remote IP address 213.168.199.82
primary DNS address 134.102.20.20
secondary DNS address 134.102.200.14
ifconfig eth0 liefert:

eth0 Link encap:Ethernet HWaddr 00:0D:56:B3:76:FF
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:56ff:feb3:76ff/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:2314 (2.2 Kb) TX bytes:4438 (4.3 Kb)
Interrupt:11
und adsl-status:

adsl-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:134.102.71.160 P-t-P:213.168.199.82 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 b) TX bytes:54 (54.0 b)

Bei meinem System handelt es sich um ein Dell Inspirion 5150 Notebook mit einer Broadcom Corporation BCM4401 - Netzwerkkarte.

Stage
06.12.04, 20:22
beim adsl-setup darfst du bei der letzten auswahl nicht firewall auswählen, also option 0 wählen

Yagharek
06.12.04, 20:33
danke, aber damit komm ich auch nicht weiter. hatte es versucht und eben nochmal getestet.

edit:


#ping -c 3 134.102.20.20

PING 134.102.20.20 (134.102.20.20) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
From 192.168.1.1 icmp_seq=2 Destination Net Unreachable
From 192.168.1.1 icmp_seq=3 Destination Net Unreachable

--- 134.102.20.20 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms

Yagharek
07.12.04, 08:28
adsl-connect, wenn ich die firewall ausgeschaltet habe:


Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
not replacing existing default route to eth0 [192.168.1.1]
local IP address 134.102.70.2
remote IP address 213.168.199.82
primary DNS address 134.102.20.20
secondary DNS address 134.102.200.14


ich verstehe nicht, was

not replacing existing default route to eth0 [192.168.1.1]
bei "adsl-connect" bedeutet. heißt das, daß meine netzwerkkarte keine neue ip-adresse bekommt und ich somit nicht ins internet komme? denn bei einem ping-aufruf erhalte ich wie oben geschrieben auch

#ping -c 3 134.102.20.20

PING 134.102.20.20 (134.102.20.20) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
From 192.168.1.1 icmp_seq=2 Destination Net Unreachable
From 192.168.1.1 icmp_seq=3 Destination Net Unreachable

--- 134.102.20.20 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms

anmerkung:
mein problem bei adsl-connect ist, daß er von sich aus nicht wieder eine eingabe zuläßt. d.h. ich muß nach der eingabe von "adsl-connect" strg-c drücken, damit ich wieder eine befehle ausführen kann.
drücke ich also strg-c nach dem start von adsl-connect und führe adsl-stop aus, so erhalte ich


Killing pppd (4410)
Terminating on signal 15.
Killing adsl-connect (4398)
Connection terminated.
Connect time 1.1 minutes.
Sent 54 bytes, received 54 bytes.
pppoe: read (asyncReadFromPPP): Session 7174: Input/output error

ooyyeh
07.12.04, 10:45
wähl dich mal ein und tipp "route" ein und zeig mal die ausgabe

Stage
07.12.04, 11:34
außerdem nimm adsl-start zum connecten und nicht adsl-connect :)

core
07.12.04, 12:02
Jau.. steht auch in der Manpage.. ;)


Note that normally, you should not invoke adsl-connect directly.
Instead, use adsl-start to bring up the ADSL connection.

Yagharek
07.12.04, 15:16
doch, soweit war ich auch. nur liefert "adsl-connect" mehr informationen als einfach "adsl-start".

meine vorgehensweise:
1.) Booten von Live-CD
2.) gentoo-Kernel starten ohne Option (habe auch schon -acpi=on versucht)
3.) deutsches Tasturlayout wählen
4.) warten bis der start fertig ist
5.) #adsl-setup
5.1) benutzer@nordcom
5.2) default
5.3) default
5.4) server
5.5) passwort - passwort widerholen
5.6) keine firewall
6.) #adsl-start
.... Connected!
7.) ping -c 3 www.google.de
geht nicht
8.) ping -c 3 134.102.20.20
geht auch net

Gronau
07.12.04, 16:26
Du kannst auch aus jeder anderen distri heraus gentoo installieren (z.b. knoppix). Die vorgehensweise ist nicht viel anders. Vielleicht kannst du damit dein glück versuchen.

RonnieKah
14.01.05, 14:15
Hast Du das Problem mittlerweile gelöst?
Ich hab nämlich gerade das gleiche.

Übrigens nicht nur die Gentoo Live-CD sondern auch
Slax und Gnoppix machen das gleiche:

Connected, IP von der Telecom, aber kein ping, links2 oder wget
funktioniert.... :confused: