This is a follow up question to this post and subsequently this post.
To save you from a long read I am trying to force a MAC address change on my Pi Zero ethernet adapter with:
ifconfig eth0 down; ifconfig eth0 hw ether 21:21:21:21:00:11; ifconfig eth0 up; ifconfig eth0
But I receive the error message:
ether: Host name lookup failure
ifconfig: `--help' gives usage information.
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::bb7e:8c36:1a6c:4d5e prefixlen 64 scopeid 0x20<link>
ether 10:10:12:10:10:10 txqueuelen 1000 (Ethernet)
RX packets 1342 bytes 95363 (93.1 KiB)
RX errors 1 dropped 5 overruns 0 frame 1
TX packets 817 bytes 102452 (100.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Why can I not find ether
? Many additional details leading up to this point can be found in the linked questions if needed.
1
,3
,5
,7
,9
,B
,D
,F
will be invalid ... the2
,6
,A
,E
in the list are the so called "locally administered" MAC addresses - not likely to clash with a manufacturer MAC address (whose second digits would be one of0
,4
,8
,C
– Jaromanda X Oct 16 '18 at 22:1222:12:12:12:12:12
I receive the exact same error message – Matt Oct 17 '18 at 00:22ifconfig eth0 down; ifconfig eth0 hw ether 10:00:00:00:00:11; ifconfig eth0 up; ifconfig eth0
worked? and from the output in the questionether 10:10:12:10:10:10
looks like it does – Jaromanda X Oct 17 '18 at 00:42ether: Host name lookup failure
- that's a weird error to get ... type those commands one at a time ... it's definitely theifconfig eth0 hw ether ......
line that triggers that error? – Jaromanda X Oct 17 '18 at 00:44eth0
in one of the commands – Matt Oct 17 '18 at 00:53