Well, I wrote here a few days back that I needed to hose my machine because it had been running too well for too long, and all I really had to do was look around for a problem
My main computer is a dual boot FC2/FC3 machine. A while back I had some really serious issues with FC3, probably related to a combination of running SELinux (which I still insist on running) and bad mixing of apt repositories. Anyway, I reinstalled and FC3 was fine. During the install I had hosed grub and lost my FC2 bootloader and just got around to fixing that last night. Now it dual boots perfectly. But I do now have a problem with FC2. I can't get DHCP information on eth0, but only with FC2. It works fine with FC3 and the same setup used to work fine in FC2. The only change I made to FC2 was to delete a single line in its /etc/fstab that was pointing to a nonexistant swap partition I used to have on the hard drive that FC3 is installed on. Grub is installed (now) on hdc which is the hard drive that FC3 is installed on, so I didn't even mess with that.
When I first boot to FC2, if ifconfig looks like this:
- Code: Select all
[dishawjp@eunix dishawjp]$ /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16994 (16.5 Kb) TX bytes:16994 (16.5 Kb)
[dishawjp@eunix dishawjp]$
Which is exactly what I want. I want both interfaces (eth0 and ppp0) to be user controlled. I have the command "/sbin/ifup eth0" aliased to "net" and when I give that command, I get this:
- Code: Select all
[dishawjp@eunix dishawjp]$ net
Determining IP information for eth0... failed.
[dishawjp@eunix dishawjp]$
But then checking my ifconfig, I get this:
- Code: Select all
[dishawjp@eunix dishawjp]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 02:00:06:E3:3E:9C
inet6 addr: fe80::6ff:fee3:3e9c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5273 errors:1 dropped:0 overruns:0 frame:0
TX packets:6 errors:4 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:1000
RX bytes:316380 (308.9 Kb) TX bytes:1508 (1.4 Kb)
Interrupt:11 Base address:0xef00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17098 (16.6 Kb) TX bytes:17098 (16.6 Kb)
[dishawjp@eunix dishawjp]$
But if I try to ping yahoo, I get:
- Code: Select all
[dishawjp@eunix network-scripts]$ ping http://www.yahoo.com
ping: unknown host http://www.yahoo.com
[dishawjp@eunix network-scripts]$
Which more or less proves that I didn't get any DHCP info from my ISP.
Looking at my ifcfg-eth0 I find:
- Code: Select all
[dishawjp@eunix network-scripts]$ more ifcfg-eth0
# Lite-On|LNE100TX
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=02:00:06:e3:3e:9c
ONBOOT=no
TYPE=Ethernet
USERCTL=yes
PEERDNS=yes
IPV6INIT=yes
[dishawjp@eunix network-scripts]$
Which is very different from my ifcfg-eth0 on FC3 which is:
- Code: Select all
[dishawjp@eunix ~]$ more /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=no
TYPE=Ethernet
USERCTL=yes
[dishawjp@eunix ~]$
So one option would be to just comment out the IPV6INIT, PEERDNS, and HWADDR lines from my FC2 ifcfg-eth0, so it would look like the FC3 one, but it used to work, so why should it not work now? Or is that just barking up the wrong tree and should I be looking at something else?
This is no emergency. FC3 is working fine, but it is a puzzle. Thanks for any insight.
Jim Dishaw


