Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#359231 - 26/07/2013 15:34 NETSH Help?
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
In Windows, I'm looking for some kind of a command line method of determining the status of a certain network interface. (i.e., is it working, is it connected, etc.).

Normally I would use NETSH commands for that...
- Netsh WLAN show interfaces (for wifi)
- Netsh MBN show interfaces (for WWAN adapters conforming to WMB - Windows Mobile Broadband)
... etc.

But now I have a network interface which does not identify itself as a wifi adapter, an ethernet adapter, or a WMB adapter. Instead, it is considered a "Remote NDIS based internet Sharing Device". It's a Pantech UML295 on the Verizon network. It looks like this in IPCONFIG/ALL:
Code:
Ethernet adapter Local Area Connection 6:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Remote NDIS based Internet Sharing Device #3
   Physical Address. . . . . . . . . : D0-57-85-75-F3-36
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2600:100f:b026:d7a0:244f:4c6c:8e41:5b47(Preferred)
   Temporary IPv6 Address. . . . . . : 2600:100f:b026:d7a0:71c6:3a5d:851:1f46(Preferred)
   Link-local IPv6 Address . . . . . : fe80::244f:4c6c:8e41:5b47%48(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.32.112(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, July 26, 2013 9:17:48 AM
   Lease Expires . . . . . . . . . . : Friday, August 2, 2013 9:17:48 AM
   Default Gateway . . . . . . . . . : fe80::bc40:69b2:16c6:4df%48
                                       192.168.32.2
   DHCP Server . . . . . . . . . . . : 192.168.32.2
   DHCPv6 IAID . . . . . . . . . . . : 818960261
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-E1-21-C0-00-21-5C-62-02-AF

   DNS Servers . . . . . . . . . . . : 192.168.32.2
   NetBIOS over Tcpip. . . . . . . . : Enabled


I can't use IPCONFIG for my purposes because all that stuff looks the same whether it's connected or not, whether it's malfunctioning or not, etc.

For other types of WWAN cards, I can use NETSH to find out what I need to know, but I just can't figure out the correct commands or context to access this device's details via NETSH.

Googling isn't helping me on this one.

Is there anyone here who's an expert on NETSH, or other similar commands?
_________________________
Tony Fabris

Top
#359236 - 26/07/2013 16:32 Re: NETSH Help? [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: tfabris
Is there anyone here who's an expert on NETSH, or other similar commands?


The information you seek is almost guaranteed to be available through WMI. Finding out exactly where is an exercise left to the reader.

Hint: run WBEMTEST and poke around at random.
_________________________
-- roger

Top
#359238 - 26/07/2013 17:05 Re: NETSH Help? [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Thanks! I'll give that a shot.
_________________________
Tony Fabris

Top