DHCP doesn't work

I start from uboot without configuring the ethernet connection via kernelparameters (as uboot environment is fix).

If I try to setup eth0 for DHCP I fail

"ifconfig eth0 dynamic up" gives back with "ifconfig" everything, but no IP address.

[root@here ]# ifconfig eth0 dynamic up
eth0: link down
eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[root@here]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:22:33:02:02
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:181 DMA chan:ff

Otherwise calling linux it with kernel parameters "ip=dhcp" it works fine.

So any idea what might go wrong there?

If I check with ps the process list, I can't see any dhcp related service. Is this the reason? How to start this?

Best regards

Arno

If i try 'ifup eth0' ifup executes dhclient with invalid arguments.
Not sure if that's related.

I "fixed" it by editing the binary and blanking out the -v arguments.

Thanks for help.

You mentioned dhclient. I couldn't find a command like this on my system (only dhcprelay).
Is it necessary to have this on the system or can I use somehow the internal kernel mechanism?
(As I can see the kernel can do this while booting).

ifdown: can't open '/etc/network/interfaces': No such file or directory

I guess this is not the problem as I can start and stop eth via ifconfig.

Best regards
Arno