I have a C# .net application running in my own embedded custom linux distro generated by buildroot tool, my hardware is a FriendlyArm4412. I use eth0 interfaces to connect my application to the internet without any problem. The problem is: If I connect the ethernet cable before the system boot everything is OK but if I plug the cable after the system boot my system can't get an ip address. I see this because my application shows on the screen "ip address: 127.0.0.1" which is just my local address.
I've already tried to use the Connman network manager which worked very well for the problem above, but I realized that connman ignores my /etc/network/interfaces settings which is bad because my application sets up some things in this file, like static ip address, wlan0 interface, etc.
What can I do ? Any idea ?