Archive

Archive for the ‘LiNuX (based on debian)’ Category

Own Notes – Iptables

24 March 2017 Leave a comment

Allow Incoming SSH only from a Specific Network

    The following rules allow incoming ssh connections only from 192.168.100.0/24 network

    root@home# iptables -A INPUT -i eth0 -p tcp -s 192.168.100.0/24 --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
    root@home# iptables -A OUTPUT -o eth0 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT

Read more…

Create network boot for concurrent RHEL6.5 installation

29 January 2015 Leave a comment

Requirement

  1. Installed RHEL6.5
  2. RHEL6.5 x86_64 DVD installer
  3. Services : dhcp, NFS, tftp
  4. Familiar with vi text editor (or nano, etc)

Advantage

  1. Installation can be done concurrently without DVD
  2. Time and Money saving

Read more…

RedHat Linux network redundancy using interface bonding

11 May 2014 1 comment

This notes written down when facing requirement to make barco wall-display working with redundant network link. Eventhough setup barco controller is not part of my responsibility, I still want to help our customer to fulfill their needs – for the sake of knowledge sharing.

Specification

This configuration tested using hardware and software specification

  1. Linux distribution RH7.2 (Enigma) i386
  2. network interfaces (identified as eth0 & eth1)

Read more…

Create SVN Server and Browsing Repository from WebServer (https)

12 May 2012 9 comments

Salah satu kegunaan SVN (subversion) adalah untuk mempermudah programmer dalam me-manage source code yang dibuatnya. SVN membantu kita utk melakukan update source code, rollback to specific version, membuat branch, dll.
Tutorial ini menjelaskan step-by-step proses instalasi SVN server, serta browsing melalui web server (https) pada webserver apache. Pada dasarnya tanpa membuat koneksi https kita juga sdh bisa mem-browsing isi SVN server melalui web server tetapi pada disini sengaja saya gunakan HTTPS karena kita menggunakan web-based authentikasi, yang tentunya username & password yg ada tidak kita harapkan untuk di-sniff oleh kawan2 kita yg cukup “pintar”. 🙂
Read more…

Portsnap error when fetching metadata

25 April 2012 5 comments

Symtomps

root@documentation:/home/lqman# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap1.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Tue Apr 10 14:26:36 WIT 2012 to Thu Apr 19 13:29:51 WIT 2012.
Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 67a31f4d7c38f9a89afb15b40a7bd893cbfdffb4f14703f84d8b6f747084f87e.gz: No such file or directory
metadata is corrupt
.

Read more…

Sending data to serial port simultaneusly using jpnevulator

31 March 2012 7 comments

This solution comes when we facing trouble on solaris10 at remote site, whenever the machine read data from GPS using usb2serial cable, core-dump is always happen.

Before we go to the site (medan) we must simulate & solve problem at our office.

Laptop CQ-42 Read more…

Proxy Authentication with NTLM scheme

4 November 2011 Leave a comment

Ini adalah kenang-kenangan dari pulau Batam.

Secara default OS unix/linux tidak support utk mengikuti schema domain authencation yg dimiliki windows, yaitu NTLM dengan format nama_domain\nama_user.
Setelah seharian melakukan analisa terhadap kesalahan yg terjadi, ternyata om google memberikan pencerahan, Read more…