running scanner on arch linux

first all we need install packages called SANE

sudo pacman -S sane

then show list scanner we want use

$ scanimage -L
device `v4l:/dev/video0' is a Noname UVC Camera (eb1a:013a) virtual device
device `pixma:04A9174E_517EB0' is a CANON Canon PIXMA MX410 multi-function peripheral

the device called pixma:04A9xxxxxxx is my plug scanner, then input your document into scanner. and running this command on your fucking shell.

$scanimage --device pixma:04A9174E_517EB0 --format=tiff > result_scan.tiff

and fucking done bro. (install frontend for scanner ex: simple-scan make you easier)

Memisahkan Route pada Windows Server Interface 1 ke Leased Line & Interface 2 ke Internet

selamat malam, berikut topologynya

Topology AMA (Kimia Farma Payment)

settingan interface di windows

interface 1

ip: 192.168.77.22
mask: 255.255.255.255 / 30
gw: 192.168.77.21

(set metric 10 di advance properties)

interface 2

ip: 172.31.18.250/29
mask: 255.255.255.248
gw: 172.31.18.249
dns1: ip dns datacenter
dns2: ip dns datacenter

(set metric 5 di advance properties)

selanjutnya tambah route sedikit seperti berikut

> route add -p 202.3.108.81 mask 255.255.255.255 192.168.77.21 if 1 (interface 1)

jika masih gagal

tambahkan ini sebelum route di atas

> route add -p 192.168.77.16 mask 255.255.255.252 192.168.77.21 if 1 (interface 1)
dan vice versa

semoga berhasil 🙂