2009-03-17 08:54:02     Using kernel command line to configure ethernet

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-17 08:54:02     Using kernel command line to configure ethernet

Ryan Mitchley (SOUTH AFRICA)

Message: 71103   

 

U-boot is passing the correct kernel command line parameters in: e.g. more /proc/cmdline

 

root=/dev/mtdblock0 rw earlyprintk=serial,uart0,115200 console=ttyBF0,115200 ip=192.168.4.123:192.168.1.50:192.168.0.1:255.255.0.0:cm-bf537e:eth0:off

 

However, eth0 is not being started automatically with these parameters (only lo is up). Should there be something in /etc/rc? (I have tried dhcpcd & and ifconfig commands, but neither of these seem to use the kernel command line parameters. DHCP and hardcodec static configuration in /etc/rc work okay.)

 

I can bring up eth0 manually fine - I'd just like it to start correctly using the passed in parameters automatically at boot.

 

Thans for any help.

 

 

QuoteReplyEditDelete

 

 

2009-03-17 09:26:44     Re: Using kernel command line to configure ethernet

Mike Frysinger (UNITED STATES)

Message: 71110   

 

did you disable the kernel autoconf option in the kernel networking settings ?

 

$ grep CONFIG_IP_PNP linux-2.6.x/.config

CONFIG_IP_PNP=y

QuoteReplyEditDelete

 

 

2009-03-17 10:00:22     Re: Using kernel command line to configure ethernet

Ryan Mitchley (SOUTH AFRICA)

Message: 71114   

 

That would indeed be the problem! Thanks, Mike.

Attachments

    Outcomes