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
    • 最新
    • 标签
主页 / ubuntu / 问题

全部问题(ubuntu)

Martin Hope
TacoV
Asked: 2024-12-01 04:45:16 +0800 CST

带有 Ubuntu 服务器的 N100 上的 Intel BE200

  • 5

我在 ASRock N100DC-ITX 家用服务器上的 M.2 插槽中安装了 Intel BE200 WiFi 卡。在全新安装的 Ubuntu 服务器上,该卡似乎无法识别。我可以通过电缆连接,但不能通过 Wi-Fi 连接。

系统:Ubuntu 24.04.1 LTS(GNU/Linux 6.8.0-49-generic x86_64)

lspci --nk显示一个与互联网相关的条目,但我认为不是 wifi 卡。

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
    Kernel driver in use: r8169
    Kernel modules: r8169

ip a,nmcli并且iwconfig仅显示三个非无线接口 lo、docker0 和 enp1s0。iwconfig 添加no wireless extensions.到每个接口。

modprobe iwlwifi没有提供任何反馈,也没有改变任何内容。

dmesg与“wifi”或“wire”无关。

rfkill甚至没有安装。

$ sudo lshw -C network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 15
       serial: 9c:6b:00:62:ac:31
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-49-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.2.88 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:18 ioport:3000(size=256) memory:80904000-80904fff memory:80900000-80903fff

我如何检查卡是否损坏、不受支持或已关闭?

--

我刚刚用 Ubuntu live 测试过,它也没有识别出该卡。我在 BIOS 中也找不到它。我认为该卡有缺陷。

networking
  • 1 个回答
  • 80 Views
Martin Hope
Jaime
Asked: 2024-11-30 22:01:29 +0800 CST

为什么即使启用了实时内核更新也必须重新启动才能激活内核升级?

  • 11

我注意到,当通过 Ubuntu Pro 启用实时内核更新时,内核会更新,但直到重新启动才会激活,所以我想知道如果必须重新启动才能激活内核,那有什么意义呢?

kernel
  • 1 个回答
  • 606 Views
Martin Hope
Paul
Asked: 2024-11-30 10:00:09 +0800 CST

虚拟输出(内置扬声器无声音)Dell XPS 13 9315 ubuntu 22.04 LTS

  • 5

我以前有 Ubuntu 20.04 LTS,但在 11 月 11 日或前一天,我决定运行如此经典的

sudo apt update && sudo apt upgrade

结果是我的内置扬声器不再工作了,所以我徒劳地以为升级到 22.04 LTS 可以解决问题。

20.04
  • 1 个回答
  • 25 Views
Martin Hope
AnthonyK
Asked: 2024-11-30 05:59:18 +0800 CST

为什么更新 docker.io 需要重启系统?

  • 5

最近,我收到一条通知,要求我重启笔记本电脑,原因是进行了一些更新。我总是检查导致重启的原因,今天我惊讶地发现了这一点:

$ > cat /var/run/reboot-required /var/run/reboot-required.pkgs 
*** System restart required ***
docker.io

为什么 docker.io 更新需要重启系统?重启容器不就够了吗?

在我重新开始之前有什么想法吗?

更新 1:

docker.io 的更新日志如下:

docker.io-app (26.1.3-0ubuntu1~24.04.1) noble; urgency=medium

  * Backport from oracular to noble. (LP: #2040461)
    - d/t/docker-in-lxd: workaround Apparmor/kernel bug. (LP #2067900)
    - Update AppArmor template to allow confined runc to kill containers
      (LP: #2065423).
      + d/docker.io.postinst: notify that a reboot is required to apply the
        fix (the AppArmor profile need to be reloaded).

 -- Athos Ribeiro <[email protected]>  Mon, 14 Oct 2024 11:29:26 -0300

对我来说,该postinst过程应该重新启动,apparmor而不是要求重新启动。我的想法有缺陷吗?

24.04
  • 1 个回答
  • 33 Views
Martin Hope
user528025
Asked: 2024-11-30 05:39:52 +0800 CST

timedatectl 在哪里获取其初始值?

  • 5

我正在研究如何在 Ubuntu 22.04 中同步时间。与任何 systemd 控制的系统一样,该服务正在使用systemd-timesyncd。

根据文档,启动时,systemd-timesyncd 将从以下位置读取配置文件/etc/systemd/timesyncd.conf

不可能,/etc/systemd/timesyncd.conf因为其中的所有值都被注释掉了:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the timesyncd.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# See timesyncd.conf(5) for details.

[Time]
#NTP=
#FallbackNTP=ntp.ubuntu.com
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048

所有内容都注释掉了,但当我查询 timedatectl 时,我可以看到 npt 等的值。老天爷,我真不明白 timesync 是如何获得它的值的。

># timedatectl show-timesync
FallbackNTPServers=ntp.ubuntu.com
ServerName=ntp.ubuntu.com
ServerAddress=185.125.190.56
RootDistanceMaxUSec=5s
PollIntervalMinUSec=32s
PollIntervalMaxUSec=34min 8s
PollIntervalUSec=32s
NTPMessage={ Leap=0, Version=4, Mode=4, Stratum=2, Precision=-25, RootDelay=1.129ms, RootDispersion=213us, Reference=11FD1CFD, OriginateTimestamp=Fri 2024-11-29 21:22:30 GMT, ReceiveTimestamp=Fri 2024-11-29 21:22:33 GMT, TransmitTimestamp=Fri 2024-11-29 21:22:33 GMT, DestinationTimestamp=Fri 2024-11-29 21:22:30 GMT, Ignored=no PacketCount=656, Jitter=252.712ms }

据我所知,提到的其余 conf 文件均不存在。在我发疯之前,有什么想法吗?

server
  • 1 个回答
  • 28 Views
Martin Hope
none none
Asked: 2024-11-30 01:43:20 +0800 CST

cowsay 路径不起作用

  • 5

我一直在尝试添加自定义 ASCII 艺术到cowsay 按照教程,我.cowsay/cowfiles在我的主目录中创建了一个路径,并放置了一个名为的文件,该文件只是在中找到的cow2.cow原始文件的副本。 按照命令手册中的描述,我将自定义 cows 文件夹添加到我的 shell 文件中的相关路径变量中: default.cow/usr/share/cowsay/cowfilesCOWPATH=$COWPATH:$HOME/.cowsay/cowfiles

但是,这不起作用,当我使用... | cowsay -f cow2它时,它告诉我找不到 cow 文件。但如果我指定整个路径,它就会起作用:... | cowsay -f $HOME/.cowsay/cowpath/cow2.cow

我该如何修复这个问题?

编辑:我忘记了export新COWSAY路径。这是一个环境变量,而不是 shell 变量。
要添加到路径的正确行是export COWSAY=$COWSAY:<additional path>

environment-variables
  • 1 个回答
  • 24 Views
Martin Hope
Malkavian
Asked: 2024-11-29 23:55:21 +0800 CST

ubuntu 终端拆分会话和广播命令

  • 5

我见过有人这样做:打开多个终端会话。进入不同机器内的 ssh。选择组广播功能。向每个 ssh 会话发出相同的命令,最终删除广播,向单个终端发出命令,然后再次广播。ubuntu gnome 终端可以这样做吗?我应该安装哪个终端才能获得该功能?

gnome-terminal
  • 1 个回答
  • 18 Views
Martin Hope
amr
Asked: 2024-11-29 21:21:31 +0800 CST

在 4k 显示器上,Wayland 设置为 60 Hz 感觉就像 30 Hz

  • 7

我使用 Ubuntu 24.04 和 4k 显示器。在 X11 上,我设置了 60 Hz,使用UFO Test网站进行测试时,我得到了 60 FPS。

当我尝试 Wayland 时,设置显示它也设置为 60 Hz,但它绝对不是 60 Hz,而且当我使用 UFO Test 进行测试时,它仅显示 30 FPS。

我已经nvidia-driver-550。我用驱动程序测试了 PPA nvidia-driver-560,但仍然遇到同样的问题。

可能是什么原因呢?

nvidia
  • 1 个回答
  • 153 Views
Martin Hope
Will
Asked: 2024-11-29 05:38:22 +0800 CST

运行 Ubuntu Studio 安装程序后找不到 Ubuntu Studio 菜单

  • 6

我收到了一个预装了 Ubuntu 24.04 的新 System76 桌面。我更新了软件包版本,然后运行了 Ubuntu Studio 安装程序。我将 Ubuntu Studio 菜单包含在 Ubuntu Studio 安装程序清单中,但安装程序完成后我找不到它(尽管其余的 Ubuntu Studio 应用程序似乎已加载)。已重启多次。

我需要安装 Plasma吗?还是需要其他步骤才能使用 Ubuntu Studio 菜单?

这是我现在的菜单,七页菜单中的其中一页;

在此处输入图片描述

menu
  • 1 个回答
  • 32 Views
Martin Hope
Gabriel Toledo
Asked: 2024-11-29 05:16:54 +0800 CST

夜灯在 Ubuntu 24.04 上不起作用

  • 6

我使用的是 Ubuntu 24.04,夜灯无法在笔记本屏幕上使用,只能在扩展屏幕上使用。它无法与 Wayland 或 Xorg 配合使用。我的笔记本是 Acer,配备 AMD Ryzen 7 5700U。

我已经尝试了论坛上给出的几种技巧,也多次咨询了 ChatGPT 和 Claude 的帮助,但没有任何回应能够解决我的笔记本电脑屏幕夜灯问题。

有没有人遇到过同样的问题?我该如何解决?

gnome
  • 1 个回答
  • 34 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