static ip in f11, f12 using networkmanager [SOLVED]

jackson byers byersjab at gmail.com
Tue May 11 23:17:30 UTC 2010


 Phil Meyer wrote

> When using static NM_MANAGED ifcfg-ethX definition files, you do need to
> have complete entries in there, including DNS.

> You can set:
>   DNS1=
 >  DNS2=
 >  DOMAIN=

> etc

> in the ifcfg file, and NM will then generate a proper resolv.conf for you.

---
thanks Phil,  this worked!
After adding the DNS1, 2,3  and DOMAIN=  to the ifcfg file,
ifconfig showed eth0 without any IP
and resolv.conf had no entries.
so:
sudo service NetworkManager restart
then ifconfig shows eth0 with my static ip,
and resolv.conf shows the three nameservers.
and internet back up!

thanks to Tim also who answered my question re NM_CONTROLLED=no

I learned a lot from this exercise.
Jack


More information about the users mailing list