-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows: Cannot support wireless adapters in the v0.7.1 #3986
Comments
Thanks for the report! Added an issue to the library that detects adapters (hashicorp/go-sockaddr#20). We'll close both issues when it's fixed and pulled into Nomad. |
Can you post your full output of |
Windows IP Configuration Wireless LAN adapter wifi: Connection-specific DNS Suffix . : Ethernet adapter 本地连接 2: Media State . . . . . . . . . . . : Media disconnected Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Ethernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : Tunnel adapter isatap.{EBACA806-1326-447F-96A0-465285B91CD1}: Media State . . . . . . . . . . . : Media disconnected Tunnel adapter isatap.{45830FF1-D3E8-4C59-B6F7-24660FE3D3D7}: Media State . . . . . . . . . . . : Media disconnected Tunnel adapter isatap.{FF9F237C-4A0A-450B-95FA-CB8E92FC4AA9}: Media State . . . . . . . . . . . : Media disconnected |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.7.1 (0b295d3)
Operating system and Environment details
Windows 7 Ultimate sp1
Thinkpad T450
Issue
It reports an error:
No default interface found with matching IP.
I look up the source code in Git. And I find those code in the ifaddrs.go file. line 19.
var (
// Centralize all regexps and regexp.Copy() where necessary.
signRE *regexp.Regexp = regexp.MustCompile(
^[\s]*[+-]
)whitespaceRE *regexp.Regexp = regexp.MustCompile(
[\s]+
)ifNameRE *regexp.Regexp = regexp.MustCompile(
^Ethernet adapter ([^:]+):
)ipAddrRE *regexp.Regexp = regexp.MustCompile(
^ IPv[46] Address\. \. \. \. \. \. \. \. \. \. \. : ([^\s]+)
))
It looks not a good Regexp of ifNameRE. My adapter name is: Wireless LAN adapter wifi.
But, it is good in the version of Nomad v0.6.3.
That's all.
The text was updated successfully, but these errors were encountered: