Maison  >  Questions et réponses  >  le corps du texte

ubuntu 14.04无法连接到以太网

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.
天蓬老师天蓬老师2740 Il y a quelques jours977

répondre à tous(3)je répondrai

  • 巴扎黑

    巴扎黑2017-04-21 11:18:59

    Vous ne parvenez pas à utiliser le wifi ou vous n'avez pas accès à Internet via un câble ?
    Voyons si nous pouvons d'abord obtenir l'adresse IP
    Puis ping la passerelle

    répondre
    0
  • PHPz

    PHPz2017-04-21 11:18:59

    En regardant votre capture d'écran, eth0 n'a pas d'adresse IP configurée. S'il s'agit de DHCP, il n'obtient pas l'adresse IP. Même si vous obtenez l'adresse IP, veuillez vérifier si la passerelle est correctement configurée.
    Il est préférable de publier le fichier de configuration ifcfg et d'y jeter un œil.

    répondre
    0
  • 迷茫

    迷茫2017-04-21 11:18:59

    L'adresse IP n'a pas été obtenue. Modifiez la connexion dans le coin supérieur droit du bureau - cliquez sur Connexion Ethernet - modifiez dans la colonne de droite, sélectionnez les paramètres IPV4, sélectionnez DHCP ou définissez manuellement une adresse IP statique selon vos besoins.

    répondre
    0
  • Annulerrépondre