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

orestis's questions

Martin Hope
orestis
Asked: 2018-05-06 09:06:56 +0800 CST

连接到 OpenVPN 时 Ubuntu 18.04 没有 DNS 解析

  • 85

当我通过 Gnome Network-manager 连接到 VPN 网络时,我失去了 DNS 解析,实际上,我无法访问 VPN 网络内部或外部的资源。

当我使用 Ubuntu 16.04 并使用 VPN 时,“ /etc/resolv.conf/”文件将包含我连接的 (VPN) 网络的 DNS 服务器。现在它总是包含以下条目:

nameserver 127.0.0.53
search myprovider.com

据我了解127.0.0.53,是system-resolved.

我怀疑这是一个错误,因为 VPN 在 Ubuntu 16.04 上运行良好。当我使用 VPN 服务时,有什么方法可以设置我的网络的 DNS 服务器?

更新:

我尝试使用帖子末尾附加的配置文件连接到 OpenVPN 网络,但出现以下错误:

 Authenticate/Decrypt packet error: cipher final failed

我已经验证服务器使用 lzo 压缩并且我也启用了它。连接保持活跃,但我无法导航到 VPN 内部或外部的任何页面。

在下面列出的配置文件中,我已经包含了回复中发布的解决方案

 client
 dev tun
 proto udp
 remote openvpn.bibsys.no 1194
 remote my-server-2 1194
 resolv-retry infinite
 nobind
 user myuser
 group myuser
 persist-key
 persist-tun
 ca ca-cert.pem
 cert openvpn.crt
 key openvpn.key
 cipher AES-256-CBC
 comp-lzo yes
 script-security 2
 up /etc/openvpn/scripts/update-systemd-resolved
 down /etc/openvpn/scripts/update-systemd-resolved
 down-pre
dns openvpn systemd-resolved
  • 7 个回答
  • 160498 Views
Martin Hope
orestis
Asked: 2018-04-30 01:13:01 +0800 CST

Ubuntu 18.04 Gnome 在登录屏幕上挂起

  • 13

在空驱动器上安装新的 Ubuntu 18.04 后,当我尝试登录计算机时冻结。当我通过tty( Ctrl++ , Alt)登录时,可以正常登录并执行任务。F2F3

如何调试 GNOME 发生的事情?

另外,当我尝试关闭它时,我收到错误:

NMI watchdog: Watchdog detected hard LOCKUP on cpu 4

我有一个带 NVMe 驱动器的戴尔 XPS 15。

$ uname -a
Linux kefalonia 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ lshw -C cpu
  *-cpu
       description: CPU
       product: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
       vendor: Intel Corp.
       physical id: 4c
       bus info: cpu@0
       version: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
       serial: To Be Filled By O.E.M.
       slot: U3E1
       size: 3709MHz
       capacity: 3800MHz
       width: 64 bits
       clock: 100MHz
       capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp cpufreq
       configuration: cores=4 enabledcores=4 threads=8
login xps 18.04
  • 5 个回答
  • 43453 Views
Martin Hope
orestis
Asked: 2016-04-16 10:14:19 +0800 CST

在系统启动时自动启动反向 ssh 隧道

  • 6

我希望通过 SSH 连接到防火墙后面的远程计算机。据我了解,这可以通过使用反向 ssh 隧道来实现。

所以我使用的命令是

ssh -N -f -R 0.0.0.0:1234:localhost:22  -i /home/username/.ssh/id_rsa.pub  username@remote-server.com

我的主要问题是我想在计算机启动时执行此命令,以便在重新启动后可以访问计算机。

我尝试通过在我的用户的 crontab 和/etc/cron. 但是我遇到的问题是两个命令都要求输入密码。我已经创建了the id_rsa.pub文件并将其发送到远程服务器,但它似乎仍然不起作用。

如果我已登录(例如通过 teamviewer),我可以运行命令并且不询问密码。如果我以 root ( sudo) 身份运行命令,则会询问 rsa 文件的(空)密码。我怀疑我的问题在这里,即当 cron 执行命令时 ssh 要求输入密码并且命令挂起。

我尝试使用我的用户的 rsa 文件和 root 的 rsa 文件,但没有一个我设法连接。

ssh
  • 4 个回答
  • 12530 Views
Martin Hope
orestis
Asked: 2014-07-17 08:09:16 +0800 CST

ubuntu 12.04 内核 3.13.0.30

  • 1

我有一台带 ATI 显卡的 Dell Inspiron 15。在内核 3.8 之前,一切都没有任何问题。在定期更新期间,Ubuntu 建议更新至内核 3.13.0.30。之后操作系统无法在正常模式下加载。Grub 出现,我可以使用包括 3.13.0.30 在内的所有内核登录到故障安全模式。我用3.8内核也能正常登录。使用 3.13 时,正常登录将在加载 lightdm 之前(登录屏幕之前)以空白屏幕告终。

12.04
  • 1 个回答
  • 1074 Views
Martin Hope
orestis
Asked: 2010-12-12 02:08:01 +0800 CST

如何更改存档管理器使用的默认应用程序?

  • 8

当我安装 rar 应用程序时,存档管理器使用的是非英文字符有问题的应用程序。我卸载了它,存档管理器使用了 p7zip。问题是如何使存档管理(并在此处提取)以使用 p7zip 而不是 rar 但同时安装两者。

filemanager
  • 2 个回答
  • 3815 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