[En-Nut-Discussion] Starting...

Guillaume LAGORCE - RubiSoft gl at rubisoft.fr
Wed Oct 5 17:08:30 CEST 2005


Hi All,

I tried to download the http sample given with ethernut on my Ethernut board
2.1b with AVRStudio and SP Duo (using JTAG connector don't worried :). I
made this only change to the original source code :
//if (NutDhcpIfConfig("eth0", 0, 60000)) {
{
u_char mac[] = { MYMAC };
u_long ip_addr = inet_addr(MYIP);
u_long ip_mask = inet_addr(MYMASK);

puts("EEPROM/DHCP/ARP config failed");
NutNetIfConfig("eth0", mac, ip_addr, ip_mask);
}

I did it because I would like to use the IP address of my choice.
When I try to ping the IP address I choosed, it doesn't work at all.
Is there anybody who can help me with?

Thank you all,

Regards,
___________________
Guillaume LAGORCE
Société RubiSoft
Service R&D
tél: +33(0)1 53 94 79 95
web : www.rubisoft.fr
email: gl at rubisoft.fr
___________________



More information about the En-Nut-Discussion mailing list