0
shadow

EspressoBIN - using wan and lan interfaces without br

Recommended Posts

i have a problem to get the Interfaces of the Board up at boot without the Bridge.

What i found out is that the eth0 comes up to late so it could not find the other Interfaces.

 

So how could i do something like eth0 post-up ifconfig wan up with systemd-networkd?

Or could i change the order how the Interfaces will be initialize at boot?

 

could somebody Help me with this Topic?

 

System Info

ARMBIAN 5.59 stable Debian

 

networkctl status -a (snippet)

 

4: eth0

 Link File: /lib/systemd/network/99-default.link

 Network File: /etc/systemd/network/10-eth0.network

 Type: ether

 State: degraded (configuring)

 Path: platform-d0030000.ethernet

 Driver: mvneta

 

5: wan

 Link File: /lib/systemd/network/99-default.link

 Network File: /etc/systemd/network/10-wan.network

 Type: ether

 State: off (configuring)

 Path: platform-d0032004.mdio

 Driver: dsa

Share this post


Link to post
Share on other sites

I've found a workaround but only for the traditional way of configuring network interfaces via /etc/network/interfaces.d:

 

auto eth0
iface eth0 inet manual

 

auto lan0
iface lan0 inet dhcp
  pre-up /sbin/ifup eth0

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0