From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Christian Plessl Cc: bartv@redhat.com, ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] Configuration of static IP addresses Date: Tue, 09 Jan 2001 16:31:00 -0000 Message-id: <3A5BAD7A.DC504F93@redhat.com> References: <5.0.2.1.0.20010108214630.00a19450@imap.ee.ethz.ch> <5.0.2.1.0.20010108142815.00a7e010@imap.ee.ethz.ch> <5.0.2.1.0.20010109232816.00a083f0@imap.ee.ethz.ch> X-SW-Source: 2001-01/msg00140.html Christian Plessl wrote: > > >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 Purely FYI, you should have found that the latter two would have automatically got set to 0 if you used "ecosconfig resolve". Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine