ubuntu 14.04无法连接到以太网
天蓬老师
天蓬老师 2017-04-21 11:16:59
0
3
967
ifconfig
eth0      Link encap:以太网  硬件地址 20:1a:06:1d:28:e4  
          inet6 地址: fe80::221a:6ff:fe1d:28e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
          接收数据包:0 错误:0 丢弃:365 过载:0 帧数:0
          发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000 
          接收字节:0 (0.0 B)  发送字节:0 (0.0 B)
          中断:16 

lo        Link encap:本地环回  
          inet 地址:127.0.0.1  掩码:255.0.0.0
          inet6 地址: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  跃点数:1
          接收数据包:309126 错误:0 丢弃:0 过载:0 帧数:0
          发送数据包:309126 错误:0 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:0 
          接收字节:213647809 (213.6 MB)  发送字节:213647809 (213.6 MB)

wlan0     Link encap:以太网  硬件地址 f8:2f:a8:f1:91:19  
          inet 地址:192.168.1.110  广播:192.168.1.255  掩码:255.255.255.0
          inet6 地址: fe80::fa2f:a8ff:fef1:9119/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
          接收数据包:321094 错误:0 丢弃:0 过载:0 帧数:3433470
          发送数据包:310275 错误:1179 丢弃:0 过载:0 载波:0
          碰撞:0 发送队列长度:1000 
          接收字节:323482820 (323.4 MB)  发送字节:48938174 (48.9 MB)
          中断:17 

补充:wifi能上网,有线网连不上

ping gateway

PING gateway (202.102.110.204) 56(84) bytes of data.
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
巴扎黑

Do you have no wifi or can’t access the Internet via network cable
Let’s see if we can get the IP first
Ping gateway again

PHPzhong

Looking at your screenshot, eth0 does not have an IP configured. If it is DHCP, it does not get the IP address. Even if you get the IP address, please check whether the gateway is configured correctly.
It is best to post the ifcfg configuration file and take a look.

迷茫

The IP address was not obtained. Edit connection in the upper right corner of the desktop - click Ethernet connection - edit in the right column, select IPV4 settings, select DHCP or manually set a static IP as needed.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!