Merupakan perintah untuk menampilkan alamat semua perangkat atau
device
yang terpasang baik yang berjenis USB maupun
Card yang tertanam di
motherboard. Sebagai catatan bahwa perintah
lsusb tidak menampilkan
keterangan apapun mengenai perangkat yang ada. Contoh penggunaan perintah ini:
~$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1307:0165
Bus 001 Device 005: ID 10f1:1a08
Bus 002 Device 002: ID 05e3:0606
Bus 003 Device 002: ID 13d3:3249
Bus 002 Device 003: ID 0cf3:9271
Bus 002 Device 004: ID 2166:6649
~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller
Perintah ini kita gunakan untuk melihat parameter-parameter perangkat jaringan
yang ada yang biasanya berupa nama antarmuka, frekuensi dan SSID.
Untuk mengubah parameter tersebut biasanya pada sistem linux telah disertakan
file
script jaringan beserta file konfigurasinya (
network.sh dan
network.conf) yang dengan bantuan dua file tersebut kita dapat memulai
atau menghentikan operasi sebuah antarmuka perangkat jaringan.
Contoh penggunaan perintah
iwconfig adalah seperti berikut:
~$ iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Sedangkan perintah iwlist ini digunakan untuk memindai (scan) jaringan yang ada
disamping memberikan beberapa informasi tambahan.
Contoh:
# iwlist wlan1 scan
wlan1 Scan completed :
Cell 01 - Address: 78:E8:B6:DB:21:F6
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=21/70 Signal level=-89 dBm
Encryption key:on
ESSID:"GO AWAY!!!"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000002fe1867f9
Extra: Last beacon: 1049ms ago
IE: Unknown: 000A474F2041574159212121
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1ABC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080400000000000000000000000000000000000000
IE: Unknown: DD090010180201000C0000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F202010184000364000027A4000041435E0061322F00
Demikian saja ulasan saya yang sangat singkat ini, kalau kurang mohon ditambahi
Sekian.
Kembali ke atas