Home Assistant OS (Hyper-V) Supervisor takes eth0 connection

i am having this weird issue and i am not sure how to accurately describe it. i took a screen shot below but supervisor (in hass) is commodering the network interface, which completely obliterates my connectivity.

the only way i can deal with it is if i delete the connection “Supervisor eth0” and then set ipv4.method auto. but it will happen again and again. its bad enough that i am running it in hyperv, but now… not only do i have to fiddle with hyperv constantly, i also have to fiddle with home assistant.

there is no easy way to just restore some default network configuration or something and everything has to be manually typed in which is frustrating for the long commands tht are required. and to top it off there is also no scrolling in the hyperv window for the hass os cli which is mildly retarded tbh. here we have a home assistant that is suppose to make life easier, but you cant copy and paste or scroll the cli. nice

edit: lol now it is using lo as the network interface fml

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] samba.sh: executing... 
[23:26:38] INFO: Hostname: homeassistant
[23:26:38] INFO: Interfaces: eth0 lo 
No builtin backend found, trying to load plugin
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0
Added user homeassistant.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.13.17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registered MSG_REQ_POOL_USAGE
added interface eth0 ip=192.168.254.33 bcast=192.168.254.33 netmask=255.255.255.255
added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
create_subnets: Ignoring loopback interface.
create_subnets: ignoring non IPv4 interface.
making subnet name:192.168.254.33 Broadcast address:192.168.254.33 Subnet mask:255.255.255.255
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
smbd version 4.13.17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
Processing section "[media]"
added interface eth0 ip=192.168.254.33 bcast=192.168.254.33 netmask=255.255.255.255
added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
INFO: Profiling support unavailable in this build.
Registered MSG_REQ_POOL_USAGE
No builtin backend found, trying to load plugin
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
waiting for connections
queue_query_name: interface 1 has NULL IP address !
check_for_master_browser_fail: Forcing election on workgroup WORKGROUP subnet 192.168.254.33
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.254.33
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.254.33
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.254.33
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.254.33
send_election_dgram: Sending election packet for workgroup WORKGROUP on subnet 192.168.254.33
run_elections: >>> Won election for workgroup WORKGROUP on subnet 192.168.254.33 <<<
become_local_master_browser: Starting to become a master browser for workgroup WORKGROUP on subnet 192.168.254.33
*****
Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.254.33
*****
Got SIGTERM: going down...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

also the subnet is wrong i believe. it should be 255.255.255.0.

well i am not sure why, but after hours and hours of it not working, it just started working on its own. all i did was deleted the supervisor eth0 connection which defaulted it to home assistant os connection. then spent 3 hours cussing the developers of this add on. and i guess i said the magic cuss word finally XD

good luck to all of you who face this problem. gg no re

EDIT: oh i did reset " Nginx Proxy Manager" database in the configuration… but this was about an hour or so before it started working again… so i dont know if it had anything to do with it. my log still says the same thing pretty much except it now shows i successfully connected as root

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] samba.sh: executing... 
[00:31:36] INFO: Hostname: homeassistant
[00:31:37] INFO: Interfaces: eth0 lo 
No builtin backend found, trying to load plugin
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0
Added user homeassistant.
[cont-init.d] samba.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nmbd version 4.13.17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Registered MSG_REQ_POOL_USAGE
added interface eth0 ip=192.168.254.33 bcast=192.168.254.255 netmask=255.255.255.0
added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
create_subnets: Ignoring loopback interface.
create_subnets: ignoring non IPv4 interface.
making subnet name:192.168.254.33 Broadcast address:192.168.254.255 Subnet mask:255.255.255.0
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
queue_query_name: interface 1 has NULL IP address !
smbd version 4.13.17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
Processing section "[media]"
**added interface eth0 ip=192.168.254.33 bcast=192.168.254.255 netmask=255.255.255.0**
added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
INFO: Profiling support unavailable in this build.
Registered MSG_REQ_POOL_USAGE
No builtin backend found, trying to load plugin
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_POOL_USAGE
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
waiting for connections
Registered MSG_REQ_POOL_USAGE
check_ntlm_password:  authentication for user [homeassistant] -> [homeassistant] -> [homeassistant] succeeded
Processing section "[config]"
Processing section "[addons]"
Processing section "[ssl]"
Processing section "[share]"
Processing section "[backup]"
Processing section "[media]"
idmap range not specified for domain '*'
james-pc-790 (ipv4:192.168.254.26:65037) connect to service config initially as user root (uid=0, gid=0) (pid 307)
Failed to fetch record!
pcap cache not loaded
Failed to fetch record!
pcap cache not loaded
james-pc-790 (ipv4:192.168.254.26:65037) closed connection to service config

and it also is now showing “added interface eth0 ip=192.168.254.33 bcast=192.168.254.255 netmask=255.255.255.0” and i am pretty sure that is why it is working. dont know why it decided to act right after making me spend all day debugging it but jesus dude i am ready to take a shotgun to home assistant in hyperv. its bad enough that we have to use hyperv and its wonky network config, and then hass on top of that? ah hell naw just put a bullet in me and put me out of your mysery