<---- template headericclude ----->
Static IP and Fedora 10 - Page 3
FedoraForum.org - Fedora Support Forums and Community
Page 3 of 3 FirstFirst 123
Results 31 to 38 of 38
  1. #31
    Join Date
    Jan 2009
    Location
    Bristol, UK
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all
    I have been having the same problems as above.

    Every time I restart NM the settings in /etc/resolv.conf get reset

    I edited the file /etc/sysconfig/network-scripts/ifcfg-et0 and added the lines

    DNS1=ip address
    DOMAIN=domain

    and restarted NM and it *seems* to be working now!

    I'll have to see if a restart of the computer does anything!

    Just thought I'd share my experiences
    Anthony R

  2. #32
    Join Date
    Dec 2008
    Location
    Newton, Ma
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not true, at least on my system, ifcfg-eth0 does not get overwritten unless you edit and save the network configuration.
    On my Fedora 10 systen, neither ifcfg-eth0 nor ifcfg-eth1 is hard linked (and there is no symbolic link pointing to them either.

  3. #33
    EricRB Guest

    Similar Problem

    I'm new to Fedora (I'm familiar with Ubuntu and Solaris) and am having the same problem. I installed it without the GUI so I'm all CLI.

    I ran a 'yum update' after the install.

    This is my ifcfg-eth0
    # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
    DEVICE=eth0
    HWADDR=00:50:56:b0:26:1e
    ONBOOT=yes
    SEARCH="localdomain"
    BOOTPROTO=static
    NETMASK=255.255.0.0
    IPADDR=10.1.0.203
    USERCTL=yes
    IPV6INIT=no
    NM_CONTROLLED=no
    GATEWAY=10.1.0.1
    TYPE=Ethernet

    When I reboot, the interface isn't configured, but if I run an 'ifup eth0' it sets it up nicely. What am I missing?

  4. #34
    Join Date
    Aug 2005
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I remember correctly, by default FC10 enables the 'NetworkManager' service and disables the 'network' service to give more of a desktop feel. Since you are all cli, I bet you are in runlevel 3 rather than runlevel 5 and NetworkManager is not starting eth0.

    To test, run:

    service network start

    Then if that works, here's what I would try to permanently configure for reboot... assuming that you are going to stay in CLI mode.

    chkconfig --level 2345 NetworkManager off
    chkconfig --level 2345 network on

    The config setting in your ifcfg-eth0, ONBOOT=yes tells the network service to start the interface when the service starts... so that should work.

  5. #35
    EricRB Guest
    Quote Originally Posted by everestx
    service network start

    chkconfig --level 2345 NetworkManager off
    chkconfig --level 2345 network on
    Thanks, this did it.

  6. #36
    Join Date
    Aug 2005
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the record, I pretty much hate NetworkManager. It tends to dumb us down by abstracting the network services (x2). Though I understand it's place on the desktop and it's critical nature for GUI folks, I hate that it creates two places for network config and overrides 'su' settings.

    Last night I spent about two hours trying to disable NetworkManager so that I could enable WLAN with WPA-PSK using wpa_supplicant and ndiswrapper at runlevel 3. It's the only way to get "always on" wireless without a GUI. And it was not fun...

    Glad to hear you got it going.

  7. #37
    Join Date
    Jul 2007
    Location
    Northwestern Carolina
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is another method of configuring your Fedora 10 network with a static IP:

    open a terminal and run su setup

    make and save the changes then run service network restart

  8. #38
    Join Date
    Dec 2008
    Location
    Newton, Ma
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I compared your setting to mine, and other than DNS and IP address, I have BOOTPROTO=no
    Static IP comes up fine at boot.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Fedora 10 | static ip issues
    By forum.query in forum Servers & Networking
    Replies: 52
    Last Post: 27th January 2010, 10:23 PM
  2. Replies: 2
    Last Post: 21st February 2009, 06:24 AM
  3. Kickstart with static IP on Fedora 9
    By moersfel in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 15th October 2008, 11:39 PM
  4. Fedora 9 static noise
    By OldJohnB in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 21st May 2008, 12:47 AM
  5. FC2 Overriding static if in favor of dhcp system set for static
    By pkraus109 in forum Servers & Networking
    Replies: 2
    Last Post: 21st September 2004, 05:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]