Memulai Ubuntu: Perbedaan antara revisi

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
Baris 46: Baris 46:
         TX packets 0  bytes 0 (0.0 B)
         TX packets 0  bytes 0 (0.0 B)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
         inet 127.0.0.1  netmask 255.0.0.0
         inet 127.0.0.1  netmask 255.0.0.0
Baris 55: Baris 54:
         TX packets 1991  bytes 223018 (223.0 KB)
         TX packets 1991  bytes 223018 (223.0 KB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.5.61  netmask 255.255.255.0  broadcast 192.168.5.255
         inet 192.168.5.61  netmask 255.255.255.0  broadcast 192.168.5.255
Baris 64: Baris 62:
         TX packets 58873  bytes 8145743 (8.1 MB)
         TX packets 58873  bytes 8145743 (8.1 MB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  robie@robie-HP-EliteBook-745-G6:~$
  robie@robie-HP-EliteBook-745-G6:~$

Revisi per 30 Agustus 2023 05.47

Setelah melakukan instalasi sistem operasi linux Ubuntu, pertama-tama yang perlu dilakukan adalah menginstall ifconfig dengan perintah

$sudo apt install net-tools


jika muncul tampilan seperti ini silakan update dengan perintah

root@robie-HP-EliteBook-745-G6:/home/robie# ifconfig
Command 'ifconfig' not found, but can be installed with:
apt install net-tools

$sudo apt update

Lalu install lagi dengan perintah

$sudo apt install ifconfig lalu tekan enter

akan muncul tampilan kira-kira seperti ini

robie@robie-HP-EliteBook-745-G6:~$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  net-tools
0 upgraded, 1 newly installed, 0 to remove and 452 not upgraded.
Need to get 196 kB of archives.
After this operation, 864 kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1ubuntu1 [196 kB]
Fetched 196 kB in 0s (510 kB/s)   
Selecting previously unselected package net-tools.
(Reading database ... 123783 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb ...
Unpacking net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Setting up net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
robie@robie-HP-EliteBook-745-G6:~$

Jika sudah berhasil terinstall seperti pada keterangan diatas, coba jalankan perintah ifconfig lalu tekan enter.

robie@robie-HP-EliteBook-745-G6:~$ ifconfig
enp1s0f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
       ether 00:68:eb:e0:a3:a6  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
       inet 127.0.0.1  netmask 255.0.0.0
       inet6 ::1  prefixlen 128  scopeid 0x10<host>
       loop  txqueuelen 1000  (Local Loopback)
       RX packets 1991  bytes 223018 (223.0 KB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 1991  bytes 223018 (223.0 KB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
       inet 192.168.5.61  netmask 255.255.255.0  broadcast 192.168.5.255
       inet6 fe80::9a44:8372:7c23:e4c7  prefixlen 64  scopeid 0x20<link>
       ether 7c:b2:7d:c4:e3:9d  txqueuelen 1000  (Ethernet)
       RX packets 82302  bytes 106187048 (106.1 MB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 58873  bytes 8145743 (8.1 MB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
robie@robie-HP-EliteBook-745-G6:~$