mattlongman / Hassio-Access-Point

Hass.io addon to let you create a WiFi access point, perfect for using WiFi devices on off-grid installations.
MIT License
81 stars 63 forks source link

s6-overlay-suexec: fatal: can only run as pid 1 #27

Closed ledhed-jgh closed 2 years ago

ledhed-jgh commented 2 years ago

After updating to Home Assistant 2022.5, starting this add-on fails and throws this error in the logs: s6-overlay-suexec: fatal: can only run as pid 1

It looks like you may need to change some permissions and/or update the AppArmor profile.

S6-Overlay 3.x update on our docker base images: https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/

Thanks.

askmurphy commented 2 years ago

I can confirm that, s6-overlay-suexec: fatal: can only run as pid 1 problem... Add-on doesn't work..

olaldiko commented 2 years ago

I solved it on #28. It hasn't been merged yet. You can point to my repo in the meantime.

liroman2312 commented 2 years ago

How can I do thise please explain

olaldiko commented 2 years ago

On home assistant, instead of pointing to @mattlongman 's repo to install the addon, point to mine: https://github.com/olaldiko/Hassio-Access-Point.git You have instructions to do so here: https://www.home-assistant.io/common-tasks/os#installing-third-party-add-ons

mattlongman commented 2 years ago

I solved it on #28. It hasn't been merged yet. You can point to my repo in the meantime.

@olaldiko - Thank you for the PR. Merged.

I'm not particularly familiar with hostapd (other than what I got working for this project when I was using it myself). I'm looking for someone(s) that understands it a bit better, who might be interested in assisting on some issues/PRs.

I'll try to update all of the issues with a similar note, but if you're interested, please let me know.

liroman2312 commented 2 years ago

On home assistant, instead of pointing to @mattlongman 's repo to install the addon, point to mine: https://github.com/olaldiko/Hassio-Access-Point.git You have instructions to do so here: https://www.home-assistant.io/common-tasks/os#installing-third-party-add-ons

Hi I manged to install i am using supervised on debian with ac600 wifi adapter when I tried to lunch i get on the log no kenral driver founed and it's shut down what can I do ?

olaldiko commented 2 years ago

@liroman2312, check if it works on the host first. It might be due to an incompatible adapter or one that needs additional kernel modules to be installed on the host first. @mattlongman I'm neither familiar with hostapd, but I'll be happy to help you with the PRs and issues. I do have a background in networking/systems administration, so I know how to tinker with the involved guts. Let me know if you would like me to help!

liroman2312 commented 2 years ago

With the hist it works great I can connect to wifi and all but with you're addon it gives error what can I do

olaldiko commented 2 years ago

It has to do more with an incompatibility issue with hostapd than with the addon itself. Send us the logs of the addon so we can have a look. I would also try to create a wifi hotspot on the host itself since it is a full-fledged system. That way we can discard that the issue is on the addon.

liroman2312 commented 2 years ago

Well I tried now the hostapd package on my debian and its running good I will try thise to if it work and maybe you will find qn option to run thise package form homeassistant itself and also I will try to give you the log soon

askmurphy commented 2 years ago

Great!