Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema Rete
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
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Mon May 12, 2003 4:54 pm    Post subject: Problema Rete Reply with quote

:lol: Ciao a tutti!
Sono nuovo del mondo Gentoo, e mi sto avviando verso l'installazione.
Ho fatto il boot dal live cd e ho configurato la scheda di rete, tutto ok, la scheda pinga l'altro pc (192.168.0.2) con installata la MDK 9.0. Dopo aver fatto questo metto i dns del provider in /etc/resolv.conf.
Ora provo a pingare un sito a caso o i dns del mio provider, ma con mia grande sorpresa mi dice che la rete non é raggiungibile. Aggiungo che su Mandrake 9.0 riesco a navigare anche da questo pc. Infatti nel pc che esce in internet 192.168.0.2 ho messo il seguente file nat sotto /etc/ppp :


echo "1" > /proc/sys/net/ipv4/ip_forward
modprobe ip_tables
modprobe ip_conntrack
modprobe iptable_nat
modprobe ipt_MASQUERADE
iptables -t nat -A POSTROUTING -d ! 192.168.0.0/24 -j MASQUERADE

e poi ho aggiunto il percorso del file ( /etc/ppp/nat ) in /etc/ppp/ip-up prima dell'exit 0

COme già detto su MDK 9.0 riesco ad andare in internet dal pc sul quale sto installando la gentoo.
Cos'é che che posso fare per andare in internet con la gentoo che sto installando??
Grazie mille a tutti.
Jaco
Back to top
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Mon May 12, 2003 5:02 pm    Post subject: Scusate.... Reply with quote

Sono un idiota....
ho dimenticato route add default gw 192.168.0.2
:roll: :roll: :roll: :roll: :roll:
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon May 12, 2003 8:21 pm    Post subject: Reply with quote

No, hai fatto l'errore classico che fanno TUTTI quelli che si avvicinano alle reti... :)

Welcome, little net admin :D
_________________
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
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Tue May 13, 2003 1:18 pm    Post subject: Reply with quote

cerri wrote:
No, hai fatto l'errore classico che fanno TUTTI quelli che si avvicinano alle reti... :)


QUASI tutti :D
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Tue May 13, 2003 1:49 pm    Post subject: Reply with quote

Non ci crede nessuno.
Almeno una volta sarai impazzito a causa di default router mancato / errante. :D
_________________
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
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