Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema con lan (risolto)
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
pulix
n00b
n00b


Joined: 21 Jan 2005
Posts: 33

PostPosted: Mon Jan 24, 2005 4:50 pm    Post subject: problema con lan (risolto) Reply with quote

Ciao a tutti! Ho istallato una gentoo 2004.3 sul mio portatile partendo dallo stage3.Questo pc si trova in una lan e per la connessione usa un router collegato a un modem adsl. Completata l'istallazione, ho avviato il sistema e ho impostato la rete con:

Code:

ifconfig eth0 192.168.0.3 netmask 255.255.255.0 up
route add default gw 192.168.0.1


e dato che funzionava correttamente ho dato un:
emerge sync
emerge world

Dopo aver aggiornato i pacchetti, ho riavviato, e ho notato che con gli stessi comandi che ho detto sopra la rete non andava. Ho anche dato un
ipconfig eth0 down e poi ho ridato i comandi precedenti, ma nulla da fare; se mi autopingo non ci sono problemi, se pingo un qualsiasi altro elemento della rete non ricevo risposta. Non e' un problema di hardware o di configurazione del router, poiche' se utilizzo il livecd la rete funziona correttamente. Gli unici servizi che si avviano al boot sono metalog e local.
Qualcuno ha qualche idea?


Last edited by pulix on Mon Jan 24, 2005 8:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 24, 2005 4:52 pm    Post subject: Reply with quote

probabilmente ti manca il supporto per la scheda di rete.
Posta un "ifconfig -a".
Che scheda di rete hai?
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
alexzndr
n00b
n00b


Joined: 11 Jan 2005
Posts: 55
Location: Somewhere in Time

PostPosted: Mon Jan 24, 2005 4:55 pm    Post subject: Reply with quote

xchris wrote:
probabilmente ti manca il supporto per la scheda di rete.
Posta un "ifconfig -a".
Che scheda di rete hai?


Pero' se si autopinga significa che la scheda e' vista dal sistema..o sbaglio?
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 24, 2005 4:58 pm    Post subject: Reply with quote

non sbagli...
se pinga l'ip appena assegnato.. non sbagli.

vediamo che scheda e' intanto.

Grazie per la correzione.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
pulix
n00b
n00b


Joined: 21 Jan 2005
Posts: 33

PostPosted: Mon Jan 24, 2005 5:12 pm    Post subject: Reply with quote

Da un lspci mi esce questo:
ethernet controller :realtek semiconductor co ltd. rtl-8139/8139c/8139+

quindi credo che avendo il chipset realtek, il modulo 8139too vada bene.
Dando un lsmod il modulo e' correttamente caricato.

Quando do

Code:
ifconfig eth0 192.168.0.3 netmask 255.255.255.0 up


non ricevo nessun errore, e con un ifconfig -a successivo sembra tutto ok.
Back to top
View user's profile Send private message
maninthebox1
Guru
Guru


Joined: 14 Nov 2004
Posts: 384
Location: ITALIA - L'AQUILA

PostPosted: Mon Jan 24, 2005 5:29 pm    Post subject: Reply with quote

Perchè non provare con DHCP ????
Back to top
View user's profile Send private message
pulix
n00b
n00b


Joined: 21 Jan 2005
Posts: 33

PostPosted: Mon Jan 24, 2005 5:32 pm    Post subject: Reply with quote

Si puo' provare, ma nn l'ho mai usato...qualche consiglio o qualcosa da leggere...?
Back to top
View user's profile Send private message
maninthebox1
Guru
Guru


Joined: 14 Nov 2004
Posts: 384
Location: ITALIA - L'AQUILA

PostPosted: Mon Jan 24, 2005 6:11 pm    Post subject: Reply with quote

dovresti avere già il pacchetto dhcpcd...ma con il 2004.3 ha dato molti problemi, quindi se puoi riemergilo!

dopodichè vai sul tuo /etc/conf.d/net:commenta la riga iface_eth0= <tutti indirizzi> e decommenta la riga iface_eth0="dhcp"!
SALVA

devi inserire nel run-level la periferica!
Code:
rc-update add net.eth0 default


riavvia e vedi al boot se ti trova l'indirizzo ip! oppure dai direttamente net-setup eth0 e metti dhcp ...dai poi un ifconfig e vedi se la periferica è up!

spero di essere stato chiaro :oops: ...non sono fatto per i discorsi lunghi e contorti!
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 24, 2005 6:25 pm    Post subject: Reply with quote

ok il dhcpcd...
bisogna vedere se nella rete c'e' un server dhcp pero'.
ciao

realtek... prova a disabilitare l'apic sulla linea del kernel.. "noapic"
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
maninthebox1
Guru
Guru


Joined: 14 Nov 2004
Posts: 384
Location: ITALIA - L'AQUILA

PostPosted: Mon Jan 24, 2005 7:00 pm    Post subject: Reply with quote

xchris wrote:
ok il dhcpcd...
bisogna vedere se nella rete c'e' un server dhcp pero'.


GIUSTO :D

non ci stavo pensando! :oops:
Back to top
View user's profile Send private message
pulix
n00b
n00b


Joined: 21 Jan 2005
Posts: 33

PostPosted: Mon Jan 24, 2005 7:43 pm    Post subject: Reply with quote

xchris wrote:
ok il dhcpcd...
bisogna vedere se nella rete c'e' un server dhcp pero'.
ciao

realtek... prova a disabilitare l'apic sulla linea del kernel.. "noapic"
ciao


Putroppo non ho un server dhcp...Ho aggiunto noapic alla riga del kernel in grub.conf, ma il problema rimane lo stesso :cry:
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 24, 2005 7:44 pm    Post subject: Reply with quote

controlla i messaggi del kernel...
dmesg

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Jan 24, 2005 7:45 pm    Post subject: Reply with quote

facci vedere la conf di iptables. Usa iptables-save.

Poi... dal router, riesci a vedere l'esterno?

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
pulix
n00b
n00b


Joined: 21 Jan 2005
Posts: 33

PostPosted: Mon Jan 24, 2005 8:16 pm    Post subject: Reply with quote

grazie ho risolto il prob ho fatto dmesg e ho notato che la scheda di rete era su eth1 e ho cosi ho risolto. quallo che non capisco è perche fino a prima usavo eth0 e poi adesso devo usare eth1. chi sa spiegarmi questa cosa? grazie a tutti per i consigli dati.... a presto.. :D :D
Back to top
View user's profile Send private message
cirpo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2003
Posts: 111

PostPosted: Mon Jan 24, 2005 9:34 pm    Post subject: Reply with quote

forse perche' la eth0 e' la firewire....?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jan 24, 2005 11:13 pm    Post subject: Reply with quote

cirpo wrote:
forse perche' la eth0 e' la firewire....?


Potrebbe anche essere :roll:

pulix, cosa restituisce il comando:

Code:
$ dmesf | grep eth

_________________
Ciao da me!
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