Generic-x86-64 no internet access within HA, but underlying system is fine

Hey, I’ve just installed Home Assistant OS on a bare metal mini pc. Did that via etcher-ing the image directly to the ssd of the system. Everything’s working fine except for the internet access from within home assistant. The underlying system (ssh to port 22222) has internet access just fine, but home assistant itself does not. Does anyone have an idea?

Little context:

# ha network info
docker:
  address: 172.30.32.0/23
  dns: 172.30.32.3
  gateway: 172.30.32.1
  interface: hassio
host_internet: true
interfaces:
- connected: false
  enabled: false
  interface: enp2s0
  ipv4:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  ipv6:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  mac: 00:E0:4C:61:73:26
  primary: false
  type: ethernet
  vlan: null
  wifi: null
- connected: true
  enabled: true
  interface: enp3s0
  ipv4:
    address:
    - 192.168.1.97/24
    gateway: 192.168.1.1
    method: static
    nameservers:
    - 8.8.8.8
    ready: true
  ipv6:
    address:
    - fe80::da37:ede8:47ce:118d/64
    gateway: null
    method: disabled
    nameservers: []
    ready: true
  mac: 00:E0:4C:61:73:27
  primary: true
  type: ethernet
  vlan: null
  wifi: null
- connected: false
  enabled: false
  interface: wlp1s0
  ipv4:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  ipv6:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  mac: A8:43:A4:0D:B3:B5
  primary: false
  type: wireless
  vlan: null
  wifi: null
supervisor_internet: true
# nmcli
enp3s0: connected to Supervisor enp3s0
        "enp3s0"
        ethernet (r8169), 00:E0:4C:61:73:27, hw, mtu 1500
        ip4 default
        inet4 192.168.1.97/24
        route4 192.168.1.0/24 metric 100
        route4 default via 192.168.1.1 metric 100
        inet6 fe80::da37:ede8:47ce:118d/64
        route6 fe80::/64 metric 1024

wlp1s0: disconnected
        "wlp1s0"
        1 connection available
        wifi (rtw_8821ce), A8:43:A4:0D:B3:B5, hw, mtu 1500

enp2s0: unavailable
        "enp2s0"
        ethernet (r8169), 00:E0:4C:61:73:26, hw, mtu 1500

docker0: unmanaged
        "docker0"
        bridge, 02:42:2A:EE:A9:C9, sw, mtu 1500

hassio: unmanaged
        "hassio"
        bridge, 02:42:8D:1C:32:E0, sw, mtu 1500

veth10c004c: unmanaged
        "veth10c004c"
        ethernet (veth), BA:8C:E4:4B:DC:D3, sw, mtu 1500

veth1202539: unmanaged
        "veth1202539"
        ethernet (veth), 66:07:33:E6:5B:2D, sw, mtu 1500

That all looks good. Go to Settings → System → Network, select your network adaptor and expand the IPv4 protocol box. What are your DNS settings?

Everything’s correct there. I’ve had both my self hosted dns server as well as 8.8.8.8 in there, both didn’t work.

What are you trying to contact that you can’t?

It can contact nothing. This includes installing some addons, devices like weather, the home assistant cloud, default speech synthesis, etc.

Is your self hosted DNS / firewall blocking it?

I’ve checked that. No luck there. And it also doesn’t work with google name servers, so I don’t think the dns is the issue.

Edit: I’m just gonna run debian 12 and a hasos vm in it. That should hopefully work better.

Hi nerdwave,

I wondered if you got anywhere with this. I’m also using generic X86-64 and Etcher to deploy it to an old core i7. I can see Home assistant on the network and I can access the Web portal on port 8123 but it does appear to think its not connected to the internet. I can’t run updates or install add ons services etc. It has found all the devices on my network so it is happy internally. I also have a VM running Home Asisstant from my Hyper-v server and that behaves no problem at all.

I get an error ‘AddonManager.install’ blocked from execution, no host internet connection’. Checking my Network settings I have tried my DNS set as my router (192.168.1.1) and googles public dns 8.8.8.8 neither option has worked. The laptop is connected via Ethernet as I suspect the wifi connection will need drivers that probably aren’t on haOS, and on checking the WIfi settings WL2SO it appears to be disabled and I am unable to change anything on it. Could that be the source of the network issue?

I’m running:
Home Assistant 2023.10.5
Supervisor 2023.10.1
Operating System 11.1
Frontend 20231005.0 - latest

If anyopne has any ideas or requires logs/Diagnostics please let me know

Thanks,

Peter