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

Googlebot's questions

Martin Hope
Googlebot
Asked: 2020-07-02 16:40:56 +0800 CST

20.04 崩溃并出现错误 \00\00\00

  • 2

我新安装的 Ubuntu 20.04 在正常活动期间经常崩溃。这些是var/log/syslog崩溃前的最后几行:

Jul  2 01:23:16 ubuntu1 kernel: [363076.136396] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.136397] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.136398] RSP: 0018:ffffb5d598a4faf0 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.136399] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.136399] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.136400] RBP: ffffb5d598a4fb28 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.136401] R10: 0000000000000033 R11: ffffb5d598a4fa50 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.136401] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.136402] FS:  00007f84e30f3500(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.136403] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.136403] CR2: 00007f84e2e8a100 CR3: 00000006ced84000 CR4: 00000000003406e0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166419] general protection fault: 0000 [#44] SMP NOPTI
Jul  2 01:23:16 ubuntu1 kernel: [363076.166424] CPU: 1 PID: 1850071 Comm: php Tainted: P      D W  OE     5.4.0-39-generic #43-Ubuntu
Jul  2 01:23:16 ubuntu1 kernel: [363076.166425] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X399 Taichi, BIOS P3.30 08/14/2018
Jul  2 01:23:16 ubuntu1 kernel: [363076.166430] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.166433] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.166434] RSP: 0018:ffffb5d5988bfd28 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.166437] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166438] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166439] RBP: ffffb5d5988bfd60 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166440] R10: ffff896facaa6040 R11: 0000000000000000 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.166441] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166443] FS:  00007f98b6dd8700(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166445] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.166446] CR2: 00007f98bc80e9d0 CR3: 0000000ef8bfc000 CR4: 00000000003406e0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166447] Call Trace:
Jul  2 01:23:16 ubuntu1 kernel: [363076.166453]  ? __alloc_skb+0x5a/0x1d0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166455]  __alloc_skb+0x5a/0x1d0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166458]  ? make_kuid+0x13/0x20
Jul  2 01:23:16 ubuntu1 kernel: [363076.166460]  sock_wmalloc+0x3a/0x60
Jul  2 01:23:16 ubuntu1 kernel: [363076.166463]  unix_stream_connect+0xc4/0x562
Jul  2 01:23:16 ubuntu1 kernel: [363076.166466]  ? __d_alloc+0x27/0x1f0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166468]  ? __check_object_size+0x4d/0x150
Jul  2 01:23:16 ubuntu1 kernel: [363076.166471]  __sys_connect+0xf1/0x130
Jul  2 01:23:16 ubuntu1 kernel: [363076.166473]  ? __sys_socket+0x9e/0xf0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166476]  __x64_sys_connect+0x1a/0x20
Jul  2 01:23:16 ubuntu1 kernel: [363076.166479]  do_syscall_64+0x57/0x190
Jul  2 01:23:16 ubuntu1 kernel: [363076.166482]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul  2 01:23:16 ubuntu1 kernel: [363076.166484] RIP: 0033:0x7f98bc7d51ab
Jul  2 01:23:16 ubuntu1 kernel: [363076.166486] Code: 83 ec 18 89 54 24 0c 48 89 34 24 89 7c 24 08 e8 cb 45 f7 ff 8b 54 24 0c 48 8b 34 24 41 89 c0 8b 7c 24 08 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 89 44 24 08 e8 01 46 f7 ff 8b 44
Jul  2 01:23:16 ubuntu1 kernel: [363076.166487] RSP: 002b:00007f98b6dd6fc0 EFLAGS: 00000293 ORIG_RAX: 000000000000002a
Jul  2 01:23:16 ubuntu1 kernel: [363076.166489] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f98bc7d51ab
Jul  2 01:23:16 ubuntu1 kernel: [363076.166490] RDX: 000000000000006e RSI: 00007f98b6dd7030 RDI: 0000000000000009
Jul  2 01:23:16 ubuntu1 kernel: [363076.166491] RBP: 00007f98b6dd70e0 R08: 0000000000000000 R09: 00007f98b6dd6fe0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166492] R10: fffffffffffffdac R11: 0000000000000293 R12: 0000000000000006
Jul  2 01:23:16 ubuntu1 kernel: [363076.166493] R13: 00007f98b6dd6fe0 R14: 00007f98bc86accb R15: 0000000000000009
Jul  2 01:23:16 ubuntu1 kernel: [363076.166495] Modules linked in: rfcomm xt_MASQUERADE xt_state xt_conntrack ipt_REJECT nf_reject_ipv4 iptable_filter xt_tcpudp bpfilter nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_conntrack_pptp nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ccm edac_mce_amd kvm_amd cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi kvm nvidia_uvm(OE) nvidia_drm(POE) nvidia_modeset(POE) crct10dif_pclmul ghash_clmulni_intel snd_hda_codec_realtek joydev input_leds aesni_intel snd_hda_codec_generic nvidia(POE) ledtrig_audio crypto_simd cryptd glue_helper snd_hda_intel snd_intel_dspcfg snd_seq_midi snd_hda_codec snd_seq_midi_event snd_rawmidi iwlmvm btusb wmi_bmof btrtl snd_hda_core mac80211 mxm_wmi snd_hwdep libarc4 btbcm btintel snd_seq bluetooth snd_pcm iwlwifi snd_seq_device ecdh_generic snd_timer ecc k10temp drm_kms_helper cfg80211 ipmi_devintf snd
Jul  2 01:23:16 ubuntu1 kernel: [363076.166531]  ipmi_msghandler soundcore fb_sys_fops syscopyarea sysfillrect ccp sysimgblt mac_hid sch_fq_codel parport_pc ppdev lp drm parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid ses enclosure scsi_transport_sas uas usb_storage crc32_pclmul nvme igb i2c_piix4 nvme_core ahci i2c_algo_bit dca libahci gpio_amdpt wmi gpio_generic
Jul  2 01:23:16 ubuntu1 kernel: [363076.166551] ---[ end trace f61575867cc96eaa ]---
Jul  2 01:23:16 ubuntu1 kernel: [363076.166553] RIP: 0010:kmem_cache_alloc_node+0x121/0x260
Jul  2 01:23:16 ubuntu1 kernel: [363076.166555] Code: 75 0e 4d 89 f9 41 f6 47 0b 04 0f 84 4b ff ff ff 4c 89 ff e8 51 ff 01 00 49 89 c1 e9 3b ff ff ff 41 8b 41 20 49 8b 39 4c 01 e0 <48> 8b 18 48 89 c1 49 33 99 70 01 00 00 4c 89 e0 48 0f c9 48 31 cb
Jul  2 01:23:16 ubuntu1 kernel: [363076.166556] RSP: 0018:ffffb5d598a4faf0 EFLAGS: 00010202
Jul  2 01:23:16 ubuntu1 kernel: [363076.166558] RAX: 5c29693259fecd26 RBX: 0000000000000000 RCX: 0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166559] RDX: 0000000001e7898b RSI: 0000000000000cc0 RDI: 0000000000031fc0
Jul  2 01:23:16 ubuntu1 kernel: [363076.166560] RBP: ffffb5d598a4fb28 R08: ffff896ffe071fc0 R09: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166561] R10: 0000000000000033 R11: ffffb5d598a4fa50 R12: 5c29693259fecd26
Jul  2 01:23:16 ubuntu1 kernel: [363076.166562] R13: 0000000000000cc0 R14: 00000000ffffffff R15: ffff896ff9c80700
Jul  2 01:23:16 ubuntu1 kernel: [363076.166564] FS:  00007f98b6dd8700(0000) GS:ffff896ffe040000(0000) knlGS:0000000000000000
Jul  2 01:23:16 ubuntu1 kernel: [363076.166565] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  2 01:23:16 ubuntu1 kernel: [363076.166566] CR2: 00007f98bc80e9d0 CR3: 0000000ef8bfc000 CR4: 00000000003406e0

免费-h

              total        used        free      shared  buff/cache   available
Mem:           94Gi       9.2Gi        39Gi       177Mi        45Gi        84Gi
Swap:         127Gi          0B       127Gi

vm.swappiness = 60

sudo lshw -C memory
  *-firmware                
       description: BIOS
       vendor: American Megatrends Inc.
       physical id: 0
       version: P3.90
       date: 12/04/2019
       size: 64KiB
       capacity: 16MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: 8
       slot: System board or motherboard
       size: 64GiB
     *-bank:0
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 0
          serial: Unknown
          slot: DIMM 0
     *-bank:1
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 1
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:2
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 2
          serial: Unknown
          slot: DIMM 0
     *-bank:3
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 3
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:4
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 4
          serial: Unknown
          slot: DIMM 0
     *-bank:5
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 5
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
     *-bank:6
          description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
          product: Unknown
          vendor: Unknown
          physical id: 6
          serial: Unknown
          slot: DIMM 0
     *-bank:7
          description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
          product: CMK32GX4M2D3000C16
          vendor: Unknown
          physical id: 7
          serial: 00000000
          slot: DIMM 1
          size: 16GiB
          width: 64 bits
          clock: 2133MHz (0.5ns)
  *-cache:0
       description: L1 cache
       physical id: b
       slot: L1 - Cache
       size: 1536KiB
       capacity: 1536KiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=1
  *-cache:1
       description: L2 cache
       physical id: c
       slot: L2 - Cache
       size: 8MiB
       capacity: 8MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=2
  *-cache:2
       description: L3 cache
       physical id: d
       slot: L3 - Cache
       size: 32MiB
       capacity: 32MiB
       clock: 1GHz (1.0ns)
       capabilities: pipeline-burst internal write-back unified
       configuration: level=3
kernel syslog crash 20.04
  • 1 个回答
  • 1194 Views
Martin Hope
Googlebot
Asked: 2020-07-02 09:34:30 +0800 CST

如何在不停机的情况下重置网络管理器?

  • 3

我有一个不稳定的 WiFi 连接,带宽经常达到 0 而没有实际断开连接(它已连接但没有数据传输)。通过重置网络管理器

sudo service network-manager restart

完美解决问题。但是,我有两个问题:

  1. 如何在不停机的情况下重置网络管理器?使用上述命令,任何正在进行的下载都将被中断。重置时是否可以保持当前连接?
  2. 如果没有数据传输,我如何编写一个 bash 脚本来定期检查网络连接并重置它?

我使用 Ubuntu 20.04。

networking wireless bash network-manager
  • 4 个回答
  • 560 Views
Martin Hope
Googlebot
Asked: 2020-05-13 12:54:12 +0800 CST

替代 Nautilus 用于复制文件路径?

  • 9

我刚从 Ubuntu 18.04 搬到 20.04。文件( Nautilus ) 中的一个奇怪行为是您无法复制文件路径。相反,它复制

x-special/nautilus-clipboard
copy
file:///home/mywork/test.txt

代替

/home/mywork/test.txt

据我研究,此更改已于 19.04 生效。已经为此行为提交了几个错误。因此,我认为这是预期的行为。

由于我经常复制文件并在终端中运行它们,因此我不得不转移到另一个文件管理器。

我想使用Nemo,但我读到最新版本具有相同的行为(显然它们使用相同的核心系统)。

你能推荐一个具有标准路径复制行为的文件浏览器吗?

nautilus paths filemanager 20.04
  • 6 个回答
  • 2839 Views
Martin Hope
Googlebot
Asked: 2019-03-08 03:58:33 +0800 CST

从 /etc/fstab 中删除交换文件是否安全?

  • 0

我有 64GB RAM 并且已禁用swap。当我安排我的硬盘安装时/etc/fstab,我想知道是否仍然需要保留这条线

/swapfile                       none            swap    sw              0       0

在/etc/fstab?

fstab swap mount 18.04
  • 1 个回答
  • 3157 Views
Martin Hope
Googlebot
Asked: 2019-02-14 02:26:29 +0800 CST

如何卸载 AMDGPU?

  • 8

我在桌面上全新安装18.04了 Radeon Vega 64 GPU。由于我安装了AMD GPU官方驱动,我遇到了一系列问题。

一周后,鼠标在几个小时后滞后。现在,整个屏幕在几个小时后冻结。没有图形输出。如果我关闭显示器并重新启动它,则没有信号。但是,该机器仍可用作网络服务器。

AMD GPU我用命令卸载了,

amdgpu-pro-uninstall

但是,Ubuntu 没有启动到图形界面(在紫屏之前冻结)。

根据这个答案,我试图将驱动程序列入黑名单。

同样,Ubuntu 没有出现。

这很令人沮丧,因为我的机器因为这个愚蠢的司机而几乎没用。我正在考虑购买 Nvidia GPU。

你知道摆脱AMD GPU司机的安全方法吗?因为我不记得全新安装 Ubuntu 18.04 的任何这些问题。我相信本机固件工作得更好。

drivers graphics amd-graphics amdgpu-pro amdgpu
  • 4 个回答
  • 45455 Views
Martin Hope
Googlebot
Asked: 2018-12-10 17:06:52 +0800 CST

WiFi设置中的“options iwlwifi 11n_disable=1”是什么?

  • 4

改善 WiFi 信号的常见解决方案之一是使用此命令

options iwlwifi 11n_disable=1

在

/etc/modprobe.d/iwlwifi.conf

并且数字可以是0, 1, 2, 8。

我找不到该命令的手册。这些数字有什么作用?我们应该如何在可用选项中进行选择?

networking wireless drivers modprobe iwlwifi
  • 2 个回答
  • 10235 Views
Martin Hope
Googlebot
Asked: 2018-05-06 14:54:57 +0800 CST

如何在 Ubuntu 18.04 中安装 openmpi 模块?

  • 5

openmpiUbuntu 18.04 的存储库中缺少几个模块。我需要用fortran 编译一个程序并最终出现错误:

/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacs-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsCinit-openmpi
/usr/bin/x86_64-linux-gnu-ld: cannot find -lblacsF77init-openmpi

我在 Ubuntu 16.04 中没有问题。如何安装缺少的模块?

compiling 18.04 gnu fortran
  • 1 个回答
  • 17742 Views
Martin Hope
Googlebot
Asked: 2017-09-02 07:07:38 +0800 CST

如何在 Spyder 3 中使用 Python 3?

  • 2

我让 Spyder2 在 Ubuntu 16.04 上运行 Python 2.7。我通过安装 Spyder3

sudo apt-get install spyder3

但Spyder3也在运行 Python 2.7。

spyder我什至通过升级pip

sudo pip install spyder --upgrade

但 Spyder3 仍然基于 Python 2.7。

16.04
  • 2 个回答
  • 18182 Views
Martin Hope
Googlebot
Asked: 2017-05-30 22:09:18 +0800 CST

如何在 Ubuntu 16.04 中安装/使用“icheck”和“ncheck”

  • 1

我想使用icheck和ncheck命令来查找存储在特定 HDD 块(指令)上的文件。我通过安装命令

sudo apt-get install icheck

但这个包是

用于静态检查 C 接口的 API 和 ABI 更改的工具。应该检测到所有可能导致 ABI 更改的类型声明更改以及大多数 API 更改。

我相信这是一个不同的包。如何在 Ubuntu 中使用icheck和命令?ncheck

apt
  • 1 个回答
  • 408 Views
Martin Hope
Googlebot
Asked: 2017-04-24 11:50:38 +0800 CST

如何使用 VBoxManage guestcontrol 传递 shell 参数?

  • 2

我从客户机(都是 Ubuntu)上的主机运行命令

VBoxManage guestcontrol Ubuntu1 run --exe "script.sh" --username xx --password xx --wait-stdout

来宾机器上的 shell 脚本在哪里

#!/bin/bash
echo $1

如何在执行 shell 脚本时传递参数 1?

我认为它应该像

run --exe "script.sh arg1"

但事实并非如此。

command-line
  • 1 个回答
  • 10912 Views
Martin Hope
Googlebot
Asked: 2017-04-24 08:01:15 +0800 CST

VBoxManage guestcontrol权限错误

  • 0

我在 Ubuntu 主机的 virtualbox 上安装了一个 Ubuntu 来宾。当我尝试从客户机上的主机运行命令时,出现权限错误:

max@Ubuntu1:~$ VBoxManage guestcontrol Ubuntu2 run ls
VBoxManage: error: The specified user was not able to logon on guest
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSessionWrap, interface IGuestSession, callee nsISupports
VBoxManage: error: Context: "WaitForArray(ComSafeArrayAsInParam(aSessionWaitFlags), 30 * 1000, &enmWaitResult)" at line 938 of file VBoxManageGuestCtrl.cpp
16.04
  • 1 个回答
  • 1552 Views
Martin Hope
Googlebot
Asked: 2016-04-25 09:23:39 +0800 CST

如何将语言从英国更改为美国?

  • 6

我的键盘布局是英国的,所以我必须保持英国的布局。如何将系统语言(包括浏览器中的字典、libreoffice 等)更改为美国英语?

我试图从语言支持更改它,但英语(美国)没有被选中。

在此处输入图像描述

16.04
  • 2 个回答
  • 4775 Views
Martin Hope
Googlebot
Asked: 2016-04-24 06:09:58 +0800 CST

在 16.04 中无法通过 SFTP 覆盖远程服务器中的文件

  • 3

我曾经在 Ubuntu 14.04 中通过 SFTP 通过 nautilus 连接到服务器。

现在我在我的电脑上安装了 Ubuntu 16.04。我可以在远程服务器上创建文件,但不能覆盖任何文件。我也无法在 gedit 中编辑文件。

这不应该是权限问题,因为我是通过(远程服务器的)root 连接的。另一方面,我可以创建/重命名/删除文件,但不能覆盖或添加内容。

该问题与服务器设置无关,因为我可以从我的计算机连接 Ubuntu 14.04,但不能连接 Ubuntu 16.04。Ubuntu 16.04 中发生了一些变化。

nautilus
  • 2 个回答
  • 1125 Views
Martin Hope
Googlebot
Asked: 2016-04-23 03:59:19 +0800 CST

无线 7260 驱动程序

  • 2

我刚刚在装有 Intel Wireless 7260 的笔记本电脑上安装了 Ubuntu 16.04,但内核无法识别 wifi。笔记本电脑没有以太网,wifi 是我连接互联网的唯一方式。

在我搜索的过程中,很多人都有这个问题。

我看到的一个问题是内核 4.3+ 的英特尔驱动程序应该是iwlwifi-7260-17.ucode,但 Ubuntu 使用的是iwlwifi-7260-13.ucode.

在/lib/firmware,iwlwifi-7260-16.ucode可用。我从英特尔网站下载了,但仍然没有成功iwlwifi-7260-16.ucode。iwlwifi-7260-17.ucode

networking
  • 1 个回答
  • 4206 Views
Martin Hope
Googlebot
Asked: 2016-04-17 03:48:52 +0800 CST

如何在我正在工作的同一个显示器中打开文件呢?

  • 5

我已将 LCD 连接到笔记本电脑。当我尝试在 Nautilus 中打开文件时,目标应用程序会在我的笔记本电脑显示器中打开,而不是在第二个显示器(其中打开 nautilus 窗口)中打开。

我不想更改默认显示。我想在我正在使用的显示器中打开窗口。如果我的文件管理器在笔记本电脑显示器中,我希望应用程序在笔记本电脑显示器中打开。如果我的文件管理器在外部显示器中,我希望在那里打开文件。

的输出xrandr

Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm
   1366x768       60.1*+
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected primary 1920x1080+1366+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080      60.0*    50.0     59.9  
   1920x1080i     60.1     50.0     60.0  
   1680x1050      59.9  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       59.9  
   1152x864       75.0  
   1280x720       60.0     50.0     59.9  
   1440x576i      50.1  
   1024x768       75.1     70.1     60.0  
   1440x480i      60.1     60.1  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
unity
  • 1 个回答
  • 185 Views
Martin Hope
Googlebot
Asked: 2014-08-23 03:11:38 +0800 CST

如何通过 SSH 隧道共享 WiFi/热点

  • 8

我在连接到 LAN 的笔记本电脑上创建了一个 SSH 隧道。我想通过 WiFi/热点共享互联网,但要通过 SSH 隧道。我的意思是任何使用此无线网络的计算机都应通过 SSH 隧道连接到互联网(无需设置代理即可自动连接)。

换句话说,我只想在我的笔记本电脑上设置代理设置(例如,127.0.0.1:1028),并且任何使用我笔记本电脑上的 WiFi/热点的计算机都应该能够在没有任何代理设置的情况下使用互联网。

wireless
  • 2 个回答
  • 7352 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