[Novalug] new install of Fedora 8
plarsen at famlarsen.homelinux.com
Fri Feb 29 00:39:04 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
>>> /etc/sysconfig/networking/devices/ifcfg-eth0 reports that the NIC is
>>> configured for:
>>> ip 192.168.1.30
>>> subnet mask 255.255.255.0
>>> network 192.168.1.0
>>> gateway 192.168.1.1
>>> This is as I initially set it during install, this looks good.
>>> /sbin/ifconfig shows this:
>>> ip 169.254.59.150
>>> bcast 169.254.255.255
>>> mask 255.255.0.0
Clearly, your file isn't picked up or another issue is at play.
But could you please copy-paste the true/full version of the
Notice - it's not in the location you specified. The network scripts
uses the above location; NOT the one specified in
/etc/sysconfig/networking/devices. I'm actually not aware that any
startup scripts read there.
ALSO - the content above is invalid syntax for the file. It's a basic
SHELL script, and is simply executed during startup to set variables
that is used by the startup scripts. So, on my system it looks like:
[root at plarsen-d830 sbin]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express
On another box (Centos - but uses the same basic structure as Fedora):
# Intel Corporation 82801G (ICH7 Family) LAN Controller
This provides me with a static address. Notice the BOOTPROTO and the =
signs. Also, notice the DEVICE line. If the device line is missing,
things will not work. The network scripts uses this variable to find
> bootproto=none (already set)
> onboot=yes (already set)
These looks a lot better. But use static - not none.
> If I follow you right, these settings are correct? (And, this is how they are
> set, I didn't modify them)
First off, any messages in /var/log/messages or dmesg?
Try starting network manually - first do (as root):
# service network restart
Check for errors
If that doesn't seem to start what you want, try:
# ifup eth0
The IP you ARE getting indicates that 1) your NIC is supported by a
driver, 2) that it's trying to DHCP without any luck. You need to
provide the right configuration to go to a static IP scheme.
Alternative setup - use "system-config-network". Makes things pretty
easy to setup. No file and syntax issues.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Novalug