CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    39

    Question Ethernet Address of Network Card

    Hi!

    How can I get the Ethernet Adress of my network card on a Linux machine?

    Thx
    void*

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    Do you mean the IP address (4 numbers) or the MAC (6 numbers) address. The IP address tends to vary, the MAC address is fixed.
    Succinct is verbose for terse

  3. #3
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    On Linux, try

    ifconfig

    On Windows NT/2K/XP

    ipconfig

    On Windows 9x/ME

    winipcfg
    Succinct is verbose for terse

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured