Re: Devices and MAC address
Re: Devices and MAC address
- Subject: Re: Devices and MAC address
- From: Allan Nathanson <email@hidden>
- Date: Fri, 2 Mar 2007 08:47:51 -0500
In this case, the <MAC address> is that of the Built-in Ethernet
(en0). For those of us who use a network home directory it helps to
keep the preferences that are unique to one system separated from
those of another.
- Allan
On Mar 2, 2007, at 7:57 AM, v.1 Labs wrote:
Hi, Andreas;
Are you sure about that? Internet Connect is indeed generating a ~/
Library/Preferences/ByHost/com.apple.networkConnect.<MAC address>
file for my modem, and I can get a MAC address value using
SCNetworkInterface APIs.
Cheers;
Mark
On 1-Mar-07, at 4:00 PM, Andreas Fink wrote:
ehm. a modem (V.32, V.32bis V.34, V.34bis, V.90 etc, the old dialup
device) does not have a MAC address. The reason is simple, it
doesn't run Ethernet. It is a serial device usually running PPP. So
there is no hardware you can read it from.
There is no hardware address.
On 01.03.2007, at 16:25, v.1 Labs wrote:
The modem, believe it or not. I've actually managed to modify that
example code you just linked to to print out the MAC addresses for
all of the networking devices, so I'm well on my way to a
solution, I think. :)
Cheers;
Mark
On 1-Mar-07, at 11:06 AM, Stephane wrote:
Are you looking for the MAC address of the default modem or the
primary interface? (the first one is strange).
There's a sample code on the ADC website showing how to do the
second one:
http://developer.apple.com/samplecode/GetPrimaryMACAddress/index.html
On Mar 1, 2007, at 3:36 , v.1 Labs wrote:
Hi, all;
I'm trying to programmatically get the MAC address for the
default modem in the system. I'm not really sure where to start,
though. Is there any way to enumerate network devices of a
particular type and get their properties?
Cheers;
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Andreas Fink
Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG
---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331 Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail: email@hidden
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: email@hidden AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden