Rabu, 04 Oktober 2017

Restart Jaringan Di Linux


Image result for Cara Restart Jaringan Di Linux
Restarting the network interface using command lines in Linux is a straight-forward procedure. While the GUI for Linus network configuration is more graphical and visually appealing, it may actually make restarting the network interface much longer. 

In operating systems such as Linux, the command line operations generally accomplish the task faster than the GUI interface. Restarting the network interface by using command lines will require certain user privileges, as well as designation as the system's root user, or via the Sudo. There are separate commands to restart the network services and to restart a particular network interface. 

Linux: Restarting the Network Interface Using Command Lines

Then process of setting up a network can be quite lengthy, especially if you need to verify that your DHCP server is correctly assigning its IP addresses. A quicker way of restarting the network interface would be to use command lines

These commands should be executed as root or via sudo. The following commands are specific to debian (Ubuntu or Xandros). 

Stop the network interface eth0: 
ifdown eth0 

Start the network interface eth0: 
ifup eth0 

Don't confuse with the following command, which restarts all the networks services : 
/etc/init.d/networking restart

To see your various network interfaces, use the command: 
/sbin/ifconfig -a
Translating :
Restart antarmuka jaringan dengan menggunakan command line di Linux adalah prosedur straight-forward. Sementara GUI untuk konfigurasi jaringan Linus lebih bersifat grafis dan menarik secara visual, sebenarnya ini bisa membuat me-restart antarmuka jaringan lebih lama.

Dalam sistem operasi seperti Linux, operasi command line umumnya menyelesaikan tugas lebih cepat daripada antarmuka GUI. Restart antarmuka jaringan dengan menggunakan baris perintah akan memerlukan hak pengguna tertentu, dan juga sebagai pengguna root sistem, atau melalui Sudo. Ada perintah terpisah untuk me-restart layanan jaringan dan untuk me-restart sebuah antarmuka jaringan tertentu.
Linux: Restart Antarmuka Jaringan Menggunakan Baris Perintah

Kemudian proses pengaturan jaringan bisa sangat panjang, terutama jika Anda perlu memverifikasi bahwa server DHCP Anda benar menetapkan alamat IP-nya. Cara yang lebih cepat untuk me-restart antarmuka jaringan adalah dengan menggunakan baris perintah.

Perintah ini harus dijalankan sebagai root atau melalui sudo. Perintah berikut khusus untuk debian (Ubuntu atau Xandros).

Hentikan antarmuka jaringan eth0:
ifdown eth0

Jalankan antarmuka jaringan eth0:
ifup eth0

Jangan bingung dengan perintah berikut, yang me-restart semua layanan jaringan:
/etc/init.d/networking restart

Untuk melihat berbagai antarmuka jaringan Anda, gunakan perintah:
/ sbin / ifconfig -a

0 komentar:

Posting Komentar