Weird DHCP behavior

Weird DHCP behavior

Post by Jan Cha » Wed, 28 Apr 1999 04:00:00



Hello,

I have RH 5.2 and I have been trying for more than 5 days to setup the cable
network connection thru DHCPcd. I downloaded the latest dhcpcd version then
compiled it and it seemed to work well. But when I try to activate the eth0
interface with the DHCP option (through RH's netcfg or with "ifup eth0") the
output is:

Using DHCP for eth0... failed.

And "ifconfig" shows only the local loopback, not the eth0. I also
configured the "activate at boot" option and during the boot I get a similar
message:

Using DHCP for eth0... modprobe: cannot locate net-pf-17
failed.

I can define the alias for net-pf-17 as "off" in /etc/conf.modules, and in
that case I don't get the "cannot locate" message; still, the network is
unreachable because the eth0 is never configured.

Help!


 
 
 

Weird DHCP behavior

Post by Johannes Nie » Wed, 28 Apr 1999 04:00:00



>Hello,
>I have RH 5.2 and I have been trying for more than 5 days to setup the cable
>network connection thru DHCPcd. I downloaded the latest dhcpcd version then
>compiled it and it seemed to work well. But when I try to activate the eth0
>interface with the DHCP option (through RH's netcfg or with "ifup eth0") the
>output is:
>Using DHCP for eth0... failed.
>And "ifconfig" shows only the local loopback, not the eth0. I also
>configured the "activate at boot" option and during the boot I get a similar
>message:
>Using DHCP for eth0... modprobe: cannot locate net-pf-17
>failed.
>I can define the alias for net-pf-17 as "off" in /etc/conf.modules, and in
>that case I don't get the "cannot locate" message; still, the network is
>unreachable because the eth0 is never configured.

Hello Jan,

The module for your ethernet card is missing. It looks like you
compiled your own kernel and forgot

make modules; make modules_install

No programm can work without the module.

Johannes Niess

 
 
 

Weird DHCP behavior

Post by Jan Cha » Sat, 01 May 1999 04:00:00


Hello,

thank you for your mail: please look at my reactions in the text below:



> >Hello,

> >I have RH 5.2 and I have been trying for more than 5 days to setup the
cable
> >network connection thru DHCPcd. I downloaded the latest dhcpcd version
then
> >compiled it and it seemed to work well. But when I try to activate the
eth0
> >interface with the DHCP option (through RH's netcfg or with "ifup eth0")
the
> >output is:

> >Using DHCP for eth0... failed.

> >And "ifconfig" shows only the local loopback, not the eth0. I also
> >configured the "activate at boot" option and during the boot I get a
similar
> >message:

> >Using DHCP for eth0... modprobe: cannot locate net-pf-17
> >failed.

> >I can define the alias for net-pf-17 as "off" in /etc/conf.modules, and
in
> >that case I don't get the "cannot locate" message; still, the network is
> >unreachable because the eth0 is never configured.

> Hello Jan,

> The module for your ethernet card is missing. It looks like you
> compiled your own kernel and forgot

> make modules; make modules_install

> No programm can work without the module.

> Johannes Niess

I compiled the modules and installed them. I have still the same problem.
The ethernet card IS recognized by Linux, here is the log:

Apr 30 00:38:25 daneel kernel: ne2k-pci.c:v0.99L 2/7/98 D. Becker/P.
Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
Apr 30 00:38:25 daneel kernel: ne2k-pci.c: PCI NE2000 clone 'RealTek
RTL-8029' at I/O 0xe400, IRQ 12.
Apr 30 00:38:25 daneel kernel: eth0: PCI NE2000 found at 0xe400, IRQ 12,
00:00:E8:E3:C9:A7.
Apr 30 00:38:58 daneel dhcpcd[569]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:42:48 daneel dhcpcd[630]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:47:13 daneel dhcpcd[714]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:48:38 daneel dhcpcd[750]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:55:08 daneel modprobe: can't locate module net-pf-17
Apr 30 00:55:08 daneel dhcpcd[769]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:55:18 daneel modprobe: can't locate module net-pf-17
Apr 30 00:55:18 daneel dhcpcd[772]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:55:25 daneel modprobe: can't locate module net-pf-17
Apr 30 00:55:25 daneel dhcpcd[799]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:56:11 daneel modprobe: can't locate module net-pf-17
Apr 30 00:56:11 daneel dhcpcd[804]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:56:36 daneel modprobe: can't locate module net-pf-17
Apr 30 00:56:36 daneel dhcpcd[810]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:56:44 daneel modprobe: can't locate module net-pf-17
Apr 30 00:56:44 daneel dhcpcd[838]: dhcpStart: socket: Paramhtre invalide.
Apr 30 00:58:42 daneel modprobe: can't locate module net-pf-17
Apr 30 00:58:42 daneel dhcpcd[872]: dhcpStart: socket: Paramhtre invalide.
Apr 30 01:00:30 daneel modprobe: can't locate module net-pf-17
Apr 30 01:00:30 daneel dhcpcd[880]: dhcpStart: socket: Paramhtre invalide.
Apr 30 01:02:50 daneel modprobe: can't locate module net-pf-17
Apr 30 01:02:50 daneel dhcpcd[888]: dhcpStart: socket: Paramhtre invalide.

As you can see, the ethernet card is found, but the DHCPcd does not manage
to configure it. I'm going mad!

When I do 'ifup eth0' I always get "failed".

Thank you for your help!

    Jan

 
 
 

Weird DHCP behavior

Post by Joe Fo » Thu, 20 May 1999 04:00:00



> I have RH 5.2 and I have been trying for more than 5 days to setup the cable
> network connection thru DHCPcd. I downloaded the latest dhcpcd version then
> compiled it and it seemed to work well. But when I try to activate the eth0
> interface with the DHCP option (through RH's netcfg or with "ifup eth0") the
> output is:

> Using DHCP for eth0... failed.

The latest dhcp is designed for the 2.2.x kernel. If you haven't updated
the kernel yet, that's what you need to do now. (RH 5.2 comes with 2.0.36
I think) Anyway, that's the first thing to check...

Quote:> And "ifconfig" shows only the local loopback, not the eth0. I also
> configured the "activate at boot" option and during the boot I get a similar
> message:

> Using DHCP for eth0... modprobe: cannot locate net-pf-17
> failed.

It does seem that you haven't updated the kernel yet. Try either getting
the previous version of DHCPc or the newer kernel.

-Joe Fox
 UNIX Software Engineer

 
 
 

Weird DHCP behavior

Post by somebo » Sun, 30 May 1999 04:00:00


The reason why only the loopback interface shows when you type in ifconfig is
because dhcp failed to assign eth0 an IP address.

Harland




>> I have RH 5.2 and I have been trying for more than 5 days to setup the cable
>> network connection thru DHCPcd. I downloaded the latest dhcpcd version then
>> compiled it and it seemed to work well. But when I try to activate the eth0
>> interface with the DHCP option (through RH's netcfg or with "ifup eth0") the
>> output is:

>> Using DHCP for eth0... failed.

>The latest dhcp is designed for the 2.2.x kernel. If you haven't updated
>the kernel yet, that's what you need to do now. (RH 5.2 comes with 2.0.36
>I think) Anyway, that's the first thing to check...

>> And "ifconfig" shows only the local loopback, not the eth0. I also
>> configured the "activate at boot" option and during the boot I get a similar
>> message:

>> Using DHCP for eth0... modprobe: cannot locate net-pf-17
>> failed.

>It does seem that you haven't updated the kernel yet. Try either getting
>the previous version of DHCPc or the newer kernel.

>-Joe Fox
> UNIX Software Engineer


 
 
 

1. Repost: DHCP weird behaviour

Nick Heinemans schrieb:
First of all keep in mind that a DHCP Server *MUST* have a static IP!

Secondly that sounds like a resolving problem!
Looks like your Windows gets the information that there is a DHCP Server
and even gets its name
but cannot resolve it (correctly).
And after all: the DHCPd delivered with Red Hat is AFAIR *NOT* a DHCP
Server but a DHCP configuration daemon usesd to configure your Linux Box
via DHCP! So no wonder that w2k tells you that it cannot reach the dhcp
server :-)

mfg
Wastl

2. rpcbind and RPC calls through a firewall ...

3. : Weird ">" redirect behavior vs. ">>" redirect behavior

4. Looking for a CD Player for Solaris

5. Firewall+DHCP (pump) Strange DHCP behavior HELP!

6. EtherNOT card

7. Weird Ping, weird FTP, weird Telnet... HELP!!!

8. Linux binaries on FreeBSD 3.3-R : One question

9. Weird, weird, weird issue ....

10. Weird startx behavior

11. Weird behavior during Sol7 install

12. Weird read/write behaviour

13. Please help with weird FTP behavior through browser