TAILIEUCHUNG - Ubuntu Linux Toolbox 1000+ Commands for Ubuntu and Debian Power Users phần 8

Các kịch bản mà bắt đầu cấu hình mạng, các kịch bản các tập tin / etc / / network. Cũng như các dịch vụ khác Linux, bạn có thể bắt đầu và dừng dịch vụ mạng bằng cách sử dụng lệnh / etc / / networking. Để có tất cả các NIC vẫn chưa có mặt trong diễn đàn sau đó mang chúng trở lại trực tuyến, cho phép bất kỳ thay đổi để các kịch bản mạng để có hiệu lực thi hành, gõ như sau:. | Chapter 11 Managing Network Connections auto eth1 iface ethl inet dhcp auto eth2 iface eth2 inet dhcp auto ath0 iface ath0 inet dhcp auto wlan0 iface wlan0 inet dhcp To get more information on this file type the following less usr share doc network-manager If you change the interfaces file you need to run the following command sudo etc dbus-1 25NetworkManager restart The script that starts the configured network-scripts files is etc network. As with other Linux services you can start and stop the network service using the etc networking command. To take all NICs offline then bring them back online allowing any change to the network scripts to take effect type the following sudo etc networking restart Shutdown and bring up network interfaces Reconfiguring network interfaces. There is already a pid file var run with pid 9242 killed old client process removed PID file Internet Systems Consortium DHCP Client Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info please visit http sw dhcp Listening on LPF eth0 00 19 d1 5a a9 e2 Sending on LPF eth0 00 19 d1 5a a9 e2 Sending on Socket fallback DHCPRELEASE on eth0 to port 67 There is already a pid file var run with pid 134993416 Internet Systems Consortium DHCP Client Copyright 2004-2006 Internet Systems Consortium. . OK You may see errors for extra interfaces defined but not available on your system such as wireless interfaces. You can ignore any error that refers to a networking device you have not installed. 217 Chapter 11 Managing Network Connections Use the start and stop options to start and stop your network interfaces respectively sudo etc networking stop Shutdown network interfaces sudo etc networking start Bring up network interfaces To check the status of your network interfaces type the following ifconfig Check network interface status eth0 Link encap .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.