AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-398759

SaMeji's questions

Martin Hope
SaMeji
Asked: 2020-04-06 20:58:33 +0800 CST

Ubuntu 以太网已被识别并连接,但互联网无法正常工作

  • 0

Wifi 工作,但以太网有线连接没有。同一台计算机上同一以太网端口上的同一根电缆在 Windows 10 下完美运行。在 Xubuntu 18.04 中,我无法上网。只要我插入以太网电缆,系统就会识别它。并且网络管理器显示计算机已连接到有线连接。但是,我无法通过以太网电缆连接到互联网(我可以通过 Wifi 连接)。

[剧透警告:问题是我的笔记本电脑在工作时配置了固定 IP 地址,因此无法在家连接]。

任何帮助深表感谢。这是一些诊断信息。我提供以下输出:1) ping,2) ifconfig,3) iwconfig,4) lspci -v,5) lshw -C network,和 6) /etc/network/interfaces**

1) ping -c 3 www.xubuntu.org

PING web-frontends.canonical.com (162.213.33.25) 56(84) bytes of data.
From 150.108.84.253 icmp<sub>seq</sub>=1 Destination Host Unreachable
From 150.108.84.253 icmp<sub>seq</sub>=2 Destination Host Unreachable
From 150.108.84.253 icmp<sub>seq</sub>=3 Destination Host Unreachable

&#x2014; web-frontends.canonical.com ping statistics &#x2014;
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2051ms
pipe 3

2) 如果配置

 enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 150.108.84.253  netmask 255.255.255.0  broadcast 150.108.84.255
         inet6 fe80::9f88:372b:9863:b493  prefixlen 64  scopeid 0x20<link>
         ether 54:ee:75:df:3d:f8  txqueuelen 1000  (Ethernet)
         RX packets 576  bytes 82397 (82.3 KB)
         RX errors 0  dropped 1  overruns 0  frame 0
         TX packets 460  bytes 45228 (45.2 KB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
         device interrupt 16  memory 0xed200000-ed220000  

 lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
         inet 127.0.0.1  netmask 255.0.0.0
         inet6 ::1  prefixlen 128  scopeid 0x10<host>
         loop  txqueuelen 1000  (Local Loopback)
         RX packets 9735  bytes 1008676 (1.0 MB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 9735  bytes 1008676 (1.0 MB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.148  netmask 255.255.255.0  broadcast 192.168.1.255
         inet6 fe80::589f:e92d:cf61:af77  prefixlen 64  scopeid 0x20<link>
         ether f8:34:41:99:9c:51  txqueuelen 1000  (Ethernet)
         RX packets 14579  bytes 6474018 (6.4 MB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 10322  bytes 3798947 (3.7 MB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

3) 配置

 wlp4s0    IEEE 802.11  ESSID:"Netgear 04_5G"  
           Mode:Managed  Frequency:5.745 GHz  Access Point: 2C:FD:A1:62:70:54   
           Bit Rate=866.7 Mb/s   Tx-Power=22 dBm   
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Power Management:on
           Link Quality=70/70  Signal level=-37 dBm  
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:267   Missed beacon:0

4) 须藤 lspci -v

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
    Subsystem: Lenovo ThinkPad T570
    Flags: bus master, fast devsel, latency 0, IRQ 126
    Memory at ed200000 (32-bit, non-prefetchable) [size=128K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [e0] PCI Advanced Features
    Kernel driver in use: e1000e
    Kernel modules: e1000e

5) sudo lshw -C 网络

  *-network
       description: Ethernet interface
       product: Ethernet Connection (4) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 21
       serial: 54:ee:75:df:3d:f8
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.1-3 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:126 memory:ed200000-ed21ffff

6) /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
wired ethernet
  • 1 个回答
  • 201 Views
Martin Hope
SaMeji
Asked: 2015-05-21 06:56:13 +0800 CST

跨计算机移动程序启动器 (Xubuntu)

  • 2

我的旧计算机的 xfce 面板中有一个程序启动器,它包含许多单独的启动器来处理双屏幕(一个项目将我的显示器水平旋转,另一个将其垂直旋转,另一个关闭我的笔记本电脑显示器,另一个打开, ETC)。

我不想在我的新电脑上重新创建这个程序启动器。有没有一种方法可以复制/导出程序启动器,这样我就不必再添加这些项目中的每一个并从头开始重新键入所有命令了?

xubuntu
  • 1 个回答
  • 753 Views
Martin Hope
SaMeji
Asked: 2015-05-03 12:12:35 +0800 CST

轻松配置双显示器?[复制]

  • 2
这个问题在这里已经有了答案:
只旋转一个屏幕 (2 answers)
7 年前关闭。

我最近买了一台外接显示器,我在笔记本电脑上使用纵向模式。我必须定期连接/断开显示器(我在家工作,经常需要搬到另一个房间)。

但这意味着每次我必须连接/断开它时,我都必须用显示管理器重置它。这意味着要进行多次点击,并在每次点击之间等待几秒钟。笔记本电脑关闭)。

有没有一种方法可以加快这个速度,要么让显示管理器记住我的一些配置,要么编写一个我可以调用的命令脚本,它将在一个命令/单击中设置我的显示器?

我正在使用 Xubuntu,所以请让我知道此响应是否专用于此发行版(我怀疑不是)。

提前致谢。

圣地亚哥。

command-line
  • 2 个回答
  • 9941 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve