macchanger: new package
PATCH 1/1 macchanger: new package
From: Simon Dawson <[email protected]>
--- package/Config.in | 1 + package/macchanger/Config.in | 7 +++++++ package/macchanger/macchanger.mk | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 package/macchanger/Config.in create mode 100644 package/macchanger/macchanger.mk
package/Config.in +1 -0
@@ -573,6 +573,7 @@ endif source "package/links/Config.in" source "package/linphone/Config.in" source "package/lrzsz/Config.in" +source "package/macchanger/Config.in" source "package/mii-diag/Config.in" source "package/mrouted/Config.in" source "package/msmtp/Config.in"
package/macchanger/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_MACCHANGER + bool "macchanger" + help + A GNU/Linux utility for viewing/manipulating the MAC address of + network interfaces + + http://www.alobbs.com/macchanger
package/macchanger/macchanger.mk new file +11 -0
@@ -0,0 +1,11 @@ +############################################################# +# +# macchanger +# +############################################################# +MACCHANGER_VERSION = 1.5.0 +MACCHANGER_SITE = ftp://ftp.gnu.org/gnu/macchanger +MACCHANGER_LICENSE = GPLv2 +MACCHANGER_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
1.7.9.5
PATCH 1/1 macchanger: new package
Quoted 3 lines · spdawson at gmail.com
From: Simon Dawson<[email protected]>
Signed-off-by Simon Dawson<[email protected]>
[snip]
package/macchanger/Config.in line 7
Quoted 13 lines
package/macchanger/Config.in new file +7
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_MACCHANGER + bool "macchanger" + help + A GNU/Linux utility for viewing/manipulating the MAC address of + network interfaces + + http://www.alobbs.com/macchanger
Just for my info, what does this do that 'ip link set address xx:xx:xx:xx:xx:xx'
doesn't?
package/macchanger/macchanger.mk line 7
Quoted 13 lines
package/macchanger/macchanger.mk new file +7
-0@@ -0,0 +1,11 @@ +############################################################# +# +# macchanger +# +############################################################# +MACCHANGER_VERSION = 1.5.0 +MACCHANGER_SITE = ftp://ftp.gnu.org/gnu/macchanger
MACCHANGER_SITE = $(BR2_GNU_MIRROR)/macchanger
With this amendment:
(build-test with a WCHAR-only internal powerpc toolchain)
Quoted 4 lines
package/macchanger/macchanger.mk new file +4
-0+MACCHANGER_LICENSE = GPLv2 +MACCHANGER_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 macchanger: new package
Hi Arnout; thanks for the feedback.
Quoted 3 lines · Arnout Vandecappelle
Just for my info, what does this do that 'ip link set address
xx:xx:xx:xx:xx:xx'
doesn't?
In addition to setting a specific MAC address, the tool can also be used to set a random address. I don't think you can do that using ip.
Quoted 10 lines
Quoted 1 line
+MACCHANGER_SITE = ftp://ftp.gnu.org/gnu/macchanger
MACCHANGER_SITE= $(BR2_GNU_MIRROR)/macchangerWith this amendment:
(build-test with a WCHAR-only internal powerpc toolchain)
Okay; will fix this and resubmit.
Simon.
PATCH 1/1 macchanger: new package
Simon, All,
Quoted 7 lines · On Tuesday 16 October 2012 Simon Dawson wrote:
Quoted 3 lines · Arnout Vandecappelle
Just for my info, what does this do that 'ip link set address
xx:xx:xx:xx:xx:xx'
doesn't?In addition to setting a specific MAC address, the tool can also be used to set a random address. I don't think you can do that using ip.
Not with 'ip' only, but still possible:
# MAC="$(dd if=/dev/urandom bs=6 count=1 2>/dev/null \
|hexdump -e '5/1 "%0x:" "%0x"' )"
# printf "%s\n" "${MAC}"
b9:41:54:af:d9:f0
# ip link set address "${MAC}"UNIX-powa! And it's probably not the only possibility. ;-)
But yes, it's a bit more involved than simply calling a single executable.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 macchanger: new package
In reply to Arnout Vandecappelle16.10.2012 21:55, Arnout Vandecappelle kirjoitti:
Quoted 14 lines · spdawson at gmail.com
Quoted 3 lines
From: Simon Dawson<[email protected]>
Signed-off-by Simon Dawson<[email protected]>[snip]
Quoted 9 lines
package/macchanger/Config.in new file +3
-0@@ -0,0 +1,7 @@ +config BR2_PACKAGE_MACCHANGER + bool "macchanger" + help
Quoted 9 lines
package/macchanger/Config.in line 7
Quoted 4 lines
package/macchanger/Config.in new file +4
-0+ A GNU/Linux utility for viewing/manipulating the MAC address of + network interfaces + + http://www.alobbs.com/macchangerJust for my info, what does this do that 'ip link set address
xx:xx:xx:xx:xx:xx'
doesn't?
Not much.
Besides setting MAC address to some specific value, it will let you to autogenerate random
MAC address from within same device vendor, same physical device category or completely random, bogust
MAC address.
So if you need to spoof MAC address when using aircrack-ng (which BTW, i have as buildroot package here) or some
similar cracking tool then this might come handy.
But then again, and like you noted, there are already zillion of other ways to change NIC MAC address ...
Best regards
Stefan
Quoted 27 lines
Quoted 7 lines
package/macchanger/macchanger.mk new file +0
-0package/macchanger/macchanger.mk line 7
Quoted 7 lines
package/macchanger/macchanger.mk new file +7
-0@@ -0,0 +1,11 @@ +############################################################# +# +# macchanger +# +############################################################# +MACCHANGER_VERSION = 1.5.0 +MACCHANGER_SITE = ftp://ftp.gnu.org/gnu/macchanger
MACCHANGER_SITE= $(BR2_GNU_MIRROR)/macchangerWith this amendment:
(build-test with a WCHAR-only internal powerpc toolchain)
Quoted 4 lines
package/macchanger/macchanger.mk new file +4
-0+MACCHANGER_LICENSE = GPLv2 +MACCHANGER_LICENSE_FILES = COPYING + +$(eval $(autotools-package))