Home Forums Software discussion OS – ubuntu Static IP Address Assignment Reply To: Static IP Address Assignment

#1535
deleted
Participant

When I got my boards yesterday and after discarding my buildroot image, I attempted to set up network on my ubuntu image.
No luck in getting static ip working adding files to /etc/network/interfaces.d/
So I went to sleep and when I got up, I started trying out the examples on this thread.
I couldn’t get any of them working unmodified.
I couldn’t get static IP working.

I did get dynamic IP working for wan:
auto eth0
iface eth0 inet manual

auto lo
iface lo inet loopback

auto wan
iface wan inet dhcp
pre-up /sbin/ifconfig eth0 up

… If anyone succeeds in getting static ip working for all 3 interfaces, please post here (even if the thread gets old).
Note: I’m using the rootfs.tar.bz2 from ubuntu-16.04.3.zip with a 2GB board.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop