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

auto-init script assumes that eth0 is the only network interface #155

Open
steilerDev opened this issue Dec 31, 2017 · 3 comments
Open

auto-init script assumes that eth0 is the only network interface #155

steilerDev opened this issue Dec 31, 2017 · 3 comments

Comments

@steilerDev
Copy link

steilerDev commented Dec 31, 2017

Hi,

thanks for your hard work, I am currently trying to setup a CCU2 replacement and therefore try to install YAHM. Hardware is a Raspberry Pi 3 with Raspbian 9.

During the installation it killed the internet connection of my Pi and failed due to being unable to download stuff, because the script assumes that 'eth0' is the only internet interface. In my current setup this is 'wlan0'. You should add a check which one is right.

A question on the side, since you hard-coded that into the tool: How is it possible to switch interfaces? At this point this is a demo installation, but in production, I would like to connect my Pi via Ethernet.

Thanks,

Frank

Edit: Workaround for everyone having this problem: Download the init script and replace 93 with the appropriate interface (e.g. wlan0)

@leonsio
Copy link
Owner

leonsio commented Dec 31, 2017 via email

@twodrops
Copy link

twodrops commented Jan 5, 2018

The script also assumes that the interfaces are defined in /etc/network/interfaces and fails if it is under /interfaces.d, which is the default, in case of, for example, openHabian. The script exits with the message saying eth0 cannot be found although it exists. Once I checked the script and found that it is reading only /etc/network/interfaces, I moved all my interface definitions there as a workaround. It would be good if the script can handle interfaces under /interfaces.d as well.

@leonsio
Copy link
Owner

leonsio commented Jan 10, 2018

hi

i will try to install openHabian and make some modification to support this platform to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants