-
Notifications
You must be signed in to change notification settings - Fork 314
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
Error in Call Home with no ethernet #954
Comments
There are several places where there are assumptions about interfaces, I have not looked in detail if they are ust reasonable defaults that are later tweaked at runtime.
|
I think that this is not necessarily related to Volumio. Yesterday I connected a new second RPi0 to my home wifi, and was surprised to see that my router reported it as the original RPi0. So both devices are apparently detected with the same MAC address. I haven't tried connecting both yet, to see what happens :) |
What do you mean by "my router reported it as the original RPi0" : is that the device name? If both have Volumio on it with unchanged name: they just use same name, and router reports it. |
I had assigned a name and IP address to a Volumio RPi0 presumably with a particular MAC address. Those properties were assigned to a new RPi0 (without Volumio). It is possible that I used the same wifi adapter, which of course would explain it. I will check later. Edit: yep, apologies for my mistake. Dongle MAC address. |
@xipmix Ideally Volumio network manager would enumerate available hw ports, and call them based on existence rather than with most assumed names. I don't underestimate the work required to enhance in such a way Volumio Network Manager (which may be profound and impact Network Preference UI), and unfortunately, I think I do have the skills to make such changes on my own... At least with that know limitations, I'd like to make sure eventual errors do not cause instabilities when no eth0 is present. |
It's probably simplest to test for the existence of Nonetheless I agree with your points above - the assumption that eth0 is always around is one that is not valid and some work to accommodate that needs to be done. Further, if later versions of systemd come along that do away with the 'ethX' naming scheme, then a bit more abstraction is going to be required. To get that right, some kind of written spec for the behaviour is likely to be needed and (heavens!) some test cases for the new code.. |
Hi,
Noticed the following in journalctl when using volumio on Wifi exclusively (piZero with no ethernet adapter)
Something may need to be adapted around here to get MAC address from primary interface, which may not be ethernet, as piZero may not have one.
Hopefully there are no other assumption of ethernet interface existence in the code.
The text was updated successfully, but these errors were encountered: