tankos code

Remember tankos?

I wrote Tankos in C and I used the ATMEL Studio to put it together,
the code is on github ...

  • one ATmega328 Arduino ( UNO ) board
  • one SR04 ultrasonic range detector
  • tamiya tracks ( got them from a bulldozer toy )
  • one tamiya twin-motor gearbox that I geared to go slow with a lot of torque
  • one small tower pro servo
  • fuses, buttons , switches , breadboard cables , a tiny breadbord, 4 18650s, a twin 18650 case that connects them in series, two single 18650 cases , dc jacks , H bridges , plywood , screws , random pieces of clear plastic, etc

if you want to recreate tankos and you need help in choosing hardware or find your way around the code please contact me .

tankos code

Centos 7 VNC server

Centos 7 VNC server notes

The distro
# cat /etc/issue /etc/redhat-release 
Kernel \r on an \m

CentOS Linux release 7.1.1503 (Core) 

Install tigervnc-server
# yum install tigervnc-server

set the vnc password for the asystemuser user
# su asystemuser
$ vncpasswd

puch the appropriate firewall holes
# firewall-cmd --permanent --zone=public --add-service vnc-server
# firewall-cmd --reload

start VNC server as asystemuser
# su asystemuser
$ vncserver

centos 7 vnc server

notes on moving xen guests to KVM

Set up the KVM guest in the KVM host
virt-install -n xxenguest -r 4096 --vcpus=2 --os-type=linux --disk /home/vm/xxenguest/xxenguest-copy.img --network=bridge:br0 --hvm --vnc --noautoconsole --import

Switch to rtl8139 Ethernet controller module in /etc/modprobe.conf in the KVM guest
# cat /etc/modprobe.conf
#alias scsi_hostadapter ata_piix
alias scsi_hostadapter xen-vbd
alias sym53c8xx off
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias eth0 8139cp
#alias eth0 xen-vnif

notes on moving xen guests to KVM