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-645874

Sarah Szabo's questions

Martin Hope
Sarah Szabo
Asked: 2020-06-27 09:59:26 +0800 CST

将新系统转移到新硬件?

  • 0

我有兴趣将我的系统移植到我刚购买的新硬件上。

我可以制作磁盘 ISO 并将其放到另一台计算机的硬盘驱动器上(当然要确保它具有 GPT 分区和 EFI 扇区)。

系统是否对新硬件做出反应,或者我应该重新安装操作系统以使其具有适当的驱动程序?

partitioning kubuntu 20.04
  • 2 个回答
  • 126 Views
Martin Hope
Sarah Szabo
Asked: 2020-06-11 07:40:35 +0800 CST

KDE 磁盘工具的名称是什么?

  • 1

我知道 gnome-disks,但我正在尝试查找 KDE 模拟包名称。

这是它的图片。它在 KDE 的文件菜单中显示为 KDE 分区管理器。 在此处输入图像描述 在此处输入图像描述

kubuntu default-programs 20.04
  • 1 个回答
  • 4572 Views
Martin Hope
Sarah Szabo
Asked: 2019-08-15 10:03:16 +0800 CST

使用 sudo 以超级用户身份运行自定义命令?

  • 0

我读过一些帖子,例如是否有放置自定义 Linux 脚本的标准位置?,我应该把我的 bash 脚本放在哪里,但我仍然收到一个错误,即在 bash 中找不到我的脚本。

我已将我的脚本(名为 Wandering_Echo)放入/usr/local/Custom_Programs并将其符号链接到/bin、/usr/local/bin和/usr/local/sbin,但是当我尝试运行时sudo Wandering_Echo,我收到此错误:

sarah@LesserArk:/usr/local/Custom_Programs$ sudo Wandering_Echo ?
sudo: Wandering_Echo: command not found

不确定我做错了什么,因为它位于超级用户 bin 目录中。

Wandering_Echo 使用 BTRFS 进行一些低级文件系统操作,因此它需要 root 才能运行。 编辑 0: Wandering_Echo 确实以普通用户身份运行,而不是以终端超级用户身份运行。

编辑1:

sarah@LesserArk:/usr/local/Custom_Programs$ ls -l /usr/local/bin/Wandering_Echo /usr/local/Custom_Programs/Wandering_Echo 
lrwxrwxrwx 1 root root 14 Aug 14 15:22 /usr/local/bin/Wandering_Echo -> Wandering_Echo
-rw-r--r-- 1 root root 96 Aug 14 13:09 /usr/local/Custom_Programs/Wandering_Echo

&

sarah@LesserArk:~$ sudo bash -c 'echo $PATH'
[sudo] password for sarah: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
scripts command-line bash
  • 1 个回答
  • 142 Views
Martin Hope
Sarah Szabo
Asked: 2019-08-04 14:58:38 +0800 CST

如何找到任意目录的驱动器挂载点?

  • 0

我有兴趣在我正在编写的程序的外部硬盘驱动器上找到任意目录的挂载点。

如果我的驱动器安装在 /media/sarah/drive 并且此文件夹位于 /media/sarah/drive/Snapshots 上,我将如何使用命令行从中获取 /media/sarah/drive ?

findmnt -n两者mount似乎都有帮助,但我似乎无法使用它们中的任何一个来获得所需的输出。

mount hard-drive
  • 1 个回答
  • 84 Views
Martin Hope
Sarah Szabo
Asked: 2019-07-23 13:05:21 +0800 CST

Gwenview 没有不显示视频的选项?

  • 1

我正在使用 Kubuntu 19.04 附带的 Gwenview,它似乎没有不再显示视频的选项。(使用箭头键浏览图像时播放视频)

图片

这出现在工具栏中,似乎已在最新版本中删除。

有没有其他方法可以像配置文件一样禁用在 gwenview 中播放视频?

kubuntu 19.04 gwenview
  • 1 个回答
  • 324 Views
Martin Hope
Sarah Szabo
Asked: 2019-05-19 22:34:12 +0800 CST

Kodi 需要 GUI 吗?

  • 0

我有兴趣在我在地下室的服务器上安装的 ubuntu 服务器上设置 Kodi 服务器。

它没有图形用户界面。这是使用 kodi 的先决条件吗?

我在启动时收到此错误:

sarah@scilab_comp_0:~$ kodi --standalone
ERROR: Unable to create GUI. Exiting
free(): invalid pointer
Aborted (core dumped)
Crash report available at /home/sarah/kodi_crashlog-20190519_062518.log
server kodi
  • 1 个回答
  • 3130 Views
Martin Hope
Sarah Szabo
Asked: 2019-05-16 22:36:59 +0800 CST

如何在 OBS 中裁剪?

  • 3

我通过命令行安装了OBS,并试图裁剪屏幕的某些区域。

通常这是通过 alt + 拉动其中一个红色把手来完成的,但由于某种原因这不起作用。

相反,它想移动整个窗口。

我正在关注https://www.youtube.com/watch?v=LZx9y6xcPXI教程。

我怎样才能像他一样裁剪屏幕?

obs-studio
  • 2 个回答
  • 905 Views
Martin Hope
Sarah Szabo
Asked: 2019-05-11 19:42:42 +0800 CST

设置静态 IP 地址不连接?

  • 2

我正在学习为我的远程备份服务器设置静态 IP 地址的教程。(https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/)

我已按照以下说明进行操作:

network:
        renderer: networkd
        ethernets:
            enp0s25:
                dhcp4: no
                addresses: [192.168.111.27/24]
                gateway4: 192.168.1.1
                nameservers:
                         addresses: [192.168.1.1,8.8.8.8]
        version: 2

但是现在我无法连接到我的服务器,并且必须从我在进行修改之前制作的旧副本中恢复它的网络计划。

自定义 SSH 配置:

Host Scilab
  HostName 192.168.43.245
  Port 45834
  IdentityFile ~/.ssh/LesserArkKey

当我尝试使用时,ssh Scilab 我得到:ssh: connect to host 192.168.43.245 port 45834: Connection refused。这很不寻常,因为这在以前有效(我有一个自定义 ssh 配置)。我将当前的 ssh 配置更改为新的 IP 地址(之前是 192.168.1.144)

我做错了什么,如何将 IP 地址设置为静态而不是 DCHP?

编辑 0:为澄清起见,当服务器具有默认的 Netplan 时,基于服务器密钥的登录工作得很好。ssh Scilab要求提供加密密钥,我提供密码,然后一切都连接起来。当我尝试使用新的 Netplan 时,它只会给出错误。然后没有任何效果。

这些命令也都失败了:

sarah@LesserArk:~$ ssh -p 45834 -i .ssh/LesserArkKey 192.168.111.27
ssh: connect to host 192.168.111.27 port 45834: Connection refused
sarah@LesserArk:~$ ssh -p 24 -i .ssh/LesserArkKey 192.168.111.27
ssh: connect to host 192.168.111.27 port 24: Connection refused
sarah@LesserArk:~$ ssh -i .ssh/LesserArkKey 192.168.111.27
ssh: connect to host 192.168.111.27 port 22: Connection refused

netplan更改后的服务器 :: 服务器 ifconfig服务器 ifconfig

SSHD配置:

#   $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options override the
# default value.

Port 45834
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key

# Ciphers and keying
#RekeyLimit default none

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

PubkeyAuthentication yes

# Expect .ssh/authorized_keys2 to be disregarded by default in future.
#AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2

#AuthorizedPrincipalsFile none

#AuthorizedKeysCommand none
#AuthorizedKeysCommandUser nobody

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
#GSSAPIStrictAcceptorCheck yes
#GSSAPIKeyExchange no

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yes
PrintMotd no
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS no
#PidFile /var/run/sshd.pid
MaxStartups 2
#PermitTunnel no
#ChrootDirectory none
#VersionAddendum none

# no default banner path
#Banner none

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

# override default of no subsystems
Subsystem   sftp    /usr/lib/openssh/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#   X11Forwarding no
#   AllowTcpForwarding no
#   PermitTTY no
#   ForceCommand cvs server

Protocol 2

编辑 1: 这是命令的输出 cat /etc/hosts:

127.0.0.1       localhost.localdomain   localhost
::1             localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

cat /etc/nsswitch.conf | grep "hosts:": hosts: files dns

`networkctl status`:

●        State: routable
       Address: 192.168.111.27 on enp0s25
                fe80::225:64ff:feaf:9fc8 on enp0s25
           DNS: 192.168.1.1
                8.8.8.8

ls -l /etc/resolv.conf: lrwxrwxrwx 1 root root 39 Feb 14 09:49 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

编辑 2: /etc/hosts:

127.0.0.1       localhost.localdomain   localhost
::1             localhost6.localdomain6 localhost6
192.168.111.27  scilab_comp_0

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

输出hostname:scilab_comp_0

编辑 3:我从我的电脑(不是服务器)制作了一个短视频,显示了正在发生的事情的更多细节: https ://www.youtube.com/watch?v=rqQGas4fs_A&feature=youtu.be

在此处制作了 IP 地址冲突的快速视频:https ://youtu.be/P2rXWvdom7k 出口

编辑4:输出telnet 192.168.111.27 45834

sarah@scilab_comp_0:~$ telnet 192.168.111.27 45834
Trying 192.168.111.27...
Connected to 192.168.111.27.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
Connection closed by foreign host.

进行了更多挖掘并注意到我有 2 个服务器 IP 地址。这里是ip a:

2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:25:64:af:9f:c8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.111.27/24 brd 192.168.111.255 scope global enp0s25
       valid_lft forever preferred_lft forever
    inet 192.168.1.142/24 brd 192.168.1.255 scope global dynamic enp0s25
       valid_lft 78971sec preferred_lft 78971sec
    inet6 fe80::225:64ff:feaf:9fc8/64 scope link 
       valid_lft forever preferred_lft forever

如您所见,一个是动态的,一个是静态的。我不确定静态的是否有效,或者如何摆脱动态的(因为我将 yaml 恢复为原始配置,所以我暂时可以从我的计算机远程访问它)。鉴于我们的配置文件声明我们只需要 DCHP 一个,那么静态 IP 地址来自哪里?

另外,我验证了只有 对50-cloud-init.yaml配置有任何影响。我在我们创建的另一个 yaml 文件中添加了 .DISABLED 前缀,因为它似乎没有任何效果。

编辑 4:更好的测试

我做了一个更好的方法来测试服务器是否能够连接。我有两个终端窗口登录到服务器,一个只是运行一个循环while true; do ip a; ping -c3 google.com; date; sleep 10; done。另一个sudo netplan try使用 netplan 将 IP 地址设置为静态。

这些是结果: - 每次 IP 地址变为静态时(在我在另一个终端上输入“sudo netplan try”后,ping 失败:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:25:64:af:9f:c8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.111.27/24 brd 192.168.111.255 scope global enp0s25
       valid_lft forever preferred_lft forever
    inet6 fe80::225:64ff:feaf:9fc8/64 scope link 
       valid_lft forever preferred_lft forever
ping: google.com: Temporary failure in name resolution

并且每次它返回使用 DCHP IP 地址(早先当它有 2 个 IP 地址时提出)时,它都会返回并将信息报告给我的 PC 的 SSH shell。

networking kubuntu static-ip 19.04
  • 1 个回答
  • 6273 Views
Martin Hope
Sarah Szabo
Asked: 2019-05-09 20:05:46 +0800 CST

Libreoffice-Texmaths 公式编辑器中的乳胶符号发生了什么?

  • 2

我最近清除了 Libreoffice,因为它有问题。

然后我重新安装了最新版本apt,现在它缺少公式编辑器上方的符号。

这是当前的 Texmaths 方程编辑器: Texmaths 公式编辑器

曾经有用于乳胶的快捷方式,包括frac{}{}各种集合论操作,以及窗口顶部的二项式分布。

他们发生了什么事,我该如何让他们回来?我只是认为它们在某个包中并使用 安装了所有包sudo apt install libreoffice*,但是在我刷新程序后这并没有帮助。

编辑 0:我正在使用 Kubuntu 19.04

sarah@LesserArk:~$ sudo apt-cache policy libreoffice-texmaths libreoffice-writer texlive
libreoffice-texmaths:
  Installed: 0.43-2
  Candidate: 0.43-2
  Version table:
 *** 0.43-2 500
        500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu disco/universe i386 Packages
        100 /var/lib/dpkg/status
libreoffice-writer:
  Installed: 1:6.2.2-0ubuntu2
  Candidate: 1:6.2.2-0ubuntu2
  Version table:
 *** 1:6.2.2-0ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages
        100 /var/lib/dpkg/status
texlive:
  Installed: 2018.20190227-1
  Candidate: 2018.20190227-1
  Version table:
 *** 2018.20190227-1 500
        500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu disco/universe i386 Packages
        100 /var/lib/dpkg/status
package-management apt libreoffice latex
  • 2 个回答
  • 511 Views
Martin Hope
Sarah Szabo
Asked: 2019-04-27 10:56:52 +0800 CST

全新安装 Ubuntu Server 19.04 没有互联网?

  • 7

我刚刚在楼下的服务器上安装了新的 Ubuntu 19.04 服务器,但尽管使用 6 类电缆连接到路由器,但它似乎没有互联网连接。

所有 ping 均失败,包括ping 8.8.8.8相同的错误消息。我尝试使用ifconfig将状态设置为up,但这没有帮助。

ip a显示服务器似乎没有 IP 地址。

下图: Ubuntu 服务器

networking server internet 19.04
  • 1 个回答
  • 8926 Views
Martin Hope
Sarah Szabo
Asked: 2019-04-21 18:22:47 +0800 CST

VMWare Player 15 无法在全新安装 19.04 时启动?[复制]

  • 2
这个问题在这里已经有了答案:
在 18.04 上安装 VMware:无法构建 vmmon 3 个答案
3年前关闭。

我有一个与( 15.04 VMWare Player“无法启动服务”错误)非常相似的问题,因为无法编译模块。

但是,顶级解决方案对我不起作用。 错误

这是我使用的终端命令:

root@LesserArk:~# uname -r 
5.0.0-13-generic
root@LesserArk:~# man dkms
root@LesserArk:~# curl https://pastebin.com/raw/Z1ihzbcE -o /tmp/vmnet-3.19.patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1646    0  1646    0     0   4485      0 --:--:-- --:--:-- --:--:--  4485
root@LesserArk:~# 
root@LesserArk:~# cd /usr/lib/vmware/modules/source
root@LesserArk:/usr/lib/vmware/modules/source# tar -xf vmnet.tar
root@LesserArk:/usr/lib/vmware/modules/source# cd vmnet-only
root@LesserArk:/usr/lib/vmware/modules/source/vmnet-only# patch -p0 -i /tmp/vmnet-3.19.patch
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur vmnet-only.a/driver.c vmnet-only/driver.c
|--- vmnet-only.a/driver.c      2014-11-20 20:13:56.000000000 -0500
|+++ vmnet-only/driver.c        2015-02-09 15:40:10.916640592 -0500
--------------------------
File to patch: 
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 45
vmware kubuntu 19.04
  • 1 个回答
  • 3495 Views
Martin Hope
Sarah Szabo
Asked: 2019-02-19 16:46:03 +0800 CST

KDE Vaults 需要运行哪些软件包?

  • 0

我计划取消加密我的主目录以便轻松将其移动到 SSD(按照本教程:https ://askubuntu.com/a/4960/645874 ),但我不确定这是否会影响 KDE金库。

KDE Vaults 是否依赖于软件包ecryptfs-utils或libecryptfs0? 如果是这样,是否需要卸载它们?

encryption kde kubuntu ecryptfs 18.04
  • 1 个回答
  • 344 Views
Martin Hope
Sarah Szabo
Asked: 2019-02-16 18:57:23 +0800 CST

BTRFS Shrink:磁盘上没有空间?[复制]

  • 0
这个问题在这里已经有了答案:
如何调整和缩小 BTRFS 分区? (3 个回答)
3年前关闭。

我正在尝试将我的 btrfs 900Gib HDD 缩小到 500Gib,以便我可以使用 clonezilla 将它传输到我的新 500 Gib SSD。

我以为我可以使用 gparted 缩小分区,但失败并出现以下错误:

GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Shrink /dev/sda2 from 931.01 GiB to 406.71 GiB  01:20:34    ( ERROR )

calibrate /dev/sda2  00:00:01    ( SUCCESS )

path: /dev/sda2 (partition)
start: 1050624
end: 1953519615
size: 1952468992 (931.01 GiB)
shrink file system  01:20:33    ( ERROR )

btrfs filesystem resize 1:426467328K '/mnt'  01:20:33    ( ERROR )

Resize '/mnt' of '1:426467328K'
ERROR: unable to resize '/mnt': No space left on device

========================================

当我尝试从 470GiB -> 433GiB 调整大小时也会发生这种情况。我不相信它会用完磁盘上的空间,因为有 497GiB。 Gparted

这是在来自 kubuntu 18.04.01 live usb 的未加密主文件夹上执行的。

编辑0:输出sudo filesystem show /mnt(这是我有的地方

/dev/sda2 mounted)
kubuntu@kubuntu:~$ sudo btrfs filesystem show /mnt
Label: none  uuid: 029c3c88-8edb-4da0-a741-5d912950e2e1
        Total devices 1 FS bytes used 406.61GiB
        devid    1 size 473.68GiB used 461.10GiB path /dev/sda2
btrfs filesystem partitioning gparted
  • 1 个回答
  • 893 Views
Martin Hope
Sarah Szabo
Asked: 2018-06-12 16:32:27 +0800 CST

USB 天线在 Dell Optiplex 760 台式机上不起作用?

  • 4

我有一个与( Ubuntu 17.10 Drivers Not Found/Working Properly? )非常相似的问题,但这是在全新安装 Kubuntu 18.04 时完成的。这个桌面没有内置 Wi-Fi 卡,我目前正在使用旧的 Wi-Fi 模块在那里连接互联网。旧的 wi-fi 加密狗的主要问题是它没有合适的天线来提供足够的 wi-fi 连接,因为这个桌面位于以太网线无法轻易到达的偏远位置,并且那里有 wi-fi 信号充其量是晕倒。

我首先使用了新的 wi-fi 天线,这是问题的根源,然后按照(Ubuntu 17.10 Drivers Not Found/Working Properly?)中列出的步骤尝试让它工作。它没有。

在执行命令时,我确保 USB 插槽中没有旧的 wi-fi 天线,只有在完成所有命令并重新启动系统并意识到这些步骤未能成功恢复 USB 后才重新插入它天线驱动功能。

新的 USB 天线与 ( Ubuntu 17.10 Drivers Not Found/Working Properly? )中列出的完全相同

编辑0: sudo dkms status产量

rtl8812au, 4.2.2: added 
rtl8812AU, 5: added

**编辑**:输出lsusb(USB 端口中有两个 USB 天线)

Bus 002 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 002 Device 002: ID 0bda:a811 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 0461:4d22 Primax Electronics, Ltd 
Bus 008 Device 002: ID 413c:2106 Dell Computer Corp. Dell QuietKey Keyboard
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

编辑 1: Modprobe 信息和安全启动

sarah@SciLabComp0:~$ sudo modprobe 8812au
modprobe: ERROR: could not insert '8812au': Exec format error
sarah@SciLabComp0:~$ modinfo 8812au | grep A811
alias:          usb:v7392pA811d*dc*dsc*dp*ic*isc*ip*in*

Mokutil(根据另一个 ubuntu 问题检查是否启用了安全启动的推荐方法):

sarah@SciLabComp0:~$ mokutil --sb-state
EFI variables are not supported on this system
networking drivers usb dell
  • 1 个回答
  • 16410 Views
Martin Hope
Sarah Szabo
Asked: 2018-06-02 15:09:05 +0800 CST

Brother打印机驱动程序安装驱动程序时打印废话?

  • 0

我有一台 Brother 打印机 ( MFC-7860DW) 连接到我的 WLAN。每次我尝试安装驱动程序时,它都会成功。但是,测试页面不是标准页面,而是打印看起来像是执行指令所需的代码而不是页面本身。当我尝试打印任何其他页面时也是这种情况。

在安装打印机驱动程序时,我选择了 SSDD 选项,后来尝试手动指定 IP 地址。它们都导致相同的结果。

测试页面: 测试页

networking drivers printing kubuntu 18.04
  • 1 个回答
  • 190 Views
Martin Hope
Sarah Szabo
Asked: 2018-05-18 17:03:25 +0800 CST

Aptik 未出现在搜索结果中

  • 3

我刚刚执行了 Kubuntu 18.04 的全新安装,并Aptik从apt policy aptik. 问题是Aptik使用应用程序启动器搜索时找不到。只是什么都没有出现。鉴于 Aptik GUI 依赖于这种机制,我该如何解决这个问题或取回 Aptik GUI?

apt policy aptik显示:

sarah@ConvergentRefuge:~$ apt policy aptik aptik: Installed: 18.5.2-0~201805120407~ubuntu18.04.1 Candidate: 18.5.2-0~201805120407~ubuntu18.04.1 Version table: *** 18.5.2-0~201805120407~ubuntu18.04.1 500 500 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status

kubuntu 18.04
  • 1 个回答
  • 758 Views
Martin Hope
Sarah Szabo
Asked: 2018-04-21 20:48:12 +0800 CST

如何从任何地方运行 Appimage?

  • 1

我对使用 appimage 程序很感兴趣(我已阅读What is an "AppImage"? How to install it?),但没有安装它,我在 KDE 的桌面搜索栏功能中找不到它。有没有办法将它添加到搜索栏中,或者通过 Konsole 使其可被发现,而无需导航到某个目录并执行./program.appimage?

这只是 appimages 应该工作的方式,还是有办法让它们的行为更像常规程序?

kde kubuntu 17.10
  • 1 个回答
  • 4736 Views
Martin Hope
Sarah Szabo
Asked: 2018-01-08 21:35:17 +0800 CST

UNetBootin 无法检测到加密的 USB 驱动器?

  • 1

我正在使用 UnetBootin 创建启动磁盘,但它似乎无法检测到我使用 Disks 实用程序创建的加密 USB 闪存驱动器。加密层被解锁,主层被挂载。有没有办法解决这个问题?

编辑0:

Startup Disk Creator可以看到它很好,似乎是一个编程/配置错误。

磁盘

UNetBootin

partitioning
  • 1 个回答
  • 226 Views
Martin Hope
Sarah Szabo
Asked: 2017-10-29 07:21:32 +0800 CST

找不到 Ubuntu 17.10 驱动程序/无法正常工作?

  • 3

我最近使用升级工具从 Kubuntu 17.04 -> 17.10 升级。我所有的程序/设置/个性化都可以,但是许多驱动程序要么丢失要么不起作用。这包括声音(集成扬声器、USB 扬声器和蓝牙扬声器)此外,我的 USB 蓝牙适配器可能由于驱动程序而出现故障(17.10 升级时没有声音)。

这也包括我的 USB Wi-Fi 适配器。内部 Wi-Fi 卡可能仍然被禁用,因为我必须启用外部 USB 卡(它的范围比我的内部天线更高。基本上我们为启用 USB 天线所做的所有步骤(无线天线没有出现,尽管它正在安装驱动程序)

我应该注意到图形驱动程序似乎很好(至少从系统设置破折号无论如何......我使用的是Nvidia图形驱动程序,并且在那个前沿似乎一切都很好)

我还是新手,如果我发现任何其他问题,我会发布它。

编辑0:我应该注意我使用的有线连接是好的,我可以从那里连接到网络,这就是我发帖的方式。看到与我去过的 Wi-Fi 问题类似的问题(升级到 17.10 后没有互联网),他们将我链接到(https://askubuntu.com/a/907249/645874)我尝试修复并获得绿色状态. 绿色状态但是,尽管我还没有时间重新启动系统,但问题仍然存在。

编辑 1: 我执行了您解决方案中的大部分行,但在该dkms区域遇到了障碍。

sarah@ConvergentRefuge:~$ sudo dkms uninstall rtl8812au/5.2.9
Error! Could not locate dkms.conf file.
File:  does not exist.
sarah@ConvergentRefuge:~$ sudo rm /usr/src/rtl8812au-5.2.9
rm: cannot remove '/usr/src/rtl8812au-5.2.9': No such file or directory
sarah@ConvergentRefuge:~$ sudo rm -rf /usr/src/rtl8812au-5.2.9
sarah@ConvergentRefuge:~$ sudo rm -rf ~/rtl8812au-driver-5.2.9
sarah@ConvergentRefuge:~$ rm -rf rtl8812au
sarah@ConvergentRefuge:~$ git clone https://github.com/gnab/rtl8812au.git
Cloning into 'rtl8812au'...
remote: Counting objects: 607, done.
remote: Total 607 (delta 0), reused 0 (delta 0), pack-reused 607
Receiving objects: 100% (607/607), 1.67 MiB | 10.32 MiB/s, done.
Resolving deltas: 100% (250/250), done.
sarah@ConvergentRefuge:~$ sudo cp rtl8812au  /usr/src
cp: -r not specified; omitting directory 'rtl8812au'
sarah@ConvergentRefuge:~$ sudo cp -r rtl8812au  /usr/src
sarah@ConvergentRefuge:~$ sudo dkms add -m 8812au -v 4.2.2
Error! Could not find module source directory.
Directory: /usr/src/8812au-4.2.2 does not exist.

我还尝试了它的变体:

sarah@ConvergentRefuge:~$ sudo dkms add -m rtl8812au -v 4.2.2
Error! Could not find module source directory.
Directory: /usr/src/rtl8812au-4.2.2 does not exist.
sarah@ConvergentRefuge:~$
drivers
  • 1 个回答
  • 1779 Views
Martin Hope
Sarah Szabo
Asked: 2017-08-24 06:05:49 +0800 CST

Dropbox 特殊窗口不出现?

  • 1

有一种特殊类型的窗口,可以通过右键单击任务栏中的下拉框图标,然后单击 来召唤open dropbox folder。这个窗口在我的深色微风桌面主题下显得更白,并且允许共享文件,以及直接从我的桌面复制文件的链接。但是最近,在我重新安装了 Kubuntu 和 Dropbox 之后,每当我执行此过程时,我只会得到一个新的 dolphin 副本,没有可用的共享选项(通常在右键单击下拉菜单中有一个 Dropbox 选项卡共享文件)。有没有什么办法解决这一问题?

kubuntu
  • 1 个回答
  • 883 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