NetworkManager 0.7 and static IP - how ?!?

Tim ignored_mailbox at yahoo.com.au
Tue Mar 11 00:43:11 UTC 2008


On Mon, 2008-03-10 at 18:21 -0400, Rick Bilonick wrote: 
> I must be confused. AFAIK, I'm not running the dhcp daemon. My laptop is
> running NetworkManager and is asking for an IP address from the wireless
> router at home. This works fine. The problem is when I go to work and
> plug in the ethernet cable and boot up the laptop. Now nm-applet has a
> button for a wired connection (it did this in Fedora 6 but until today
> it hasn't done this in Fedora 8). The problem is that it is requesting a
> dhcp type wired connection when I need to use a static IP (which I've
> configured previously via system-config-network). How do I get the
> static IP address using Network Manager/nm-applet given the dhcp daemon
> is not running? (I have no dhcpd.config because the daemon has not been
> started. AFAIK, there is no reason for my laptop to be providing dhcp
> connections.) 

You can set defaults for your DHCP client, which can be overridden when
there actually is a DHCP server on the LAN.

man dhclient and dhclient.conf

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the fedora-list mailing list