[mythtv-users] Best update path from Fedora 6
David George
david at thegeorges.us
Sun Mar 29 17:52:56 UTC 2009
On 03/29/2009 01:37 PM, Niels Dybdahl wrote:
>
> - The server is also webserver, so I need a fixed IP-address. Even
> though I specified during installation that it was going to be a
> webserver, it was initially installed with DHCP. I then switched to
> fixed address, but it does not save the DNS-addresses that I enter, so
> when I run it with fixed IP-address, it can not resolve any host
> names. I have tried to use DHCP and let the DHCP-server in my router
> give it a fixed address together with the DNS-addresses but for some
> unknown reason, it still gets an ordinary DHCP-address and not the
> fixed one. Maybe I just have to wait a couple of days until the old
> lease runs out... But still: Is it really impossible to set up both an
> IP-address and DNS-addresses on Fedora 10 without using DHCP?
>
You are probably running into an issue with NetworkManager. Static IP
addresses weren't supported in NetworkManager until (supposedly) 0.7. I
say supposedly, because last time I tried it it still didn't work. If
you need static IP addresses and are using a wired network (as opposed
to wireless) I recommend disabling NetworkManager and using the regular
(oldstyle) network configuration. To do this use the following steps:
edit the /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure you
static ip settings are set in there. Also add a line NM_CONTROLLED=no.
next edit /etc/sysconfig/network and make sure your GATEWAY= is set to
your default gateway.
Make sure you are logged into the console before doing the following
because if you are in using ssh you may not be able to do anything after
stopping NetworkManager.
chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start
I have heard of similiar issues using static IPs with NetworkManager on
Ubuntu 8.10 so it doesn't appear to be a Fedora specific problem.
--
David George
http://pvrcompanion.com
More information about the mythtv-users
mailing list