motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.87k stars 901 forks source link

Can't access Raspberry Pi 0 W after adding wifi settings through motioneyeos #2446

Closed maxtk4 closed 4 years ago

maxtk4 commented 4 years ago

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: motioneyeos-raspberrypi-20190911.img

Board Model

I am using the following board/model: Raspberry pi 0 W

Camera

I am using the following type of camera: Simple MJPEG (I think - whatever the pi camera is)

My camera model is: Raspberry Pi NoIR Camera Board v2

Network Connection

My motionEyeOS unit is connected to the network via: Ethernet, but when I add the wifi configuration it stops working

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:

starbasessd commented 4 years ago

PiCam is type MMAL. Can you hook a monitor to it to watch the reboot following the wifi changes? Can you just add the wpa_supplicant.conf file to the /boot partition right after imaging, but before you insert into the PI before first boot?

On Sun, Jun 28, 2020 at 2:53 PM maximumentropy1 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: motioneyeos-raspberrypi-20190911.img Board Model

I am using the following board/model: Raspberry pi 0 W Camera

I am using the following type of camera: Simple MJPEG (I think - whatever the pi camera is)

My camera model is: Raspberry Pi NoIR Camera Board v2 Network Connection

My motionEyeOS unit is connected to the network via: Ethernet, but when I add the wifi configuration it stops working Peripherals

I am using the following peripherals that I consider relevant to this issue:

  • Micro USB to USB to Ethernet adapter

Log Files

I consider the following log files relevant to this issue:

  • I cannot access the log files

— 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/2446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHMY3TOK7K2XP2KOD5LRY6GUJANCNFSM4OKU5PMQ .

-- 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?

maxtk4 commented 4 years ago

So I already tried adding wpa_supplicant.conf files twice, both times it did connect to the wifi, but I was unable to access it. I also tried using ssh, but it just says no route to host.

starbasessd commented 4 years ago

You need to see what the IP address is for the wifi. You can ssh into the ethernet IP Address, then run command: ifconfig It will list the IP Address for the ethernet and wifi adapters. You can force a name for the device by adding the file hostname to /boot with something easy to remember, like motioneye After booting, try ssh to motioneye.local.

On Sun, Jun 28, 2020 at 3:12 PM maximumentropy1 notifications@github.com wrote:

So I already tried adding wpa_supplicant.conf files twice, both times it did connect to the wifi, but I was unable to access it. I also tried using ssh, but it just says no route to host.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2446#issuecomment-650808949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHMBDPKBSG5KDZD4M6LRY6I2ZANCNFSM4OKU5PMQ .

-- 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?

maxtk4 commented 4 years ago

Now it just says connection refused. I thought MotionEyeOS automatically enables ssh?

starbasessd commented 4 years ago

No. Need to add a file in /boot called ssh or ssh.txt. Doesn't need anything in it.

On Sun, Jun 28, 2020 at 3:37 PM maximumentropy1 notifications@github.com wrote:

Now it just says connection refused. I thought MotionEyeOS automatically enables ssh?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2446#issuecomment-650811705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHO544SRKPSDQOV3HOTRY6LWNANCNFSM4OKU5PMQ .

-- 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?

starbasessd commented 4 years ago

Were you able to get into the Pi as expected?

On Sun, Jun 28, 2020 at 3:52 PM Kevin Shumaker kevin.shumaker@gmail.com wrote:

No. Need to add a file in /boot called ssh or ssh.txt. Doesn't need anything in it.

On Sun, Jun 28, 2020 at 3:37 PM maximumentropy1 notifications@github.com wrote:

Now it just says connection refused. I thought MotionEyeOS automatically enables ssh?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneyeos/issues/2446#issuecomment-650811705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHO544SRKPSDQOV3HOTRY6LWNANCNFSM4OKU5PMQ .

-- 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?

maxtk4 commented 4 years ago

No, I was never able to figure out why I couldn't access it after adding the wireless configuration. It's like that broke it somehow. I think I am going to try and use raspbian instead, because that seems more stable.