Re: Re: Network Interface Card Name

From: Date: Mon, 07 Jul 2008 15:30:48 +0000
Subject: Re: Re: Network Interface Card Name
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-276367@lists.php.net to get a copy of this message
Per Jessen wrote:
Thiago H. Pojda wrote:
On Mon, Jul 7, 2008 at 8:19 AM, Kapil Kapil <help.language@gmail.com> wrote:
Hi ! I want to get the name of network interface card, like - "VIA Rhine I Fast Ethernet Adapter". Is there any function in php for this or perhaps a way to find it out?
Not really a PHP question, but the answer is 'lspci'. Here's some sample output: 00:0c.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 26) 04:0a.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 26) /Per Jessen, Zürich
Windows you can use: ipconfig /all Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . : localdomain
        Description . . . . . . . . . . . : Intel(R) PRO/1000 PL Network Connection
-Shawn

« previous php.general (#276367) next »