8 Replies Latest reply on Mar 19, 2015 5:14 PM by ForumMigrationAdmin

    Intel Galileo Gen2 & static TCP/IP



      We're developing an application that needs a static TCP/IP network configuration.

      The application is developed in the Intel Arduino IDE and is running on an SD-card (1.0.4-firmware).

      The problem now is that we're not able to configure the static IP on boot !

      So far we're able to configure the static IP, but changing the default gateway simply doesn't work from within the sketch.

      Can anyone help me out here ?

      My code :

        // Ethernet.begin(mac,ip,gateway,subnet); does not work at al
        system("ifconfig eth0 netmask up");
        system("route add -net netmask gw dev eth0"); does not work
        system("sudo /etc/init.d/networking restart");