openmiko / openmiko

Open source firmware for Ingenic T20 based devices such as WyzeCam V2, Xiaomi Xiaofang 1S, iSmartAlarm's Spot+ and others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with the load of files, from SDCARD /config/overlay/etc

xinux87 opened this issue · comments

Hi

i've been trying to load the files from the last Version [Release v0.0.41-alpha.2] and i'm not able to see why isn't working,

there is any log on the messages? if there is any problem coping the files?

used route: E:\config\overlay\etc

config.zip

Thanks!!

P.D Merry Christmas!!

Even tried with linux, and it dont copy the config files, there is any change in the last version not shown in the wiki?

thanks

The config files look fine to me. I've experienced this when the filesystem on the SD card has become corrupt. It can be fixed with fsck, but may just be easier to reformat. Make sure you use FAT32 and not exFAT, as that is not currently supported. There is PR to fix this that will hopefully be included in a future version.

commented

Facing the same issue here, did everything I could think of and looked through the issues. Reformatted many times and even booted up into linux just to be sure.

My config files and folder structure is the same as above.

I've found a message on the messages file, saying that you've problems with a bad SDcard, please use fsck, but when the message it doesn't appear, it dont charge the files :S

commented

In my case according to wpa_supplicant.log, config for wifi gets copied, because otherwise it's reported as missing on the log file.

So my real issue is that the wifi driver won't change from 8189fs to 8189es, maybe op's situation is the same.

Edit: I also have a Wyze Cam v2 and it worked straight away, but the strange thing is I could change the wifi driver on that one with the config and break the wifi. Why won't the config change on Dafang?

Had the same issue, when I looked over the logs the only error about mounting the SD card was due to an unclean unmount. That's expected when you just unplug the power supply. I ran through the process of reflashing it again without changing anything, and second time it worked.. Now I just have other issues.

I decided to merge together all of my changes from the last six months and release them for testing. There is a new option to disable logging in the config file. This should address the issue of the SD card filesystem becoming corrupted. It's also possible to load an fsck module to run on boot. Testing is appreciated, and you can file an issue in that repo if you have any problems.

I'm seeing this problem; both with 0.0.41a2 and 1.00a1. My config files are installed in /config/overlay/etc but the camera does not join the wifi as expected. The only way I could get this to work was to use the 0.0.40 release. Thoughts?

@claud9999 did you try running fsck against the SD card? Could you also attach your config files just incase there is a parsing error that was introduced in the newer versions?

Spoke too soon on 0.0.40, FYI; it joined the wifi but never got to the state of running the RTSP server or web or ssh servers.

I've tried with two Wyze V2's and three different SD cards, all freshly formatted, and same behavior. With 0.0.41 and 1.0, no wifi even.

The configuration files as contained in /config/overlay/etc:

config.zip

also note both of these cams and the SD cards have been in service for a while now using Dafang Hacks.

Having the same issue. Flashing back to the official firmware works and I am able to get it to join my network.
I get the solid blue light when flashing openmiko, then it goes to solid yellow and finally flashing yellow. But it never joins the network. The few attempts I've made to install openmiko keep corrupting my sd cards as well, and full formats take forever.

I tried using v0.0.40 and I finally got some logs in the var folder.
wpa_supplicant.log shows this:

Line 8: invalid number ""0""

Line 8: failed to parse scan_ssid '"0"'.

Line 14: failed to parse network block.

The extra quotes around '0' got me to check some documentation on wpa_supplicant.
The wpa_gen.sh sets the scan_ssid equal to "0". Documentation however, states this value should not be surrounded by quotes.
I removed the quotes and now my camera is on the network, albeit only on v0.0.40.

Thanks for the follow up. There is a PR to fix this.