motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.9k stars 904 forks source link

Testing MotionEyeOS on Pi 1B without networking #1625

Open Viewfinder98 opened 6 years ago

Viewfinder98 commented 6 years ago

I'm looking to test MotionEyeOS on my old Pi 1 Model B before buying Pi 3 B+. I've created the SDHC card install using the Etcher method and it starts the boot process before restarting due to no network.

I'm hoping to run this standalone locally without networking and I've searched issues page here and other forums but can't find any solutions for this model apart from mentions of os.conf file variable os_networkless="true" which doesn't seem to exist in the SD card image I created using the Etcher method and also wpa_supplicant.conf which I don't want to use for local testing if possible.

For the purposes of testing MotionEye, is there a way to skip network dependencies if I don't have /data/etc/os.conf?

The contents of SDHC card:

bcm2708-rpi-0-w.dtb bcm2708-rpi-b.dtb bcm2708-rpi-b-plus.dtb bcm2708-rpi-cm.dtb bootcode.bin cmdline.txt config.txt fixup.dat fwupdater.gz kernel.img start.elf

I am running motionEyeOS version: motioneyeos-raspberrypi-20180627.img Raspberry Pi 1 Model B Hoping to try various USB webcams, initially MS Lifecam

Thanks. Apologies if Issues is not the place for support questions.

ccrisan commented 6 years ago

For now you'll have to create your os.conf manually. One way is to boot it up with network and it will create the file automatically. Then you can edit it and set os_networkless to true.

Viewfinder98 commented 6 years ago

@ccrisan Thanks! Will give that a try. I did try and make the os.conf file manually under the correct /data/etc structure the other day which didn't make a difference but will do as you suggest and let it create it automatically this time.

Update: Hmmm, logged on fine with wired connection and let it assign IP address from DHCP fine but on poweroff I looked on SD card for os.conf or any new files but sadly nothing new created. Only the same 11 files from original install... No hidden files or folders or anything new dated today.

Update 2: Have logged in using the web gui and was able to disable network watch settings and rebooted without ethernet cable plugged in. Seemed to skip network check and give me the login prompt OK so that seems to have solved it.

It still didn't seem to add any new config files to the SD card but it does now get beyond the continuous reboots. I didn't know the web gui was not available locally off the pi itself so that's given me something to think about...