[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
netdemo problem
- Date: Sun, 6 Jan 2008 16:46:37 +0800
- From: fall4ufeng at gmail.com (朱旭峰)
- Subject: netdemo problem
Hello:
I met some problems when I debug the netdemo.exe.
The information is:
Can't set rhine_eth1 address: Not owner
Can't set default route: Network is unreachable
And my networkconfig.h is :
static struct rtems_bsdnet_ifconfig netdriver_config = {
"rhine_eth1", /* name */
rtems_rhine_driver_attach, /* attach function */
NULL, /* No more interfaces */
"192.168.0.2", /* IP address */
"255.255.255.0", /* IP net mask */
NULL, /* Driver supplies hardware address */
0 /* Use default driver parameters */
};
/*
* Network configuration
*/
struct rtems_bsdnet_config rtems_bsdnet_config = {
&netdriver_config,
NULL,
100, /* Default network task priority */
128*1024, /* Default mbuf capacity */
256*1024, /* Default mbuf cluster capacity */
"rtems_host", /* Host name */
"localnet", /* Domain name */
"192.168.0.1", /* Gateway */
"192.168.0.1", /* Log host */
{"192.168.0.1" }, /* Name server(s) */
{"192.168.0.1" }, /* NTP server(s) */
/
};
any help will be appreciated .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20080106/412c97ed/attachment.html