[ECOS] Configuration of static IP addresses
Christian Plessl
cplessl@ee.ethz.ch
Tue Jan 9 14:28:00 GMT 2001
>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>
More information about the Ecos-discuss
mailing list