how to use Chariot with Metro.
1. tftp the getchariot.sh to Metro.
tftp -g -r getchariot.sh
2. chmod 777 getchariot.sh
3. ./getchariot.sh [ tftp ip address]
this will get about 3 or 4 file from tftp server.
4. after Metro reboot, the endpoing will done.
The past is experience, the present is experiment and the future is exam.
Use your experience in your experiments, and you will pass the exams. (3 Idiots, 2009)
Linkedin : tw.linkedin.com/in/iamsunny
symimgs
symimg on the boarddata is to show whether
1) the flash has enough space to store the same image as both main and bkup
2) to tell which image to upgrade during fw update
if symimgs = y, then fw update will always alternate between main and bkup.
essentially it is using it as image1 and image2, not main and backup
if symimgs = n, then fw update will always update main (image1) and does not update the bkup image
1) the flash has enough space to store the same image as both main and bkup
2) to tell which image to upgrade during fw update
if symimgs = y, then fw update will always alternate between main and bkup.
essentially it is using it as image1 and image2, not main and backup
if symimgs = n, then fw update will always update main (image1) and does not update the bkup image
debug message
- wpa_cli terminate
- rkscli -c "set encryption svcp -u"
- cd /var/run/wpa_wupplicant.conf.wlan1
- wpa_supplicant -i wlan1 -D madwifi -c /var/run/wpa_supplicant.conf.wlan1 -d
- 80211debug -i wlan0 +assoc +auth +state
load Cert
# ls -l dropbear/
-r--r--r-- 1 root root 806 May 19 17:36 dropbear_rsa_key
-r--r--r-- 1 root root 49 May 19 17:36 dropbear_rsa_key.md5.fingerprint
-r--r--r-- 1 root root 382 May 19 17:36 dropbear_rsa_key.pub
# ls -l webs-certs/
-r--r--r-- 1 root root 1838 May 19 17:36 cert.pem
-r--r--r-- 1 root root 25 May 19 17:36 device.crt.expires
-r--r--r-- 1 root root 49 May 19 17:36 device.crt.md5.fingerprint.txt
-r--r--r-- 1 root root 61 May 19 17:36 device.crt.sha1.fingerprint.txt
-r-------- 1 root root 1679 May 19 17:36 key.pem
-r--r--r-- 1 root root 0 May 19 17:36 key.pem.decr
drwx--x--x 2 root root 0 May 19 17:36 trustedCAs_dir
# pwd
/writable/data
#
/writable/data/dropbear
tftp -g -l dropbear_rsa_key -r dropbear_rsa_key 192.168.0.100tftp -g -l dropbear_rsa_key_md5.fingerprint -r dropbear_rsa_key.md5.fingerprint 192.168.0.100 tftp -g -l dropbear_rsa_key.pub -r dropbear_rsa_key.pub 192.168.0.100
/wriatble/data/webs-certs
tftp -g -l cert.pem -r cert.pem 192.168.0.100tftp -g -l device.crt.expires -r device.crt.expires 192.168.0.100tftp -g -l device.crt.md5.fingerprint.txt -r device.crt.md5.fingerprint.txt 192.168.0.100tftp -g -l device.crt.sha1.fingerprint.txt -r device.crt.sha1.fingerprint.txt 192.168.0.100tftp -g -l key.pem -r key.pem 192.168.0.100tftp -g -l key.pem.decr -r key.pem.decr 192.168.0.100
To get the file
tftp -g -l filename -r filename host_ip
To put the file
tftp -p -l filename -r filename host_ip
-r--r--r-- 1 root root 806 May 19 17:36 dropbear_rsa_key
-r--r--r-- 1 root root 49 May 19 17:36 dropbear_rsa_key.md5.fingerprint
-r--r--r-- 1 root root 382 May 19 17:36 dropbear_rsa_key.pub
# ls -l webs-certs/
-r--r--r-- 1 root root 1838 May 19 17:36 cert.pem
-r--r--r-- 1 root root 25 May 19 17:36 device.crt.expires
-r--r--r-- 1 root root 49 May 19 17:36 device.crt.md5.fingerprint.txt
-r--r--r-- 1 root root 61 May 19 17:36 device.crt.sha1.fingerprint.txt
-r-------- 1 root root 1679 May 19 17:36 key.pem
-r--r--r-- 1 root root 0 May 19 17:36 key.pem.decr
drwx--x--x 2 root root 0 May 19 17:36 trustedCAs_dir
# pwd
/writable/data
#
/writable/data/dropbear
tftp -g -l dropbear_rsa_key -r dropbear_rsa_key 192.168.0.100tftp -g -l dropbear_rsa_key_md5.fingerprint -r dropbear_rsa_key.md5.fingerprint 192.168.0.100 tftp -g -l dropbear_rsa_key.pub -r dropbear_rsa_key.pub 192.168.0.100
/wriatble/data/webs-certs
tftp -g -l cert.pem -r cert.pem 192.168.0.100tftp -g -l device.crt.expires -r device.crt.expires 192.168.0.100tftp -g -l device.crt.md5.fingerprint.txt -r device.crt.md5.fingerprint.txt 192.168.0.100tftp -g -l device.crt.sha1.fingerprint.txt -r device.crt.sha1.fingerprint.txt 192.168.0.100tftp -g -l key.pem -r key.pem 192.168.0.100tftp -g -l key.pem.decr -r key.pem.decr 192.168.0.100
To get the file
tftp -g -l filename -r filename host_ip
To put the file
tftp -p -l filename -r filename host_ip
訂閱:
文章 (Atom)