Go Down

Topic: Arduino Ethernet no network connection(toolchain problem on amd64 linux) (Read 7615 times) previous topic - next topic


first of all with IDE on windows all modes work fine.
On Linux no mode works at all. It didn't even succeed the init of e.g. EthernetClient object.


I would like to add some a little comment. Looks like we have a bug at Ethernet class. Following another topic at this forum [1], I have found that Ethernet.begin method expect a different parameter than exposed at the documentation.

version 0022 Ethernet.begin(mac, ip, gateway, subnet);
version 1.0   Ethernet.begin(mac, ip, subnet, gateway);

It is weird. How can I file a bug about it?

[1] http://arduino.cc/forum/index.php?action=printpage;topic=52664.0


Actually, that is incorrect for v1.0. Here are the options for the Ethernet.begin() function:


There is a dns server ip in there too.


Yes, I have just found it out. There is an updated documentation where we can look at this? I am new with arduino too, so I am not really sure where to get this updated documentation. Thanks a lot for your help.


I did not get that from documentation. I dig through the ethernet library source code. It is much better than documentation to me.

Here is a link to the documentation, and it is not correct for either version.


Finally it seems I was able to get a working toolchain on gentoo/AMD64:

Now I was able to compile and run blink and DhcpAdressPrinter  :smiley-mr-green:

I will do some more tests the next few days and report back if this toolchain can be considered stable.

Thanks again to all who tried to help


Insure you report any performance improvements to the Gentoo crew. Does Gentoo have a repository or just a package library?

Debian and Ubuntu suffered from this same kind of stuff. It can be fixed.


Sadly, all infos I used are already reported bugs  :(
What do you mean with performance improvement ?



What I mean by "performance improvement" is going from "not working" to "working". I call that an improvement.  :)

If they are all reported bugs, why does Gentoo have problems with them? Where are you getting the buggy avr toolchain? Is it from the Gentoo repository?

edit: The Ubuntu package manager will insure your install has the recent avr toolchain. That prevents problems like that. There is no "./configure" and "MAKE", just install from the GUI package manager.


Hm good question. the toolchain builder is the one from the repository and it's fetching recent versions of avr* packages. I'm not informed enough to make any guesses why it isn't fixed yet...

Go Up