On Tuesday 12 December 2006 16:15, Felipe Ribeiro wrote:

> Did they change anything on how you configure your static ip address?
> I've updated my system today and connot access the internet anymore,
> when using my static ip address, just dhcp.
>
> I used to use my /etc/conf.d/net like this:
>
> config_eth0=("192.168.254.2 netmask 255.255.255.0 broadcast
> 192.168.254.255") routes_eth0=("default via 192.168.254.254")
>

Yes! Much has changed in baselayout... The more recent versions 
rewrite /etc/resolv.conf with the data you spec in /etc/conf.d/net

Here's a simple /etc/conf.d/net file I have set for a client on my home lan:

modules=("ifconfig")
config_eth0=("192.168.0.12 netmask 25.255.255.0 broadcast 192.168.0.255")
routes_eth0=("default via 192.168.0.1")
dns_domain_eth0=("my.domain")
dns_search_eth0=("search hs.ma.comcast.net.")
dns_servers_eth0=("68.87.75.255 68.87.64.255")


Cheers...

--

Jerry McBride
-- 
gentoo-user@gentoo.org mailing list

Reply via email to