Peter:
> iface_eth0="192.168.2.100 broadcast 192.168.0.255 netmask 
255.255.255.0"
> #iface_eth0="dhcp"
> #dhcpcd_eth0="-N"
> gateway="eth0/192.168.2.1"
>
> This last part is important. Your PC has to find the gateway.

Done. But it doesn't work :-(

> You might also have to add the
> gateway address to /etc/resolv.conf as the nameserver otherwise you
> might lose internet and network connections.

Yes, I can't get names resolved.
Do you mean that I should  add

nameserver 192.168.2.1

(i.e., my gateway address, which is different ;-) to /etc/resolv.conf?
My resolv.conf after a dhcp connession is:

domain fastwebnet.it
nameserver 213.156.54.80
nameserver 213.156.54.81

(Fastweb is my provider).

What should my resolv.conf look like?
Thanks.
Sergio
-- 
gentoo-user@gentoo.org mailing list

Reply via email to