Ok did some messing around at my home comp.

It has 2 "normal" NIC's, one wireless NIC, a Bluetooth thingy and a 1394 connection.
When the BT connection is enabled it gives all 0's as the IP, SN, Def GW, etc....
When the BT connection is disabled it takes the IP's from the first connected NIC (wireless in my case). Is it possible to add the connection name to the output (Local Area Connection, Local Area Connection 2, etc…)? At the first line maybe?

Here is the output.

Quote:


Static Address: False
DHCP Enabled: True
IPaddress/SM: 192.168.2.100,255.255.255.0
IPaddress0/SM: 192.168.2.100,255.255.255.0
IPaddress1/SM:
IPaddress2/SM:
IPaddress3/SM:
DefaultGW: 192.168.2.1
DNS Servers: 192.168.1.1,62.58.50.6
WINS Servers:
DNSSuffix:
DNS Search Order:
DHCP Server: 192.168.2.1
DHCP Lease Obtained: 20060109201156.000000+060
DHCP Lease Expires: 20060119201156.000000+060





Will check against a remote comp and the teamed stuff @work on Wednesday.

[edit]
D#mn. Should pay more attention to what I'm doing. Just logged off our terminal server and clicked reboot in stead off logoff More proof that men can't do two things at the same time. Working from home and kixing.
[/edit]


Edited by Mart (2006-01-09 10:38 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.