Odroid N2+ installation - ethernet doesn't work (no IP assigned)

Hi, recently did a reinstall of HA on an Odroid N2+.

Installation has worked as can access the CLI via a monitor, yet does not appear on network. The network info command shows that there is no IP assigned to IPV4.

Any advice on how to assign this?

Thanks in advanced

Are you sure it is connected to a dhcp server?

1 Like

when HA cannot get a DHCP address it will not display an IP address. The issue is not HA; the issue is network related and you need to check why your Odroid cannot get an IP address. Check your router/gateway or anything else that might be blocking DHCP like for example VLANs, firewalls, etc.

Also check your cables from Odroid to the DHCP server (most likely you router/gateway).

1 Like

network update --help

will give you info on how to set an address etc

Update network interface settings of a specific adapter.

Usage:
ha network update [interface] [flags]

Aliases:
update, set, up

Examples:

ha network update eth0 --ipv4-method auto --ipv6-method disabled

Flags:
-e, --disabled Disable interface
-h, --help help for update
–ipv4-address stringArray IPv4 address for the interface in the 192.168.1.5/24
–ipv4-gateway string The IPv4 gateway the interface should use
–ipv4-method string Method on IPv4: static|auto|disabled
–ipv4-nameserver stringArray Upstream DNS servers to use for IPv4. Use multiple times for multiple servers.
–ipv6-address stringArray IPv6 address for the interface in the 2001:0db8:85a3:0000:0000:8a2e:0370:7334/64
–ipv6-gateway string The IPv6 gateway the interface should use
–ipv6-method string Method on IPv6: static|auto|disabled
–ipv6-nameserver stringArray Upstream DNS servers to use for IPv6. Use multiple times for multiple servers.
–wifi-auth string Used authentication: open, wep, wpa-psk
–wifi-mode string Wifi mode: infrastructure, adhoc, mesh or ap
–wifi-psk string Shared authentication key for wep or wpa
–wifi-ssid string SSID for wifi connection

Global Flags:
–api-token string Home Assistant Supervisor API token
–config string Optional config file (default is $HOME/.homeassistant.yaml)
–endpoint string Endpoint for Home Assistant Supervisor (default is ‘supervisor’)
–log-level string Log level (defaults to Warn)
–no-progress Disable the progress spinner
–raw-json Output raw JSON from the API

The original install had been running fine for over a year and randomly lost connection last month (never checked network info at the time) and decided just to do a reinstall. So dhcp had been working fine on the router before.

Was wondering if there was an issue with how eth0 was configured on the odroid .

*edit: dhcp is definitely enabled on the router

Thanks will a play with this.

Been trying since yesterday, hugely frustrating.

Undoubtedly!

If you set the ipv4 address, gateway and dns you should be able to get started.

1 Like

Did you ever get this sorted, or at least found what caused it?

I’ve got the same problem, new Odroid N2+ board, HA starting (can see the supervisor coming up) but doesn’t show an IP address on the terminal and doesn’t get an address from the router.

I can’t find anything wrong apart from the network simply not wanting to get started. Green n/w activity LED shows activity (blinking in kind of a random order) but nothing happens.

1 Like

similar issue - weird solution. HA was working great on Odroid N2+ with a 32GB eMMC until it dropped off the network (host_internet: false). Much effort at the command prompt would occasionally get it back on , only to drop off next reboot. After much frustration, gave up and moved HA to Raspberry pi, and all good (except much much slower). Now trying to use Odroid for other things, and I find that neither ubuntu nor armbian installed on the 32GB eMMC reliably get ip address. On a lark I switched to a 16GB eMMC and now both ubuntu and armbian work fine. Go figure. Now suspect that if I install ha on the 16GB eMMC it would it work fine.

1 Like

Yeh managed to get this fixed. Still not sure why it works but it does. For some reason the Odroid only runs from port 1 on my router, no other ports or a splitter works.

So the install I did previously was fine, it’s just that the odroid wasn’t getin data from the router until it went into port and it has to be the first device plugged into the router. Random as hell.

Working fine at the moment although my HA Yellow arrived this week so may switch to that depending if get any more issues on the odroid

Can you please check what is the ethernet led color when it’s connected to port 1? And what is the color for the other ports?
In my tests, when the led light is orange (1000 Mbps) it’s not getting an IP from the router, and when the led light is green (100 Mbps) it does.

Mine stopped working this week after power outage reset the router. Back to square one now