Basic command:
1 |
diskspd.exe -b64K -d60 -h -L -o2 -t4 -r -w50 -c512M z:\io2.dat |
raw data: Continue reading “Testing IO performance with variable block size on NTFS and REFS”
Notes to myself
Basic command:
1 |
diskspd.exe -b64K -d60 -h -L -o2 -t4 -r -w50 -c512M z:\io2.dat |
raw data: Continue reading “Testing IO performance with variable block size on NTFS and REFS”
Here is a schematic diagram of connecting Meitrack GPS to control Webasto parking heater.
You can turn it on/off with the following SMS:
1 |
0000,C01,20,22221 |
1 |
0000,C01,20,22220 |
Or use some web app…
Continue reading “Control Webasto Parkin Heater with Meitrack GPS”
We had a task to build a simple solution for DDOS protection on the learning phase of attack. Main goals were:
1 2 3 4 5 6 7 8 9 |
#!/bin/bash cmd=". /etc/profile; $1; exit;" echo $cmd for i in 1 2 4 7 9 10 11 do ssh -i /root/.ssh/id_rsa 192.168.98.$i $cmd </dev/null done |
1 2 |
sh remote_exec.sh "uci set wireless.@wifi-device[0].isolate=1" sh remote_exec.sh "logread -l 1000|grep bc:cf:cc:74:d0:11" |
I was in trouble reading my car’s live data. So I’ve wrote a little utility to read raw car sensors data i.e. i hook up before ECU and send it via serial port to PC using ATmega328P Nano and finally store it to file.
Where to get one:
http://www.banggood.com/ATmega328P-Nano-V3-Controller-Board-Compatible-Arduino-p-940937.html
How to install:
1. Flash AnalogReadSerial.hex to ATMega.
2. Extract and run carauto. .Net 4 is needed.
3. Choose com port from dropdown menu.
How to use:
Connect analog/digital input to intended sensor via 1KOmh resistor. Please note that all inputs are 5V only!
Shorting digital Input 12 to ground will produce human readable data and will decrease sample rate.
Reading data:
Data are stored in Output.csv file with approximately 1000 samples/second.
Changing http, https, remote console ports
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
$ racadm config -g cfgRacTuning -o cfgRacTuneHttpsPort 4436 Object value modified successfully $ racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 8888 Object value modified successfully $ racadm getconfig -g cfgRacTuning cfgRacTuneRemoteRacadmEnable=1 cfgRacTuneWebserverEnable=1 cfgRacTuneHttpPort=8888 cfgRacTuneHttpsPort=4436 cfgRacTuneTelnetPort=23 cfgRacTuneSshPort=22 cfgRacTuneConRedirEnable=1 cfgRacTuneConRedirPort=5900 cfgRacTuneConRedirVideoPort=5901 cfgRacTuneConRedirEncryptEnable=0 cfgRacTuneLocalServerVideo=1 cfgRacTuneIpRangeEnable=0 cfgRacTuneIpRangeAddr=192.168.1.1 cfgRacTuneIpRangeMask=255.255.255.0 cfgRacTuneIpBlkEnable=0 cfgRacTuneIpBlkFailCount=5 cfgRacTuneIpBlkFailWindow=60 cfgRacTuneIpBlkPenaltyTime=300 cfgRacTuneTimezoneOffset=0 cfgRacTuneDaylightOffset=0 cfgRacTuneAsrEnable=0 cfgRacTuneVirtualConsoleAuthorizeMultipleSessions=0 cfgRacTuneCtrlEConfigDisable=0 cfgRacTuneLocalConfigDisable=0 cfgRacTunePluginType=0 |
clear some space
1 2 3 4 |
racadm clearasrscreen racadm clrraclog racadm clrsel racadm coredumpdelete |
reload
1 |
racadm racreset soft |
with error:
1 |
Sat Mar 14 20:48:43 2015 TCP/UDP: Socket bind failed on local address [AF_INET]192.168.0.254:1194: Cannot assign requested address |
try to add to /etc/rc.local:
1 2 |
sleep 10s /etc/init.d/openvpn start |
KEMSCO DAEWOO
1AEK
I have a problem with my Tacuma ECU. Randomly MAP sensor stalls at 115KPa. Triple checking sensor and wires shows that it works and I suspected that ADC in ECU is problematic. The easiest way to repair is to get spare ECU, read flash (AM29F200BB – chip#1) of old one and program it to new ECU.