Re: Detecting 2 Ethernet inbuilt
Re: Detecting 2 Ethernet inbuilt
- Subject: Re: Detecting 2 Ethernet inbuilt
- From: Mark Thomas <email@hidden>
- Date: Mon, 31 Oct 2005 23:30:41 +0000
- Organization: Coderus Ltd
The reason why I care :-), is that I need to configure up the Ethernet Port
with the right network settings which I'm presently doing. Correctly or
Incorrectly my code was working fine, while there was one inbuilt Ethernet
port as you can find that easily (Either en0 or use use the Port string
"In-built Ethernet")
But now with at least >=2 there I need to find the right Ethernet port now,
as the user might not have put the Ethernet in absolutely the right Ethernet
port. (Also adding in a PCI card like you say will also work better, also
makes me wonder what get's reported back in IORegistry land, does this use
its own drivers or the Apple IUniNet Ethernet model ?)
Thanks
Mark.
>> Does anybody know how you detect the 2xEthernet ports which are
>> inbuilt in
>> the new Tower systems, and which corresponds to port 1 and port 2
>> from what
>> I have seen from the technical diagrams on Apple support.
>>
>> I can guess that I can iterate over the IOEthernetInterface in the
>> IORegistry, but how to do you know which is which and maybe in the
>> future is
>> others get thrown in for good measure, if it clear but I don't have
>> access
>> to this machine to play with :-(.
>
> Why do you care if they are built-in? By adding PCI cards you can add
> multiple Ethernet ports to any recent PowerMac, and if your code
> handles that case correctly, it will handle the new PowerMacs as well.
>
> Ben
>
> --
>
> <http://artins.org/ben> | KB1FMP
>
> "Love is an Epic-level challenge." -- Durkon
>
>
>
>
_______________________________________________
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