Results 1 to 3 of 3

Thread: Query Mac Address

  1. #1
    Newbie
    Join Date
    May 2006
    Location
    Turkiye
    Posts
    4

    Query Mac Address

    Hi all,
    How i can query the mac addresses on a url with bash script..

    Example output:

    .#./say_mac -m 00:30:a3:11:22:34
    Compaq Computer Corporation

  2. #2
    You would first need a database of mac addresses by manufacturer, then look it up in that database. By "database" I mean any stored information (this could be a flat file in text just as easily as an SQL query.)

  3. #3
    Newbie
    Join Date
    May 2006
    Location
    Turkiye
    Posts
    4
    Thx..
    Theres a database from IEEE..

    I solve problem, script is:

    #!/bin/bash

    a='-scan'

    if [ "$1" = $a ]
    then
    echo 'looking up system arp tables..'
    echo 'finding mac addresses'
    curl -s http://standards.ieee.org/regauth/oui/oui.txt | grep ""
    else
    curl -s http://standards.ieee.org/regauth/oui/oui.txt | grep "$1"
    fi

    byez

Similar Threads

  1. Manage Groups in Address Book in XP
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 08:23 PM
  2. Manage Groups in the Address Book
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 06:19 AM
  3. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  4. Connect to internet with Win 95 or 98
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:13 AM
  5. Calling all mail server admins
    By demian in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 04-21-2004, 08:21 PM

Bookmarks

Posting Permissions

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