This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: TCP socket problem : connect and bind
On Fri, Jun 17, 2005 at 10:24:06AM -0700, Matt Jerdonek wrote:
>
> > BOOTP/DHCP failed on eth0
> > Server Redboot !
> > error in Connexion, connect()
> > opening port 50..
> > error in OpenPort, bind()error
> >
> >
> >
> > <=
> >
> > I don't have a dhcp server since at the beginning of
> > the start up the
> > ip is correct.
>
> Since you don't have a DHCP server, I suggest you
> disable DHCP and manually assign the IP address.
> Check your ecc file and look for
> CYGHWR_NET_DRIVER_ETH0_MANUAL (set to 1)
> CYGHWR_NET_DRIVER_ETH0_BOOTP (set to 0)
> Of course then you'll have to setup the IP address,
> mask and gateway in the CDL as well.
Also remember that RedBoot and the application need different IP
addresses.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss