[ECOS] ethernet initialization error
Gonçalo Antunes
gmma@gmma.net
Thu Apr 7 11:08:00 GMT 2005
On the configtool I added the FreeBsd stack, common ethernet drivers and
ecos http server packages.
I configured mannually the Eth0 settings with the IP's stated below.
The only thing that my application lauches is a thread to run the ecos http
server.
The http server itself inits the network devices with the
init_all_network_interfaces, right?
That's all I've done...
Is there anything more to do that I've missed?
The code for the httpd server is attached.
Thank you very much again.
Gonçalo Antunes.
----- Original Message -----
From: "Gary Thomas" <gary@mlbassoc.com>
To: "Gonçalo Antunes" <gmma@gmma.net>
Cc: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
Sent: Thursday, April 07, 2005 11:48 AM
Subject: Re: [ECOS] ethernet initialization error
> On Thu, 2005-04-07 at 11:44 +0100, Gonçalo Antunes wrote:
>> Hello!
>>
>> I'm doing some tests with my eCos application that will run with network
>> support on a i386 pc with a Realtek PCI network adapter.
>> I've added the FreeBSD network stack and configured the Eth0 settings.
>> When trying to get up the init_all_network_interfaces I get the following
>> error.
>> Can you help?
>>
>>
>> BOOTP[eth0] op: REPLY
>> >> htype: Ethernet
>> >> hlen: 6
>> >> hops: 0
>> >> xid: 0x0
>> >> secs: 0
>> >> flags: 0x0
>> >> hw_addr: ff:ff:ff:ff:ff:ff
>> >> client IP: 192.168.0.200
>> >> my IP: 192.168.0.200
>> >> server IP: 192.168.0.1
>> >> gateway IP: 192.168.0.1
>> >>
>> >> options:
>> >> subnet mask: 255.255.255.0
>> >> IP broadcast: 192.168.0.255
>> >> gateway: 192.168.0.1
>> >> SIOCIFADDR: Device not configured
>> >> Network initialization failed for eth0
>
> You've not told us enough to be able to comment.
>
> How did you configure your system to achieve these settings?
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd.c
Type: application/octet-stream
Size: 17208 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20050407/0897cb3c/attachment.obj>
-------------- next part --------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list