After the debian upgrade, the NIC cannot be found.
Source: Internet
Author: User
After the debian upgrade, the network card cannot be found -- the Linux Release Technology-Debian information. The following is a detailed description. In fact, it is quite simple. Today, a large number of programs have been upgraded, and the network service is automatically stopped during the upgrade process. After the restart, it is found that the Internet connection is no longer available.
Ifconfig looked at it and the valid Nic device is eth0. It should be correct. I always use it, but the default IP address is 127.0.0.1, which is not configured.
Ifconfig eth0 inet up 192.168.0.111 \
Netmask 255.255.255.0 broadcast 192.168.0.255
Route add-net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0
Or not.
Open/etc/interface and see that etc0 has been configured in the name.
When ifconfig-a accidentally saw eth1, it suddenly occurred that two Nic devices were added in gnome, and eth0 was replaced by eth1.
Modify etc/interface and change eth0 to eth1,
/Etc/init. d/networking restart
It's quite a small problem. The idea of first-in-first-class wastes a lot of time.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service