Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Problem in selecting WIFI networks #6

Open
manu69x opened this issue Jun 29, 2015 · 1 comment
Open

Problem in selecting WIFI networks #6

manu69x opened this issue Jun 29, 2015 · 1 comment

Comments

@manu69x
Copy link

manu69x commented Jun 29, 2015

I have installed Octopi 29/6 nightly
with OctoPrint 1.2
I' m trying to manage WIFI network via netconnectd plugin shell
WIFI is working and I'm able to install all as described.
When I try to select a different SSID WIFI from the scan list showed I have this error
from DHCPCD at reboot:
[FAIL] Not running dhcpcd because /etc/network/interfaces ... failed!
[FAIL] defines some interfaces that will use a DHCP client ... failed!

then I can recover from this only changing in /etc/network/interfaces

iface wlan0-netconnectd_wifi inet dhcp
in:
iface wlan0-netconnectd_wifi inet manual

any solution for this ?

@manu69x
Copy link
Author

manu69x commented Jul 2, 2015

Finaly I was able to solve myself and get Octopi working with Netconnectd

I have disabled dhcpcd with:

sudo update-rc.d -f dhcpcd remove

then modified /etc/network/interfaces

I have only this (no wlan0 and subst manual with dhcp)

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

finaly for have wifi permanent I'v modified /etc/rc.local
sudo nano /etc/rc.local
and added

sudo netconnectcli select_wifi

just before the IP address print

et voilà
now I can select WIFI network in OctoPrint and this is permanent :)

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

No branches or pull requests

1 participant