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

user1602's questions

Martin Hope
Konstantin Glukhov
Asked: 2025-03-05 12:44:39 +0800 CST

在 Windows 11 上,如何启用用户控制 Windows 更新 > 高级选项 > 传递优化 > 允许从其他设备下载?

  • 5

在 Windows 11 上,Windows 更新 > 高级选项 > 传递优化 > Allow downloads from other devices呈灰色。

有办法可以启用它吗?

windows-11
  • 1 个回答
  • 21 Views
Martin Hope
Konstantin Glukhov
Asked: 2024-01-30 03:31:40 +0800 CST

为什么 Windows 上的 ipv6 默认路由消失了?

  • 6

最初,当启用 ipv6 时,一切都会按预期工作:

Enable-NetAdapterBinding eth0 -ComponentID ms_tcpip6

Get-NetRoute -InterfaceAlias eth0 -AddressFamily IPv6

ifIndex DestinationPrefix                          NextHop RouteMetric ifMetric PolicyStore
------- -----------------                          ------- ----------- -------- -----------
7       ff00::/8                                   ::              256 25       ActiveStore
7       fe80::bf46:cae3:359d:9876/128              ::              256 25       ActiveStore
7       fe80::/64                                  ::              256 25       ActiveStore
7       XXXX:XXXX:XXX:XXXX:fc5f:4d7:7ba1:33ed/128  ::              256 25       ActiveStore
7       XXXX:XXXX:XXX:XXXX:967:4d50:721e:31b7/128  ::              256 25       ActiveStore
7       XXXX:XXXX:XXX:XXXX::/64                    ::              256 25       ActiveStore
7       ::/0                                       fe80::1         256 25       ActiveStore

fe80::1 是 Windows 客户端所连接的路由器的链路本地地址。

大约 30 分钟后,默认路由神奇地消失了。

我可以手动添加回默认路由器

New-NetRoute ::/0 -InterfaceAlias eth0 -NextHop fe80::1 -PolicyStore ActiveStore

但过一会儿又会消失。

知道为什么会发生这种情况以及如何解决它吗?

PS还有其他 Windows IPv6 客户端连接到同一路由器,但它们不存在此问题。因此,问题被隔离到一台 Windows 笔记本电脑上。

问题的答案。

  • 当Windows客户端路由消失后,路由器是否还能正常工作?

是的

  • 如果是,那么它的 IPv6 地址是什么?默认路由是什么?

路由器 WAN UGA: XXXX:XXXX:XXX:XXXX::1/64

默认路由:下一跳ULA

  • 这个路由器是什么?它是否通向 ISP?

OpenWrt 23.0.5 连接到 ISP 路由器 LAN 端口

  • Windows 版本是哪个?

Windows 11 专业版

  • 路线最初是手动添加的还是自动添加的?

自动地

  • 这是本地网络还是数据中心?

本地网络

  • 如果您打开 Wireshark 并过滤“icmpv6”,您最终会看到路由器通告吗?

是的,Windows 客户端每 7-10 分钟一次

windows
  • 2 个回答
  • 49 Views
Martin Hope
user1602
Asked: 2022-05-29 22:16:43 +0800 CST

如何在 PowerShell 中绑定 TabCompleteNext/TabCompletePrevious?

  • 6

我尝试使用以下命令在 PowerShell 7.2.4 中绑定 Ctrl-N 和 Ctrl-P,但它们没有效果 - 新绑定不起作用。

Remove-PSReadLineKeyHandler Tab
Remove-PSReadLineKeyHandler Tab -ViMode Command
Remove-PSReadLineKeyHandler Shift-Tab
Remove-PSReadLineKeyHandler Shift-Tab -ViMode Command

Set-PSReadLineKeyHandler Ctrl+N -Function TabCompleteNext
Set-PSReadLineKeyHandler Ctrl+P -Function TabCompletePrevious
Set-PSReadLineKeyHandler Ctrl+N -Function TabCompleteNext -ViMode Command
Set-PSReadLineKeyHandler Ctrl+P -Function TabCompletePrevious -ViMode Command

Get-PSReadLineKeyHandler

...

Completion functions
====================

Key             Function            Description
---             --------            -----------
Ctrl+Spacebar   PossibleCompletions Display the possible completions without changing the input
<Ctrl+Spacebar> PossibleCompletions Display the possible completions without changing the input
Ctrl+N          TabCompleteNext     Complete the input using the next completion
<Ctrl+N>        TabCompleteNext     Complete the input using the next completion
Ctrl+P          TabCompletePrevious Complete the input using the previous completion
<Ctrl+P>        TabCompletePrevious Complete the input using the previous completion

我也尝试了以下方法,但没有效果:

Set-PSReadLineKeyHandler Ctrl+N -Function ViTabCompleteNext
Set-PSReadLineKeyHandler Ctrl+P -Function ViTabCompletePrevious
Set-PSReadLineKeyHandler Ctrl+N -Function ViTabCompleteNext -ViMode Command
Set-PSReadLineKeyHandler Ctrl+P -Function ViTabCompletePrevious -ViMode Command

知道如何在 PowerShell 中绑定 TabCompleteNext/TabCompletePrevious 吗?

keyboard-shortcuts powershell
  • 1 个回答
  • 34 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