View previous topic :: View next topic |
Author |
Message |
Lux-68 n00b
Joined: 19 May 2013 Posts: 34 Location: Provincia di Torino
|
Posted: Sun Jun 02, 2013 1:58 pm Post subject: [Risolto] eth0 device not found. |
|
|
Ciao a tutti,
ho recentemente reinstallato Gentoo sul mio PC. Al riavvio non riconosce la scheda di rete pur caricando il driver corretto.
Da
risulta
Code: |
eth0: error fetching interface information: Device not found
|
Il kernel 3.8.13 riconosce l'interfaccia come:
[/code] Code: |
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
|
Il modulo viene caricato
Code: |
Module Size Used by
r8169 54864 0
|
Se server posto la configurazione del kernel.
Luciano.
Last edited by Lux-68 on Tue Jun 04, 2013 7:38 am; edited 1 time in total |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sun Jun 02, 2013 6:19 pm Post subject: |
|
|
La colpa è del nuovo udev.
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
Anche lasciando /etc/udev/rules.d vuoto non mi riesce di avere i vecchi nomi funzionanti.
Dovrebbe esserci modo di configurare i vecchi nomi definiti dal kernel se proprio ti servono ma non me lo sono posto il problema. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
doom555 n00b
Joined: 29 Oct 2012 Posts: 57
|
Posted: Mon Jun 03, 2013 2:16 pm Post subject: |
|
|
e scopri qual'è il nuovo nome! |
|
Back to top |
|
|
Lux-68 n00b
Joined: 19 May 2013 Posts: 34 Location: Provincia di Torino
|
Posted: Tue Jun 04, 2013 7:35 am Post subject: [Risolto] eth0 device not found. |
|
|
doom555 wrote: |
e scopri qual'è il nuovo nome! |
Grazie a entrambi per la dritta. In effetti il nome è tutt'altro :
Code: |
dummy0: flags=130<BROADCAST,NOARP> mtu 1500
ether 1e:26:33:a2:76:11 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp7s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether bc:5f:f4:0b:8d:67 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 0 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
cioè enp7s0 quindi ho risolto con il collegamento in /etc/init.d/
Code: |
# ln -s net.lo net.enp7s0
|
Ora la rete c'è.
Luciano. |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Tue Jun 04, 2013 8:59 pm Post subject: |
|
|
è quello, enp7s0 è il nome assegnato dal kernel. Cambia a seconda del driver che usi, e l'ultimo numero, a parità di driver, secondo l'ordine di caricamento (che in genere corrisponde alla posizione sul bus). _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
pierino_89 Guru
Joined: 03 Oct 2009 Posts: 522
|
Posted: Sun Jun 09, 2013 2:46 pm Post subject: |
|
|
djinnZ wrote: |
Anche lasciando /etc/udev/rules.d vuoto non mi riesce di avere i vecchi nomi funzionanti.
|
Non so se valga ancora, ma qualche tempo fa con il sistema ancora in test udev se trovava il file "80-net-name-slot.rules" in rules.d manteneva i vecchi nomi (indipendentemente dal contenuto del file).
Quote: | Dovrebbe esserci modo di configurare i vecchi nomi definiti dal kernel se proprio ti servono ma non me lo sono posto il problema. |
Devi passare net.ifnames=0 come parametro al kernel. _________________ Linux registered user 461710 |
|
Back to top |
|
|
|