Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
probleme mit netzwerkverbindung
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Mon Jul 22, 2002 5:06 pm    Post subject: probleme mit netzwerkverbindung Reply with quote

ich kann nur im netzwerk rechner anpingen


sobald ich einen server im internet anpinge bekomme ich eine fehlermeldung


ping www.gentoo.org
ping: unknown host www.gentoo.org

die verbindung zum internet läuft über einen switch und dann über einen router
im netzwerk wird die ip von einem dhcp server vergeben


Last edited by atrww on Tue Jul 23, 2002 9:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Mon Jul 22, 2002 5:09 pm    Post subject: Reply with quote

versuch mal in
/etc/resolv.conf
den richtigen NameServer einzutragen, wenn das nicht geht weiß ich auch nicht weiter...Aber normalerweise kann man abgesehem vom Gateway alles vom DHCP Server (also IP + DNS) vergeben lassen...das hört sich nur sehr nach DNS Fehler an...
Versuch mal eine IP zu pingen z.b. 64.57.168.198 (IP von gentoo.org), wenn das auch nicht geht hast du ein anderes Problem, wenn das geht ist es ein DNS Problem
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Mon Jul 22, 2002 5:16 pm    Post subject: Reply with quote

ping 64.57.168.19
ping: sent 64 octets to 64.57.168.198, ret=-1
sendto: network is unreachable

....


100% packet loss
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jul 22, 2002 5:20 pm    Post subject: Reply with quote

Wie ist die Ausgabe von "route -n"?
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Mon Jul 22, 2002 5:20 pm    Post subject: Reply with quote

da es unreachable ist liegt 100pro kein DNS Fehler vor...
Hast du auch als Gateway die richtige IP angegeben ?
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Mon Jul 22, 2002 5:28 pm    Post subject: Reply with quote

was soll ich in /etc/resolv.conf schreiben?

der router hat die ip 127.168.0.1 der router vergibt die ip adresse dns bekomm ich vom provider


gibt es eine möglichkeit so wie bei windows einzustellen das der pc ip dns ,... automatisch bekommt?
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jul 22, 2002 5:32 pm    Post subject: Reply with quote

Der Router soll die IP 127.168.0.1 habe? Das kann ich ja kaum glauben. :-)

Gibtst Du uns mal die Ausgaben von "route -n" und "ifconfig"?
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Mon Jul 22, 2002 5:52 pm    Post subject: Reply with quote

route -n

kernel ip routing table

destination gateway genmask flags metric raf use iface




ipconfig

bash: ipconfig: command not found
Back to top
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Mon Jul 22, 2002 5:58 pm    Post subject: Reply with quote

atrww wrote:
route -n

kernel ip routing table

destination gateway genmask flags metric raf use iface

? Keine routen? Nada? Wie kannst Du dann ins LAN pingen?
Quote:

ipconfig

bash: ipconfig: command not found

Stimmt, wir sind ja auch nicht in Windows. ifconfig...

Anyway, Deinem Setup fehlt so oder so etwas...

*grübel* Beim Hochfahren des eth0 sollten doch in jedem Fall Routen gesetzt werden?

DHCP Spezies übernehmen, bitte... :-)
_________________
Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Mon Jul 22, 2002 6:04 pm    Post subject: Reply with quote

zum ping

ich kann im netzwerk pc´s pingen

bei 3 pc´s versucht bei allen hats funktioniert und router gehts auch
Back to top
View user's profile Send private message
batnator
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2002
Posts: 93
Location: Berlin / Germany

PostPosted: Tue Jul 23, 2002 6:16 am    Post subject: hinweis Reply with quote

kurz und knapp:
/etc/resolv.conf
Code:
search lokalerdomainname
nameserver ipdesnameservers

/etc/conf.d/net
Code:
iface_eth0="DEINEIPADDRESSE broadcast DEINEBROADCASTADDR  netmask DEINENETMASKE"
gateway="eth0/DEINEGATEWAYIP"

Nach einem Neustart (oder restart des netzwerks) solltest eine ähnliche Ausgabe bei netstat -rn erhalten
Code:

Kernel IP Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster irtt Iface
192.168.250.0   0.0.0.0         255.255.255.0   U        40 0          0 eth0
0.0.0.0         192.168.250.30  0.0.0.0         UG       40 0          0 eth0
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Tue Jul 23, 2002 4:15 pm    Post subject: Reply with quote

ich glaub der fehler liegt bei der netzwerkkarte

beim booten:

loading 3c59x
faild to load 3c59x




woran liegt das?

ich hab in der datei /etc/modules.autoload
3c59x aktiviert damit meine netzwerkkarte geladen wird
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Tue Jul 23, 2002 4:25 pm    Post subject: Reply with quote

hast du im kernel das den treiber als modul kompiliert ? evtl. vergessen ? dumme frage aber könnt ja sein :)
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Tue Jul 23, 2002 4:49 pm    Post subject: Reply with quote

beim booten mit der cd (installation) wird nach der tastatur sprache gefragt und dann wird die nw karte erkannt

reicht das nicht?
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Tue Jul 23, 2002 5:05 pm    Post subject: Reply with quote

nein
du musst sie wie im tutorial mit ifconfig hoch bringen gateway zuweisen etc....

wie das geht steht im tutorial bzw. der post von batnator ist schon recht komplett für DHCP
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Tue Jul 23, 2002 5:10 pm    Post subject: Reply with quote

in welchem tutorial steht das?
auf http://www.gentoo.org/index-docs.html gibts ja einige
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Tue Jul 23, 2002 6:31 pm    Post subject: Reply with quote

im installations doc..da steht wie du nach dem booten das netzwerk einrichtest...und genau so musst du es sonst auch machen
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Tue Jul 23, 2002 6:48 pm    Post subject: Reply with quote

ok
ich soll die kernel module laden?

im verzeichniss /lib/modules/*/kernel/drivers/net/* ist /lib/modules/2.4.19-gentoo-r7/kernel/drivers/net/dummy.o

ich finde da aber keine netzwerkkartenmodule
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Tue Jul 23, 2002 7:58 pm    Post subject: Reply with quote

try logging in as root and do the following:

modprobe 3c59x
dhcpcd $IFACE
ifconfig $IFACE netmask $NMASK
route add -net default gw $GTWAY netmask 0.0.0.0 metric 1

replace $IFACE with your ethernet device (e.g. eth0), replace netmask with your netmask (most likely 255.255.255.0), and gateway with your gateway (the internal IP of the box with the modem).


And with my previous post I _didn't_ want you to load the kernel module, I asked wether you are sure you compiled 3c59x into the kernel as a module


-----
Edit: Euhm lol warum hab ich englisch geschrieben sorry ;)


Last edited by Scandium on Wed Jul 24, 2002 6:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Tue Jul 23, 2002 8:11 pm    Post subject: Reply with quote

modprobe 3c59x
modprobe: can´t locate module 3c59x

dhcpcd eth0

ifconfig eth0 netmask 255.255.255.0
siocsifnetmask: no such device

route add -net default gw 127.168.0.1 netmask 0.0.0.0 metric 1
Back to top
View user's profile Send private message
Netjet
n00b
n00b


Joined: 03 Jul 2002
Posts: 3

PostPosted: Wed Jul 24, 2002 12:44 am    Post subject: Reply with quote

Mag ja ne dumme Frage sein, aber hast Du den Kernel richtig kompiliert? Also auch Deine Netzwerkkarte ausgewählt? (Bei make menuconfig - du weisst schon). Also Du hast eindeutig kein Modul für deine Karte. Also nochmal neukompilieren und Deine Netzwerkkarte als Modul auswählen, dann sollte er es auch richtig bauen und ein modprobe blabla funktioniert.

PS: und der Router hat eine 127er ip????? Das ist ein Hardwarerouter??? Bist Du da sicher?
Back to top
View user's profile Send private message
DocSilly
n00b
n00b


Joined: 23 Jul 2002
Posts: 13
Location: Germany

PostPosted: Wed Jul 24, 2002 1:06 am    Post subject: Reply with quote

atrww wrote:
der router hat die ip 127.168.0.1 der router vergibt die ip adresse dns bekomm ich vom provider


Absoluter murks ist dass, 127er Netz ist nur fuer Testzwecke oder als 127.0.0.1 local loop

Die einzig passende IP fuer private Netze die bei deinem Router in Frage kommt ist die 192.168.0.1 !
Also check lieber mal die Router settings (oder haste dich vertippt?)
Back to top
View user's profile Send private message
atrww
n00b
n00b


Joined: 12 Jul 2002
Posts: 30

PostPosted: Wed Jul 24, 2002 4:42 pm    Post subject: Reply with quote

Quote:
(Bei make menuconfig - du weisst schon)



cd /usr/src/linux
make menuconfig

dort dann auf networking options > dort hab ich
packet socket, unix domain sockets tcp/ip networking, ip multicasting, aktiviert

dann zu network devices support > dort hab ich network device support, aktiviert
bei ethernet (10 or 100 mbit )hab ich ethernet (10 or 100 mbit) 3com cards > 3c590/3c900 seriers..., aktiviert

dann speicher ich meine kernel config.

dann make dep

-> reboot

beim booten kommt wieder

loading 3c59x
faild to load 3c59x
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Wed Jul 24, 2002 6:09 pm    Post subject: Reply with quote

also, aktivieren ist nicht gleich aktivieren ...
entweder kannst du den treiber fest mit einbauen dann ist ein * da oder du bindest ihn als Modul ein dann ist da ein M (mach mal das mit dem modul).
Und dann speicher die config.
und jetzt...

du musst

Code:
make dep && make clean && make bzImage && make modules && make modules_install


machen und nicht einfach make dep !

Dann musst du deine boot partition mounten falls du eine eigene boot partition hast und

Code:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/


machen und DANN rebooten...
Back to top
View user's profile Send private message
pr0gm4
n00b
n00b


Joined: 14 Jul 2002
Posts: 15

PostPosted: Wed Jul 24, 2002 6:20 pm    Post subject: Reply with quote

atrww:

ping auf die anderen rechner im netz geht bei dir nicht auch nicht oder ?

weil 127.x.x.x ist loopback ...

geb den rechnern mal eine gescheite ip z.b.

192.168.0.1 (router)
192.168.0.2 (deiner)
192.168.0.x (andere)

und dann das was scadium gesagt hat und in die /etc/modules.autoload das richtige module eintragen.

mfg
pr0gm4
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
Goto page 1, 2  Next
Page 1 of 2

 
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