This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Configuration of static IP addresses



>There are three configuration options that implement the way the IP
>address is determined: CYGHWR_NET_DRIVER_ETH0_MANUAL, BOOTP, and
>ADDRS. The default is BOOTP. Only one of these can be enabled, so you
>need to disable the default option BOOTP and then enable ADDRS.
>
>If you look at CYGHWR_NET_DRIVER_ETH0_SETUP where the problem is
>reported, you should see something like:
>
>cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP {
>     # Implemented by CYGHWR_NET_DRIVER_ETH0_MANUAL, active, disabled
>     # Implemented by CYGHWR_NET_DRIVER_ETH0_BOOTP, active, enabled
>     # Implemented by CYGHWR_NET_DRIVER_ETH0_ADDRS, active, disabled
>     ...
>}
>
>This lists all the relevant configuration options.

Now it works.

I had to set all the following options

CYGHWR_NET_DRIVER_ETH0_ADDRS => user_value 1
CYGHWR_NET_DRIVER_ETH0_ADDRS_IP => user_value 192.168.1.50
CYGPKG_NET_DHCP =>  user_value 0
CYGHWR_NET_DRIVER_ETH0_BOOTP =>  user_value 0

Thanks for your help.

Chris


--
Christian Plessl <cplessl@ee.ethz.ch>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]