[oe] [meta-networking][PATCH] macchanger: added 1.5.0 recipe

Felipe Ferreri Tonello eu at felipetonello.com
Thu Feb 21 17:43:31 UTC 2013


On 02/21/2013 06:28 AM, Joe MacDonald wrote:
> Hey Felipe,
>
> [[oe] [meta-networking][PATCH] macchanger: added 1.5.0 recipe] On 13.02.20 (Wed 14:43) eu at felipetonello.com wrote:
>
>> From: "Felipe F. Tonello" <ftonello at cercacor.com>
>>
>> This is a useful utility to manipulate the mac address of a device.
>
> I'm unfamiliar with this tool, does it do something more than you can do
> with ifconfig today?  It looks like maybe it provides a database of MAC
> addresses and allows the user to decide they want to change their
> RTL-8139 to look like a Centrino wireless card on the network, but I
> can't tell from looking at the page.

It's a helper tool to manipulate mac addresses. From its help:

GNU MAC Changer
Usage: macchanger [options] device

   -h,  --help                   Print this help
   -V,  --version                Print version and exit
   -s,  --show                   Print the MAC address and exit
   -e,  --endding                Don't change the vendor bytes
   -a,  --another                Set random vendor MAC of the same kind
   -A                            Set random vendor MAC of any kind
   -r,  --random                 Set fully random MAC
   -l,  --list[=keyword]         Print known vendors
   -m,  --mac=XX:XX:XX:XX:XX:XX  Set the MAC XX:XX:XX:XX:XX:XX

So it's useful when you want to set random mac addresses, change vendor 
id, do not change vendor id. Stuff like that.

Felipe

>
> Thanks,
> -Joe.
>
>>
>> Signed-off-by: Felipe F. Tonello <ftonello at cercacor.com>
>> ---
>>   .../recipes-support/macchanger/macchanger_1.5.0.bb |   25 ++++++++++++++++++++
>>   1 file changed, 25 insertions(+)
>>   create mode 100644 meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb
>>
>> diff --git a/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb b/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb
>> new file mode 100644
>> index 0000000..0d78c34
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/macchanger/macchanger_1.5.0.bb
>> @@ -0,0 +1,25 @@
>> +SUMMARY = "Tool to view/change network interface MAC addresses"
>> +DESCRIPTION = "A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces."
>> +HOMEPAGE = "http://www.alobbs.com/macchanger"
>> +LICENSE  = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>> +
>> +PR = "r0"
>> +
>> +SRC_URI  = "${GNU_MIRROR}/macchanger/${PN}-${PV}.tar.gz"
>> +
>> +SRC_URI[md5sum] = "79b7cdaeca3d8ebafa764c4b0dd03ab7"
>> +SRC_URI[sha256sum] = "d44bfa27cb29c5a718627cb3ef3aa42eb5130426545eb2031120826cd73fa8fe"
>> +
>> +FILES_${PN} = " \
>> +  ${bindir}/${PN} \
>> +  ${datadir}/${PN}/wireless.list \
>> +  ${datadir}/${PN}/OUI.list \
>> +"
>> +
>> +FILES_${PN}-doc = " \
>> +  ${datadir}/info \
>> +  ${datadir}/man \
>> +"
>> +
>> +inherit autotools
>> \ No newline at end of file





More information about the Openembedded-devel mailing list