Filipowicz251 / mijia-1080P-hacks

436 stars 66 forks source link

SAMBA_ENABLED and HTTP_ENABLED #44

Open rcmpayne opened 6 years ago

rcmpayne commented 6 years ago

just to confirm, HTTP_ENABLED=1 and SAMBA_ENABLED=1 means thoes services are enabled right? i tried to enable both of these services but i cant SMB to them nor can i connect to them using http.

RTSP is working just fine.

`VERSION_ID=2016.02-git PRETTY_NAME="Buildroot 2016.02-git" XIAOMI_VERSION=3.4.2_0159 XIAOMI_BUILDNO=458
Forcing Mode 4 Staring SSH Server Getting root access Changing password for root New password: Retype password: Password for root changed by root

...Starting dropbear... [208] Dec 31 20:00:09 Running in background

...Changing Language to English... ...Adding Protection to Change of Keys... ...Enabling RTSP... Web Server (8080) Samba setup... tdbsam_open: Converting version 0.0 database to version 4.0. tdbsam_convert_backup: updated /tmp/sd/tools/tmp/samba/passdb.tdb file. account_policy_get: tdb_fetch_uint32 failed for type 1 (min password length), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 2 (password history), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to change password), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password age), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password age), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count minutes), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout attempt), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time), returning 0 account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine password change), returning 0 Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules Added user root.

Script Ends. Ok [911] May 03 21:11:22 Child connection from 192.168.0.117:54591 [911] May 03 21:11:27 Password auth succeeded for 'root' from 192.168.0.117:54591 `

willthrom commented 6 years ago

Never tried, someone compile the package for this platform and I maintain them in the tooling. It suppose to work, they were....

HTTPS server is only a light-weight server to change parameters, but was never developed enough for all the possible parameters in the camera.

According to the logs seems to be a problem with the password for Samba.. give it a tried to the configuration files of samba in the "Tools" folder