Networkinterface: Difference between revisions

From Piszczynski
piszczynski>Aleks
No edit summary
piszczynski>Aleks
No edit summary
Line 31: Line 31:
Get details for network with password in clear text:
Get details for network with password in clear text:
*netsh wlan show profile <wifi network name> key=clear
*netsh wlan show profile <wifi network name> key=clear
Get services that are bound to ports:
*netstat -ano

Revision as of 18:12, 26 July 2023

Network Interface Issues NIC

Check DHCP settings + assigned IP address Check Cables

Check for incorrectly uninstalled network adapters in device manager > show hidden devices then uninstall

Reset the TCP/IP stack with the following command: "netsh int IP reset" (will clear all network configuration)

If the issue is with NIC teaming this can be removed for all adapters with the command: "LbfoAdmin /Resetconfig"

Enable Ping / ICMP using netsh

Use the following commands to set rule on windows firewall to allow ping on server

IPv4

  • netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol="icmpv4:8,any" dir=in action=allow

IPv6

  • netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol="icmpv6:8,any" dir=in action=allow


Network info

Get password for wifi network from netsh:

Get saved networks:

  • netsh wlan show profile

Get details for network with password in clear text:

  • netsh wlan show profile <wifi network name> key=clear

Get services that are bound to ports:

  • netstat -ano