sonoff-hack icon indicating copy to clipboard operation
sonoff-hack copied to clipboard

Wi-Fi Connectivity Issue on GK-200MP2-B

Open f870103 opened this issue 1 year ago • 6 comments

Description

After configuring Wi-Fi on the Sonoff GK-200MP2-B camera, the device appears to connect to the Wi-Fi Access Point (AP), but it does not obtain an IP address via DHCP. As a result, it is inaccessible over the Wi-Fi network.

Steps to Reproduce

  1. Directly install the hack, skipping the setup in the official app.
  2. Connect the camera to the network via Ethernet.
  3. Access the camera’s WebUI through its assigned Ethernet IP address.
  4. Enter the Wi-Fi credentials in the WebUI and save the configuration.
  5. Disconnect the Ethernet cable.

Expected Behavior

The camera should connect to the Wi-Fi AP and obtain an IP address via DHCP, making it accessible over the Wi-Fi network.

Actual Behavior

The camera connects to the Wi-Fi AP (confirmed by the router), but it does not receive an IP address via DHCP. image

The camera remains inaccessible over the Wi-Fi network.

Environment

Camera Model: Sonoff GK-200MP2-B Hack Version: https://github.com/roleoroleo/sonoff-hack/commit/041803a4351b4313d16235c0db381b904d94ff6b Network Configuration:

  • Security: WPA2 PSK
  • DHCP: Enabled

Additional Information

The camera is visible on the router's connected devices list, but no IP is assigned.

I have tested on 3 different cameras and all have the same result.

f870103 avatar Jan 04 '25 12:01 f870103

And what about, if you reboot the cam without the ethernet cable at the end of the procedure?

roleoroleo avatar Jan 04 '25 15:01 roleoroleo

And what about, if you reboot the cam without the ethernet cable at the end of the procedure?

Same result, connected to router but no IP assigned.

f870103 avatar Jan 04 '25 16:01 f870103

I have to check the code.

roleoroleo avatar Jan 04 '25 16:01 roleoroleo

This issue is resolved with pullrequest #179 See: https://github.com/roleoroleo/sonoff-hack/blob/f83fcd8d38a2151c376e2a9485183fbdf07d8fa7/sdhack/boot.sh#L60

There's no current release yet, but you could try an artifact from a github build, see bottom of that page: https://github.com/roleoroleo/sonoff-hack/actions/runs/13608127300

flreinhard avatar Mar 01 '25 21:03 flreinhard

I will publish a new release the next weekend.

roleoroleo avatar Mar 14 '25 08:03 roleoroleo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 13 '25 03:06 github-actions[bot]