@mfalkvidd i've tried to comment that, when i compile it with AVR boards v 1.6.15 it just restarts all the time. Tried with v1.6.8 and then it stopped restarting. However, i still can't ping my gateway. I've seen that other people get a message that the gateway has started, but i don't get that.