Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Envy 360
Microsoft Windows 10 (32-bit)

I need to find ethernet address for local area connection and I have done the command prompt and typed ipconfig/all but when I do I haven't found ethernet address for local area connection.  I get wireless LAN adapter for local area connection* 2, wireless LAN adapter for local area connection* 13, Ethernet adapter ethernet 2 which description is kaspersky security data adapater, wireless LAN adapter wifi, and ethernet adapter bluetooth connection. Im kind of in a hurry to get this address as I need it for 6 oclock tomorrow. Would be huge help if someone knew how I could get this address. 

3 REPLIES 3
HP Recommended

Hi

 

Don't know.

The usual is that a local router is used and common numbers are 192.168.0.1, 192.168.1.1 like this...

  Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1

So can you ID the actual IP address of your device?  State what kind of network it is? 

 

Otherwise you have to scan the network and ID the device you want like a network printer, that could be at 192.168.0.30 or 192.168.1.87 or something similar.

 

Please expand on your situation.

HP Recommended

I'm trying to register my computer for a wired connection at my school and to register I need the hardware (ethernet) address and when I run the command prompt I just don't get a ethernet local area connection possibility. Like the number I would be looking for would be 00-FF-5D-E6-4C-23. I get the address for ethernet for a bluetooth connection like i said, but not for a local area connection

HP Recommended

Hi

The usual values are

IP address, Gateway, DHCP and DNS.

If you copy and paste the text into Notepad and save as LBB.bat;  double click and you should get mac addresses etc.

 

@ECHO OFF
getmac
systeminfo
PowerShell -Command "Get-NetAdapter"
PowerShell -Command "Get-NetAdapter -Name * | Format-Table -View Driver"
PowerShell -Command  "GIP -Detailed"
PowerShell -Command "Test-NetConnection"

"I need the hardware (ethernet) address"  getmac will give those.

 

 

ELSE

 

 

@ECHO  THIS MAY HELP TO REPAIR / RECTIFY,
@ECHO  VERY, SIMPLE NETWORK DIFFICULTIES.
@ECHO  BOTH ETHERNET & WIRELESS PROBLEMS.
@ECHO  THE RESULTS WILL VARY ACCORDING TO 
@ECHO  YOUR CONFIGURATION AND USER LEVEL.
@ECHO  A RE-BOOT MUST BE DONE AFTER DOING
@ECHO  SOME OF THE CHECKS OPTIONED BELOW.
@ECHO....................................
:MENU
@ECHO  TYPE IN YOUR PREFERRED MENU CHOICE
@ECHO....................................
@ECHO.
@ECHO  A - PING_LO Ping test to 127.0.0.1
@ECHO  B - PING_TO Pinging out to 8.8.8.8
@ECHO  C - GET_IFS Display each Interface
@ECHO  D - DNSFLSH Flush out DNS Register
@ECHO  E - DNS_REG Register new DNS value
@ECHO  F - IPvFOUR Reset to remove errors
@ECHO  G - IP_RNEW Force/Renew IP address
@ECHO  H - IPv_SIX Reset to remove errors
@ECHO  I - NB_STAT NETBIOS -Renew -Repair
@ECHO  J - DIS_HEU Disable TCP Heuristics
@ECHO  K - SH_ETH0 Display ETH0 interface
@ECHO  L - DR_WLAN Drivers WLAN interface
@ECHO  M - SH_WLAN Display WLAN interface
@ECHO  N - NS_LKUP Shows your Name Server
@ECHO  O - GET_MAC Obtain MAC address(es)
@ECHO  P - GTMAC-A Create address(es)-TXT
@ECHO  Q - IP_CONF Display Network Config
@ECHO  R - IPCNF-A All Network Config-TXT
@ECHO  S - SYS_SUM System Summary Display
@ECHO  T - INFO_32 Shows MSINFO32 Screens
@ECHO  U - NETSTAT All Network Statistics
@ECHO  V - NSTAT-A Show Network Stats-TXT
@ECHO  W - WINSOCK Reset to remove errors
@ECHO  X - PROFILE Displays SSID listings
@ECHO  Y - WIFIKEY Displays as clear text
@ECHO  Z - FINISHD Close this Command Box
@ECHO ...................................
@ECHO OFF
COLOR B1
SET /P M= Press A-Z, and then ENTER:

IF /I %M%==A GOTO PING_LO
IF /I %M%==B GOTO PING_TO
IF /I %M%==C GOTO GET_IFS
IF /I %M%==D GOTO DNSFLSH
IF /I %M%==E GOTO DNS_REG
IF /I %M%==F GOTO IPvFOUR
IF /I %M%==G GOTO IP_RNEW
IF /I %M%==H GOTO IPv_SIX
IF /I %M%==I GOTO NB_STAT
IF /I %M%==J GOTO DIS_HEU
IF /I %M%==K GOTO SH_ETH0
IF /I %M%==L GOTO DR_WLAN
IF /I %M%==M GOTO SH_WLAN
IF /I %M%==N GOTO NS_LKUP
IF /I %M%==O GOTO GET_MAC
IF /I %M%==P GOTO GTMAC-A
IF /I %M%==Q GOTO IP_CONF
IF /I %M%==R GOTO IPCNF-A
IF /I %M%==S GOTO SYS_SUM
IF /I %M%==T GOTO INFO_32
IF /I %M%==U GOTO NETSTAT
IF /I %M%==V GOTO NSTAT-A
IF /I %M%==W GOTO WINSOCK
IF /I %M%==X GOTO PROFILE
IF /I %M%==Y GOTO WIFIKEY
IF /I %M%==Z GOTO FINISHD

:PING_LO
ping LOOPBACK
echo.
GOTO MENU

:PING_TO
ping 13.107.4.52
echo.
GOTO MENU

:GET_IFS
netsh interface ip show interface
echo.
GOTO MENU

:DNSFLSH
ipconfig /flushdns
echo.
GOTO MENU

:DNS_REG
ipconfig /registerdns
echo.
GOTO MENU

:IPvFOUR
netsh int ipv4 reset reset.log
echo.
GOTO MENU

:IP_RNEW
ipconfig /release
pause
ipconfig /renew
echo.
GOTO MENU

:IPv_SIX
netsh int ipv6 reset reset.log
echo.
GOTO MENU

:NB_STAT
nbtstat -RR
echo.
GOTO MENU

:DIS_HEU
netsh int tcp set heuristics disabled
echo. 
GOTO MENU

:SH_ETH0
netsh lan show interfaces | more /c
echo.
GOTO MENU

:DR_WLAN
netsh wlan show drivers | more /c
echo.
GOTO MENU

:SH_WLAN
netsh wlan show interfaces | more /c
echo.
GOTO MENU

:NS_LKUP
nslookup /ns
echo.
GOTO MENU

:GET_MAC
getmac | more /c
echo.
GOTO MENU

:GTMAC-A
getmac >> c:\GM.txt
Notepad c:\GM.txt
echo. 
GOTO MENU

:IP_CONF
ipconfig -all
echo.
GOTO MENU

:IPCNF-A
ipconfig -all >> C:\IP.txt 
Notepad C:\IP.txt
echo. 
GOTO MENU

:SYS_SUM
systeminfo
echo.
GOTO MENU

:INFO_32
msinfo32
echo.
GOTO MENU

:NETSTAT
netstat -e -r -s | more /c
echo.
GOTO MENU

:NSTAT-A
netstat -e -r -s >> NetStat.txt
Notepad NetStat.txt
echo.
GOTO MENU

:WINSOCK 
netsh winsock reset catalog
echo.
GOTO MENU

:PROFILE
netsh wlan show profiles
echo. 
@ECHO PLEASE NOTE any NETWORK-SSID name(s)
@ECHO that you want the PASSPHRASE(S) for.
echo.
GOTO MENU

:WIFIKEY
set /p wkey=Please type in the SSID 
Please type in the SSID 
netsh wlan show profile name=%wkey% key=clear
echo.
GOTO MENU

:FINISHD
EXIT
:SH_ETH0
netsh lan show interfaces | more /c
echo.
GOTO MENU

 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.