星期六, 6月 22, 2013

Ralink 5350


OpenWrt-HAME-MPR-A2
HLK-RM04无线路由器/串口转以太网/串口转WIFI模块
HAME MPR-A1 3G行動電源路由器
RT5350F AP 整套方案 SDK4.0 搭好環境fedora6和vmware 直接可用
I've been playing with these modules a bit and I have discovered a few things.  There are a number of undocumented AT commands in the stock firmware.  Here's the full list of them:
Channel
CLport
default
dhcpc
dhcpd
dhcpd_dns
dhcpd_ip
dhcpd_time
err
escap
excxxx
Get_MAC
gpio_mode
gpio_read
gpio_save
gpio_write
net_commit
net_dns
net_ip
netmode
net_wanip
out_trans
pm
reboot
reconn
remoteip
remoteport
remotepro
S2N_Stat
save
settings
settings_done
status
suspend
tcp_auto
tcp_client_check
uart
uartpackintertimeout
uartpacklen
uartpacktimeout
ver
wifi_conf
wifi_ConState
wifi_Scan
XON_XOFF
The most interesting of these is at+excxxx, its just a call to system() with the argument you provide.  You can start telnetd with it to get a shell.
at+excxxx=telnetd
You can also get a shell on UART2 by sending the special sequence "174317529705122" and return.  getty sets up the port for 57600 baud and waits on this sequence before its allowed to accept characters and output anything.  login has already issued the "login:" prompt, so after entering the sequence, you won't see anything until login asks for the password.
I've documented the above already in the wiki, including a bit on TFTP, check it out.
Here's a couple of handy resources not referenced here yet:
A schematic of the HLK starter kit V1.7 PCB in this zip: http://m5.img.dxcdn.com/CDDriver/CD/sku.214540.zip
The manual for the module in English is here: http://www.hlktech.net/inc/lib/download/download.php?DId=19
Cheers!

星期日, 6月 16, 2013

初馬

我的初馬 - 2011太魯閣馬拉松
  • 出發前 : 一包沛力素
  • 10K : 半條Snickers,一顆鹽錠
  • 15K : 半條香蕉
  • 20K : 半條Snickers,一顆鹽錠,神水300cc(5小匙)
  • 25K : 4顆BCAA,半條香蕉
  • 30K : 一包Gu,一顆鹽錠
  • 35K : 半條香蕉,一顆鹽錠(天氣太熱,這裡又補了一顆鹽錠)
  • 結束後 : 一包沛力素,一瓶蘋果牛奶



Marathon Calculator of MARCO  Important




中階跑者的訓練菜單
星期一星期二星期三星期四星期五星期六星期日
第1週30分30分30分35分
第2週30303040
第3週30353045
第4週30353050
第5週30353055
第6週30353060
第7週30403060
第8週30453060
第9週30303060
第10週3020353060
第11週3020403060
第12週3020453060
第13週302045*3060
第14週302045*3060
第15週302045*3060
第16週302045*3060