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

MadHatter's questions

Martin Hope
MadHatter
Asked: 2018-07-05 06:24:14 +0800 CST

成功安装驱动程序后,Alfa AWUS036ACH 适配器突然无法正常工作

  • 0

使用 Ubuntu 16.04 LTS。Alfa AWUS036ACH 不能在 Ubuntu 上开箱即用,所以我用 Google 搜索了一下,找到了一个可以让它工作的 shell 脚本。它工作了大约两个星期,然后突然停止工作。

这是shell脚本:

#!/bin/sh

# Shell script to set up drivers for Alfa AWUS036ACH
# You must have an internet connection.

# update your repositories
apt-get update

# install dkms if it isn't already
apt-get install dkms

# change directory to /usr/src
cd /usr/src

# if you have any other drivers installed,remove them like so:
rm -r rtl8812AU-4.3.22/

# get latest driver from github
git clone https://github.com/aircrack-ng/rtl8812au

# move into downloaded driver folder
cd rtl8812au/

# update files in working tree to match files in the index
git checkout --track remotes/origin/v4.3.21

# make drivers
make

# move into parent directory
cd ..

# debugging
dkms status

# rename file for use with dkms
mv rtl8812au/ rtl8812au-4.3.22

# build drivers
dkms build -m rtl8812au -v 4.3.22

# install drivers
dkms install -m rtl8812au -v 4.3.22

# debugging
lsmod

# summon new interface from the depths of the kernel
modprobe 8812au

# wifi interface should now appear.
ip link

适配器工作了大约两周,然后有一天它突然停止工作或被我的操作系统检测到。既iwconfig不会也ifconfig不会表现出来。只是为了检查这不是 Alfa 适配器本身的问题,我将其插入 Windows PC,它工作得很好。请帮我让它再次工作。

uninstall software-uninstall realtek-wireless alfa-wireless dkms
  • 1 个回答
  • 2163 Views
Martin Hope
MadHatter
Asked: 2018-06-22 07:55:23 +0800 CST

mupen64plus 不工作;找不到核心库

  • 1

在配备 8 Gigs RAM 和 A10 AMD 处理器的 HP Beats 15 笔记本电脑上使用 Ubuntu 16.04LTS。在其他内存较少且处理器功能较弱的计算机上使用 mupen64plus 之前,我从未遇到过这个问题,所以我真的不知道这里发生了什么。我像往常一样从命令行安装了 mupen64plus,当我尝试mupen64plus <name of rom>在终端中运行时,会发生以下情况:

Mupen64Plus Console User-Interface Version 2.5.0

UI-Console Error: dlopen('/usr/local/lib/libmupen64plus.so.2') failed: 
libSDL-1.2.so.0: cannot open shared object file: No such file or directory
UI-Console Error: dlopen('./libmupen64plus.so.2') failed: 
./libmupen64plus.so.2: cannot open shared object file: No such file or directory
UI-Console Error: AttachCoreLib() Error: failed to find Mupen64Plus Core library

然后我尝试安装 M64.py 前端 GUI 以查看它是否会以这种方式工作,但仍然是相同的错误消息。

最后,在运行命令sudo apt-get purge --auto-remove mupen64plus完全卸载它及其所有依赖项后,我仍然看到 mupen64plus 的手册页,终端仍然自动完成命令mupen64plus。

这是我使用 mupen64plus 2 年来第一次遇到这个问题——我什至让它在小型 HP Mini 上运行良好,没有任何问题。我在这里做错了什么,如何让它正常工作?是什么导致了这个failed to find core library错误,我该如何解决?

uninstall emulation games software-uninstall libraries
  • 1 个回答
  • 2583 Views
Martin Hope
MadHatter
Asked: 2017-08-06 10:10:19 +0800 CST

Ubuntu 16.04.3 更新 GPG 错误(公钥不可用)[重复]

  • 2
这个问题在这里已经有了答案:
如何修复 GPG 错误“NO_PUBKEY”? (13 个回答)
4年前关闭。

我正在使用 Ubuntu 16.04.3 LTS。我已经使用了一年多了,每隔几个月更新一次,没有任何问题。今天我更新了,我得到了这些奇怪的公钥错误。我不知道这意味着什么,也不知道从哪里开始。

以下是错误:

Err:9 http://dl.google.com/linux/chrome/deb stable Release.gpg                 
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
Fetched 308 kB in 1s (159 kB/s)                                                
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:      http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Some index files failed to download. They have been ignored, or old ones used instead.

我已经尝试过在线研究,但发现解释非常混乱。请帮助我理解:

1)这些错误是什么意思。

2)如何修复它们。

apt
  • 2 个回答
  • 3000 Views
Martin Hope
MadHatter
Asked: 2017-01-21 18:54:34 +0800 CST

确定游戏手柄的键绑定字符串

  • 0

我想手动将游戏 Assault Cube 的命令映射到我的 PS3 控制器。

据我了解,我可以通过对配置文件进行正确调整来做到这一点。这是该配置文件的片段:

bind "MOUSE1" [attack]
bind "MOUSE2" [altaction]
editbind "MOUSE2" [ showmenu editing ]
bind "MOUSE3" [weapon]
bind "MOUSE4" [ universaldelta 1 ]
bind "MOUSE5" [ universaldelta -1 ]
bind "BACKSPACE" [dropflag]
editbind "BACKSPACE" [delent]
bind "TAB" [ showscores 1; onrelease [ showscores 0 ] ]

问题是我不知道如何确定需要使用哪些字符串将这些命令映射到我的 PS3 控制器。

我如何确定这一点?是否有命令行选项可以让我输入来自 PS3 控制器的按钮,这些按钮会给我相应的字符串?

games
  • 1 个回答
  • 66 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