User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Mac address encryption

Sun Mar 29, 2015 9:26 pm

Hi i know how to encrypt the raspberry pi with the cpu serial but I also want to know how i can do the same with the Mac address thanks. :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

User avatar
DougieLawson
Posts: 39301
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mac address encryption

Sun Mar 29, 2015 9:53 pm

It's not sensible.

Try this
sudo ifdown eth0
sudo ifconfig eth0 hw ether AB:BC:CD:DE:EF
sudo ifup eth0
then tell me why it's not sensible.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Re: Mac address encryption

Sun Mar 29, 2015 9:57 pm

I understand it can be spoofed i just wanted to know how i can do a mac address encryption. :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

User avatar
DougieLawson
Posts: 39301
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mac address encryption

Sun Mar 29, 2015 10:07 pm

There is no point telling you, because it's not a sensible thing to do on Linux, Windows or OSX (because it's so easily spoofed).

On the Raspberry Pi the default b8:27:eb:xx:xx:xx MAC address is using the last six digits of the serial number anyway.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
expandables
Posts: 654
Joined: Fri Jun 27, 2014 7:34 pm
Location: Neverland with Michael Jackson

Re: Mac address encryption

Sun Mar 29, 2015 10:35 pm

I not worried of it being spoofed i just wan to know how to do it. :mrgreen:
By thinking like an engineer you can create a raspberry pi.
Michael Jackson enthusiast.
I got the PI model B, B+ and PI 2 model B.
When will I get the A? I don't know.

User avatar
DougieLawson
Posts: 39301
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mac address encryption

Sun Mar 29, 2015 10:42 pm

grep the MAC use that as a key.

But it's a lousy key, there aren't enough bits in it and it's never going to be secure.
The height of security technology from the 1970s (http://en.wikipedia.org/wiki/Data_Encryption_Standard) is roughly the technique you'd be emulating.

To get any kind of security you need public/private keys with 2048 bits of entropy.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

W. H. Heydt
Posts: 12784
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Mac address encryption

Sun Mar 29, 2015 11:35 pm

Enter the command: man gpg

Return to “Beginners”