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

stdcerr's questions

Martin Hope
stdcerr
Asked: 2020-10-14 07:36:25 +0800 CST

如何在 NAT 后面的两台主机之间建立安全的 VNC 隧道?

  • 5

如何VNC从我的家用计算机为办公室的计算机建立安全隧道,两台主机都在 NAT 后面。我确实可以通过 ssh 访问工作中的机器(我已经建立了一个反向 ssh 隧道(使用autossh)到具有公共 IP 的主机)。所有涉及的机器都在运行 Linux。我需要 X11 访问我的工作计算机,使用-X带有 ssh 的标志,但是太慢了。

正如@satwell 建议的那样,我做了第二个建议的解决方案:

work$ ssh -R 5900:localhost:5900 public
home$ ssh -L 5900:localhost:5900 public

这似乎工作得很好,让我在家连接,只有我得到的屏幕看起来像: 在此处输入图像描述 我如何访问实际的(统一)桌面?

linux xorg
  • 1 个回答
  • 125 Views
Martin Hope
stdcerr
Asked: 2020-02-12 08:02:36 +0800 CST

无法找到和配置 USB 适配器

  • 6

我得到了一个新的蓝牙适配器(来自可插入的 USB-BT4LE 型号),它声明它可以与 Linux 内核 3.0.34 及更高版本一起使用,并且我正在使用 arch 运行 5.2.2。我安装了bluez,bluez-utils但蓝牙适配器应用程序显示“未找到蓝牙适配器”。当我得到

$ dmesg | grep -i blue
[   13.787662] Bluetooth: Core ver 2.22
[   13.787677] Bluetooth: HCI device and connection manager initialized
[   13.787681] Bluetooth: HCI socket layer initialized
[   13.787682] Bluetooth: L2CAP socket layer initialized
[   13.787685] Bluetooth: SCO socket layer initialized
[   14.135558] Bluetooth: hci0: BCM: chip id 63
[   14.136551] Bluetooth: hci0: BCM: features 0x07
[   14.152549] Bluetooth: hci0: BCM20702A
[   14.153553] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[   14.248731] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2
[   14.248735] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found

似乎可以识别某些东西,但我该如何配置它(并连接我的设备)?

谢谢!

更新:

插入适配器后,我在 dmesg 中看到以下内容:

[ 7783.692990] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2
[ 7783.692993] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found
[ 7788.617982] audit: type=1131 audit(1581476791.719:133): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

根据https://support.plugable.com/t/need-bcm20702a1-0a5c-21e8/8803/2在电脑上搜索固件。$ sudo find / -name "*BCM2070*"不幸的是,也没有产生任何结果。

我发现https://www.linuxsecrets.com/2840-enable-bluetooth-on-linux基本上指示下载https://s3.amazonaws.com/plugable/bin/fw-0a5c_21e8.hcd并将其存储在/lib/firmware/brcm/其中我做到了,我重新插入了加密狗并得到:

[ 8545.828783] usb 4-1.8: new full-speed USB device number 28 using ehci-pci
[ 8545.933009] usb 4-1.8: New USB device found, idVendor=0a5c, idProduct=21e8, bcdDevice= 1.12
[ 8545.933013] usb 4-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8545.933015] usb 4-1.8: Product: BCM20702A0
[ 8545.933017] usb 4-1.8: Manufacturer: Broadcom Corp
[ 8545.933019] usb 4-1.8: SerialNumber: 5CF370984D12
[ 8545.981571] audit: type=1130 audit(1581477549.083:146): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 8546.044020] Bluetooth: hci0: BCM: chip id 63
[ 8546.045016] Bluetooth: hci0: BCM: features 0x07
[ 8546.061014] Bluetooth: hci0: BCM20702A
[ 8546.061981] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[ 8546.904154] Bluetooth: hci0: BCM20702A1 (001.002.014) build 1338
[ 8546.920998] Bluetooth: hci0: Broadcom Bluetooth Device

其中dmesg看起来不错,但这仍然挂起:

$ bluetoothctl 
Waiting to connect to bluetoothd...

当我Bluetooth Adapters从我的 K-Menu 打开时,它仍然显示:“未找到蓝牙适配器。”

嗯,lsusb给我这个:

$ lsusb
Bus 004 Device 028: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 004 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 004 Device 025: ID 1004:631c LG Electronics, Inc. G2/Optimus Android Phone [MTP mode]
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 046d:c215 Logitech, Inc. Extreme 3D Pro
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ 
linux usb
  • 2 个回答
  • 169 Views

Sidebar

Stats

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

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve