Re: Re: [PHP-DOC] Network Interface Card Name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thiago H. Pojda wrote:

>>> On Mon, Jul 7, 2008 at 8:19 AM, Kapil Kapil
>>> <help.language@xxxxxxxxx> 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux