Jaringan Di Linux
Hardware Compatibilty
# lspci
01:00.0 VGA compatible controller: ATI Technologies
Inc RV280 [Radeon 9200 SE] (rev 01)
01:00.1 Display controller: ATI Technologies Inc
RV280 [Radeon 9200 SE] (Secondary) (rev 01)
02:06.0 Ethernet controller: Realtek Semiconductor
Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Lihat Konfigurasi Jaringan
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Konfigurasi Kartu Jaringan
# ifconfig eth0 10.134.12.108
# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:76:81:AD:8F
inet addr:10.134.12.108 Bcast:10.134.12.255
Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:20 Base address:0x4f00
Test Jaringan
# ping 192.168.1.10 -c 5
PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.044 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=64 time=0.030 ms
64 bytes from 192.168.1.10: icmp_seq=4 ttl=64 time=0.033 ms
64 bytes from 192.168.1.10: icmp_seq=5 ttl=64 time=0.047 ms
--- 192.168.1.10 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time
3997ms
rtt min/avg/max/mdev = 0.028/0.036/0.047/0.009 ms
CHECK SERVICE
# nmap 192.168.1.10
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at
2007-01-28 07:49 WIT mass_dns: warning: Unable to
determine any DNS servers. Reverse DNS is disabled. Try
using --system-dns or specify valid servers with –
dns_servers Interesting ports on 192.168.1.10: Not shown:
1675 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
37/tcp open time
113/tcp open auth
631/tcp open ipp
Nmap finished: 1 IP address (1 host up) scanned in 0.134
seconds
Remote Server
# ssh 192.168.1.10 The authenticity of host '192.168.1.10
(192.168.1.10)' can't be established.
RSA key fingerprint is
7d:fc:d3:2c:41:b2:79:48:4b:43:2a:a3:cf:0a:80:87.
Are you sure you want to continue connecting
(yes/no)? yes
Warning: Permanently added '192.168.1.10' (RSA) to
the list of known hosts.
root@192.168.1.10's password:
Last login: Sun Jan 28 07:38:18 2007
Linux 2.6.17.13-smp.
File Transfer
# ftp 192.168.1.10 Connected to 192.168.1.10.
220 (vsFTPd 2.0.5)
Name (192.168.1.10:root): root – Nama Pengguna
331 Please specify the password.
Password: --Masukan Passord root--
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
Ftp> -- Siapa menerima perintah--Bingung ketikan help
Tool Lainnya
● scp (Secure Copy) Using SSH Service
● gftp (Gnome File Transfer Protocol)
● mc (Midnight Commander)
● Browser (Firefox, Opera)