How to use - leesy24/scan_2d-laser GitHub Wiki
On Eddy
νμΌλ€μ Eddyμ /flash λλ ν 리μ 볡μ¬νλ€.
# ls -al
...
-rwxr-xr-x 1 root root 60672 Oct 17 06:21 arp-scan
-rw-r--r-- 1 root root 541560 Oct 17 06:21 libpcap.so.1.8.1
-rw-r--r-- 1 root root 29400 Oct 17 06:21 libssp.so.0.0.0
-rwxr-xr-x 1 root root 1199 Oct 18 01:51 scan_2d-laser.sh
-rwxr-xr-x 1 root root 41 Oct 17 07:14 set_env.sh
...
set_env.shλ₯Ό μ€ννκ³ μλ‘μ΄ νμΌλ€μ΄ μμ±λλκ² νμΈ
# source /flash/set_env.sh
#
# ls -al
...
lrwxrwxrwx 1 root root 16 Oct 17 06:22 libpcap.so.1 -> libpcap.so.1.8.1
...
lrwxrwxrwx 1 root root 15 Oct 17 06:22 libssp.so.0 -> libssp.so.0.0.0
...
μμ μ€ν¬λ¦½νΈμ scan_2d-laser.sh μ & λ₯Ό μΆκ°νλ€. (μ. ttySerial.sh) Add scan_2d-laser.sh with & on start script(ex. ttySerial.sh)
#! /bin/sh
## This file: /flash/ttySerial.sh
##
## USE from : /etc/init.d/S50ttySerial
##
## --------------------------------------------
ip address add 10.0.0.223/16 dev eth0
## ---(USE for DPS2590 IP with 192.168.0.223)-- ##
sleep 1
/flash/scan_2d-laser.sh &
while true; do
....