Hey, Just found this github, and it seems to suit my needs.
But after setting up the settings with RJ45 cable plugged in. And then rebooting without the cable. The Wifi dosnt seem to come on.
Here is some info in hope to get help with this problem.
Version; motioneyeos-raspberrypi3-20160919
Wifi security: WPA2-AES
Password is Correct
SSID is correct.
Tried both DHCP and Manual setup of IP
Please attach your boot.log here. You can download it from the UI, using an ethernet connection.
---- booting motionEyeOS 20160919----
Anyone?
Your adapter is detected by the OS but the wireless connection cannot be established. It's difficult to tell what the exact problem is. Does it work with any previous stable releases?
---- booting motionEyeOS 20160915----
Can you post your /data/etc/wpa_supplicant.conf here? You can change your password into something else before posting it but I'd like to know if you have any special characters in it.
How do i access it?
Using ssh or putty. See also https://github.com/ccrisan/motioneyeos/wiki/FAQ#how-can-i-log-in-on-sshtty-console.
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
key_mgmt=WPA-PSK WPA-EAP
psk="penispump"
ssid="pewpew"
}
Can the problem be that my router is running WPA2-PSK [AES]
How did you get that key_mgmt there? Was it automatically generated somehow?
It was there when i went into the file? I havnt added it.
Have you upgraded from a previous version or is this a brand new installation of 20160915/20160919?
Brand new installation downloaded from this site
Also tried version motioneyeos-raspberrypi3-20160705
same problem.
Well have you removed the key_mgmt line from wpa_supplicant.conf to see if it works?
Removed the "key_mgmt=WPA-PSK WPA-EAP" part but still no connection.
---- booting motionEyeOS 20160915----
Does it work with Raspbian and this exact wpa_supplicant.conf file?
How do i create it on raspbian? It says that the file dosnt excists.
The wpa file from motioneyeios dosnt work on raspbian.
I have to make it look like this to get it to work.
country=DK
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="ssid"
psk="password"
}
unable to connect to inbuilt wifi of raspberry pi 3
on seeing the boot.log file, it said:
"Starting wpa_supplicant: failed (brcmfmac)
Configuring wireless network: no link"
my /data/etc/wpa_supplicant.conf file is
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
psk="TARGET"
ssid="9437945909"
}
But when i used raspberry pi jessie OS, i was able to use wifi very easily.
There my wpa_supplicant.conf file was
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="TARGET"
psk="9437945909"
}
i am using motioneyeos-raspberrypi3-20160919.img
whats the issue ?
Same problem here, works well with wired but not with wifi, wpa_supplicant looks like the first poster (except no KEY_MGT)
@navigonic what version of motionEyeOS? Can you please attach your log files?
@CCrisan et al, i seem to be having this same issue, with motioneyeos-raspberrypi3-20161125.img.
-n command arguments causes reboot loop/data/etc/wpa_supplicant.conf file as described in Setting up WiFi docifdown command isn't available, i reboot:00:00:16, :21,36,41,46,51,... :06 wifi: disconnected (A second, shorter list of ports also tried but too close to the restart to write them down!)Any suggested next debugging steps?
I had the exact same problem. On RP3, motioneye version 20161125 worked fine over ethernet, but was in an endless reboot loop with wifi.
I solved the problem by editing /data/etc/wpa_supplicant.conf
Originally, some combination of the motioneye installation script and using the settings interface while connected by ethernet had created the following /data/etc/wpa_supplicant.conf:
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="mynetworkssid"
psk="mypassword"
-e }
I editing the file to read like this:
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mynetworkssid"
psk="mypassword"
}
Now it works fine.
Thanks for a great piece of software!!
thanks @ericbrandon and i tried your edit, but no love for me.
the error messages are <13>*timeStampHere*: wifi disconnected
i've tried this both with and without the ether cable plugged in; Calin mentions in Issue#625 that motionEyeOS only supports one interface.
the tedious part of this debug loop is that once i try to enable the wpa_supplicant, i seem always stuck in the endless reboot loop, and need to go back a write a new SDcard every time(:
Unfortunately, @rbelew, I never had the error message you did. My error message was the same as the original poster's:
Starting wpa_supplicant: failed (brcmfmac)
yes, sorry, i was not complete: i also get OP's error message, followed by the others i mentioned.
@ericbrandon can you reproduce the problem with the "-e" extra text? I would really like to fix that.
@rbelew,
on attempt to reboot, i get a series of messages as it tries wifi ports:00:00:16, :21,36,41,46,51,... :06
This doesn't make any sense. What is a "wifi port"? Are those wifi 802.11a channels?
Could you please post your wpa_supplicant.conf file contents as they are right now?
@ccrisan , sorry for my first report. my second report mentions these were
<13>timeStampHere: wifi disconnected
messages, which i didn't initially recognize because the clock hadn't been set and the timeStamps all had a 00:00: prefix
my wpa_supplicant.conf file is identical to the one @ericbrandon said worked for him.
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mynetworkssid"
psk="mypassword"
}
i'm now working from a raspbian OS and your instructions for installing MotionEye on Raspbian
I'm not really able to rebuild & reinstall Motioneye from scratch right now because I don't have an extra RPI3 sitting around (they're all in use, right now).
But when I get a new one I will try to reproduce the steps that created the extra "-e" in the wpa_supplicant.conf file.
In the meantime, I can let you know that all I did was:
1) Download the latest build (20161125)
2) Build it on a card using your script and the -n flag, with simple no-special-character SSID and Password fields.
3) WiFi wasn't working, so tried a bit to edit the Wifi parameters using the Motioneye UI while connected by ethernet. I don't remember the details of what I tried here.
I am having the same issues. I found that my wifi password was too long. I was using a full length (64 chars) password, but when I shorten it 10 chars it all worked.
This is on a pi3 running
motionEye Version 20161212
Motion Version 4.0.1+git37b3595
also thanks Calin for your awesome work.
after more investigation, I think it might be it doesn't like number within the password. Seems strange, but it working with 63 password without integers.
Something to try.
I am having the same problem. Password and SSID are correct. If i install raspbian the wifi works fine. Using channel 6, Temp password does not have any numbers.
--- booting motionEyeOS 20170212----
Does this work with any of the previous releases of motionEyeOS?
Try this
$sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "ssid"
wpa-psk "password"
@michael24h this is definitely not going to work on motionEyeOS.
@ccrisan I have not tried any other build. i just downloaded the most recent. However scrolling through this list, it seems other people were having the same problem with previous builds.
@douggranger please try a few stable releases and see if it works. It might be a regression bug.
i will see what i can do. thanks
I had this issue and found I was entering the SSID with all lower case and I matched it exactly and things are working on a pi 3
@ericbrandon
Thanks for your solution, this also worked for me:
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mynetworkssid"
psk="mypassword"
}
I had multiple empty entries in /data/etc/wpa_supplicant.conf, after I cleaned that up, like you sugessted it connected without any probles. Before I was stuck in reboot loop if I dissconected the LAN cable.
Maybe I made this problem myself, because I frist enable wireless without any values in the fields(SSID / pass) and clicked apply.
I was using motioneyeos-raspberrypi3-20170329.img.gz release.
Most helpful comment
thanks @ericbrandon and i tried your edit, but no love for me.
the error messages are
<13>*timeStampHere*: wifi disconnectedi've tried this both with and without the ether cable plugged in; Calin mentions in Issue#625 that motionEyeOS only supports one interface.
the tedious part of this debug loop is that once i try to enable the wpa_supplicant, i seem always stuck in the endless reboot loop, and need to go back a write a new SDcard every time(: