View previous topic :: View next topic |
Author |
Message |
cerealK n00b
Joined: 30 May 2003 Posts: 37
|
Posted: Wed Nov 12, 2003 9:41 am Post subject: problema con eth0 al boot |
|
|
era una notte buia e tempestosa quando decisi di fare un emerge -Du world
aggiornamento del sistema riuscito con successo
etc-update
uhm... non sembra toccare alcun file di configurazione noto... bene bene... faccia lui -5, tiè!
ma!
(perchè c'è sempre un ma)
al riavvio non riesce a tirare su eth0
ho verificato /etc/conf.d/net ed è tutto apposto...
ho provato a riaggiungerlo al default dunlevel ma era già li
tutto quello che dice è:
eth0 is not plugged in or has non carrier signal
ERROR: problem starting needed serveces
"netmount" was not started
la cosa che mi incuriosisce è che se faccio partire a mano il dhcp con il comando
dhcpcd etho
tutto funziona che è una bellezza
(questo post lo sto scrivendo dal pc incriminato)
idee? suggerimenti?
resto in attesa e ringrazio in anticipo |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Nov 12, 2003 9:55 am Post subject: |
|
|
ma dhcpd l'hai aggiunto al default runlevel? o devi restartarlo tu manualmente, scusa ma mi è sfuggito. _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
cerealK n00b
Joined: 30 May 2003 Posts: 37
|
Posted: Wed Nov 12, 2003 10:28 am Post subject: |
|
|
dhcpcd lo faccio partire manualmente |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Nov 12, 2003 10:37 am Post subject: |
|
|
ok, hai provato a metterlo tra i servizi automatici al default boot runlevel e riavviare (? magari c'è un metodo + spiccio senza riavviare) per vedere se funzia? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
cerealK n00b
Joined: 30 May 2003 Posts: 37
|
Posted: Wed Nov 12, 2003 10:44 am Post subject: |
|
|
non dubito che funzini..
però mi sembra una situazione un filo rabberciata :O
senza offesa
vorrei che tutto continuasse a funzionare come prima, cioè senza dover mettere nel runlevel direttamente il dhcpcd bensì con lo script di conf.d/net |
|
Back to top |
|
|
bubble27 Guru
Joined: 07 Aug 2003 Posts: 365 Location: Campobasso
|
Posted: Wed Nov 12, 2003 10:44 am Post subject: |
|
|
Scusa ma si tratta del file net.eth0 o netmount ???
Credo che che non siamo la stessa cosa !!! Controlla bene !!!
Quote: |
eth0 is not plugged in or has non carrier signal
ERROR: problem starting needed serveces
"netmount" was not started |
|
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Wed Nov 12, 2003 10:59 am Post subject: |
|
|
I don`t understand a goddamn thing, but i guess I have a similiar problem to yours guys. it happened after emerging latest baselayout. any hints (in english) please? _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
cerealK n00b
Joined: 30 May 2003 Posts: 37
|
Posted: Wed Nov 12, 2003 11:11 am Post subject: |
|
|
l'errore che ho è che il netmount non viene avviato...
di conseguenza non viene tirata su eth0
il file /etc/condf.d/net è però corretto...
(per scrupolo l'ho appena ricontrollato per l'ennesima volta)
or che mi sovviene il probblema è sorto dopo che ho aggiornano il baselayout.. prorio com'è successo al nostro compare inglese
saluto |
|
Back to top |
|
|
b0fh Guru
Joined: 16 Jun 2003 Posts: 426
|
Posted: Wed Nov 12, 2003 5:55 pm Post subject: |
|
|
grzewho wrote: | I don`t understand a goddamn thing, but i guess I have a similiar problem to yours guys. it happened after emerging latest baselayout. any hints (in english) please? |
Scusi, non parle italiano, but same problem with me after emerging last baselayout Any idea how to fix it? |
|
Back to top |
|
|
Raoul_Duke l33t
Joined: 15 Dec 2002 Posts: 694 Location: Caerdydd, Wales
|
Posted: Wed Nov 12, 2003 8:42 pm Post subject: |
|
|
Another Non-italian speaker with the same problem here _________________ www.iamthepenguin.com |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Nov 12, 2003 9:06 pm Post subject: |
|
|
Nell'ultimo update il file net.eth0 e' stato modificato.
Code: | else
# Check that eth0 was not brough up by the kernel ...
if [ "${status_IFACE}" != "up" ]
then
# Check that the interface has a carrier
if [ "${carrier_IFACE}" = "running" ]
then
/sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} >/dev/null || {
retval=$?
eend ${retval} "Failed to bring ${IFACE} up"
return ${retval}
}
else
eend 1 "${IFACE} is not plugged in or has no carrier signal"
return 1
fi
fi
fi
|
Lo script controlla che l'interfaccia di rete sia running, e poi va a usare dhcpd per abilitarla. Da quello che dite, sembra che la variabile "${carrier_IFACE}" sia diversa da "running".
Ora: le schede di rete dovrebbero passare a RUNNING non appena il cavo di rete e' pluggato, ma a questo punto mi viene il dubbio che sia cosi'.
Per testare fate questa prova / to test my idea, please do the following test:
Code: | [unplug the cable]
# ifconfig eth0 down
# ifconfig eth0 up
# ifconfig
[the eth0 must NOT show RUNNING]
[plug the cable]
# ifconfig
[the eth0 must show RUNNING] |
Se le cose non vanno come sopra, bisognerà aprire un bug report... / if test above fail, we must open a bug report... _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
BlueRaven Apprentice
Joined: 12 May 2003 Posts: 254
|
Posted: Thu Nov 13, 2003 9:21 am Post subject: |
|
|
Uhm, io ho fatto un emerge -uD world proprio stamattina ma i cambiamenti in questione non li vedo.
L'header CVS di /etc/init.d/net.eth0 è:
Code: | # $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.31 2003/09/08 00:11:54 azarah Exp $ |
mentre la versione del baselayout è 1.8.6.10-r1.
Mi sono perso qualcosa (a parte qualche piccola grana )? |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Nov 13, 2003 9:39 am Post subject: |
|
|
Code: | # $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.32 2003/11/11 19:37:24 azarah Exp $ |
Code: | cerri@cerrito $ etcat -v baselayout
[ Results for search key : baselayout ]
[ Applications found : 1 ]
* sys-apps/baselayout :
[ ] sys-apps/baselayout-1.8.5.9 (0)
[ ] sys-apps/baselayout-1.8.6.8-r1 (0)
[ ] sys-apps/baselayout-1.8.6.10-r1 (0)
[ ~ ] sys-apps/baselayout-1.8.6.11 (0)
[ ~I] sys-apps/baselayout-1.8.6.12 (0) |
_________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
BlueRaven Apprentice
Joined: 12 May 2003 Posts: 254
|
Posted: Thu Nov 13, 2003 10:40 am Post subject: |
|
|
Cerri, abbi pazienza, ogni tanto scazzo pure i fondamentali.
Dimentico sempre che c'è anche chi usa ~x86:
Code: | blue@mythdrannor blue $ etcat -v baselayout
[ Results for search key : baselayout ]
[ Applications found : 1 ]
* sys-apps/baselayout :
[ ] sys-apps/baselayout-1.8.5.9 (0)
[ ] sys-apps/baselayout-1.8.6.8-r1 (0)
[ I] sys-apps/baselayout-1.8.6.10-r1 (0)
[M~ ] sys-apps/baselayout-1.8.6.11 (0)
[M~ ] sys-apps/baselayout-1.8.6.12 (0)
blue@mythdrannor blue $
|
|
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Nov 13, 2003 11:40 am Post subject: |
|
|
BlueRaven wrote: | Cerri, abbi pazienza, ogni tanto scazzo pure i fondamentali. |
Per così poco!! Ma va _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
shev Bodhisattva
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Thu Nov 13, 2003 2:04 pm Post subject: |
|
|
BlueRaven wrote: |
Dimentico sempre che c'è anche chi usa ~x86:
|
Però chi usa ~x86 imho i problemi se li cerca. Se esiste il ramo di test un motivo ci sarà... (la stessa storia trita e ritrita che c'è in debian tra stable e sid) Quindi dovrebbe quantomeno essere preparato a subire (o risolvere) le conseguenze
/me che usa diversi ~x86
p.s.: ma un downgrade alla versione stable non risolve il problema? _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
|
cerealK n00b
Joined: 30 May 2003 Posts: 37
|
Posted: Thu Nov 13, 2003 9:00 pm Post subject: |
|
|
ho risolto tutto con un downgrade alla stable...
cerri.. non ho ben capito il test che volevi farmi fare :$
io ho provato a buttare dentro le istruzioni ch emi hai dato ma la eth0 risultava sempre correttamente configurata anche con il cavo staccato...
uhm..
mah
davero mi sa che son troppo niubbo per ste robe |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Fri Nov 14, 2003 12:07 am Post subject: |
|
|
Devi fare quel test prima di fare dhcp.
In sostanza devi notare se RUNNING c'e' sia quando il cavo e' attaccato, sia quando non lo è. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
|