samtap / fang-hacks

Collection of modifications for the XiaoFang WiFi Camera
1.67k stars 340 forks source link

Can't disable cloud applications #147

Closed bartwell closed 7 years ago

bartwell commented 7 years ago

Hi @samtap! First, thank you for this project. I get a problem, I can't disable cloud applications because checkbox is disabled. As I understand, I need to change connection type in Network. But: 1, When I try to change Wireless mode to Wireless client, there is no one available network in list (from smartphone I see 4 available WiFi networks).

  1. When I try to change it to Access Point, it changed. But after reboot doesn't works. Just yellow led lighting and AP doesn't created. Thank's for recovery feature :)

Help please. What I can to do in this case?

Some additional info:

# cat /etc/config/appVer
[VER]
AppVer=3.0.4.9
IqBinVer=3.0.4.9

Contents of /tmp/hacks.log:

Wed Dec 31 21:00:05 GMT 1969 - /etc/fang_hacks.sh: Executing script (enabled: 1)
Wed Dec 31 21:00:05 GMT 1969 - /etc/fang_hacks.sh: Waiting for cloud apps...
Wed Dec 31 21:00:06 GMT 1969 - /media/mmcblk0p1/snx_autorun.sh: Running (device: mmcblk0p1)
Wed Dec 31 21:00:06 GMT 1969 - /media/mmcblk0p1/snx_autorun.sh: Created /tmp/www/cgi-bin
Wed Dec 31 21:00:10 GMT 1969 - /etc/fang_hacks.sh: iCamera is running!
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Boa webserver is running!
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Linking /media/mmcblk0p1/bootstrap/www/action -> /tmp/www/cgi-bin/action
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Linking /media/mmcblk0p1/bootstrap/www/func.cgi -> /tmp/www/cgi-bin/func.cgi
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Linking /media/mmcblk0p1/bootstrap/www/network -> /tmp/www/cgi-bin/network
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Linking /media/mmcblk0p1/bootstrap/www/scripts -> /tmp/www/cgi-bin/scripts
Mon Oct 10 13:00:23 GMT 2016 - /etc/fang_hacks.sh: Linking /media/mmcblk0p1/bootstrap/www/status -> /tmp/www/cgi-bin/status
Mon May 29 19:29:25 GMT 2017 - /etc/fang_hacks.sh: Running startup scripts
Mon May 29 19:29:27 GMT 2017 - /etc/fang_hacks.sh: Finished

boot

network

samtap commented 7 years ago

Are there any weird characters in SSIDs of the networks in your area? There's a bug in the cgi scripts i.e. for SSIDs with spaces. If you know your way around ssh you can manually configure it instead of using the webif. It involves changing wpa_supplicant.conf in /media/mmcblk0p2/data/etc and setting the wifi client mode in /etc/fang-hacks.cfg

bartwell commented 7 years ago

No, here is no networks with spaces or non-latin/digits symbols.

But thanks a lot, I successfully changed this configuration files using rescue telnet.