Lets play: CLI snake on the OLinuXino

CLI snake over 115200 baud serial line

CLI snake over 115200 baud serial line

[chris@thinkpad tools]$ picocom -b 115200 -d 8 -p n --send-cmd "sz -y" --receive-cmd "rz -y" /dev/ttyUSB0
picocom v1.6

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -y
receive_cmd is : rz -y
imap is        :
omap is        :
emap is        : crcrlf,delbs,

Terminal ready

Arch Linux 3.7.6-dirty (ttyAMA0)

olinuxino login: root
Password:
Last login: Wed Dec 31 18:01:04 on ttyAMA0

[root@olinuxino ~]# sh wconfig
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 channel 4
iwconfig wlan0 essid tuxnet
iwconfig wlan0 key 00000001111111110000000011
ifconfig wlan0 up
dhcpcd wlan0
dhcpcd[156]: version 5.6.4 starting
dhcpcd[156]: all: configured as a router, not a host
dhcpcd[156]: wlan0: waiting for carrier
[  162.040000] wlan0: Creating new IBSS network, BSSID de:52:2b:e4:5e:ef
dhcpcd[156]: wlan0: carrier acquired
dhcpcd[156]: wlan0: rebinding lease of 10.42.0.48
dhcpcd[156]: wlan0: broadcasting for a lease
dhcpcd[156]: wlan0: offered 10.42.0.48 from 10.42.0.1
dhcpcd[156]: wlan0: acknowledged 10.42.0.48 from 10.42.0.1
dhcpcd[156]: wlan0: checking for 10.42.0.48
dhcpcd[156]: wlan0: leased 10.42.0.48 for 3600 seconds
dhcpcd[156]: forked to background, child pid 188

[root@olinuxino ~]# wget wget http://bruxy.regnet.cz/linux/housenka/housenka.sh
--1969-12-31 18:03:28--  http://wget/
Resolving wget (wget)... failed: Name or service not known.
wget: unable to resolve host address ‘wget’
--1969-12-31 18:03:28--  http://bruxy.regnet.cz/linux/housenka/housenka.sh
Resolving bruxy.regnet.cz (bruxy.regnet.cz)... 77.93.199.176
Connecting to bruxy.regnet.cz (bruxy.regnet.cz)|77.93.199.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6824 (6.7K) [text/x-sh]
Saving to: ‘housenka.sh’

100%[======================================>] 6,824       2.46KB/s   in 2.7s

1969-12-31 18:03:31 (2.46 KB/s) - ‘housenka.sh’ saved [6824/6824]

FINISHED --1969-12-31 18:03:31--
Total wall clock time: 3.1s
Downloaded: 1 files, 6.7K in 2.7s (2.46 KB/s)
[root@olinuxino ~]# chmod +x housenka.sh
[root@olinuxino ~]# ./housenka.sh
Game Over - Too Much Lag

Game Over - Too Much Lag