Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prima installazione gentoo, problemi con la rete e Grub
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 7:02 am    Post subject: prima installazione gentoo, problemi con la rete e Grub Reply with quote

salve a tutti,

la rete:
ho impostato l'hostname
Quote:
# nano -w /etc/conf.d/hostname
HOSTNAME="gentoo"


non ho impostato il nome del dominio dato che ho un router... (l'handbook dice cos�)

ho modificato il file net
Quote:
# nano -w /etc/conf.d/net

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"


ed ho attivato l'interfaccia di rete all'avvio

Quote:
# rc-update add net.eth0 default


ho modificato /etc/host scrivendoci questo

Quote:
127.0.0.1 gentoo localhost


credevo di aver fatto tutto bene ma mi sbagliavo la rete non parte e appena faccio il boot del sistema dice che nn trova eth0... perch�? :(

poi per quanto riguarda Grub, l'ho installato, e funziona alla perfezione... unico problema � che nn so dove lo ho installato, sotto /boot nn c'�...

grub-install --no-floppy /dev/hda

gli ho dato questo comando... ma dato che gentoo l'ho messo su hdb nn � che mi sono sbagliato?
_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 02, 2007 7:14 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

marco.mac wrote:


ed ho attivato l'interfaccia di rete all'avvio

Quote:
# rc-update add net.eth0 default


fai un taglia incolla dell'errore esatto prodotto dal comando
Code:

# /etc/init.d/net.eth0 restart

inoltre, posta l'output di:
Code:

# ifconfig eth0
# route -en


riguardo a grub, non capisco se riesci a fare il boot o meno...
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 02, 2007 7:29 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

marco.mac wrote:

credevo di aver fatto tutto bene ma mi sbagliavo la rete non parte e appena faccio il boot del sistema dice che nn trova eth0... perch�? :(

poi per quanto riguarda Grub, l'ho installato, e funziona alla perfezione... unico problema � che nn so dove lo ho installato, sotto /boot nn c'�...

grub-install --no-floppy /dev/hda

gli ho dato questo comando... ma dato che gentoo l'ho messo su hdb nn � che mi sono sbagliato?

forse capisco. per caso, hai collocato i file di boot in una partizione separata (cosa facoltativa ma opportuna), che ti sei dimenticato di definire in /etc/fstab (cosa inopportuna :) )?

il comando grub-install non centra nulla con i file di configurazione. forse questo secondo quesito meriterebbe un topic separato.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 7:40 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

cloc3 wrote:

fai un taglia incolla dell'errore esatto prodotto dal comando
Code:

# /etc/init.d/net.eth0 restart


Code:
 /etc/rc.conf: line 16 : DISPLAYMANAGER: command not found
Starting eth0
Bringing up eth0
dhcp
network interface eth0 does not exist
Please verify hardware kernel module(driver)

cloc3 wrote:

inoltre, posta l'output di:
Code:

# ifconfig eth0
# route -en


Code:
 ificonfig eth0 --> eth0: error fetching interface information: Device not found
route -en   ------> Destination 127.0.0.0         Gateway    0.0.0.0          Genmask      255.0.0.0        Flags      U         MSS    0   Window 0    irtt   0   Iface lo





grub funziona unico problema è che nn trovo più i suoi file.. su /boot non ci sono e nn li riesco a trovare da nessuna parte
_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 02, 2007 7:52 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

marco.mac wrote:

Code:
 /etc/rc.conf: line 16 : DISPLAYMANAGER: command not found
Starting eth0
Bringing up eth0
dhcp
network interface eth0 does not exist
Please verify hardware kernel module(driver)


a parte l'errore su DISPLAYMANAGER (inessenziale, hai decommentato erroneamente una riga in /etc/rc.conf.) sembra proprio un errore di kernel. non avresti compilato il supporto alla tua scheda ethernet.

quali opzioni hai attivato allo scopo, che scheda hai (controlla con `# lspci|grep Ethernet`)?
prova anche a postare un `# lsmod`
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 02, 2007 7:58 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

marco.mac wrote:
grub funziona unico problema è che nn trovo più i suoi file.. su /boot non ci sono e nn li riesco a trovare da nessuna parte

Code:

# ls `qlist grub|grep boot`

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 8:06 am    Post subject: Reply with quote

scheda Ethernet: ALi Corporation M5263 Ethernet Controller (rev40)

Code:

#lsmod
Module         Size   Used by
s2io              65344       0
i2c_dev            8456       0
i2c_isa           7040        0
i2c_core          20800     2   i2c_dev, i2c_isa

_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 8:46 am    Post subject: Reply with quote

grazie a cloc3 per avermi fatto capire l'errore...

ma non so che modulo devo attivare, quando riconfiguro il kernel, per la mia scheda di rete...

chi mi può illuminare?
_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4795
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Thu Aug 02, 2007 9:39 am    Post subject: Reply with quote

marco.mac wrote:
scheda Ethernet: ALi Corporation M5263 Ethernet Controller (rev40)

per questo si usano le ricerchette in internet

da menuconfig dovrebbe essere:
Code:

Device Drivers --> Network Device Support --> Ethernet (10 or 100Mbit) --> Tulip family --> ULI526x controller support

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu Aug 02, 2007 9:56 am    Post subject: Reply with quote

lspci e vedi cosa c'è installato nel pc, lsmod dalla live e vedi quale modulo ha caricato...
leggere la documentazione prima che il buon scen e compagni inizino a farsi domande esistenziali (del genere ma chi me lo fa fare di tradurre se nessuno legge, perchè siamo al mondo etc...)

In ogni caso la scheda di rete (ULI526X=y) è una cosa che ti consiglio di abilitare builtin se possibile.

@clock mi hai battuto sul tempo... :evil:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Thu Aug 02, 2007 10:18 am    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

marco.mac wrote:


poi per quanto riguarda Grub, l'ho installato, e funziona alla perfezione... unico problema � che nn so dove lo ho installato, sotto /boot nn c'�...


non è che ti sei dimenticato di montare la partizione di boot, da root:
Code:
mount /boot

:?: :?: :?:
_________________
LP
Back to top
View user's profile Send private message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 3:50 pm    Post subject: Reply with quote

grazie a tutti ragazzi... ora provo tutto ciò che mi avete consigliato e poi farò sapere
_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
marco.mac
n00b
n00b


Joined: 02 Aug 2007
Posts: 41
Location: Terni

PostPosted: Thu Aug 02, 2007 4:32 pm    Post subject: Re: prima installazione gentoo, problemi con la rete e Grub Reply with quote

lucapost wrote:
marco.mac wrote:


poi per quanto riguarda Grub, l'ho installato, e funziona alla perfezione... unico problema � che nn so dove lo ho installato, sotto /boot nn c'�...


non è che ti sei dimenticato di montare la partizione di boot, da root:
Code:
mount /boot

:?: :?: :?:



ho seguito passo passo l'handbook... ho fatto tutto ciò che c'è scritto... quindi si spera che il montaggio della partizione di boot ci sia :)
_________________
Al mio segnale... Scatenate l'inferno!!!
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Thu Aug 02, 2007 4:53 pm    Post subject: Reply with quote

nell'handbook, se non sbaglio, nelle opzioni di mount di /boot, indica di inserire "noauto"? Indovina a cosa serve?
da root:
Code:
mount /boot && ls /boot

e posta il risultato.
Se hai ancora problemi posta il risultato del comando
Code:
mount

_________________
LP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
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