zvldz / mgl03_fw

Xiaomi Gateway v3 firmwares and update manuals
228 stars 42 forks source link

Unable to flash custom firmware for Xiaomi Multimode Gateway 2 CN (DMWG03LM) #21

Open terenceng81 opened 1 year ago

terenceng81 commented 1 year ago

Not sure why, this does not happen on my Xiaomi Multimode Gateway 1 CN (ZNDMWG03LM)

image

/home # wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/cu rl?viasf=1" && chmod +x /tmp/curl Connecting to master.dl.sourceforge.net (216.105.38.12:80) curl 100% |***| 2271k 0:00:00 ETA /home # export PATH="$PATH:/tmp" /home # curl -s -k -L -o /tmp/update.sh https://raw.githubusercontent.com/zvldz/ mgl03_fw/main/firmware/mgl03_update.sh && sh /tmp/update.sh /tmp/curl: line 1: syntax error: unexpected "(" /home #

Andrei-Zayats commented 1 year ago

I have the same issue on my Xiaomi Smart Home Hub 2 (ZNDMWG04LM) Firmware 1.0.5_0016

image

/ # wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/curl?viasf=1" && chmod +x /tmp/curl
Connecting to master.dl.sourceforge.net (216.105.38.12:80)
curl                 100% |***************************************************************************************************|  2271k  0:00:00 ETA
/ # export PATH="$PATH:/tmp"
/ # curl -s -k -L -o /tmp/update.sh https://raw.githubusercontent.com/zvldz/mgl03_fw/main/firmware/mgl03_update.sh && sh /tmp/update.sh
/tmp/curl: line 1: syntax error: unexpected "("
/ # 
zvldz commented 1 year ago

This firmware is only for Xiaomi Gateway 3(lumi.gateway.mgl03), not for Xiaomi Smart Multi-Mode Gateway 2(lumi.gateway.mcn001).