DHCP doesn't work under Fedora Core 3 - using Knoppix DHCP has no problems

pipinia at web.de pipinia at web.de
Fri Mar 18 16:57:37 UTC 2005


Hi Timothy,

thanks for your answer!

> but you seem to be using IPv6 with Fedora, and IPv4 with knoppix.
> Maybe you should have IPV6INIT=no in ifcfg-eth0 ?

I substituted 'IPV6INIT=yes' with 'IPV6INIT=no' in every 'ifcfg-eth0'
I could find and tried again --- unfortunately with no result :(

  Determining IP information for eth0...: failed

... as before. 

I appended the 'ifcfg-eth0' files and - I hope this could be of some help -
all '/etc/...' files of my old working fedora core 1 installation which correspond to 
those I appended to my last mail. 

Still - thanks for your efforts! I learned already something: the main difference
between ipv4 and ipv6, my first step into a new world and ... hopefully to some 
solution :)

Greetings and best wishes, Die

============================================================
============================================================
   my ifcfg-eth0 files after setting IPV6INIT to "no":
============================================================

[fedora]# cat /etc/sysconfig/networking/profiles/default/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=yes
PEERDNS=yes
TYPE=Ethernet
# IPV6INIT=yes
IPV6INIT=no

------------------------------------------------------------

[fedora]# cat /etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=yes
PEERDNS=yes
TYPE=Ethernet
# IPV6INIT=yes
IPV6INIT=no

------------------------------------------------------------

[fedora]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=yes
PEERDNS=yes
TYPE=Ethernet
# IPV6INIT=yes
IPV6INIT=no

------------------------------------------------------------

[fedora]# /etc/rc.d/init.d/network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... failed.
                                                           [FAILED]

============================================================
============================================================
      some files of my old fedora core 1 installation
            ... when DHCP still worked ...
============================================================

[fedora core 1]# cat /etc/modules.conf
alias eth0 8139too
alias usb-controller usb-uhci
alias sound-slot-0 maestro3
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

============================================================

[fedora core 1]# cat /etc/sysconfig/networking/profiles/default/ifcfg-eth0
# Realtek|RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:30:54:00:76:2C
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

============================================================

[fedora core 1]# cat /etc/sysconfig/networking/devices/ifcfg-eth0
# Realtek|RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:30:54:00:76:2C
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

============================================================

[fedora core 1]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek|RTL-8139/8139C/8139C+
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:30:54:00:76:2C
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no

============================================================

[fedora core 1]# cat /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

============================================================

[fedora core 1]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search localdomain
nameserver 192.168.0.1

============================================================

[fedora core 1]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

============================================================
============================================================

> > ============================================================
> > 
> > [fedora]# ifconfig -a
> > eth0      Link encap:Ethernet  HWaddr 00:30:54:00:76:2C
> >           inet6 addr: fe80::230:54ff:fe00:762c/64 Scope:Link
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:1000
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >           Interrupt:10 Base address:0x1c00
> > 
> > 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:4116 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:4116 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:4916870 (4.6 MiB)  TX bytes:4916870 (4.6 MiB)
> > 
> > sit0      Link encap:IPv6-in-IPv4
> >           NOARP  MTU:1480  Metric:1
> >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> > 
> > ------------------------------------------------------------
> > 
> > [knoppix]# ifconfig -a
> > eth0      Link encap:Ethernet  HWaddr 00:30:54:00:76:2C
> >           inet addr:192.168.0.22  Bcast:192.168.0.255  Mask:255.255.255.0
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:200 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:221 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:100
> >           RX bytes:117060 (114.3 KiB)  TX bytes:26813 (26.1 KiB)
> >           Interrupt:10 Base address:0x3000
> > 
> > lo        Link encap:Local Loopback
> >           inet addr:127.0.0.1  Mask:255.0.0.0
> >           UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:0
> >           RX bytes:600 (600.0 b)  TX bytes:600 (600.0 b)
> > 
> > ============================================================
> 
> I didn't study your problem carefully,
> but you seem to be using IPv6 with Fedora, and IPv4 with knoppix.
> Maybe you should have IPV6INIT=no in ifcfg-eth0 ?
> 
> -- 
> Timothy Murphy  
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193




More information about the fedora-list mailing list