EspressoBIN networking problem

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

EspressoBIN networking problem

Postby jernst » Sun Jun 04, 2017 4:28 am

Installed with fresh copy of boot image downloaded an hour ago. Connected upstream Ethernet to port next to blue USB.

Problem: No network connectivity. No DHCP-address-issued-message logged on my upstream DHCP server.

$this->bbcode_second_pass_code('', '
[root@alarm ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 532
link/ether f0:ad:4e:03:68:d0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::f2ad:4eff:fe03:68d0/64 scope link
valid_lft forever preferred_lft forever
3: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether ca:13:47:98:d8:a5 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/24 brd 10.0.0.255 scope global br0
valid_lft forever preferred_lft forever
')

Now if I remove all files from /etc/systemd/network, and just put a single eth0.network there that looks as follows:

$this->bbcode_second_pass_code('', '
[Match]
Name=eth0

[Network]
DHCP=yes
BindCarrier=eth0
IPForward=ipv4
')

The DHCP server duly reports that it handed out an IP address, and I get what I expect to see on the EspressoBIN:

$this->bbcode_second_pass_code('', '
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 532
link/ether f0:ad:4e:03:68:d0 brd ff:ff:ff:ff:ff:ff
inet 192.168.138.113/24 brd 192.168.138.255 scope global dynamic eth0
valid_lft 43119sec preferred_lft 43119sec
inet6 fe80::f2ad:4eff:fe03:68d0/64 scope link
valid_lft forever preferred_lft forever
')

I get this regardless which of the Ethernet ports I plug into.

If I use the above file for 'wan' instead of 'eth0', and just "mention" 'eth0' as the original configuration:

$this->bbcode_second_pass_code('', '
[Match]
Name=eth0
')
again nothing happens.

Does the out-of-the-box configuration work for anybody? The EspressoBIN would be a nice device if I could make it work as a router ...
jernst
 
Posts: 75
Joined: Tue Aug 20, 2013 4:22 pm
Location: Silicon Valley

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 10 guests