- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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 192.168.102.85 netmask 255.255.0.0 up");
system("route add -net 192.168.102.1 netmask 255.255.255.0 gw 192.168.102.1 dev eth0"); does not work
system("sudo /etc/init.d/networking restart");
Regards
- Tags:
- Internet of Things
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
which SD card image do you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SD card image : http://downloadmirror.intel.com/24355/eng/SDCard.1.0.4.tar.bz2
Application developed with : Arduino Software 1.5.3 - Intel 1.0.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok - not obvious from it's name but still: in this IDZ forum the focus is mostly on the Intel(R) IoT developer kit which comes with a different image. So I'd suggest posting your question at https://communities.intel.com/community/makers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, I'll try this but I cannot login to https://communities.intel.com/community/makers
Error :
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could this be a proxy / network issue on your side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it's not a network-issue.
When I upload the sketch everything works fine but after a couple of minutes network is lost.
Also the same after a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was referring to:
OK, I'll try this but I cannot login to https://communities.intel.com/community/makers
Error :
500 - Internal server error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I upgraded the firmware to the IoT-version and now it works !
I changed the ip with connmanctl and it stays fixed, even after powerloss.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page