Open buzzy opened 4 years ago
With the 3A+ you'll need to pre-load the wpa_supplicant.conf file in /boot with your network settings or set OS_NETWORKLESS="true" in os.conf and put it into /boot (disable networking temporarily) BEFORE starting motionEyeOS the first time.
On Mon, Mar 2, 2020 at 5:58 AM buzzy notifications@github.com wrote:
Preliminary Docs
I confirm that I have read the CONTRIBUTING https://github.com/ccrisan/motioneyeos/blob/master/.github/CONTRIBUTING.md guide before opening this issue.
I confirm that I have read the FAQ https://github.com/ccrisan/motioneyeos/wiki/FAQ before opening this issue. motionEyeOS Version
I am running motionEyeOS version: 20190911. Board Model
I am using the following board/model: Raspberry PI 3A+. Camera
I am using the following type of camera: (choose from V4L2, MMAL, Network Camera, Fast Network Camera and Simple MJPEG Camera).
My camera model is: (insert your camera model, e.g. Logitech C290). Network Connection
My motionEyeOS unit is connected to the network via: (choose your network connection, e.g. WiFi, Ethernet). Peripherals
I am using the following peripherals that I consider relevant to this issue:
- (e.g. USB WiFi adapter)
- (e.g. External Hard Disk)
Log Files
I consider the following log files relevant to this issue:
- (attach e.g. motioneye.log)
- (attach e.g. boot.log)
As the Raspberry Pi 3A+ does NOT have a ethernet port, the whole system halts at boot, complaining about no wired network and then reboots. Why is the 3A+ listed as supported in the list when it obviously is not supported?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHIUIT2NS75NHGMZNX3RFOGMVA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRU5NJQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHL47WLCUVQW4Z7VJ6DRFOGMVANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
I flashed the latest stable to an SD-card. Then mounted the second partition and created a file called "os.conf" in the /boot directory with the contents:
set OS_NETWORKLESS="true"
That causes a faulty boot that just shows:
can't open /dev/ttylogin: No such file or directory.
I also tried it without the word "set". Then it boots, but still complains about no network and reboots.
How do you image the SDCard? From PC or Linux?
On Mon, Mar 2, 2020 at 8:11 AM buzzy notifications@github.com wrote:
I flashed the latest stable to an SD-card. Then mounted the second partition and created a file called "os.conf" in the /boot directory with the contents:
set OS_NETWORKLESS="true"
That causes a faulty boot that just shows:
can't open /dev/ttylogin: No such file or directory.
I also tried it without the word "set". Then it boots, but still complains about no network and reboots.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHKJF4L6YTRYWEGFJXDRFOV65A5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPHSIA#issuecomment-593393952, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKEJ43NNXT7DPT2VULRFOV65ANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Not sure I understand what you mean? PC is a computer and Linux is an operating system. Are you asking me if I am using Windows, MacOS or Linux? I am using Linux on a PC.
OK. when you image the SDCard, mount the /boot partition
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=US
eject, insert into Pi3A+ and boot. It should connect to your WiFi.
If you want stand alone without network connection: I have attached a zip file with the needed config files and instructions to make it a Wireless Access Point so you can get to the WebGUI and make your settings available to a phone, tablet or laptop.
I'm here to help.
On Mon, Mar 2, 2020 at 8:50 AM buzzy notifications@github.com wrote:
Not sure I understand what you mean? PC is a computer and Linux is an operating system. Are you asking me if I am using Windows, MacOS or Linux? I am using Linux on a PC.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHPTUSHJCTLNSXVM6Z3RFO2T7A5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPL4FI#issuecomment-593411605, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHPEC4NPU7QYWO3Z56LRFO2T7ANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Ok, I think I misunderstood your instruction as you are writing "/boot". That is a path and not a partition. You simply want me to put the file in the root of the first partition. I guess the system will mount it as /boot later.
I tried putting the wpa_supplicant.conf in the root of the first partition. The system seems to have picked it up, but is unable to connect to the Access Point. By now, I think something is wrong with my board, as I have been unable to connect to Access Points from several different distributions, including Rasbian and Ubuntu Server. I can list Access Points without any issues, but wpa_supplicant always returns wlan0: CTRL-EVENT-ASSOC-REJECT
That is correct. The partitions are labeled boot and root. The FAT is boot, and will eventually be mounted as /boot folder. Root is EXT4. (You may also want to look at mounting overlay file systems, too, as they are used extensively in motionEyeOS) The scripting in motionEyeOS (and Raspbian) is based on putting your pre-booting scripts and config files in the boot partition prior to first startup. That is one reason the first partition is FAT, so Windows can also access it, as there isn't any reliable support for EXT4 partitions in Windows. Another issue for you will be most of the system is mounted R/O (read only) and cannot be modified easily (by design) Let me know if you need further assistance. You may want to upgrade to 20200203, it's the latest sable. dev20200223 is latest 'bleeding edge' dev version. https://github.com/ccrisan/motioneyeos/releases
On Mon, Mar 2, 2020 at 9:09 AM buzzy notifications@github.com wrote:
Ok, I will look at it again. However, I am pretty sure there are only 2 partitions. One FAT-partition that will most likely be the boot-partition and then another one for the linux root. You told me to put the file in the /boot which would mean the "boot" directory on the second partition.
Are you now saying that I should put it on the first partition? It might be that the first partition get mounted in "/boot" after a normal boot, but when mounting the SD-card on another computer to add the file you are mentioning, that mount has of course not happened. I will try it and let you know. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHI5RIC7D3WZW324DSTRFO42LA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPN5AA#issuecomment-593419904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHPOUGTI5CVV6QFY5EDRFO42LANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Interesting. You may be correct in that your WiFi has issues. I can recommend testing with a wifi dongle, too. A quick google search points to a defective wifi adapter/driver, or a bad character in the SSID.
On Mon, Mar 2, 2020 at 9:25 AM buzzy notifications@github.com wrote:
I tried putting the wpa_supplicant.conf in the root of the first partition. The system seems to have picked it up, but is unable to connect to the Access Point. By now, I think something is wrong with my board, as I have been unable to connect to Access Points from several different distributions, including Rasbian and Ubuntu Server. I can list Access Points without any issues, but wpa_supplicant always returns wlan0: CTRL-EVENT-ASSOC-REJECT
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHIWBPGEGIIAYJZ5CQTRFO6UDA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPPW2A#issuecomment-593427304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHN5EAOWRJMJVA6NMT3RFO6UDANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Yes, I have tried that latest version as well. Same result. I think something might be wrong with the built-in WiFi-card on my board. I never got it to connect to an Access Point on any distribution, including the official Rasbian. Even tried with the desktop version using the GUI. The even more weird part is that external WiFi dongles have the issue too. Dongles that works perfectly on my old Raspberry Pi 2.
Does your Pi2 still work with the dongle? Have you done any upgrades to your router? What's changed between the 2 and 3A?
On Mon, Mar 2, 2020 at 9:34 AM buzzy notifications@github.com wrote:
Yes, I have tried that latest version as well. Same result. I think something might be wrong with the built-in WiFi-card on my board. I never got it to connect to an Access Point on any distribution, including the official Rasbian. Even tried with the desktop version using the GUI. The even more weird part is that external WiFi dongles have the issue too. Dongles that works perfectly on my old Raspberry Pi 2.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHOJ3EMKYLODTLV7EETRFO7YPA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPQ2YA#issuecomment-593431904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJLL2G4RO4KWIOVGMTRFO7YPANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Oh, Have you rebooted your WiFi router? Say that as a fix on a RPi Forum @ raspberry pi foundation.
On Mon, Mar 2, 2020 at 9:38 AM Kevin Shumaker kevin.shumaker@gmail.com wrote:
Does your Pi2 still work with the dongle? Have you done any upgrades to your router? What's changed between the 2 and 3A?
On Mon, Mar 2, 2020 at 9:34 AM buzzy notifications@github.com wrote:
Yes, I have tried that latest version as well. Same result. I think something might be wrong with the built-in WiFi-card on my board. I never got it to connect to an Access Point on any distribution, including the official Rasbian. Even tried with the desktop version using the GUI. The even more weird part is that external WiFi dongles have the issue too. Dongles that works perfectly on my old Raspberry Pi 2.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHOJ3EMKYLODTLV7EETRFO7YPA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPQ2YA#issuecomment-593431904, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJLL2G4RO4KWIOVGMTRFO7YPANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
My router does not have anything to do with it. I have tried it with several Access Points, but I mainly use my phone as a hotspot/AP when configuring things like this. Yes, the dongle still works on my old RP2. I have 4 different dongles with different chipsets and they all work on the RP2, but not on the RP3. I don't know all the changes between the models, but they probably upgraded the CPU etc. the RP3 has built-in WiFi card. The RP2 does not.
Since you didn't fully fill out the original information at the beginning, I have to ask questions, I'm sorry. Rebooting hardware is one of the first diagnostics we (Corporate IT Help Desk, my profession).do, to start clean. Yes, RPi has upgraded just about everything from the Pi2 to the Pi3A+, but Raspbian still supports all of them from the original through the Pi4Bs. It automatically shifts kernels, firmware, etc, as needed. So, at this point, I would have to agree with your assessment that it's a defective PI3A+. If anyone else wants to jump in, feel free.
On Mon, Mar 2, 2020 at 9:54 AM buzzy notifications@github.com wrote:
My router does not have anything to do with it. I have tried it with several Access Points, but I mainly use my phone as a hotspot/AP when configuring things like this. Yes, the dongle still works on my old RP2. I have 4 different dongles with different chipsets and they all work on the RP2, but not on the RP3. I don't know all the changes between the models, but they probably upgraded the CPU etc. the RP3 has built-in WiFi card. The RP2 does not.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2314?email_source=notifications&email_token=AEZTUHNGVT4HC2TO7KPKULDRFPCBXA5CNFSM4K7RXMLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPTD7Y#issuecomment-593441279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJKRDZX7VWR3ID3LFDRFPCBXANCNFSM4K7RXMLA .
-- Thanks
Kevin Shumaker
Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel
N38° 19' 56.52" W85° 45' 8.56"
Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?
Yeah, I agree that restarting usually helps with people that does not know anything about IT. BUT, even IF restarting would solve an issue, you still don't know the cause and therefor, in my opinion, the problem has not really been solved as it will probably happen again. But in any case, I appreciate that you took your time to try to help me. At this point, I will just try to return the board.
@buzzy I'm not a Linux expert, but I'd like to help troubleshoot. Restarting is usually my second step (the first is searching the internet). Where/when did you purchase the 3A+? You mentioned that you tried Raspbian. What version(s) of Raspbian have you tried? What error messages (if any) did you get when you tried to use the GUI to connect? Have you tried accessing a different WiFi AP? Have you tried a different microSD card? When you are in Raspbian, what do you get when you type lsusb
in the terminal/command line? What about ifconfig -a
? Are you using any other peripherals/hats with the Raspberry Pi? I have read that some devices can cause WiFi problems with the Raspberry Pi.
When you get the wlan0: CTRL-EVENT-ASSOC-REJECT
error, does it give you a status_code after? Many of those errors I'm seeing online are when someone is trying to connect to their phone as an AP. Have you tried connecting to an AP that is not a phone?
I have a 3A+ and it works with MotionEyeOS 20190911.
Thanks for helping!
Have you tried using Raspbian Stretch rather than Buster? Other than that, perhaps something is shorting a pin or contact point somewhere? Maybe the Raspberry Pi is mounted on a conductive surface or there is something conductive on the top? Perhaps some thermal grease or a stray piece of copper? I'm really reaching for any possible issues you can try and eliminate. Other than that, I agree that it seems like a hardware issue and the Raspberry Pi would need to be replaced. Hope you find a solution.
I just tried Stretch. Same problem. I have looked over the board and everything looks fine. It looks like my other working boards as far as I can tell.
Preliminary Docs
I confirm that I have read the CONTRIBUTING guide before opening this issue.
I confirm that I have read the FAQ before opening this issue.
motionEyeOS Version
I am running motionEyeOS version: 20190911.
Board Model
I am using the following board/model: Raspberry PI 3A+.
Camera
I am using the following type of camera: (choose from V4L2, MMAL, Network Camera, Fast Network Camera and Simple MJPEG Camera).
My camera model is: (insert your camera model, e.g. Logitech C290).
Network Connection
My motionEyeOS unit is connected to the network via: (choose your network connection, e.g. WiFi, Ethernet).
Peripherals
I am using the following peripherals that I consider relevant to this issue:
Log Files
I consider the following log files relevant to this issue:
As the Raspberry Pi 3A+ does NOT have a ethernet port, the whole system halts at boot, complaining about no wired network and then reboots. Why is the 3A+ listed as supported in the list when it obviously is not supported?