Fenying
open-menu closeme
Home
Articles
Books
Projects
About Me
简体中文 English
  • Sharing Windows WLAN with Hyper-V VM malfunctions

    calendar May 17, 2025 · 2 min read · linux hyper-v archlinux proxy wlan vm  ·
    Share on: twitter facebook linkedin copy

    I have a Hyper-V VM running ArchLinux, and during the setup, I shared a physical network interface with the VM’s virtual switch.

    The VM itself works well, but something strange is, the network connection fails inside the VM, after I reboot the host machine.

    At the first glance, it seems like a Hyper-V issue, but this problem only occurs on my home PC, not on my work PC. The only difference is that my work PC is connected to a wired network, while my home PC uses a WLAN connection.

    The manual solution is simple: disable and re-enable the shared network connection in the Hyper-V settings, then the VM can access the network again.

    I think it’s too cumbersome to do this every time I reboot the host machine, so I looked for a more permanent solution.

    One of the solutions I was hit is to create a PowerShell script that runs at startup to automatically re-enable the shared connection. However, before I write such a script, I wanted to check if there is a more straightforward solution. And, I got it!


    Read More

Fenying

Angus’ Home.
Read More

Recent Posts

  • @litert/[email protected]
  • @litert/[email protected]
  • @litert/[email protected]
  • @litert/[email protected]
  • Sharing Windows WLAN with Hyper-V VM malfunctions
  • Why not use socket.write callback in Node.js?
  • Compress virtual machine disks of Hyper-V
  • Disabling the useless features in Windows 11

Categories

TYPESCRIPT 19 OS 7 SOFTWARE 3 CLOUD 2 DOCKER 2 SECURITY 2 GOLANG 1 WEB 1

Tags

TYPESCRIPT 17 NODEJS 16 JAVASCRIPT 13 PKI 11 SSL 11 TLS 11 OPENSSL 10 CERTIFICATES 8 X509 8 CA 7
All Tags
2FA2 ACCOUNT1 AGENT1 ALB1 ALGORITHM1 ANDROID1 APPLE1 ARCHLINUX2 AUTHENTICATION1 AWS2 BACKGROUND1 BASE322 BASE62X2 CA7 CAA1 CDN1 CERTIFICATES8 CLIENT2 CLOUDFLARE1 CLOUDFRONT1 CONFIG1 CONNECT1 CONTEXT-MENU1 COOKIES1 CRL1 CRON1 CUPID1 DATE1 DNS1 DOCKER3 EC3 ECDSA4 ED255192 EDDSA1 ELB1 ENCODINGS2 ERROR1 EXCEL1 EXPLORER1 GIT1 GOLANG1 HYPER-V3 INTERMEDIATE2 JAVASCRIPT13 LINUX3 LOADER1 LOCK-SCREEN1 LOGGER1 LWDFX1 MACHINE1 MENU1 MYSQL1 NETWORK3 NGINX1 NODE1 NODEJS16 OAUTH1 OPENCV1 OPENID1 OPENSSL10 OTP2 PASSWORD3 PICTURE1 PKI11 POWERSHELL1 PRIVATE1 PROTOCOL2 PROXY2 RANDOM1 REDIS2 REVOKE1 RIGHT-CLICK1 ROM1 ROOT1 RPC3 RSA4 RUSTDESK1 SAFE2 SCHEDULER1 SEARCH1 SEED1 SERVER1 SLIDESHOW1 SNOWFLAKE2 SSH1 SSL11 SYNTAX1 TEMPLATE1 TIMER1 TLS11 TYPE1 TYPESCRIPT17 UUID2 VALIDATION1 VERIFICATION1 VIRTUAL1 VIRTUAL-MACHINE1 VM1 WEBSOCKET1 WINDOWS2 WLAN1 WORDPRESS1 X5098 XIAOMI1 XXL-JOB1
[A~Z][0~9]
Angus Fenying

Copyright  ANGUS FENYING, All Rights Reserved. Powered by Hugo, with theme Clarity.

to-top