Closed samthesuperhero closed 2 years ago
Hi @AlexxIT, thanks for answers!
Can you please advise where can I read about building my own firmware?
And what to put in the /data/run.sh to modify the miio_client
command line parameters??
Thank you!
I never build fw and don't have this instructions
You can create a script '/data/scripts/startup.sh' which will be called while boot up. for example, here is my script
#!/bin/sh
telnetd_running=`pgrep telnetd`
if [ "x${telnetd_running}" == "x" ]; then telnetd; fi
startup.sh
echo enable > /sys/class/tty/tty/enable
You can reference startup.sh to create your own startup script. And remember to run telnetd and wifi_start.sh.
I think the issue may be closed
Hi,
question - what is the best way if I want to modify scripts / configs inside the gateway?
just updated the firmware using mgl03_1.4.7_0115_mod20201222.uart, connected to it via Telnet,
and trying to find the way how to redirect
miio_client
to my private cloud to implement the protocol on my cloud, without a need to route the traffic from my cloud to local network address of gateway.What I get whn I try to change configs in gateway filesystem is:
As I understand --host= --port= to my cloud endpoint should work!
any ideas?
Thank you!!