Ubuntu, usually wired Nic is eth0,http://www.aliyun.com/zixun/aggregation/32544.html "> wireless network card is Wlan0, Subsequent additions and so on (some wireless network card models may be named eth1, not wlan0).
Ifconfig Introduction
Ifconfig is a tool used to view, configure, enable, or disable network interfaces, a tool that is most commonly used (that is, people who like to move commands ...). )。
View System network card information
Ifconfig
Activate/disable NIC
Activate network card
sudo ifconfig NIC device name up
View Network card information
Ifconfig Network Card device name
Enable/disable Network
Sudo/etc/init.d/networking start
Iwconfig
For viewing wireless connections
qii@ubuntu:~$ Iwconfig Lo no wireless extensions.
Eth0 no wireless extensions.
Wlan0 IEEE 802.11BGN Essid:off/any mode:managed Access point:not-associated tx-power=20 dBm Retry long limit:7 RTS thr:off Fragment Thr:off Power Management:off
For example, at the bottom, in this format, the first line here is Realtek's rtl8111/8168b wired network card, and the second line is the Atheros AR9285 wireless network card.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.