Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 07:43:44 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to get MAC address using C program
Message-ID:  <80f4f2b20605310443l2889c7a8nb4b8162ae283b893@mail.gmail.com>
In-Reply-To: <20060531030351.39871.qmail@web53804.mail.yahoo.com>
References:  <20060531030351.39871.qmail@web53804.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Could you exec() ifconfig?

On 5/30/06, girish girishlc <lc_girish@yahoo.com> wrote:
>   Pls any body tell me how to find out a MAC address in a program,
>
>
>   Because I want to generate pseudo random number of IP address of some range for that MAC address and IP range will be the input and it should give IP address according to MAC address as a seed , but if I use difft MAC address (i,e for difft host ) it should give difft IP address,
>
>
>   But if I give first MAC address it should give the same old IP address,
>
>
>   So pls send me answer as soon as possible code in C and also if possible ALGORITHMS pls its very urgent
>
>
>   Thank you,
>   Regards
>   Girish.L.C
>   lc_girish@yahoo.com
>
>
> ---------------------------------
> Do you Yahoo!?
>  Get on board. You're invited to try the new Yahoo! Mail Beta.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20605310443l2889c7a8nb4b8162ae283b893>