Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default IP for ECW5211-L build #30

Open
jmpolom opened this issue Jan 13, 2022 · 0 comments
Open

Default IP for ECW5211-L build #30

jmpolom opened this issue Jan 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jmpolom
Copy link

jmpolom commented Jan 13, 2022

I think it would be a better install experience if the replica.one build for the ECW5211-L devices defaulted to a static IP on the default bridge instead of relying on DHCP.

The issue with DHCP is that to be able to ssh into the device after flashing, you need to look through your DHCP server logs and identify the IP which was assigned. Additionally, for the 2 devices I flashed with replica, both seemed to have "issues" promptly obtaining an IP address via DHCP on the default bridge for some reason. Neither device quickly (took >> 10 seconds + user action) obtained a DHCP address on first boot after flash; I had to power cycle and unplug/replug the Ethernet cable before they finally obtained an IP.

I don't believe my DHCP server (dnsmasq in this case) is faulty but suspect there's some lag between when networkd comes up and when it solicits for a DHCP address on the bridge. This really slows down the verification process when flashing a number of these devices which tends to be a manual process.

My thoughts are the default network configuration could be improved by:

  • adding Address=192.168.1.1/24 to [Network] section in /etc/systemd/network/br-lan.network

This would ensure a static address is available on the bridge interface in the event DHCP fails or isn't present where the device is being tested.

cc: @storrgie

@jpetrina jpetrina added the enhancement New feature or request label Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants