[Cialug] Fedora 10 Networking

Jeffrey Ollie jeff at ocjtech.us
Thu Apr 16 08:54:55 CDT 2009


On Thu, Apr 16, 2009 at 8:34 AM, Todd Walton <tdwalton at gmail.com> wrote:
> On Wed, Apr 15, 2009 at 5:56 PM, kristau <kristau at gmail.com> wrote:
>> Try using your built-in package manager to remove NetworkManager and
>> make sure /etc/init.d/networking (not sure what package is associated
>> with that) is enabled.  Maybe even force a re-install/re-configure of
>> the /etc/init.d/networking packages to make sure they get "reset?"
>
> A 'yum search NetworkManager' does find a package.  I don't know what
> would provide the plain old network script, though.

The old-style network configuration is handled by the "initscripts"
package.  Don't remove that though - you'll have more problems that
just networking :).

> I have no network now.  I don't know what it is I'm doing, because I
> keep track of the changes I make, and they all *seem* reversible.  But
> there's no apparent pattern to what gives me network and what doesn't.
>  I deactivate and then activate, and start and restart and there's
> just no love for a brother.
>
> I've learned that there are two different GUI network configurators,
> one for each init script.  There's "system-config-network" for network
> and "nm-something..." for NetworkManager.  I just need a good
> comprehensive primer on how it works.  The RedHat style init scripts
> are funky to begin with.  Funky or archaic, one of the two.

NetworkManager will ignore an interface if there is a
/etc/sysconfig/network-scripts/ifcfg-* file for the interface that
tells NetworkManager to ignore it (that's so you can switch back to
the old-style networking if you needed/wanted to).  Try removing those
files (but not ifcfg-lo) and restart the NetworkManager service.  Make
sure that you do "service network stop" first and "chkconfig network
off; chkconfig NetworkManager on"

Don't touch system-config-network (it's just a GUI for editing
/etc/sysconfig/network-scripts/ifcfg-* files) - stick with
NetworkManager. And with recent versions of NetworkManager (at least
on Fedora, I'm not sure how up-to-date other distros are)
NetworkManager _will_ bring up the network before you log in if the
interfaces are marked as "system" interfaces.  That should work "out
of the box" if you installed F10.

If that doesn't work, check /var/log/messages for logs that say
"NetworkManager" - it spits out quite a bit of information that would
be helpful in debugging.

Also check the output of "nm-tool".

-- 
Jeff Ollie


More information about the Cialug mailing list