Closed bretonium closed 5 years ago
after some reading, i think the user from https://github.com/davesteele/comitup/issues/31#issuecomment-472021820 is having the same problem
It is wlan0 (actually, any wlan which is to be managed by Comitup) which needs to be removed from /etc/interfaces. The Comitup images add an entry to the file for a convenience static configuration for eth0.
Connection 'comitup-42-0000' is not available on device wlan0 because device is not available
This suggests that wlan0 has an entry in that file. But, that should not happen if you are using a Comitup image.
There is another recent problem caused by an obsolete configuration file under NetworkManager. That should only be in play if you started with a version from before 2019-07-20.
It is wlan0 (actually, any wlan which is to be managed by Comitup) which needs to be removed from /etc/interfaces. The Comitup images add an entry to the file for a convenience static configuration for eth0.
There was nothing about wlan0
in the interfaces
files, there was only eth0
. I wanted to let networkmanager manage eth0
and had to remove the entries. Btw it would be good to actually remove those lines by default and let dhcp do its magic, but that is a story for another ticket.
This suggests that wlan0 has an entry in that file. But, that should not happen if you are using a Comitup image.
Nope, wlan0
was managed by wpa_supplicant
and removing wpa_supplicant.conf
helped to get wlan0
under control of nm.
It is wlan0 (actually, any wlan which is to be managed by Comitup) which needs to be removed from /etc/interfaces. The Comitup images add an entry to the file for a convenience static configuration for eth0.
There was nothing about
wlan0
in theinterfaces
files, there was onlyeth0
. I wanted to let networkmanager manageeth0
and had to remove the entries. Btw it would be good to actually remove those lines by default and let dhcp do its magic, but that is a story for another ticket.
The goal was to have two aliased IPs on eth0 - one static and one provided by DHCP. I haven't gotten that to work.
The wpa_supplicant contention is covered in the wiki. Closing
I have booted my rpi3b from
2019-07-20-Comitup.img
. Probably afterapt-get upgrade
wireless fails to go up. comitup cannot create a hotspot and nm cannot connect to the configured ap. It leads to many tracebacks like this:I am not sure that it happened after upgrade, but my impression so far is that upgrade caused that. Other than upgrade, i removed mentions of eth0 from
/etc/network/interfaces
. The issue happened twice.Investigation showed that issue #12 happened, and removing
wpa_supplicant.conf
helped.