View previous topic :: View next topic |
Author |
Message |
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 9:52 am Post subject: [eth1] n'est detectee nul part |
|
|
salut a tous,
je viens de finir l'installation de ma gentoo sur mon nouveau amd64 , tout c'est super bien passer dans le sens ou le live cd a detecter directement tout mon matos, apres le reboot, apres l'installe, il n'arrivais pas a demarrer eth1...
Au debut j'ai pas trop paniquer, j'ai fais un ifconfig -a, et la j'ai vu qu'il ne detectait aucune de mes cartes reseauz (j'ai comme carte mere une asus a8n sli premium, qui a deux prises reseau integrees), quand je fais un dmesg |grep eth0 , il ne me renvoi rien du tout...Mon kernel a ete compiler avec genkernel, je suis allez voir les modules, je les aient tous active (enfin ceux qui me semblaient interressant), mais ca n'as rien change
Any idea???
bon week end! _________________ SNK 4 Ever |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Oct 29, 2005 10:18 am Post subject: |
|
|
salut,
les-dit modules sont ils chargés ? (a voir avec lsmod) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 10:48 am Post subject: |
|
|
Effectivement, les modules n'ont pas l'air chargees puisque quand je fais un lsmod, il me donne
ata_piix
sata...
sata..
...
libata
sbp2
ohci1394
ieee1394
ohci_hcd
uhci_hcd
usb_storage
usbhid
ehci_hdc
c'est grave docteur? _________________ SNK 4 Ever |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Oct 29, 2005 10:52 am Post subject: |
|
|
ben il faut les charger avec modprobe ... et si tu veux les charger au demarrage, faut les mettre dans /etc/modules.autoload.d/kernel-2.6 _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 10:58 am Post subject: |
|
|
il y a une commande pour lister les modules que je peux activer, ou je doit retourner dans le menu pour les noter et tout??
en tout cas merci de ton aide! _________________ SNK 4 Ever |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sat Oct 29, 2005 11:21 am Post subject: |
|
|
kangal wrote: | il y a une commande pour lister les modules que je peux activer, ou je doit retourner dans le menu pour les noter et tout?? |
Il y a ça:
Code: | find /lib/modules/$(uname -r) -name "*.ko" | xargs -n 1 basename | sed "s/\.ko$//g" |
Sinon pour tes cartes réseaux tu dois avoir au moins "forcedeth" (pour la carte intégrée du nForce), et probablement "sk98lin" ou "skge" (je crois que la deuxième prise réseau est une puce Marvell). |
|
Back to top |
|
|
Ey l33t
Joined: 07 Apr 2005 Posts: 863 Location: Paris
|
Posted: Sat Oct 29, 2005 12:03 pm Post subject: |
|
|
widan wrote: | Code: | find /lib/modules/$(uname -r) -name "*.ko" | xargs -n 1 basename | sed "s/\.ko$//g" |
|
Joli
Code: | find /lib/modules/$(uname -r) -name "*.ko" -exec basename "{}" .ko ";" |
|
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 1:58 pm Post subject: |
|
|
Merci beaucoup ca roule comme sur des roulettes, par contre j'ai encore un petit pepin...
Quand je fais un ifconfig, j'ai bien ma carte eth1 qui apparait, seulement je n'arrive pas a pinguer quoique ce soit, meme pas ma gateway, pourtant je pense bien faire le routage, voici mon etc/conf.d/net
ifconfig_eth1=("192.168.0.2 netmask 255.255.255.0")
routes_eth1=("default via 192.168.0.10")
j'ai egalement essayer de remplacer le "via" par un "gw"... _________________ SNK 4 Ever |
|
Back to top |
|
|
BuBuaBu l33t
Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Sat Oct 29, 2005 2:33 pm Post subject: |
|
|
il faut faire un /etc/init.d/net.eth1 start, si ce net.eth1 n'existe pas, il faut le dupliquer selon le manuel.
Sinon, vérifie les ip et netmask |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Oct 29, 2005 2:52 pm Post subject: |
|
|
non, il ne faut pas dupliquer, mais faire un lien net.eth1 -> net.lo
sinon, plutot que de faire un find pour trouver tes modules, tu peux installer bash-completion et apres tu fais modprobe <tab><tab> et ca liste les modules _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 3:11 pm Post subject: |
|
|
alors j'avais un script net.eth0 que j'ai renommer en net.eht1, et qui point vers net.lo....
a priori tout est bon non??? _________________ SNK 4 Ever |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Oct 29, 2005 3:21 pm Post subject: |
|
|
kangal wrote: | alors j'avais un script net.eth0 que j'ai renommer en net.eht1, et qui point vers net.lo....
a priori tout est bon non??? |
ben c'est qu'un lien ... mais maintenant comment tu demarres eth0 ?
chez moi c'est comme ça :
Code: | $ ll /etc/init.d/net.*
lrwxrwxrwx 1 root root 6 oct 13 00:33 /etc/init.d/net.eth0 -> net.lo
lrwxrwxrwx 1 root root 6 sep 17 00:02 /etc/init.d/net.eth1 -> net.lo
-rwxr-xr-x 1 root root 27K oct 13 00:39 /etc/init.d/net.lo
|
_________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 3:56 pm Post subject: |
|
|
je me sers pas de eth0... et eth1 est demarrer au boot... _________________ SNK 4 Ever |
|
Back to top |
|
|
BuBuaBu l33t
Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Sat Oct 29, 2005 4:14 pm Post subject: |
|
|
ifconfig eth1 revoie t il les paramètres que tu a config ? |
|
Back to top |
|
|
kangal Guru
Joined: 25 Jun 2005 Posts: 362 Location: Paris
|
Posted: Sat Oct 29, 2005 4:59 pm Post subject: |
|
|
oui, sauf qu'il me parle a aucun moment de ma gateway... _________________ SNK 4 Ever |
|
Back to top |
|
|
SpikeXtrem Apprentice
Joined: 08 Nov 2004 Posts: 284 Location: Quebec, Canada
|
Posted: Wed Nov 02, 2005 6:37 pm Post subject: |
|
|
Salut
j'ai un peu le même problème avec ma carte réseau onboard Nvidia. J'ai un NForce4 Ultra puis ma carte réseau n'est pas détectée. Par chance, je roule sur ma 2e carte réseau qui n'est pas onboard pour le moment. Mais bon, pas gigabyte...
widan wrote: |
Sinon pour tes cartes réseaux tu dois avoir au moins "forcedeth" (pour la carte intégrée du nForce), et probablement "sk98lin" ou "skge" (je crois que la deuxième prise réseau est une puce Marvell).
|
C'est quoi ces forcedeth? Je ne vois pas ca dans le kernel. J'ai intégré pas mal tous les drivers 1000 mbits du kernel sans que ca fonctionne plus.
J'obtiens toujours:
Code: |
ifconfig -a
eth0 Link encap:UNSPEC HWaddr 00-02-3C-00-30-04-AA-AE-00-00-00-00-00-00-00-00
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth1 Link encap:Ethernet HWaddr 00:50:BA:C9:24:FA
inet addr:192.168.0.220 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:90590 errors:0 dropped:0 overruns:0 frame:0
TX packets:58957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:111759126 (106.5 Mb) TX bytes:4599882 (4.3 Mb)
Interrupt:19 Base address:0xa800
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:335 errors:0 dropped:0 overruns:0 frame:0
TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24198 (23.6 Kb) TX bytes:24198 (23.6 Kb)
|
J'imagine que UNSPEC veut dire qu'il n'est pas reconnu... Et que l'adresse physique n'a aucun bon sens. J'voudrasi bien réglé ce problème une fois pour toute.
Appels aux possesseurs de board nforce, quelles entrée du kernel je dois coché? (Je met tout en dur dans ce kernel) _________________ Gentoo'ing Since 11/2004
Intel E6750, 4 Go ram DDR2 800mhz, Leadtek GeForce 8800 GTS 320 megs
kernel 2.6.24-r3 |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Wed Nov 02, 2005 7:09 pm Post subject: |
|
|
SpikeXtrem wrote: | C'est quoi ces forcedeth? Je ne vois pas ca dans le kernel. J'ai intégré pas mal tous les drivers 1000 mbits du kernel sans que ca fonctionne plus. |
C'est "normal"... car le driver est dans la section 10/100 (même si il supporte le gigabit)
Code: | Device Drivers --->
Network device support --->
Ethernet (10 or 100Mbit) --->
<*> Reverse Engineered nForce Ethernet support |
SpikeXtrem wrote: | J'obtiens toujours:
Code: | eth0 Link encap:UNSPEC HWaddr 00-02-3C-00-30-04-AA-AE-00-00-00-00-00-00-00-00
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
J'imagine que UNSPEC veut dire qu'il n'est pas reconnu... Et que l'adresse physique n'a aucun bon sens. J'voudrasi bien réglé ce problème une fois pour toute. |
C'est quasiment toujours l'interface IP-over-Firewire... Ca se retire là:
Code: | Device Drivers --->
IEEE 1394 (FireWire) support --->
< > Ethernet over 1394 |
|
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Wed Nov 02, 2005 8:56 pm Post subject: |
|
|
si il est en module, tu peux simplement le désactiver en mettant alias eth1394 off dans /etc/modules.d/aliases _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Thu Nov 03, 2005 1:19 pm Post subject: |
|
|
Code: | eth0 Link encap:UNSPEC HWaddr 00-02-3C-00-30-04-AA-AE-00-00-00-00-00-00-00-00
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
Ca mon pote, ca veut dire que eth0 est bien reconnu, mais si t'as pas installe dhcpcd ou que tu ne specifies pas une addresse IP, il ne va rien te faire avec! _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Thu Nov 03, 2005 1:31 pm Post subject: |
|
|
Trevoke wrote: | Code: | eth0 Link encap:UNSPEC HWaddr 00-02-3C-00-30-04-AA-AE-00-00-00-00-00-00-00-00
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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
Ca mon pote, ca veut dire que eth0 est bien reconnu, mais si t'as pas installe dhcpcd ou que tu ne specifies pas une addresse IP, il ne va rien te faire avec! |
matte un peu l'adresse mac .. c'est du eth1394 ^^; (enfin habituellement ca ressemble a ca) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
spider312 Veteran
Joined: 02 Oct 2004 Posts: 1274 Location: France > Savoie > Chambery
|
Posted: Thu Nov 03, 2005 2:01 pm Post subject: |
|
|
Ey wrote: | widan wrote: | Code: | find /lib/modules/$(uname -r) -name "*.ko" | xargs -n 1 basename | sed "s/\.ko$//g" |
|
Joli
Code: | find /lib/modules/$(uname -r) -name "*.ko" -exec basename "{}" .ko ";" |
| laid |
|
Back to top |
|
|
|