Hi, i’ve created a ubuntu-image via debootstrap and 4.14.48 and got it booting…i hang on enabling the network-interfaces
Ubuntu 18.04 LTS bpi-r2-ubuntu ttyS0
bpi-r2-ubuntu login: root
Password:
Last login: Sun Jan 28 15:58:28 UTC 2018 on ttyS0
Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.14.48-bpi-r2-main armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
root@bpi-r2-ubuntu:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul
t qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen
1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
3: wan@eth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group d
efault qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
4: lan0@eth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
5: lan1@eth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
6: lan2@eth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
7: lan3@eth0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
root@bpi-r2-ubuntu:~# cat /etc/network/interfaces
# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown
auto eth0
iface eth0 inet manual
pre-up ip link set $IFACE up
post-down ip link set $IFACE down
auto lan0
iface lan0 inet static
#hwaddress ether 08:00:00:00:00:00 # if you want to set MAC manually
address 192.168.0.11
netmask 255.255.255.0
gateway 192.168.0.10
pre-up ip link set $IFACE up
post-down ip link set $IFACE down
i have used same config as on debian, but here it does not work…any idea why? i also tried manually setting up the interfaces eth0 and lan0 via (have to first bring lan0 up and then eth0) to get this:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP gr
oup default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::4e5:14ff:fe13:9ba8/64 scope link
valid_lft forever preferred_lft forever
4: lan0@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default qlen 1000
link/ether 06:e5:14:13:9b:a8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::4e5:14ff:fe13:9ba8/64 scope link
valid_lft forever preferred_lft forever