[En-Nut-Discussion] Bootmon uses different network name than Nut/OS
mafuko
mafuko at gmail.com
Mon Apr 7 11:41:42 CEST 2008
Hello,
Which part of source should I modify to get Nut/OS working?
I tried to change string "ETHERNUT" to "eth0" in confnet structure in
file config.c, but it didn't work. Neither worked changing
DEV_ETHER_NAME to "ETHERNUT" in board.h ??? I have 4.4.1 version but I
tried it with 4.1.9 and the same error :(
> Hi all!
>
> Bootmon (1.0.2) contains init-data for the "confnet" structure in config.c
> which is used by BootConfigWrite() when new ip/mask/gateway values are
> entered:
>
> <snip>
> /*!
> * \brief Nut/OS network configuration.
> */
> CONFNET confnet = {
> 0,
> {'E', 'T', 'H', 'E', 'R', 'N', 'U', 'T', 0}
> ,
> {0x00, 0x06, 0x98, 0x30, 0x00, 0x00}
> ,
> 0, 0, 0, 0
> };
> </snip>
>
> Here, the netwok name is "ETHERNUT" while Nut/OS (or at least those apps I
> have seen so far) uses "eth0".
>
> This causes an app which is loaded by bootmon not to find a valid
> network-config in case the (default) name "eth0" is used with the
>
> NutNetLoadConfig (name);
>
> function call.
>
> Is this done on purpose while \NUT\INCLUDE\DEV\BOARD.H contains:
> #define DEV_ETHER_NAME "eth0"
>
> ??
> Regards
> Ernst
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>
More information about the En-Nut-Discussion
mailing list