web-archive/Change MAC Addresses on Linux.html

337 lines
521 KiB
HTML
Raw Normal View History

2023-09-01 08:20:19 +02:00
<!DOCTYPE html> <html style lang=en-US><!--
Page saved with SingleFile
url: https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/
saved date: Sun Jul 09 2023 08:32:29 GMT+0200 (Central European Summer Time)
--><meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name=amp-ad-enable-refresh content="doubleclick=30">
<style>html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,figcaption,figure,footer,main{display:block}a{background-color:transparent}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}small{font-size:80%}img{border:0}svg:not(:root){overflow:hidden}input{font:inherit;margin:0}button,input[type="submit"]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type="checkbox"]{box-sizing:border-box;padding:0}body,button,input{color:#404040;font-family:sans-serif;font-size:1rem;line-height:1.5}h1,h2,h3{clear:both}p{margin-bottom:1.5em}em{font-style:italic}pre{background:#eee;overflow:auto}code{font-family:Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{background:#fff}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote{quotes:""""}ul{margin:0 0 1.5em 3em}ul{list-style:disc}img{height:auto;max-width:100%}figure{margin:1em 0}button,input[type="submit"]{border-color:#ccc #ccc #bbb;border-radius:3px;background:#e6e6e6;font-size:0.75rem;line-height:1}button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover{border-color:#ccc #bbb #aaa}button:focus,input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,button:active,input[type="button"]:active,input[type="reset"]:active,input[type="submit"]:active{border-color:#aaa #bbb #bbb}input[type="text"]{color:#666}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus{color:#111}a:hover,a:focus,a:active{color:midnightblue}a:focus{outline:thin dotted}a:hover,a:active{outline:0}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden;word-wrap:normal!important}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:0.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after{clear:both}.hentry{margin:0 0 0}.entry-content{margin:1.5em 0 0}iframe{max-width:100%}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*="wp-image-"]{display:block;margin-right:auto}.wp-caption .wp-caption-text{margin:0.8075em 0}body{text-align:left;-webkit-font-smoothing:antialiased;overflow-x:hidden}@media screen and (max-width:768px){.entry-content img.size-full{width:100%;height:auto}}a{color:#1d55a9;text-decoration:none}a:hover{color:#e07d02}div.message span a{text-decoration:underline}body #primary .entry-content ul#nextuplist{list-style-type:none;margin-left:0px;padding-left:0px}body #primary .entry-content ul#nextuplist li a{text-decoration:none;color:#1d55a9}.entry-content a{color:#1d55a9;text-decoration:underline}.entry-content a:hover{color:#e07d02}#masthead{display:block;margin-left:auto;margin-right:auto;background-color:#000;height:45px;min-height:45px;position:fixed;top:0!important;transition:top 0.2s ease-in-out;width:100%;z-index:100000}#masthead .search{cursor:pointer;float:right;margin-top:15px;margin-right:15px;margin-left:0px}@media screen and (max-width:768px){#masthead .search{margin-top:15px;margin-le
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/.hamburger{padding:13px 0px;display:inline-block;cursor:pointer;float:right;transition-property:opacity,filter;transition-duration:0.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible}.hamburger:hover{opacity:0.9}.hamburger:focus{outline:0}.hamburger-box{width:20px;height:14px;display:inline-block;position:relative}.hamburger-inner{display:block;margin-top:-1px}.hamburger-inner,.hamburger-inner::before,.hamburger-inner::after{width:20px;height:2px;background-color:#fff;border-radius:4px;position:absolute;transition-property:transform;transition-duration:0.15s;transition-timing-function:ease}.hamburger-inner::before,.hamburger-inner::after{content:"";display:block}.hamburger-inner::before{top:-6px}.hamburger-inner::after{bottom:-6px}.hamburger--slider .hamburger-inner{top:1px}.hamburger--slider .hamburger-inner::before{top:6px;transition-property:transform,opacity;transition-timing-function:ease;transition-duration:0.15s}.hamburger--slider .hamburger-inner::after{top:12px}@media screen and (max-width:768px){.htg-hamburger{position:absolute;right:15px}}.keytakeaways{font-size:1rem;border:1px solid #1D55A9;padding:10px;margin-bottom:1.5em}.keytakeaways:before{content:"Key Takeaway";position:absolute;margin-top:-20px;margin-left:20px;padding:0 10px;font-size:12px;font-weight:bold;color:black;background-color:white}.relatedside{border-top:1px solid #CCC;border-bottom:1px solid #CCC;padding-top:10px;padding-bottom:10px}.relatedside{margin-top:10px;margin-bottom:10px;position:relative}@media screen and (max-width:768px){.relatedside{width:100%;margin:0;margin-bottom:20px;float:none}}.relateditemwrap{min-height:80px;position:relative}.relatedtextwrap{position:absolute;top:50%;right:0;width:60%;transform:translateY(-50%)}.relatedtextwrap .relatedtitle,.relatedtextwrap .relatedtext{width:100%}.relatedside .relatedtext{color:#306193;display:block;font-weight:600;margin-bottom:0px}.relatedside .relateditemimg{float:left}.relatedtitle{color:#333!important;display:block;font-size:14px;font-weight:600;line-height:20px;padding-right:20px}@media screen and (max-width:768px){.relateditemwrap{height:auto}}#floating-sidebar-area{height:400px!important}.bio_popup_hoverbox_1{display:block;position:absolute;box-shadow:0 0 20px 0 rgb(0 0 0/15%);z-index:200090;background-color:white;min-height:100px;min-width:200px;max-width:500px;margin-top:3px;margin-bottom:5px;padding:15px;font-size:0.9rem;font-family:"Open Sans",sans-serif;border-radius:6px;visibility:hidden;opacity:0;transition:visibility 1s linear,opacity 1s linear}.bio_popup_hoverbox_1 img{max-width:84px;max-height:84px;float:left;margin-right:15px}.bio_popup_on_hover_1:hover+.bio_popup_hoverbox_1,.bio_popup_on_hover_2:hover+.bio_popup_hoverbox_2,.bio_popup_on_hover_3:hover+.bio_popup_hoverbox_3,.bio_popup_on_hover_4:hover+.bio_popup_hoverbox_4,.bio_popup_on_hover_5:hover+.bio_popup_hoverbox_5,.bio_popup_on_hover_6:hover+.bio_popup_hoverbox_6,.bio_popup_on_hover_7:hover+.bio_popup_hoverbox_7,.bio_popup_on_hover_8:hover+.bio_popup_hoverbox_8,.bio_popup_on_hover_9:hover+.bio_popup_hoverbox_9,.bio_popup_on_hover_10:hover+.bio_popup_hoverbox_10{visibility:visible;opacity:1;transition:visibility 0.2s linear,opacity 0.2s linear}.bio_popup_hoverbox_1:hover,.bio_popup_hoverbox_2:hover,.bio_popup_hoverbox_3:hover,.bio_popup_hoverbox_4:hover,.bio_popup_hoverbox_5:hover,.bio_popup_hoverbox_6:hover,.bio_popup_hoverbox_7:hover,.bio_popup_hoverbox_8:hover,.bio_popup_hoverbox_9:hover,.bio_popup_hoverbox_10:hover{visibility:visible;opacity:1}@media screen and (max-width:768px){header .entry-meta>span{max-width:80%}.bio_popup_hoverbox_1{left:10px;right:10px}}.bio_popup_body{text-transform:none}.bio_popup_name{font-size:26px;font-weight:bold}.bio_popup_title{text-transform:uppercase;color:#666}.bio_popup_aboutbtn{border-radius:3px;background-color:#F0F0F0;display:inline-block;text-align:center;padding:5px 10px;float:right;text-transform:uppercase;font-size:10px;text-decoration:none}.moka_autotoc_heading{fo
<title>How to Permanently Change Your MAC Address on Linux </title>
<meta property=fb:page_id content=65878196434>
<link rel=alternate type=application/rss+xml title="How-To Geek RSS Feed" href=https://feeds.howtogeek.com/HowToGeek>
<meta name=ROBOTS content="INDEX, FOLLOW, max-image-preview:large">
<script type=application/ld+json>{"@context":"http://schema.org","@type":"Article","author":{"@type":"Person","name":"Dave McKay","url":"https://www.howtogeek.com/author/davidmckay/","jobTitle":"Writer"},"mainEntityOfPage":{"@type":"WebPage","id":"https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/"},"publisher":{"@type":"Organization","name":"How-To Geek","logo":{"@type":"ImageObject","url":"https://www.howtogeek.com/public/images/htgamp.png","height":60,"width":233}},"headline":"How to Permanently Change Your MAC Address on Linux","name":"How to Permanently Change Your MAC Address on Linux","datePublished":"2023-03-31T11:00:41-04:00","dateModified":"2023-03-29T12:17:27-04:00","description":"Every network interface has a unique MAC address, set by the manufacturer. It&#8217;s how network connections identify connection endpoints. On Linux, you can permanently change a MAC address if you want.","image":["https://www.howtogeek.com/wp-content/uploads/2023/02/fatmawati-achmad-zaenuri-321627716.png?height=200p&trim=2,2,2,2&crop=16:9"]}</script> <meta name=twitter:card content=summary_large_image>
<meta name=twitter:site content=@howtogeek>
<meta name=twitter:image content="https://www.howtogeek.com/wp-content/uploads/2023/02/fatmawati-achmad-zaenuri-321627716.png?height=200p&amp;trim=2,2,2,2">
<meta property=og:site_name content="How-To Geek">
<meta property=og:title name=title content="How to Permanently Change Your MAC Address on Linux">
<meta property=og:type content=article>
<meta property=og:description name=og:description content="Every network interface has a unique MAC address, set by the manufacturer. Its how network connections identify connection endpoints. On Linux, you can permanently change a MAC address if you want.">
<meta property=og:image content="https://www.howtogeek.com/wp-content/uploads/2023/02/fatmawati-achmad-zaenuri-321627716.png?height=200p&amp;trim=2,2,2,2">
<meta name=description content="Every network interface has a unique MAC address, set by the manufacturer. Its how network connections identify connection endpoints. On Linux, you can permanently change a MAC address if you want.">
<link rel=icon type=image/png href=data:image/webp;base64,UklGRrQBAABXRUJQVlA4TKcBAAAvv8AvADXI1bbtsCvbc6VKnTKdrc7JEaRCZzvpdBDpUqW2bdu2bWd+fOua+bb3/Cui/47cNnIkCjPntHmrP2CAfpr/NP9p6DF0lIgcGOwkMlM5ewmYDZXEnyI5HNwTLTG035OFyRhN3QOrJpmUzt/zN1ukQNI72TnDpJ4sVm7vHVgtuQ3oYTUrj+MFaZOhlyJCbhGqhpDyDi0OPaNgdejZAptCzwrYGHqWwUbV6w6qCz2GVZ2N8hpan0lXgqy3kO0pJ4lWpcqxO+e7CGx3jHdnXJhfkCZA7iUqN1zYUEz+PcuDYgZ980iz9vH1lhXoiirOfmNaZ+jCeGdiJMiMDXsQ9ryyvEomFu8wxduvIq+CbEYiDltl78wOsZXD8bsl+kZ/YZ0mJujJRPwywlYM6LUoRamKf/dWipTb8zMhTi7xZunsJIRwDEX/dw8X/H83+28xHc7tYAg6N4Uh6NzazzDdzW3iRXdzs+gZgc8toycTPjeuxrl9Ntt30hoPiyHo3L4q101w7CiHOmTAk2nZCmjdhDrXrUAO1Z76WNLRuhX00/yn+U9jjwAA sizes=192x192>
<meta name=msapplication-TileImage content=/public/images/144x144.png>
<meta name=msapplication-TileColor content=#000>
<meta name=theme-color content>
<link rel=canonical href=https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/>
<meta property=og:url content=https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/><link rel=amphtml href=https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/amp/>
<style>@-webkit-keyframes moka-slide-in{100%{top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}}@keyframes moka-slide-in{100%{top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}}@-webkit-keyframes moka-fade-in{100%{opacity:1}}@keyframes moka-fade-in{100%{opacity:1}}@-webkit-keyframes moka-fade-in-partial{100%{opacity:1}}@keyframes moka-fade-in-partial{100%{opacity:1}}@keyframes jw-float-to-bottom{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes jw-float-to-top{from{transform:translateY(0)}to{transform:translateY(100%)}}@supports (filter:drop-shadow(0 0 3px #000)){.jwplayer.jw-ab-drop-shadow .jw-controls .jw-icon.jw-text,.jwplayer.jw-ab-drop-shadow .jw-controls .jw-svg-icon,.jwplayer.jw-ab-drop-shadow .jw-slider-container .jw-rail,.jwplayer.jw-ab-drop-shadow .jw-title{text-shadow:none;box-shadow:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}.jwplayer.jw-ab-drop-shadow .jw-button-color{opacity:.8;transition-property:color,opacity}.jwplayer.jw-ab-drop-shadow .jw-button-color:not(:hover){color:#fff;opacity:.8}.jwplayer.jw-ab-drop-shadow .jw-button-color:hover{opacity:1}.jwplayer.jw-ab-drop-shadow .jw-controls-backdrop{background-image:linear-gradient(to bottom,hsla(0,0%,0%,0),hsla(0,0%,0%,0.00787) 10.79%,hsla(0,0%,0%,0.02963) 21.99%,hsla(0,0%,0%,0.0625) 33.34%,hsla(0,0%,0%,0.1037) 44.59%,hsla(0,0%,0%,0.15046) 55.48%,hsla(0,0%,0%,0.2) 65.75%,hsla(0,0%,0%,0.24954) 75.14%,hsla(0,0%,0%,0.2963) 83.41%,hsla(0,0%,0%,0.3375) 90.28%,hsla(0,0%,0%,0.37037) 95.51%,hsla(0,0%,0%,0.39213) 98.83%,hsla(0,0%,0%,0.4));mix-blend-mode:multiply;transition-property:opacity}.jw-state-idle.jwplayer.jw-ab-drop-shadow .jw-controls-backdrop{background-image:linear-gradient(to bottom,hsla(0,0%,0%,0.2),hsla(0,0%,0%,0.19606) 1.17%,hsla(0,0%,0%,0.18519) 4.49%,hsla(0,0%,0%,0.16875) 9.72%,hsla(0,0%,0%,0.14815) 16.59%,hsla(0,0%,0%,0.12477) 24.86%,hsla(0,0%,0%,0.1) 34.25%,hsla(0,0%,0%,0.07523) 44.52%,hsla(0,0%,0%,0.05185) 55.41%,hsla(0,0%,0%,0.03125) 66.66%,hsla(0,0%,0%,0.01481) 78.01%,hsla(0,0%,0%,0.00394) 89.21%,hsla(0,0%,0%,0));background-size:100% 7rem;background-position:50%0}.jwplayer.jw-ab-drop-shadow.jw-state-idle .jw-controls{background-color:transparent}}@keyframes jw-ab-zoom-thumbnail-animation{0%{transform:scale(1,1)}50%{transform:scale(1.25,1.25)}100%{transform:scale(1,1)}}@keyframes jw-spin{100%{transform:rotate(360deg)}}</style><meta property=position content=1 class=sf-hidden><meta name=twitter:label1 content="Written by" class=sf-hidden><meta name=twitter:data1 content="Dave McKay" class=sf-hidden><meta name=twitter:label2 content="Est. Reading Time" class=sf-hidden><meta name=twitter:data2 content="6 minutes" class=sf-hidden><style>.sf-hidden{display:none!important}</style><meta http-equiv=content-security-policy content="default-src 'none'; font-src 'self' data:; img-src 'self' data:; style-src 'unsafe-inline'; media-src 'self' data:; script-src 'unsafe-inline' data:; object-src 'self' data:; frame-src 'self' data:;"><style>img[src="data:,"],source[src="data:,"]{display:none!important}</style></head>
<body class="post-template-default single single-post postid-880124 single-format-standard has_toc_singlestyle group-blog">
<a class="skip-link screen-reader-text" href=#content>Skip to content</a>
<amp-iframe width=1 height=1 sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox" layout=fixed frameborder=0 src=https://ads.servebom.com/serve_cdn/amp/amp_head.html>
<amp-img layout=responsive width=1 height=1 src=https://ads.servebom.com/serve_cdn/amp/amp_placeholder.png placeholder></amp-img>
</amp-iframe>
<header id=masthead class="site-header nav-down" role=banner>
<div class=inner>
<a href=https://www.howtogeek.com/ class=home title="How-To Geek Home" aria-label="How-To Geek Home">
<div class=site-branding>
<img aria-hidden=true tabindex=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bO/qgQuUMhTUo1LnRoRaFRJur+VA5QmENCtvc/notCkd+9LFJ7maDQmGFTe45IbUo7P3MWjZU2gYKq1DYZcaHWhQ23OCEGp4YKKxD4XmyZnmmQsMujSi21wiFpRUOecGwGoWaZyY4Zw2F8grPkzXLIxUOPLON6zU+XaF/t/PyJIVTVjC8RGHK+zM7ntnC9RrvUHjlO0EDU80KZd8VL6LwU/LesZ1lNlH7be5SmFSn+xQWfj+yJ0zE7HatR+HKXnYltqHmOxV+SkJZaYVdztixHoWaHwMLDk6g8AKF50mOiGBYj0LPvRn4heYGCitSqDLaqnoUNvwC3SI2Zw2Flyg8d+z3Jyrc2AW6SWpDDRRepHBM32wiotBG1st/qgc/P6akNtQEKpSpkzf1iQrX9PJZoaycwvNkzX6rwvWVUS/6WdJ8cOouVShTJ3+yaQqn9PKtQlk5hZ43JY13KhzjruYSGCIGtsG2zaUKZerUhEX9sNSll28UysoqPE/WbHcq9M04h15Npiwde+vMtQqF6uRNXRLCJb18u1hWtr1aU3vLMgp7m/xw0UtHTrCbMlaIUhTK1Cmw8xGQtja5fLYXy8oqVKnzGDIKmz748bJjKA7DF0FdrFCmThTD6K6haZPLt/dyWfm++54YDIUUNs24hlxYMzET6gMf7JyPaq9WKFInKrWTiWkWF5VaPruOkll5hWNaMPwPXWilxkOJ5VcAAAAASUVORK5CYII=" class=main-logo alt width=145 height=46>
</div>
</a>
<button class="htg-hamburger hamburger hamburger--slider" type=button aria-label="Expand Menu">
<span class=hamburger-box role=presentation>
<span class=hamburger-inner role=presentation></span>
</span>
</button>
<svg class=search aria-label="Search Icon" role=img width=1792 height=1792 viewBox="0 0 1792 1792" xmlns=http://www.w3.org/2000/svg aria-hidden=true tabindex=-1><path d="M1216 832q0-185-131.5-316.5t-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5 316.5-131.5 131.5-316.5zm512 832q0 52-38 90t-90 38q-54 0-90-38l-343-342q-179 124-399 124-143 0-273.5-55.5t-225-150-150-225-55.5-273.5 55.5-273.5 150-225 225-150 273.5-55.5 273.5 55.5 225 150 150 225 55.5 273.5q0 220-124 399l343 343q37 37 37 90z" fill=#fff></path></svg>
<span class=twitter><a title=Twitter aria-label=Twitter href=https://twitter.com/howtogeek/><svg title="Twitter Icon" aria-label="Twitter Icon" xmlns=http://www.w3.org/2000/svg enable-background="new 0 0 512 512" viewBox="0 0 512 512" aria-hidden=true tabindex=-1><path fill=white d="M256,16C123.5,16,16,123.5,16,256c0,132.5,107.5,240,240,240s240-107.5,240-240C496,123.5,388.5,16,256,16z M376.3,192.9c-0.1,0.1-0.1,0.1-0.2,0.2c0.1,1.5,0.1,3,0.2,4.5c0,1.6,0.1,3.2,0.1,4.8c0,98.3-79.7,177.9-177.9,177.9 c-33.8,0-65.3-9.4-92.2-25.7c0,0,51,4.3,85.9-28.3c0,0-41.6-5.4-57.3-44c0,0,18.1,3,28.9,0c0,0-50-20.5-48.8-62.1 c0,0,17.5,7.2,25.9,7.2c0,0-44.6-30.8-18.1-88c0,0,34.4,66.3,128.4,66.9l0.1-0.1c-0.7-3.7-1-7.5-1-11.4c0-34.8,28.2-63,63-63 c17.8,0,33.9,7.4,45.3,19.2l0.5-0.2c0,0,3.7-1,8.8-2.5c8.6-2.5,21.2-6.3,26.1-9c0,0-5.1,19.3-20.8,30.3c-0.5,0.4-1,0.7-1.5,1 c0,0,0.6,0,1.7-0.1c4.8-0.2,18.7-1.5,31.5-8.4C404.6,162.8,391.4,180.4,376.3,192.9z"></path></svg></a></span>
<span class=facebook><a title=Facebook aria-label=Facebook href=https://facebook.com/howtogeek/><svg title="Facebook Icon" aria-label="Facebook Icon" viewBox="0 0 1000 1000" xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink aria-hidden=true tabindex=-1><g><path d="M500,1000L500,1000C223.9,1000,0,776.1,0,500l0,0C0,223.9,223.9,0,500,0l0,0c276.1,0,500,223.9,500,500l0,0 C1000,776.1,776.1,1000,500,1000z"></path><path style=fill:white d="M630,1000V612.7h130l19.5-150.9H630v-96.4c0-43.7,12.1-73.5,74.8-73.5h79.9V157 c-13.8-1.8-61.3-5.9-116.5-5.9c-115.2,0-194.1,70.3-194.1,199.5v111.3H343.8v150.9h130.3V1000H630z"></path></g></svg></a></span>
<span class="twitter-mobile sf-hidden"><svg role=img aria-label="Twitter Icon" width=1792 height=1792 viewBox="0 0 1792 1792" xmlns=http://www.w3.org/2000/svg style=fill:#2AA3EF aria-hidden=true tabindex=-1><path d="M1684 408q-67 98-162 167 1 14 1 42 0 130-38 259.5t-115.5 248.5-184.5 210.5-258 146-323 54.5q-271 0-496-145 35 4 78 4 225 0 401-138-105-2-188-64.5t-114-159.5q33 5 61 5 43 0 85-11-112-23-185.5-111.5t-73.5-205.5v-4q68 38 146 41-66-44-105-115t-39-154q0-88 44-163 121 149 294.5 238.5t371.5 99.5q-8-38-8-74 0-134 94.5-228.5t228.5-94.5q140 0 236 102 109-21 205-78-37 115-142 178 93-10 186-50z"></path></svg></span>
<span class="facebook-mobile sf-hidden"><svg role=img aria-label="Facebook Icon" width=1792 height=1792 viewBox="0 0 1792 1792" xmlns=http://www.w3.org/2000/svg style=fill:#3B5998 aria-hidden=true tabindex=-1><path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759h-306v-759h-255v-296h255v-218q0-186 104-288.5t277-102.5q147 0 228 12z"></path></svg></span>
<div class=subscribe-button tabindex=-1 style=width:146px>Free Newsletter</div>
<ul id=topmenu role=menu style=width:321px>
<li role=menuitem style=width:98px><a style=width:98px;display:inline-block class=menuitem-buyingguides href=https://www.howtogeek.com/buying-guides/>Buying Guides</a></li>
<li role=menuitem style=width:40px><a style=width:40px;display:inline-block class=menuitem-news href=https://www.howtogeek.com/news/>News</a></li>
<li role=menuitem style=width:58px><a style=width:58px;display:inline-block class=menuitem-reviews href=https://www.howtogeek.com/t/single-review/>Reviews</a></li>
<li role=menuitem style=width:58px><a style=width:58px;display:inline-block class=categories href=https://www.howtogeek.com/>Explore</a></li>
</ul>
</div>
</header>
<div class=header-commission-statement>We select and review products independently. When you purchase through our links we may earn a commission. <a target=_blank href=https://www.howtogeek.com/about/>Learn more.</a></div>
<div class="full-screen-menu category-menu sf-hidden">
</div>
<div class="full-screen-menu buyingguides-content htg-custom-menu-content sf-hidden">
</div>
<div class="full-screen-menu news-content htg-custom-menu-content sf-hidden">
</div>
<div class="full-screen-menu reviews-content htg-custom-menu-content sf-hidden">
</div>
<div class="full-screen-menu search-menu sf-hidden">
</div>
<div class="full-screen-menu subscribe-menu sf-hidden" data-nosnippet=data-nosnippet>
</div>
<div id=page class="site hentry h-entry">
<div style=text-align:center;margin-right:auto;margin-left:auto;position:relative;min-height:250px;margin-bottom:20px;align-items:center;display:flex;justify-content:center aria-hidden=true class="adslot adslot970 sf-hidden">
</div>
<header class=entry-header>
<div class=mokaBreadcrumbWrapper><ul vocab=https://schema.org/ typeof=BreadcrumbList class=breadcrumbs><li class=first><a title="Home Breadcrumb" aria-label="Home Breadcrumb" href=https://www.howtogeek.com/>🏡</a></li> <li property=itemListElement typeof=ListItem>
<a property=item typeof=WebPage href=https://www.howtogeek.com/category/linux/>
<span property=name>Linux</span>
</a>
</ul></div>
<h1 class=entry-title><a aria-label="How to Permanently Change Your MAC Address on Linux" title="How to Permanently Change Your MAC Address on Linux" href=https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/>How to Permanently Change Your MAC Address on Linux</a></h1>
<div class=entry-meta data-nosnippet=data-nosnippet>
<img loading=lazy style=float:left;margin-right:8px;border-radius:18px alt role=presentation src=data:image/webp;base64,UklGRsAWAABXRUJQVlA4TLQWAAAvO8AOAE0oaNvI0Y2fbfgD/gcR0f8JCGAuE5wxAGNeE5Ag+OkxkqmcjKmILC0cRJKkSHngXys9f8XoYNxGkqLe3aMwLv+omO9GrT6GBytJkkzV8lmfvP/lbL/X/4hBdBma3/QzVu1E5sUbB+cAA2tG20fBR3kMeq9AOMiM9v136EEhOXpVt2vxSDyyLDq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gEb/N0ROOLr4u4vlEfbzOE0mB8txr9+wyctx+OPxSTFejL+9Hc87gV5Lnsd1+nm2fZQzFeVz7vxu6Pynede/Xw59Vjrdz1tqwKYd6KeF+Ur1lSauwYj4ZT+ZqPwC8M3X9OLl1Snx6I1l9rO2HUR9xFO3Zt0zlcrxzbOEAZ0i2Hu45Z7t83+P4kRcfUzJRvdty97h/7KfvdgviOa/tblBk2fvsvrdDG/u48dXj+zRWIxZShvYUYCpS1alERRlIa44U7qJ5oCu4T2mQL8M9smIRySEAFKlPMF+68xE42YvCUYzbOMYw1hR297vfrGtXKcnumQ3XHR/M62jaXWDHO+vukdPQyyvfuZpwznpzIgJJDjW8xWigHIIS5Jx5XCIxL9hOPk7MyctqxFZQKdpJNnm8SygKwyEU2KrgdWC1u327GMaFGkCMbxrJYLBfmwyD8XlkXBdn30HXY1qdRV+hs75vNz8NLk9g2HqUNAAYISg
<span class=author-meta-entry-wrap>
<a class="p-author h-card vcard author post-author bio_popup_on_hover_1" href=https://www.howtogeek.com/author/davidmckay/><span class=fn>Dave McKay</span></a><div class=bio_popup_hoverbox_1><img alt src="data:image/webp;base64,UklGRkgqAABXRUJQVlA4TDwqAAAvU8AUAE0waBvJkbb9lZnwB/z/HCL6PwGWpPUs8z6stbARs9ZKGUAYDEIBiECWBYNtPsdv5gcbqGpwhDoqI6JmpP5YOI4kyYkKzQv/rYTToqOi7XCkRpIjxfo6rt/9/9u8K5KiKMbDuI0kRbXHTP/LPznm5e1/qFSles4PwvMzCLyy4QMvSA1RhF5eYeaYOVzKNRnzpDwfdK9SJEHOLMdxmZcXqP4OS85MyUlNKEKqLJ1empdGtYxCMjJCXwUYG9JUNimPokWVPPYQKKEjOJcOkU3hy9IkJ0UgUbyGCmkwYh28DTTQuBcdSTPThYm/XfbfXBlUqimogo5fiXie7EjggmfkJ0JiNvoHVDYBc9jCDRQwO17hSoIX7FsAgC0sGW9+NEYDA+OGZCho24aJ+cPewRARE9BUoaDSptAU3b94POVTFMTFr7V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bTLrtmPUcEWa7xqmfDCydwHZx47HehL00rVAEfMb/ArQGRyBCQcCrQ4wADFyPY0Q4wptmKV0ZTJrGL2Cos7qJa+3PhEoe/IV2aNNcqCzT2IA0uFBtg22kCSp7lRRDPH4DGhDD5skctOpVNPlSmWbSkeKpXD0PQN1PWYVafOjX87+Opezj4PxwW
<br>
<div style=display:inline-block> <time class="post-date published" datetime=2023-03-31T11:00:41-04:00>Mar 31, 2023, 11:00 am EDT</time>
| 6 min read
</div> </span>
</div>
</header>
</div>
<div id=content class=site-content>
<div id=primary class=content-area>
<main id=main class=site-main role=main>
<article id=post-880124 class="post-880124 post type-post status-publish format-standard category-the-geek-blog tag-features breadcrumbs-linux">
<div class="entry-content e-content">
<figure style=width:1920px class="wp-caption alignnone"><img class="type:primaryImage size-full wp-image-872362" data-pagespeed-no-defer src=data:image/webp;base64,UklGRjQWAgBXRUJQVlA4TCcWAgAvr4SoAM04biRJkdR5fHn+O9ywfO+I/k+A18tOWlaiQ8V1AaUqWQ1bUsty5zQuoyMx+z0Hrly5Fa3uY7iMJDheBVlTpaASw1XD9WOoQiJFCiMiDMNBWIb/68ZtJEmKlNL5b+IY8MykTc+TBXQjSbZtKy08YAlLyCBWEJt/ifhvGhY4aBtJkgxhIQx/GKcD0gju/y8r9X8CPICIxyMiEIF44IFgFBEPRET84AsCI4BSAOAGeMRJoCAQHxIFwAP4AVlEIOLwCMTjcQGCLB7Ahe4A/AUiLoeDr9wWAD8D8IoR+Blc8HHAwSOIMUbERzls2bJla7fNVt5tGePnDwAIuiRAxLkYs9rBvLnb0ew2Pj7g54JLD8ABaQbiMcb43zu7XUxtfOAB4AAcAhhjDAGizMeADwAQukcAwAHzsY3H4wP4DQABREgAcYgVvN2adqNEBAKCQwAfACIOmOjX3csugw088BsIBC544AIELhqMIf6pNvAoBQHBTQBAxBgAw6wBIILuaa/lMca006Y2s+a2MbXxCDweQNTOhuhxGGPEfAwPAAHEQfARHyInY4Q+qj1EDMRHRByI4jDOF37YDc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MdO2druL4Gu9ii67z6cNz+DU9a2mdvsZ+4TxtbdlJRmGkG
<div class=keytakeaways>You can set a permanent new MAC address in the terminal using the macchanger utility and a systemctl unit file. Or in GNOME, go to Settings &gt; Wi-Fi [or Network] &gt; Identity, and enter a custom MAC address.</div><p>Every network interface has a unique MAC address, set by the manufacturer. Its how network connections identify connection endpoints. On Linux, you can permanently change a MAC address if you want.</p>
<div class=autotoc_wrapper><strong class=moka_autotoc_heading>Table of Contents</strong><p><blockquote class=moka_autotoc><p><a href=#autotoc_anchor_0>What Is a MAC Address?</a><br><a href=#autotoc_anchor_1>Finding Your MAC Address</a><br><a href=#autotoc_anchor_2>Use macchanger to Change Your Linux MAC Address</a><br><small><a style=margin-left:10px href=#autotoc_anchor_3>Installing macchanger</a></small><br><small><a style=margin-left:10px href=#autotoc_anchor_4>Using macchanger to Temporarily Change a MAC Address</a></small><br><a href=#autotoc_anchor_5>How to Permanently Change a MAC Address</a><br><a href=#autotoc_anchor_6>Permanently Changing a MAC Address with GNOME</a><br><a href=#autotoc_anchor_7>Be Careful!</a><br></p></blockquote></div>
<h2 role=heading aria-level=2><a name=autotoc_anchor_0></a>What Is a MAC Address?</h2>
<p><a href=https://www.howtogeek.com/764868/what-is-a-mac-address-and-how-does-it-work/>A MAC address</a> is a unique code used to identify by networks to identify devices as connection endpoints. It answers the critical question of “whos who” among network interfaces.</p>
<p>Every piece of network equipment has at least one network interface built into it. A desktop computer or a server may have multiple network cards installed in them. Many laptops are supplied with a CAT5 network socket and a Wi-Fi card, giving you two network interfaces straight out of the box.<div class=future_hybrid_paragraph></div>
<p>Every network interface has a unique, baked-in identifier. Regardless of the network protocol that is used to communicate with that device, at the lowest level, the connection is identified by its&nbsp;<a href=https://en.wikipedia.org/wiki/MAC_address>media access control</a>, or MAC, address. Thats why they have to be unique. Making your network interface use a different MAC address is called&nbsp;<em>spoofing</em>.<div class=future_hybrid_paragraph></div>
<p>A MAC address is made up of six hexadecimal numbers. Theyre written with a colon “:” or a hyphen “-” between each of the six numbers. Heres a MAC address from one of our test computers.<div class=future_hybrid_paragraph></div>
<pre>b0:c0:90:58:b0:72</pre>
<p>Most often, the first three numbers are an&nbsp;<a href=https://en.wikipedia.org/wiki/Organizationally_unique_identifier>organizationally unique identifier</a>, representing the hardware manufacturer. You can decode the OUI using the&nbsp;<a href=https://www.wireshark.org/tools/oui-lookup.html#>Wireshark Manufacturer Lookup page</a>. Note that this may be the manufacturer of your computers motherboard, network card, or Wi-Fi card. Manufacturers buy in many of the components of their computers and assemble them into the finished item, so dont be surprised if it is different than the manufacturer of your computer.<div class=future_hybrid_paragraph></div>
<p>Because MAC addresses are built-in, you cant really change them. What you can do is configure your Linux system so that it&nbsp;<em>pretends</em>&nbsp;to have a different MAC address. As far as any other device on the network is concerned, the MAC address of your computer is the one it broadcasts, so the end result is the same.<div class=future_hybrid_paragraph></div>
<h2 role=heading aria-level=2><a name=autotoc_anchor_1></a>Finding Your MAC Address</h2>
<p>To find out your current MAC Address, you can use <a href=https://www.howtogeek.com/657911/how-to-use-the-ip-command-on-linux/>the <code>ip</code> command</a>&nbsp;with the <code>link</code> object. This will list your network interfaces, whether they are in use or disconnected the network.</p>
<pre>ip link</pre>
<p><img class="alignnone size-full wp-image-881335" alt="Using the ip link command to discover the MAC addresses of a computer" src=data:image/webp;base64,UklGRkogAABXRUJQVlA4TD4gAAAvjEJDAFUL47aNHFH9l73p4j8iJsA096cBtQqlpFEVpVE367FHXHf8oEfiJsc3pH+m4AHjMD7g1+3I/79ubpN7RFqDmM3MzMzMzGyLmZmZzMx8guCZ/Dz//+//f0Qz+4RKBrkNR7BX8D+o8QGC0iVMRxCsqAozo/qVuf6FoU065qRk3jPsjKGnMOcGnH5ryVfwDNsHYHt3Zlu31vgK7E3HqJGxzswG1qDOnWf2FOsZX8HKmO0yUD29W2vMblOZjhCTRh65wzXtzI6xC7O2N8p4A7a6kFkj3SAk+xDrGZ8guPbsVhl38ifMW0XGTe2OnlOYsfUMwwVQUNlHsHqJti0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7GfqM+xT1gnri/744K3fMoE11uKF7uVA8GHersmeyKQn2AWn0euWJYjAiQqgdxisljsAkjYqsnIyBtTREF8s0wpqSmQQw+C0SKwJ46Wt8jSNOTDbbEXH6zXhv10lTnPw95YsGCZtSNm2travxJp1WSk6oHpRML8G+h1R5IB3SrDnTumBLT9uvfasKHIa4CsV7bWHDFLAwypAFJoPDI7IZfAQNV+E1A5DuqMAkTZQsElFxlb2CdM/g5O6IwX+9mtW6JxI0DQ1efO0UX0Iy8XPPdlA0diE3V6eOIv
<p>This computer is a laptop with an active Wi-Fi connection, <code>wlan0</code> , and <a href=https://www.howtogeek.com/217463/wi-fi-vs.-ethernet-how-much-better-is-a-wired-connection/>a wired Ethernet connection</a>, <code>enp3s0</code> . The wired connection isnt plugged in, so it is inactive. The laptop also has the default loopback connection, <code>lo</code>, configured.</p>
<p><strong>RELATED:</strong> <a href=https://www.howtogeek.com/657911/how-to-use-the-ip-command-on-linux/><strong><em>How to Use the ip Command on Linux</em></strong></a></p>
<h2 role=heading aria-level=2><a name=autotoc_anchor_2></a>Use macchanger to Change Your Linux MAC Address</h2>
<p>The <code>macchanger</code> utility allows you to change the MAC address of a network interface with flexible options. You can set a specific MAC address or use a random MAC address. You can also get a new MAC address that uses the same three OUI bytes as your hardware, so that the network interface manufacturer stays the same.</p>
<div id=purch_N_C_0_1 class="jw-error jw-reset sf-hidden" style=width:640px;height:360px><div class="jw-error-msg jw-info-overlay jw-reset sf-hidden"></div></div>
<div style=clear:both></div>
<h3><a name=autotoc_anchor_3></a>Installing macchanger</h3>
<p>To install <code>macchanger</code> on Ubuntu, use this command:</p>
<pre>sudo apt install macchanger</pre>
<p><img class="alignnone size-full wp-image-881336" alt="Installing macchanger on Ubuntu" src="data:image/webp;base64,UklGRjgQAABXRUJQVlA4TCsQAAAv04INAOpQ27YNI/1/t9OmjBExAVgEBVUOykXLCXDtbqqSHb3155RrbVsjOV7/qqquOmeYmZmZZ5qZh5mZmZnNzMzMzEzDzDzN6lZJq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+oAwesysulqniDHygusxUqFfAykPRDn1w0mNnYLiRQySsesrJqtHsRWsoztaB13BjHaVevJ3Vn8vlz7RnQp04b6WRTfJ+4oLkKydMljKeZtw6j5PXi/8eFHpNLUK7iQwrbZHKSLNa92d3+uIjX3AsA6gBZqoMZCgzI6SDzzm211PzHw2tvFWTayzGdMii1X9Bw06sG627l26lKxRHgBVlm8t+ZU1aCiDogNK8Huz+5sGsgYZG+i/MtVwgL9WDzeAOewQul/fdH/T6uhMhdofwF0YHx7UXnK5V1zet9K3vZu3m/ibqHEmkz/ZY24WwjExDr0P7yv5bkMaB7RyFCjBC8eRL/UYHVqEiw334+ajkspy5rGtgAkSXJl8IrquNdNRodAK8GHAhQ8rvIX6rTxZGcnshZbTZhU87R0jYlHbUylBWo74Pp07XQMIUn79xsbkPbi2T3lrUU1LoQou5NUgeo6vW7sIqaZQBks5HzgDAbO3cf+3wTBJOeZVtdcs1eKEq0SgNB+gX5ZZZcsno9NsPzWZIHkP1UQ50E3ljvu7m5TK/ZF9ABcheUt2QGFJ3UOl6kuCWj9cePmK+vH1B+9GD3ZBN9I7rzN
<p>To install <code>macchanger</code> on Fedora, you need to type:</p>
<pre>sudo dnf install macchanger</pre>
<p><img class="alignnone size-full wp-image-881337" alt="Installing macchanger on Fedora" src="data:image/webp;base64,UklGRtwEAABXRUJQVlA4TNAEAAAv04INAAXFbfvPt9X+kjdObXe2bdu2bdsoDzJ7tdusnl07zeylPUh+n8/vl7TXtbQHjei/bEeSJCmyknhCKs8sYM8vaNU8fdAMff7/g/z8+fNrhGbrbcMj6nXBGhGz9Y3BxvPndULTt1tvtl56j3X78a+eIo3MiacwGH4sohfYVtb0JgVFGQCb8Npz84CjRUi0u9qtAfRJqqk5qYDHJ/P5WucsLa2sMZG2H0ddN2kCn4mGJC4iFzSBdXg00WV6AgBkzQTQAPaOVrSpWClsOLEXVlAcqH53J6DhSd0PpOnelOWkMz4JM2v/+ytjtBfavlUDytpgyLe+Ko3yA+4MA5AZhONlpv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E/1JRsd2JMzqhsDSzDzC0yKgbnig+J0V6bIibB1hSXp4dyO4pKL/2rppeII7rm/ek5tkqGb2AEnaxhv75trIoyo+8kz3NNmew3g3yxvT3BNb+W89P5aT1BjwzRFZpF/t0/vwamzQOSk5OXdSYbTx//iP5FWHpT4WsapzWcXRB92bm/zvVVZejD+nYPP3/AVv81+K/Fv+1+K/Ffy3++7eNZunTCg==" width=724 height=55></p>
<p>On Manjaro, the command is:</p>
<pre>sudo pacman -S macchanger</pre>
<p><img class="alignnone size-full wp-image-881338" alt="Installing macchanger on Manjaro" src="data:image/webp;base64,UklGRhoMAABXRUJQVlA4TA0MAAAv04INAFUH47aNHFH9l717OT4jYgIgK1ut0ZlbD2WM1ioy7UzWlLI8uHajab+kve+BbrVtyy1lCnF3d3fc3d3d3cfd3d3d3d3d3Wdwd/33988//6zNv3YlswhZRCf7I7STUwNlPA0wvZzsZLsANKOMOTkdkFPCDnFyyrCURQnTw1QwEd7MKYPc9fTAmhbIyE9G5BA51HAa2DnagEcsCpgGiClif1gnfwsUcNZEWEYjIy2c82E1EM1uAf8bIKcIj8jISAmdTQuSZAEggOrdo2nXJW3bdq1s27ZtW99wFEm2FCVWEcINacgYEXN6y9/6D8ltJEcSVeNnduO85gNU8/9XLjmVLDMzMzMzMzMzM/OGmcmRi47lgmbe9/+eOTfMnB7G7/NclRbw2nQQi01c9+siKWAL2D5O8K3gXBeoglGxZsYqYiNJbwnR1yc6FayMHrvNZFLElpCVqYNTQDQzJw1gAYxqfKCD+PV5IqeFE2ogdnq4VcRvGWMDTTA0Mj3sM3qunwpCcu3KTQGsx0ESALCMNLZtv3k/wCvHtr327thWCEEAwLJR0peerdm2bds427Zt274r+g/JkSRFkvkwxm1m4QVu0E3X+k8KqMFjJUo4sYOJ0mopvH9wi86iSAQkAUhSgHAoN/t0emftrJ4SCwVC7nEkafGjNGv1u1r9zLvvvvuG3abUOa/4UcQ5y+Xy/JOuQgQKEgPIQxbGw3Bn8yyeMj5mclfM5Kqk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ger</code> that is in your distributions repositories, you may see a screen asking you whether you want to have a new MAC address created every time a network connection is brought online. That is, when you connect an <a href=https://www.howtogeek.com/807220/best-ethernet-cable/>Ethernet cable</a> or enable Wi-Fi.</p>
<p><img class="alignnone size-full wp-image-881339" alt="The macchanger installation options screen" src=data:image/webp;base64,UklGRngiAABXRUJQVlA4TGsiAAAvz0JEACa81rYtk2NnH8SoVX+ru0hqELNGzMzS8IxwGMQMW9PSiFlqsUrdghnBqGdLljSiAbVaoxZU9191TO76v+d7/6//rlLXQK01r2N2bzNjNpHZG0Jrp147cu6MrSMwKZuJzGxnk81ane21o710BJsyh44wm9BMKYaOOeXcYZkhnzKEzHaKle3liGKP84l8AownwPYhOHNgYds/xWn1aZ1vUZLZJaQRXBOuXsHeIHXsXKfubkjdvWg1dUshvMUJVXoUm1nfmdmZP4X//9+k8ezuqdSQQCAJcYLYIDauSkGLC7dHLbj37sStKCfWjcgouA4F3FIBRe4Mya//vhBJsmTbti1NaFB9vszdY/b2Kp2eCfPrWb/9FX6+Oo1Hw8xXxH8i/hPxn4j/RJrFDxAar/PWvAmFjQ2x14M98cHLXG9khnUSzsIP/Hr5ta2pTiFkOlZ11D7tpDzzRjlSVVdMNoKmMWSzBDo8dHKJS8hm2IeD0jXQqaqh01VIbivNOM8+80mgcQQ2q1rSPtrXDez4Vs+9iG0e9gT2g7BANCQT6UDi9EswizFbWJD9sFbTlDYnpoXuQTbfu5kOPtsKMI0cGHdp6i12Wvjq4w5xcUKAqa9QULZwID6IX0JzGuDuI0wwJiiE6ETeXk/PcpGsdpppvRNl9sHTaNbQRC94jRPTLbWm1fY9cyH469rSJCyJRqNJmMjQbzgXVl2mJBp9tTHbJG6qb2Q7iOzj22uN2c4T6xBq6RDXEC+zF7ZdJjHNuGO+D06GUFNrQ1NNoz8uFatuMa/EbCA2ConIgblmZr4b001I/XVWSw09sx756HFizLmw3cJSVSYyB5Y31qrn2+enmf3AbRBzPa3SNI10YqoOKZ5qXoAARVTDTA2NdhG6O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sTz5j/130dD4WRn74f/LP8rro5HCeRD5+n5pqrO67MPAzMfBkbSN9hzizjzP7VOkVOGagjcsqlt9/qEM5BfSnrcG6R89OEeJxEfk0XUDLU02qdzFeEVF5FCzM7ZexgDbPWvD9uzEIF4/33DVIWNKrbR66MOa7seY2DRUPggA8oNsZ4d/qqmfzLVHMQ3h5xfXrTx3d465EB7GjbbUSJI2VeRSc1rGaz0XE+WU0iitRvkLITpupLl6g0xTiRZlLeuuRstYh4vzL6GDCt3nDP+tQZyA8LWpqspx8V+2iRVXLEMlVPeX1t9Aa7niutHK+SfDfhdMDZHUcxFUmjhoAAop9gGAugdii60GoCmAbIRCSGMF2cSvYdCgxdGTAAfPqnzSpe/Ihmi88CsA/PDf8BnWnVc+/bhz25R/4tsGrZKc3Xof4wK4Xjrm3DJ+tjl7MGiItQVVm7s49kP6+illCqpafNGzffY0e3p31mOn/hegSCIo0pnntUCD2W98az/be15UJqqFm7pSKJsf+KXLrbZScdeKwYX3d7NH3Ys+LGxJPZfrkNyzFNm14GtxETXwSfvw5ZLvHVqZYsmh0O6FyO6FyyOLaX7dLsOSFuib/gu4EI7rdIsGFbv9DETiw78UNlGn9Z/ghfi+f2KvPiCslZqLdlzizzyvETKvGHZ5xhw9ruTakf5AP4/yC2kP/ZUqp0Ti3eKrVo8Pblhc88pz64RvdebX7swrA1axdi1UvuHiyVVv1YmozHPe3++ZqpbSXzANoGmgfDEAyg+ynXlec9S39oV7Tcbe7WJOkl+79y7Pb3v9OFNJVU/ctbFhxLtkpNfWgL6pXwClNEqrQf7/ue6zOlnV3Lx3a93o5qW31Vq
<p>Use the arrow keys to move the highlight to the option you wish to use, and press “Enter.”<div class=future_hybrid_paragraph></div>
<p>There is some convenience to this method, but were going to select “No”. We want to have some control over the MAC addresses were using. Also, you may not want to change the MAC address on every network interface that your computer has. Perhaps you only want to change it on your Wi-Fi card, for example.<div class=future_hybrid_paragraph></div>
<h3><a name=autotoc_anchor_4></a>Using macchanger to Temporarily Change a MAC Address</h3>
<p>You cant reset the MAC address on a network interface that is in use. We can change the MAC address of our Ethernet connection because it isnt connected, so it is inactive.</p>
<p>The <code>-r</code> (random) option generates a completely random MAC address. We need to pass the name of the network interface we want to set the MAC address on.<div class=future_hybrid_paragraph></div>
<pre>sudo macchanger -r enp3s0</pre>
<p><img class="alignnone size-full wp-image-881340" alt="Setting a random MAC address with macchanger" src="data:image/webp;base64,UklGRmgQAABXRUJQVlA4TFsQAAAvjEIgAFXZkf9/3dwm94iYWWZmZmZmZhAzmZmZmRlPELzTo//v+//v8zzSPs8aVKq03IZB2ivkqQwHYOsSazgCragKM+P2Zrv+haFNOuakjIdBN8jMzhj6MOMNOP12AfkKmTH7ACHN7M5sqzYaXcG8ZZhlrDOzAWOnzhOdwnQFZpeBauu49U44ravQEczchYw7Y3YXUBV4+qD5Bmx1ITPoBmYfYjPjA4Qja1ZVxp30MVQBVZHZtbrAcwoztp5huAAKqugIVi9Rtm3Tjl7/e2zbtm3btu1s73OTNMQAkAxJVZ9/Xmfbtt6uqv5LYiRJkhQviRvas/YEXKV6XyQGA8Z10UCDv+XCn4jVjmpy37nVH1fgvMz+uZDaU8vciUL+OOfwmjOqiqLc7hnnPNfdu4Cye+beW8Z6J39N9ShFUAMnH4O6Rob3X/aWciHvjWslZe3aUysBqvten3+UCUv7TG8+hDhyeGsZBarq2ofUydJRFblx0HPLlzgOpHAUWLakQXKDqNIlGlUOzy8/gJDaUit6ouDFY73xxSJm91mfv/poHlVZ2Hq0FGrKrEFhK/2HbwGZ3H5UWdTkvK7kUn5r55A5M+SiMU3P0TC6SAVFcRI754EundWSi1CofMTwX9O3eWEtGRUZORw9+24Y1phVs/HVOPT49ouClo68hLE1EJbnv3qGM06Jo+vqcutD+2waenr9gW0tGdXC5vdATH4D1gvIY/sarKxTR0q56vxmceNbJxZ7XlVBs6jpXbV5jZqy6vmsX8D6ISzP6O7zstXkNxKl9/QNV6iye2Y3f+XELtGw5+V1TYuZ2ib97cP1wnN40dPbhweo7mV3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3t7eEiHgsrS3t98TIeJaL3xN5JMnGxVKgQFjLdTu7WhcBoZk0HarRH/LNrOYWwrGZUjkhW0H/aqE3Dv+0DZFSeTK1WxolhzrCGCbseIBeFZkAHKcI+E2tYFs9FZs93jXqHWRuxXDm2AC4EdWstUC2vAcErrsFofxl1qE9z2BGB2UoIEiQcmCwBxVkNkmKFRyzqjlaazlyWBiNIWqnQyEaRYkIz1HTeSreHIAcpxj/Z6j143WW7E90Mjw7IyZjYGmk/jsK+2KM4CELrvFYf2lFeGdxBdj6qo4UCx4at4aFZA1SmYDABvREmU1+wDxsvpH9ZHNHZoATT65KcHkm2ZoGCz+4jKSfDF6MRKAmAM42Q56XB+VwZbhrCdRbPfbIspJIBBhEdLn9L9lbWDYYjRTykebJJVJDWhbtuwW92H9xecSziHG0b1Q+8+W5EJ2r5m8H+NBlO4WnaBfM2SviUb4AMOnUv1wHNjyt9Iz0LBlNfsAKWU1Pir2hdX5pUrKFfc+lowEC22xBkDMAetPT66RA2wRznoSxbaRYY9AZs45SJ9j/jwvQ/x9ibmY0jsaW3aL+7D+4nMJ5xDhHBMNBbvPAka5yumsB1G6/zsJjhkI3XuTUC8PaIY2U/nw6ByrXxq2rBY8QFJZLQUH94FTPGtaGSnjQrO8BwuIOYCvHAa5sFfvIp5EsX30SJNvkWACyqfnVBqGwf5GeRKlN1t2i/sw/qJzCecQY73Pg4TZ5+BMrdsVrAdRuqf5OGaOq/HNGYUs2RHmLSrgF9bixGOIJ6mslgTsXrGkjKU71ulaAvUOYg4AkA/LXyAiRBTb8/aWwHjfMITLtJOmBEOpEh8S8b+tawz/x5TdEnwYf/G5BHOIMdimNMQ+G2snbRh9EFgPonTPwhmmlz3WyNyw6WDUywOog5yxQ/X74aM7
<p>The MAC address that was in use was the same as the underlying hardware MAC address, or permanent MAC address. The new MAC address is shown at the bottom.<div class=future_hybrid_paragraph></div>
<p>We can change the Wi-Fi cards MAC address too, if we bring down the <a href=https://www.howtogeek.com/804785/best-wi-fi-adapter/>Wi-Fi adapter</a>, change the MAC address, then enable the Wi-Fi adapter.<div class=future_hybrid_paragraph></div>
<pre>sudo networkctl down wlan0</pre>
<pre>sudo macchanger -r wlan0</pre>
<pre>sudo networkctl up wlan0</pre>
<p><img class="alignnone size-full wp-image-881341" alt="Disabling and enabling a Wi-Fi connection to allow its MAC address to be changed using machanger" src="data:image/webp;base64,UklGRtARAABXRUJQVlA4TMMRAAAvjEIqAFXZkbZtueTG+/AwM4uZmZmZmYbFzEyDYmamFRj3dOa87///5z9Sn3MEHZrtUWqGUW/BJxIswDizCdESaEYQmZmxc7EUf+YF2BlnUmiV2Z4duKqrBLmZcQ8q5x1rtAVXibUAs6erOlXqKW2B1aGZLYxddQwtyiZTeVbRqtIWmBUaoo6t1GJIFam0BqM4Y+wqsTLDRIbOzbwD9mQmMe3AvIl2lRZgtqAncikbPYLIMJHFUqzM0JsQc6oqhg0wRNYSrByiJEmmrfv+3bZt27Zt2353PHsfIAaAZEiq+vzzOtu29XZV9R8SI0mOlFwJD1uNN6lSL88zRWBiPM4caPo7/PgTc5ggyWH3Vk98QYiSBubaREsrCx8K3eObI2rLrKpFaT0zIUR2e3ctSumdR2gdKycPTU0oneAt0G+gQiKxS5TIzOk9sFGQSwtR5atQaU6AyW1YEvbhy8NRJ+Syea28vB0trVJBTT/ky48+4eiR3u2HNt4c4VtHFVV3PfSDEI5YaMXIz1ktWV0AuMnEXIqkPnJ9qBIkZkOM4K8/gDZ1plUUkc/Ssa6EYoFz+0wuXiO2jKopaj1MDrVm1dQbP/Tjtxbp3n1UU9wUImZKKff1s16QvlPn9KPvFC5x8x3o11kDuUCFwcbQ5df2o6VVBqg9s6Ihy+PnKI3DWrJrrpGbhkHff5H38lEUOb4G4ok81s7wxSlqbF1jXn3gSM3DYG8/mKH2zGr+C3sgmbguzQXkuHOtrLwTPbVcXUGz8ImtD4uHqLawWfDMrob8Rq3Z9Vw3LqD5EE+Eu/+8SPUFjU1DPX/DH6qU3tlNnjWOXzQ8ROnd00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GDw8Px9bj8I4eHh6bmxhtobZN0pZww1wN3DvTLWob5camYd4GgP4a5UaaYd76R3+NcmPZMM/c8LpNBtw2Fjo26khqdhNznDuBew/lSpLu0rkc89uS8FOeNi5FaoiZzhjokjB5VDfKjVzDnMNzp/G/GCQwJjlPAzG7qTnOncB9lzhGuAzzGyN9yX5i5+Gpmc4Y6JLQPOob5cauYc7wRfSSEJWRuyBmNzXHmRMQI1yG+Y2onL2AJ+RiZMx0YqBzPHA2zbEJSB49MMqNXMOcIUUc5u+CmN3UHKcnoAqZHPM7T81yx72rcdTEjJlO1DYZN0ge9Y1yY9cwl4aY3Zw57j4Mjxzz+65bVsSZ6ZdgzHTFqG+UG7uGuTTE7GbMcXoCghzzO4KkcAUAUDNdOeob5UauYS4DanZTc5yegCLD/G5vlBt5pWh/YmKmK0d1o9z0YZhXz74rcM0ti1aYCA1z8/Lb2C+5bfx+TIWG+TcSJDl0/OFNjLZQO9ijXme3nnmOrd+57B3mkte0qytmaP8+BiF3TTWwa8ESnXJZV54lR9kLWG+UlACe2h0AModukG9my83TVWXkxDHJncnKs4yNk5NTCWLAXKbgU4nLZ3esg7k+46Q5mkXbHIf0nK9Lm/o0KdovUgM1QTGCijmGINM45yc5bvjSNRZd0o8UjaOikYG4TYE0hHLUSr50MAdA59AJ8s1suXkeOCyCO5NlapCTpwDNTAAADOe+ZMfdT6aruVacDOYqOFkbvAdmbvjVWjwTVsuBuuAJuWgMQL5UDBsAqETLmNX0BMTEpiY108HN4LJ6WEM/qRbSkGae5xcqAZg5gEPdFJLmFNua0TNQM5vmpIa4jDz3aQ5lARLNLyfnY8uQaNNBqRJgwshs7TwK5wLWqo1EXm3z
<p>If you dont want a random MAC address, you can use the <code>-m</code> (MAC address option) and specify a MAC address in colon “:” format, in lowercase hexadecimal.</p>
<pre>sudo macchanger -m ae:f9:9b:31:40:c0 enp3s0</pre>
<p><img class="alignnone size-full wp-image-881342" alt="Setting a specific MAC address with macchanger" src="data:image/webp;base64,UklGRsoR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S/5Jv3xBYAwHjFYcxu+fTRNy0b3ItC/Bhw2OE1ZlavXHjv/DDYH7QXaqbKC1ujgGP/XuoBT/m7nYF0DFEaBYWMZCBJ4wpdb5CTxMABJXEaAIe/n6sMS1aPjul5TgPITnG2R9YB7tJCL0DRerG0N14TQbYo7c8In1gh3vfK6xkPxp/xBaoDrwCW6/muHj0dBbQ+vId1nNfGLoMTn5PzaWdvW6NBbgcAL7W5B9hsrlp/FuTHGWWU3Rh/Zj+JD4XOz3KeV8YOGZ+TzsXcfsTXLP99E4B9/r5Zd3zxzalcvoe6K0y37AFw+GMRRK2qyDcHLrF3/gI4PsvajmPyb0hjrIx37xWWdZ64bPZLJ4fES5QiZLh3f0cQhWX1/TxW3D9EH44RF3QciFPh7+/vhSBwefn7+++JIHFtFrIG9F+nGhOOEs6M0bW2TsYSn9MR+e017F8FeHguLIPbF41F1Pa714XcfNuBfL9tVM7hy7PieL8GvjheNAAP6xwAmcOUrOLi7e09uhTtRY9YOzpHgTz28bQUy3hf+LLIruLEtSTt5yuBKUEBjPIoepC5JsmJc8SYRUt8jEkfIhoH2aGBYE0FGUjaUAP6bIsCdA4TkovkpdJ/l1w9HQmSMJ5TDvt6jmFd0TXMLOLEtRzTV0GBacEDs5DoQDYogAwANETLJK7pBcRJ5g98L2JAo0GGRDXD1J9KTtHHtssbiPX64XsEmDmAv/pJYYTE9v
<p><strong>RELATED:</strong> <a href=https://www.howtogeek.com/839969/how-to-set-a-static-ip-address-in-ubuntu/><strong><em>How to Set a Static IP Address in Ubuntu</em></strong></a></p>
<h2 role=heading aria-level=2><a name=autotoc_anchor_5></a>How to Permanently Change a MAC Address</h2>
<p>Thats all nice and simple, but it doesnt survive a reboot.</p>
<p>We can achieve that however, by using a <code>systemd</code> unit file. Well get <code>macchanger</code> to give our laptop new MAC addresses for its <a href=https://www.howtogeek.com/804793/what-is-ethernet/>Ethernet</a> and Wi-Fi interfaces each time it boots.<div class=future_hybrid_paragraph></div>
<p>Were going to use the <code>-e</code> (ending) option so that the MAC address is changed but the three OUI bytes remain the same.<div class=future_hybrid_paragraph></div>
<p>That means our <a href=https://www.howtogeek.com/192173/how-and-why-to-change-your-mac-address-on-windows-linux-and-mac/>spoofed MAC address</a> will appear to belong to hardware manufactured by the same companies that made our actual Ethernet and Wi-Fi hardware. This will avoid problems with any <a href=https://www.howtogeek.com/722600/best-wi-fi-routers/>routers</a>, <a href=https://www.howtogeek.com/177621/the-beginners-guide-to-iptables-the-linux-firewall/>firewalls</a>, or <a href=https://www.howtogeek.com/297386/will-using-a-network-switch-slow-my-internet-down/>switches</a> that reject <a href=https://www.howtogeek.com/797005/what-is-a-data-packet/>packets</a> that dont come from hardware with a recognized manufacturer.<div class=future_hybrid_paragraph></div>
<p>Were going to create two services. Therell be one for the Ethernet connection, and one for the Wi-Fi connection. A single unit file will act as a template for each service.</p>
<div class=relatedside><div class=relateditemwrap><a class=relateditemimg role=presentation tabindex=-1 title="How to List Linux Services With systemctl" href=https://www.howtogeek.com/839285/how-to-list-linux-services-with-systemctl/><img alt="How to List Linux Services With systemctl" loading=lazy src=data:image/webp;base64,UklGRh4TAABXRUJQVlA4TBITAAAvd8ATAE0wbNs2EuxDo2uc23/gd4WI/k8AK0oVDd0UdO6SogCeN2BjP0zSG7DtOh7Mqpt0TAIs2zOSJgOczjxIyXUGRVJu2pufWrCNJClO82OBpPxDVGGRwSXBtpEkxbm+J5vBLLeRbbvJEVbmojl4QtXB0H8FFEABNpQL+j8BAJyQACIdEqRDJEgssEJEBLTpF5HQUs44vUEIIU5P8SQiUFKKv7/+4fb6gmAUQrhnJiEEB4JIS1AI9e7ZPgshnv1AiQgA4vYQUfpXX66CxDZB7i6E4C+EEBWAhIIRuSGy85ecONEwAOGGGJAbN06IiPBz27aqSbJttd7n+swDMzejuvWd6mYGkbe+RWYVfwXz3vKWGP8DM+8tJXN6+PfN0QQz+8zNwrfut7Zt17YtSapt7PMMY2wc5kwOk9aEMCWMxyTG4J7ZPUe2rdq2bVueyoAFsRV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hqxsDSvoEBwxgjsPAM5557zS0F92c1iDHwRJM
<p>To create our unit file, we need to <a href=https://www.howtogeek.com/822971/review-linux-sudo-usage-history/>use <code>sudo</code></a>&nbsp;and edit a file with the base name we want our services to have. The at sign “@” sign in the file name is replaced by the name of the network connection when the service is launched, as well see.</p>
<p>Were calling our unit file “macspoof@.service” because it spoofs MAC addresses.<div class=future_hybrid_paragraph></div>
<pre>sudo gedit /etc/systemd/system/macspoof@.service</pre>
<p><img class="alignnone size-full wp-image-881343" alt="Launching an editor to create a systemd unit file" src="data:image/webp;base64,UklGRqYKAABXRUJQVlA4TJoKAAAvjIINAFXZrfZ/veRGfWiZmZmZmZmZmZmZUczMTBWga/LV//u9c+9/xDDhZoJUypZquNFuBeZpYqEFsZSZmTknUfw1F2BnlGpDM3fAlLMd+qgDwx7nE28Vm6kAsxduuin1YM4UmyH2OWLKJpvjqeK6iB2HdiqIJrZiM6Rbh5kzRkHkzUzp3gLM2MFOtNkUICjCVVx14ONIMIp8lGk/gsgUeTey443VhRlT5gYYsi1BziHKtmRImv1327Zt27Zte7cyszJfzewuxACQDElVn39eZ9u23q6q/kuSJEmRJI1ltIjcE7xggghWYJwJA1e4mAWdyMD6jxc80VkhUuzd21TxBZG8A3OlidLK4kGhf54l0iKzqpaCPTMRibl3V8jfOy/ZOtZdYk0TkpK++vwBM5LiaQDAXaDXQCuIDCQwEDp06cRg0ukuand36K4un2BN8SzsKUnpffSOvM8ykqAPXxajXsTfvNYsb0+UVqlU0w/48mOdGC0hbz+U3AElWkdVqrsWa8YLWF4S0gAAAYDJyFZQnx1dQejQpZ2WTp2o3b3v3uoqIa4l8RHoMdB7IOAbzO1dTZzX5136Q95nGYn/1x8a1DqtopPkS8cpEopp5vbhL15LtYzqFbXuYBXNs2pQbQI/fiuEuPuoV9wUmTSllGj9bI1wEwq0An+B07ANunfp5Da6Ua+b9qqrqSSRAgCCGiZixzF4C+xel633ryxzGVCxtj9RWqVny8yKRpTj57KNw2bZNecyTUO/779It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pJv5Q0v3Va9b0cs73SYIAKznCHoPpttcVXJYl5oSW3p/5h0op1F43t0K+KwTHAC27XOwgdmX3pkVEjzkP2FABrMfeY9ljJ/WY3XnPTqLEe3XPCL34KJw11QDkU9eRGLs3wF4kmSc3DbKb0yaUnJNtbCHj285Z5rcAgCYLndg0pWT61vf2N5IkT4Gxv2qRVb1/Pn65uOgO3TY4Fn1ilrhL17BGXPDqci7//hLQGTAcTPbJ2gEAN+y2WdSajTGlvSZjnzTu3fhdHjibE4zODl2csK2x5xuxMTsy5M+HlJppiNttLF/kHNsZAMAkE62K6mh7T0nI29iAI59gJa9gRI+B9+S6WA6STeD7qtiN459gBav3fiovqdwBL0H020+9Uu+Zes1kN6fvgMDvw0EgExT8lu4/emdWWhFmogNBrMfeY9llL/fBKDL329OmVB8W+ir9w2uCfVGB8CveqpTPeqqwFmOzabQY+ewQfrvyufzYGgZ69o9bBD0NObVdO36ymf+CEMgcNninyH1MbH27jXKO9u8MdnyyTp5rggRY//+IVUYDjjB7l1jThcK1KM8Pjl99N4VwTDCRQtY1+4DN9Cb7jqHXbK+5DH/SaFY5ufBYLFYjFgajtFisRytavdI2+bs3zo8DNZ3PETZ62tjljbd+rOi2/8WWuFjbPxn4z8b/9n4z8Z/NkNYYXFuBg==" width=653 height=55></p>
<p>Copy this text into your unit file, save your file, and close your editor.<div class=future_hybrid_paragraph></div>
<pre>[Unit]
Description=Spoofing MAC address on %I
Wants=network-pre.target
Before=network-pre.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
ExecStart=/usr/bin/macchanger -e %I
Type=oneshot
[Install]
WantedBy=multi-user.target</pre>
<p>We need to create a service for each of our connections. We do this by adding the name of the network interface behind the at sign “@” in the unit name. Well do our Ethernet connection first:<div class=future_hybrid_paragraph></div>
<pre>sudo systemctl enable macspoof@enp3s0.service</pre>
<p>And well do the same thing for our Wi-Fi connection.<div class=future_hybrid_paragraph></div>
<pre>sudo systemctl enable macspoof@wlan0.service</pre>
<p><img class="alignnone size-full wp-image-881345" alt="Enabling the two services to change MAC addresses at boot time" src="data:image/webp;base64,UklGRpwRAABXRUJQVlA4TI8RAAAvjEIqAFXZkf5/1d0m+4h0DWJmZsnMzMzMLGZGMzMz4wqCa8rV+f3OOe859+jc16DSHbVhkLUFv5W1grA2oRllCYarsbswM/e+E9nj+h9eQNIxJ2U8TDvIzJ0x9GHGHXD6W3sV4SyAE2nmtm6j0RbCSeeaqc6MmTp1mmgV1zPegsNYZqLq1nEbptZVFsGsLmR8Z1TFXZjzLiBo3IFVuQt2hkV4sojrGS8gHMN1lXFnf++Mq4CqyOzaXWgVaG7Dpg0ETJ2XYPcQJUkybd3377Zt27Zt2/a7O577ADEAJENS1eef19m2rberqv+S2DaSJEkJzOy9DteePUIi3keKwMp4juy0/p0q7Yk5w3Sk+t1bD/EFIVocmEvpIq0snASWpwqK6CSzqhWt9syEENXu3SW03Dtvt3WsntoluUAWJYAzkNMyuQI6+wzyHiSqegSWoUNKLQowOfVGMGN6cl/o7kENc1wEoQ29g2qSGCqRHr58vSxCzZvX9OXtLtIqKWr64V5+9ISXb7TbDykBDO20jlJVd331RVhDN2CL5cqKtiwA7LqjHXIGSlBnZc4gTiCEsXl2GnKLnCqNaohlsPcRdKfWOR7s7+GWOT2hewI1z7FZlmWTUqIpDJUwrz80UOdpFVXUvXTsLqHYwNw+zsVrey2jLEWtGyih46waNDsRHr8lRL37yFLcFKLrlFJt62ddEd2ommmMA0dtAgCIpOgCXYMisLNwZrQanlGNxCO8oRdwgwKOxjj2KpyBjDnQDQgs/hnjZcbktf0u0ip36zSz4kzC4+fEjcOOsms+HTQNQ73/oq7lo2hifA3kE7WvnVE5pcmxdc68+j3bbx6GfvvBSzvNrNa3sAdKiLPRXEANO9d05Z0uU8vZCpqNTWydNL4ia2GzoZldjvxGx9n1WjYuoPmQT0S+/zxO9oLGpuGfvxEY1HLv7LwPXDQQGL6ite5pI9Pbrb57HTXcUTQ8s71Oippe/JMXjuC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GMEcUgOzeTt8LNohttYYzvSELhel1yif/s0yV6AQDzFlvPxvRN+2CJZlz/4JhGBqYP0pvhfbfrjuTzwgLCC/mOvWnzg4vWu6a5SXDyIkQ1+3cAlVMandzmyG90nVL6Wn0LewT9lk9jk1sAAJMrgLHOldPX3vPOfF4Uko8Bu/y1k6zqeVvqm+8C9WCUIk/LUtSKc/EKjkqT9wBefNcNgASGMuMXnM2ZsMZy469Sr8SZbdrl9AKe+uaFlOQDpl/PQyZHfZJeQGOPE8aIebc89edffSkO1Kk48Z26ARe1MbmAsMbOQBU7BH+MQnJyvHWczYufNDePf33FpJxATtCcJJ8CaE46H9OD4xSvrljQm/ZG+2PAP8IblM3N5a1Z6d9bUJ9BbtuwvTbJKVFiIwCARzmuf5qbBZftAg0Gpg/SmyG+vglAzeub3ScU3xvj6r3I9aDdUQHw17tpnb8lzsNgaMcxotpc319lH9heqixvnvzDkJY41e3d05V3ZnpnXcsnPfFiIQjV7N8/rDFxFZ+vYHAUVh3MPSvlSQfXI1CWN8+Mk8LX19cLLvB4+fr6bqGH+E4xzvCzSjA6tMtrZVTXhjsaWyCnxb1GzshWZji7tcBRwiiFZeZUlEsro3zcf2iXm+ZV2ifJq7XBbfN2AflGKawDA97FcYXs5Hv6NMRRaWxrJtnaizCGs2rsZdXOaS+r0ihXhda57WVV9Tmqj9YG96g+LiCfvazLNeA143kL1cv5T2Rja5J5VRnb2gNALaGdi9tk5lSUS51Rrg7tctO8qpjGBx
<p>After rebooting our laptop, we can use <code>macchanger</code> to see what our current MAC addresses are. Note we dont need to use <code>sudo</code> because were only using <code>macchanger</code> to report on the MAC address settings, and not to change them.<div class=future_hybrid_paragraph></div>
<pre>macchanger enp3s0</pre>
<pre>macchanger wlan0</pre>
<p><img class="alignnone size-full wp-image-881346" alt="Using macchanger to show the current MAC addresses for the Ethernet and Wi-Fi connections" src="data:image/webp;base64,UklGRtIRAABXRUJQVlA4TMURAAAvjEIqAFXZkf9/3dwm94iYzczMzMzMzMzMzMz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sxAF5VMFxw4AwCTVKR9z/CTh6kDHlMzNZe/uqPvPJtGlbFQ3eVvCY+FJBgxfBtsB9ZPPjV4c8OO6yIQPMFgS4w/vgW1HlaqBhk1msxeQk8zGK3kvnI4qRlKK2G4sHXHet9ZSADEHnF/vohkANjnOehKJbxvrroB0nbOQPpVxfv5OhtjbkHMNXwe6Ws7f3hpGSv3khJTPzlHLlpjLZycXyCbRWR8mWR5BFoeH0yjY+ywhH805DqI8Qs1ps20kW/w+PvbpE10MQP18QBvIwegjBedYvXAZq1sAkgvISmbLwTPuZI+cUkfiGNDck7eAmAOYbzcYhC3tOJ5E4nvvIV3WijMB5dNtEo0hXeevaM/vn95l1DjfkzDb6hrl4xRhxxXLlDyETaKzPkSyXA4rvBkkzH0OzORecUF4OLQLmhJI1eEZJtmrMX0MrQLOKGTiHcGeaQS+cOYTiyGWrGS2LOD25IV1LNq5l1dbIDsQcwCAYXBPxBEiEt/v7CGO7TbBCJcpoyUGQzGSciV80ajxACB9Q9OotCyky5IrAO+07oVNojOHSJbLod/VaYj7bGuO1jR6RxAeh88DQPP8QfrOYN1tslR6htX7pX4+gAbIaTmMvw/
<p>This shows us the currently active, spoofed, MAC addresses on our two network interfaces, and their original MAC addresses.<div class=future_hybrid_paragraph></div>
<p>Because we used the <code>-e</code> (ending) option in our unit file, the first three bytes of the spoofed addresses are the same as the first three bytes of the original MAC addresses.<div class=future_hybrid_paragraph></div>
<h2 role=heading aria-level=2><a name=autotoc_anchor_6></a>Permanently Changing a MAC Address with GNOME</h2>
<p>Most desktop environments allow you to set a new MAC address. In <a href=https://www.howtogeek.com/808226/what-is-gnome-in-linux/>GNOME</a> you can do this by opening “Settings” and selecting either “Wi-Fi” or “Network” from the sidebar.</p>
<p>Click the cogged wheel icon next to the connection you wish to set a MAC address for, and select the “Identity” tab.<div class=future_hybrid_paragraph></div>
<p>You can enter a new MAC address in the “MAC Address” field, or select the genuine MAC address from the drop-down menu.<div class=future_hybrid_paragraph></div>
<p><img class="alignnone size-full wp-image-881347" alt="The GNOME network connection Identity tab in the Settings application" src="data:image/webp;base64,UklGRhQWAABXRUJQVlA4TAcWAAAvc4JYAEenpm0DpozLXxNCX4EA4cz/gxcCAUKD/xB35j8B904q0RhHQds2TMIf9v4QRMQEgIzVyhxbpZEN8C1xpK+a1Ucwbtu+WKm274eEpEUIFmxb0sDAbkWRUCxaRcy9YAHSDdJgFykqKQiy3CqySYHZMMa2qNnGfPGHzPxmWCze9/2c+WI/v4j+S2IbyZEk5rquMYjaPdvdUwn0U3a17W3bRDuk32aKTNGzgnKlFbJCvY80QHrvvbjAvXebBJXMYQE4FA+oL/+vgv+P6D8cto0kSXTXzL7ZRftUofeyf5PnipHhKvnv/ztxU0HCCp6Nw9UX0BqnSTfLcMOKN+r6kvZG026WYd+b8OsfxtCl+DKBqQerE9J/15DOnEvQNl7dl3/GuNkG+a432E+LeXVB1NQTUGypSW5Bgl/SqE1gzPmo0F1+YpqeiZstOWpj+VzU6Cr0buJSdzku8nSe+lEj4k32Ht8+dWCcEie9ZYpzf7oEMQBtS3eJqTAXRQ9NuLHn0wdQYa55hIHBDc6iYlejdxOXekXIKAMjoAld2ipGAwkJxcB5t58y0KRVywBUxN4eYXqckSKZGa1OSlBxMp7i/syPut1Xmb6czFbexxtxdXz0Nw9jb48K5jOkeIMF6FQMceLaNAjKtH9XDDIAse0MPJ/aiJmY1A/NBxlNVbH+sCBBT3ZKO6/jcvbvDK0YZaCugIGMvsdxba1xTA0CRXFlBudN6PDPFFgax4zsXn7KdsNoz1qkTGMiHY846xQw4JCJ6bNwObExuyqPp+9yB07fgj1B5koGbNBmH1NPBp/PR9SGBfhoUMFAp957TWrQ/WBUzkCH/gdmyDa8HzMxqcPdPhfG1mlGx6TznzGPLI4fnlLBwI3pXvuXMq/QMAMxmxlwcDbf9VuxJVOLQFlSpfeBgZwVzE+V3T5MrsMIMzi7GP8rdwQAgh1FpC4BAKiK7SUG6jmHTjLwSvcds9SNgVL0BzYfHh5gfyADiTtAky6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RLw64q36uhAS2kAKEBKcXDM2PuUfQutslp0eLHgYccMj3jZDtAXJrvtNSun1QAZ+rtCNufSvXZzAnZ60l1mqwMo3vO5i4/a7KelqbuPCV8pdwl5n57aVvOM7UzkVBVxcp+zhDSnJjeo80QA0bfxA24qGvD9go+wOBWRESUDNLSlxjbdFhxzKwqLrqMBHkakttCCfBeeY1kho4QGeJqoKOilgcr9NbmFhucRSa+x/YJdmcp7NACWoSxdILVCnju34O+y8Nx3uXmuZwXL9ebhuR5kHNdrMfk/Z+z/t+0z9pbl5oy9Zbk5Y29Zbs7YW5abM/YW8ZwxaUQSLe5ex40o+3g3lcO4wZrkjPofHEEaoe5EwZEN5UcZh7veG0wqquV8na57D1Nk6nhow9Q0jiCN0AMrHIO65RzoLPbLeTamwua4B6/MtAr7Q5QjSCMz2WH8iVOwxZx38EKFEcOSv+YWimQTS0PIq7R7t3h0fm4n51Hj6/RalvTnpQNLyODV2KI3LKEyEyqHJIpmI5CbdafcEsmSHwtreaNGvzGkjCXP9L6JEEtDMqYe2Yr0WdI0Y4/nDE6Ig+mO62ztTL+jUypZeub64M15bKWRW+DK36XKh2aoau+x6TBbtILl3ZnHkgOHWXJlEREhluaNQRMhnogQuxiWNPHQnyz5blNKSLYTm7EUC+kWJGk2mn7VH7s6lXUqxrieY8mNqV/ZzFlixNJct8WHafQZHw7ZzxLSjbILINKILdZPe8c5Ne/
<p>The “Cloned Address” drop-down menu lets you select from:</p>
<ul>
<li><strong>Preserve</strong>: Keep the MAC address at boot-time. Dont change from the set MAC address.</li>
<li><strong>Permanent</strong>: Use the genuine hardware MAC address.</li>
<li><strong>Random</strong>: Generate a random MAC address.</li>
<li><strong>Stable</strong>: Generate a stable, hashed MAC address. Every time the connection activates, the same fake MAC address is used. This can be useful in cases where you want to hide your hardware MAC address, but you need to get the same IP address from a DHCP router.</li>
</ul>
<p>Your changes will take place when you reboot, or turn the connection off and on again.<div class=future_hybrid_paragraph></div>
<h2 role=heading aria-level=2><a name=autotoc_anchor_7></a>Be Careful!</h2>
<p>Changing your MAC address isnt illegal, so long as you dont do it to impersonate someone elses network device. Your jurisdiction will probably have laws in place to deal with unlawfully receiving network traffic. For example, the UK has the <a href=https://www.legislation.gov.uk/ukpga/1990/18/contents>Computer Misuse Act</a> and the U.S. has the <a href=https://www.nacdl.org/Landing/ComputerFraudandAbuseAct>Computer Fraud and Abuse Act</a>.</p>
<p>Become anonymous by all means, but dont pretend to be someone else.<div class=future_hybrid_paragraph></div>
<p><strong>RELATED:</strong> <a href=https://www.howtogeek.com/664589/how-to-use-bmon-to-monitor-network-bandwidth-on-linux/><strong><em>How to Use bmon to Monitor Network Bandwidth on Linux</em></strong></a></p>
<div class=nextup>
<span id=nextuplabel style=font-weight:bold;font-size:22px;color:#000;margin-bottom:10px;display:block role=heading aria-level=2>READ NEXT</span>
<ul id=nextuplist>
<li> <a href=https://www.howtogeek.com/891148/static-ip-vs-dynamic-ip/>Static IP vs. Dynamic IP: What Is the Difference?</a><li> <a href=https://www.howtogeek.com/764868/what-is-a-mac-address-and-how-does-it-work/>What Is a MAC Address, and How Does It Work?</a><li> <a href=https://www.howtogeek.com/813741/linux-arping-command/>How to Use the arping Command on Linux</a><li> <a href=https://www.howtogeek.com/192173/how-and-why-to-change-your-mac-address-on-windows-linux-and-mac/>How (and Why) to Change Your MAC Address on Windows, Linux, and Mac</a><li> <a href=https://www.howtogeek.com/903578/this-new-asus-tiny-pc-is-surprisingly-powerful/>This New ASUS Tiny PC is Surprisingly Powerful</a><li> <a href=https://www.howtogeek.com/902042/how-to-make-gifs-on-iphone/>How to Make GIFs on iPhone</a><li> <a href=https://www.howtogeek.com/903288/corsair-mechanical-keyboard-hits-all-time-low-price-plus-more-deals/>Corsair Mechanical Keyboard Hits All-Time Low Price, Plus More Deals</a><li> <a href=https://www.howtogeek.com/903469/how-to-watch-ufc-290-volkanovski-vs-rodrigueza-live-online/>How to Watch UFC 290 Volkanovski vs. Rodrigueza Live Online</a></li>
</ul>
</div>
</div>
<footer class=entry-footer data-nosnippet=data-nosnippet>
<div style="border:1px solid #eee;padding:15px;margin-bottom:20px">
<a href=https://www.howtogeek.com/author/davidmckay/><img style=float:left;margin-right:15px;margin-bottom:15px;width:100px alt="Profile Photo for Dave McKay" src="data:image/webp;base64,UklGRjq7AABXRUJQVlA4TC67AAAvx8AxAE1AbNtGkARnzuvbH6v/gmfua4jo/wQAGFxIkgfckqSt2vIzgSlOSttu8DVJS1sKtPDe/pLkaC7v63tif90KevrEv1sA6ZZf9IQCY8x59Mc5qJfA33BWqtiVaCXp4d5zD9Lubsm2QVLc0EG8/gKMB9iFAlvqC0+3XhvghykUwLaTULY2YHO1bWBT7oedHIX2f0i/gF4xBMJN/9AXCBylJ26TYGwbv2u+XN1CCzHxu9Z8nkDv628+ycZrLUnPc9FSZuaTvddaI2lGkmatOSutYyTNzNJac91zWTOXhSRFkiRJEnrfu///ujrOEjRG4iRB4ATkL6Sdti1J0hKudIUnXa2G13P8/59Vn3qoIYSQnvQUCbJtt21z1DWc9Lr/nfXEReWbhkCQBIX+E0zS2PbMSZqU8BvdEd0RDvrIjtm02dxp3qtj7fBLoX5ZUj2oB8UsZ6lSJfKZzuZouHM3CQKTBNjZ4w/bfKxxPqgkzXQualVqrSdrdEQbwFqSAAkag7O9NSvd5fhTqTJW69v8S3EjiBB3Ru8I+aB7iR8vHiRJhQrqy8wvmYmXyiX7Ep5KbEOI7ax+WzmSHi895I8XD4R4iIeuXrk8WOypkKfZ68ga+ry30pWTeVnv2+JIpJckEVcfGZKMFtyo9rihTqtek5L2PVq02j/qluRkgp4kGZefHvQEN1CZRBInbdAc1xjeDIZTCMHwAomL+Gf9b/0jH2RPDzLFMukPrsmarDz0IcQxtpToGqpj5iaLpZDoryhkMJWcFG4lZUrFpprCvzf72PZNzzrnsfe9y0Ofer87afd277HrsXuI0qSEPyWlKL3RW84lrfHBKD2aLM7WY9NLv85DT20959HklZ0xFLNhOnUXtCmk7NH6tVFk8hA9WH/YOzmZ1RyF/bJlXG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ar+3Svck3+qOeJxccrSRcr4eruIyFoE8oXKtIHq6YULKdP+qNXibDigPNWJMpYnEzJTGDxm50d1ul9TfpB2M1qdD3opJzA7ZtNgdOhRFgQISZguTMpt10qhkBYwwKmIDjvskuimZ4mLAEIK+m555tDe5OVReLstMAtNAJIS4aSKQ6QFZvt1oupFgTBImqbodbn4UBIkrtdGpCCt7iAmzqALo9+2m7Tbbk6EcKRrd72WWUnYG0mZwTHCpeCuf5Tj+4M2g6+OSLRqLnxa0bguThYwjJoh/JM3yE+/ZkZ/6PdvQenO7iqGRwHDW6qTBIi4IN1KCaK3Eo7kW+Lp14rNENuUGIkd8tIacud3ubJBvh1U35pi63l6u20F0kRtCBooJARBZhcjoCTI3kjImgcJE/VYDZ4GpE6aU5JyojqVH9nAQBqz+1264nGnUX7EXnbs2LstMuhIjaLVV1h8jP8m7dw7zLSoLzKlaO+q0Pc3K4AGrd2PR+zq+xpQDzgokwFns/rCRxQa2NtTHYNiM+YBFyTkbz4iJcx1MjRL+SbnplM+brLu5n+QWJPag4Eks5nGD8DZXeQak+Q7UEXc5dNUVruYGM99mGHy3IwQ3tVVkliKmi/RwjIdOrE0w8UabsSKpGQHYrmrhKApBkurNlxzqp25emTulDHFA8T9nxDBG9nSmSt3hi0GQMzzRAYF4fJBJSm6LbSxRLGJKCykgcwbDMvW611R8dGwXssF2T18/u1am5JTaAeCPFkvms6S2jzzMAJyRwK1Dm+tCl7gDHptIPGthe/Qkb
<span>
<a href=https://www.howtogeek.com/author/davidmckay/ style=font-weight:bold;text-transform:uppercase;font-size:20px;font-family:oswald,roboto,sans-serif;padding-top:0;margin-top:0;line-height:20px><span style=padding-top:0;margin-top:0>Dave McKay</span></a>
<br style=margin-top:10px><span style=font-size:15px>Dave McKay first used computers when punched paper tape was in vogue, and he has been programming ever since. After over 30 years in the IT industry, he is now a full-time technology journalist. During his career, he has worked as a freelance programmer, manager of an international software development team, an IT services project manager, and, most recently, as a Data Protection Officer. His writing has been published by&nbsp; howtogeek.com, cloudsavvyit.com, itenterpriser.com, and opensource.com. Dave is a Linux evangelist and open source advocate. <br style=display:none><a href=https://www.howtogeek.com/author/davidmckay/ style=text-transform:uppercase;font-size:13px;font-weight:bold>Read Full Bio »</a></span>
</span>
<div style=clear:both></div>
</div>
</footer>
</article>
<a name=comments></a>
</main>
</div>
<style class=sf-hidden>#secondary{max-width:370px;padding-left:30px;width:100%}@media only screen and (max-width:1070px) and (min-width:768px){#primary{max-width:65%!important}#primary img{max-width:100%!important}#secondary{max-width:35%!important}}@media only screen and (max-width:768px){body #content #secondary{display:none}}</style>
<aside id=secondary class="widget-area sidebar-article" role=complementary>
<div aria-hidden=true id=purch_Y_R_0_1 class=sf-hidden></div> <div style=clear:both></div>
<div aria-hidden=true id=purch_Y_S_0_1 class=sf-hidden></div> <div style=clear:both></div>
<div id=floating-sidebar-area style=display:block>
<div class="future_hybrid_sidebar_top_margin_first sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
<div class="future_hybrid_sidebar_top_margin sf-hidden" aria-hidden=true id=purch_Y_R_0_1></div>
</div>
</aside>
<div class=article-bottom>
<div aria-hidden=true id=purch_Y_L_0_1 style=padding-top:30px class=sf-hidden></div> <div style=clear:both></div>
</div>
</div>
<div style="max-width:1100px;margin:0 auto" class=OUTBRAIN data-src=https://www.howtogeek.com/880124/how-to-permanently-change-your-mac-address-on-linux/ data-widget-id=AR_1></div> <div class=message style="padding:50px 0px 30px;font-size:15px;margin:0px 20px"><span style="max-width:900px;display:block;color:#333;margin:auto;border:1px solid #CCC;padding:20px 20px;background:#FAFAFA">How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read billions of times. <a href=https://www.howtogeek.com/about/>Want to know more?</a></span>
</div>
<footer id=colophon class=site-footer>
<div class=container>
<div class=logo>
<a title="How-To Geek" aria-label="How-To Geek" href=https://www.howtogeek.com/>
<img alt="How-To Geek" class=logo src=data:image/webp;base64,UklGRt4HAABXRUJQVlA4TNEHAAAvHwMmEIcgFkzmL92ZwvzPv0AghRtcogaD4e22nTq2bdsSIGOMBej//90WYSqWg9aC+egR/Z8A+uf/NVwUmoawYn9frE84AX4/i96+ybFNlEJlnWBRsy25FS6p6RrWt6zGW1jdNjVf3drmmj1Na1vUB2xuaStPoHFp00fMKxs/g6xs8Rl0ZUv//PffkIKAC6YJejoKD9wXDDhjhOYTJDSQ//nvn//++e+f//4vsHn/579H4BsHRGAkJHCvQ3hG+glxfOMwNXxfPyzwfU05xvqP4I+i9z5jlygyIER7N8ShSJ4Nf1S99xnnxO1F79zOOCCeeuuyOzNZsfETHGqwckeCbAjtTgiBuLlwhxqsPCGp6e1rAHHV27fdiFNspedzRW3GawxJAN93Ihqi0FS4ojbjdGQ1GSFRTWYbCRQ/wKlW+ZKDnADuKwCvyDwXolbDZBxqNABYjSYLrmGEnm9Ts/USVUQBpD4FMGSfiqhmy1x4tVoA1Yp6A0mx/AHEjm6XMkIBGRD6EiRMRbWjPBXZjG5dm5rNBhpG6Pm8Gj4v7ZDQJ4CtL0NoJoIazlPR7OSu0067X1Qsj8s8cr9HtFQvMWTrU2DqE4RMxW6pzASr3drV7Gi4XcUIjbPYlSzpJYKkLo84+xR5TEW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+SvnMNoAaps0et79DO+IN6svanRSBBNM6e9HWHF6WjAXgR8Jg6e2kYvcwdSLcIUIZonDweJa/2UYVWAcbI5LlR+RWPyssACUR57qgO2l/RqP0rIIpkG6zIdJuIkcnLg/hNGRTWAaoQ5bnbB9HbPIgWgoTJc8djyrt9jKwEDqN+6mhMfsdjjpWAMibPnQzZ37kx21IQMOqn7hjC76gO8UsBCSZPXRxCF88RjdaCDdPczPkR5UoacS4GVCGaZo7agPMKj0irwY5pbuZkQLriRvBq4BpE08ylAXyF6gC3GlDG1JnjAe7SiSv012Fw/jxG4+e67wCHq3Q54fJk3fdPh05MnTiqsPMa4/YFgTEaJy7D0jWPC39yt73Dbe9GFVMmbofxNWowWhEiRnneGOY6BCVLgmsYmTdCVepMqGNJoAOjPG8Ckp4Ntf0p7H8HHiQfID/VAUo9HuV/K2STn6E+if9clDHqny+ZopEbaOuhhmk0M+nz+Gc4u6Il6rW03Y9B+fmipTrEg3yXYM6p2S0VI1QfYe9iQ7WrGQr3o4JR/3jeUh5CDdKoO2HS1ARL2crxCL6Lmp3cddppZCCC8uORGNrGnBDp2zA8NVQNsRX/BCf1ZzvctdnJFqhh1D0e26k0NkFSX8C4uYl2hMzmB/AAb6ZQfzXjTSRQejw6zfAghmx9BCk0NyRmgh1XzEVCHlYCgK0kMuFAzT2eK0YiDXYQDxBEnh1XjEQy7IqxSNhsIxIy2shkgzJG0+MRJQuVaXgBNAIeiH12yB0WaiDT7rBUmdB7u18NhOV6v7aTlQBqH4B8Kjc7I90wAwQREWF6iPxRbnZGMu+PYqPmjQa6vdyqnZHw8Wy3kt2RGRKMxleBoX6IYyzmJ9840D059W8In4D0KR1Dw01+8o09PSUbdDQ+8G09jfZ820BohgaAZ2x49c//izcA width=200 height=38>
</a>
<div class=social>
<a title=Facebook aria-label=Facebook href=https://facebook.com/howtogeek>
<div class=facebook>
<svg id=icon-facebook viewBox="0 0 43.8 34" width=100% height=100% aria-hidden=true tabindex=-1><title>Facebook Icon</title><g><path id=f_6_ fill=#FFFFFF d=M22.4,30.1V18.9h3.7l0.6-4.4h-4.3v-2.8c0-1.3,0.3-2.1,2.2-2.1h2.3V5.8c-0.4-0.1-1.8-0.2-3.4-0.2c-3.3,0-5.6,2-5.6,5.7v3.2h-3.8v4.4h3.8v11.2L22.4,30.1L22.4,30.1z></path></g></svg>
<p>Facebook</p>
</div>
</a>
<a title=Instagram class=rss-link href=https://www.instagram.com/howtogeeksite>
<div class=twitter style=background-color:#c04d02>
<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 style=fill:white viewBox="0 0 24 24" aria-hidden=true tabindex=-1><title>Instagram Icon</title><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"></path></svg>
<p>Instagram</p>
</div>
</a>
<a title=Twitter href=https://www.twitter.com/howtogeek>
<div class=twitter>
<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 300.00006 244.18703" height=244.19 width=300 aria-hidden=true tabindex=-1><title>Twitter Icon</title>
<g transform="translate(-539.18 -568.86)">
<path d="m633.9 812.04c112.46 0 173.96-93.168 173.96-173.96 0-2.6463-0.0539-5.2806-0.1726-7.903 11.938-8.6302 22.314-19.4 30.498-31.66-10.955 4.8694-22.744 8.1474-35.111 9.6255 12.623-7.5693 22.314-19.543 26.886-33.817-11.813 7.0031-24.895 12.093-38.824 14.841-11.157-11.884-27.041-19.317-44.629-19.317-33.764 0-61.144 27.381-61.144 61.132 0 4.7978 0.5364 9.4646 1.5854 13.941-50.815-2.5569-95.874-26.886-126.03-63.88-5.2508 9.0354-8.2785 19.531-8.2785 30.73 0 21.212 10.794 39.938 27.208 50.893-10.031-0.30992-19.454-3.0635-27.69-7.6468-0.009 0.25652-0.009 0.50661-0.009 0.78077 0 29.61 21.075 54.332 49.051 59.934-5.1376 1.4006-10.543 2.1516-16.122 2.1516-3.9336 0-7.766-0.38716-11.491-1.1026 7.7838 24.293 30.355 41.971 57.115 42.465-20.926 16.402-47.287 26.171-75.937 26.171-4.929 0-9.7983-0.28036-14.584-0.84634 27.059 17.344 59.189 27.464 93.722 27.464" fill=#ffffff></path>
</g>
</svg>
<p>Twitter</p>
</div>
</a>
<a title=LinkedIn href=https://www.linkedin.com/company/howtogeek/>
<div class=linkedin>
<svg xmlns=http://www.w3.org/2000/svg width=24 height=24 viewBox="0 0 24 24" style=fill:#FFF aria-hidden=true tabindex=-1><title>LinkedIn Icon</title>
<path d="M4.98 3.5c0 1.381-1.11 2.5-2.48 2.5s-2.48-1.119-2.48-2.5c0-1.38 1.11-2.5 2.48-2.5s2.48 1.12 2.48 2.5zm.02 4.5h-5v16h5v-16zm7.982 0h-4.968v16h4.969v-8.399c0-4.67 6.029-5.052 6.029 0v8.399h4.988v-10.131c0-7.88-8.922-7.593-11.018-3.714v-2.155z"></path></svg>
<p>LinkedIn</p>
</div>
</a>
<a title="RSS Feed" class=rss-link href=https://www.howtogeek.com/feed/>
<div class=twitter style=background-color:#c04d02>
<svg title="RSS Feed Icon" role=img aria-label="RSS Feed Icon" width=1792 height=1792 viewBox="0 0 1792 1792" xmlns=http://www.w3.org/2000/svg style=fill:white aria-hidden=true tabindex=-1><path d="M576 1344q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm512 123q2 28-17 48-18 21-47 21h-135q-25 0-43-16.5t-20-41.5q-22-229-184.5-391.5t-391.5-184.5q-25-2-41.5-20t-16.5-43v-135q0-29 21-47 17-17 43-17h5q160 13 306 80.5t259 181.5q114 113 181.5 259t80.5 306zm512 2q2 27-18 47-18 20-46 20h-143q-26 0-44.5-17.5t-19.5-42.5q-12-215-101-408.5t-231.5-336-336-231.5-408.5-102q-25-1-42.5-19.5t-17.5-43.5v-143q0-28 20-46 18-18 44-18h3q262 13 501.5 120t425.5 294q187 186 294 425.5t120 501.5z"></path></svg>
<p>RSS Feed</p>
</div>
</a>
</div>
</div>
<style class=sf-hidden>.footer-email{display:inline-block;float:left;width:33%}#footer-email-text{margin-bottom:5px;font-size:16px;font-family:"Open Sans",sans-serif;margin-top:0px}.footer-email form{margin-bottom:10px}.footer-email .ftemtxt{border-radius:0;font-size:16px;padding:8px;height:40px;margin-right:0px;border:0;width:250px}.footer-email .ftemsub{border:0;border-radius:0;font-size:14px;padding:8px;height:40px;margin-left:0px;background:#f79826;color:#000;font-weight:bold}@media screen and (max-width:768px){.footer-email{display:block;text-align:center;width:100%;border-top:1px solid #999;margin-top:20px;padding-top:15px}}</style>
<div class=footer-email data-nosnippet=data-nosnippet>
<p id=footer-email-text>The Best Free Tech Newsletter Anywhere</p>
<form action=https://www.howtogeek.com/em/subscribe method=post>
<input aria-label="Enter Your Email" aria-required=true aria-invalid=false type=text name=email class=ftemtxt placeholder="Enter Your Email" value>
<input aria-label="Sign Up" type=submit class=ftemsub value="Sign Up">
</form>
<p style=font-size:small>By submitting your email, you agree to the <a style=display:inline;text-decoration:underline href=https://www.howtogeek.com/terms-of-use>Terms of Use</a> and <a style=display:inline;text-decoration:underline href=https://www.howtogeek.com/privacy-policy>Privacy Policy</a>.</p>
</div>
<div class=pages>
<ul id=menu-footer class=menu role=menu>
<li role=menuitem id=menu-item-870915 class="menu-item menu-item-type-post_type menu-item-object-page menu-item-870915"><a href=https://www.howtogeek.com/about/>About How-To Geek</a></li>
<li role=menuitem id=menu-item-314683 class="menu-item menu-item-type-post_type menu-item-object-page menu-item-314683"><a href=https://www.howtogeek.com/contact/>Contact Us</a></li>
<li role=menuitem id=menu-item-314685 class="menu-item menu-item-type-custom menu-item-object-custom menu-item-314685"><a href=https://www.howtogeek.com/345703/we-are-hiring/>Join Our Team</a></li>
<li role=menuitem id=menu-item-314687 class="menu-item menu-item-type-post_type menu-item-object-page menu-item-314687"><a href=https://www.howtogeek.com/privacy-policy/>Privacy Policy</a></li>
<li role=menuitem id=menu-item-329744 class="menu-item menu-item-type-post_type menu-item-object-page menu-item-329744"><a href=https://www.howtogeek.com/terms-of-use/>Terms of Use</a></li>
<li role=menuitem id=menu-item-711322 class="menu-item menu-item-type-post_type menu-item-object-page menu-item-711322"><a href=https://www.howtogeek.com/accessibility/>Accessibility</a></li>
<li role=menuitem aria-label="Do not sell my info">
<div id=show-do-not-sell-info-container></div>
</li>
<li role=menuitem>
<input class=darkModeToggle id=darkModeToggle aria-label="Toggle Dark Mode" type=checkbox> <label class=darkModeToggleLabel for=darkModeToggle>Toggle Dark Mode</label>
</li>
</ul>
</div>
</div>
<a class=copyright href=https://www.howtogeek.com/>Copyright © 2023 How-To Geek</a>
</footer>
<style class=sf-hidden>div.message,body #content{position:relative;z-index:8998!important}.site-footer{z-index:8999!important}blockquote.moka_autotoc{margin-top:-10px!important;line-height:1.8;margin-bottom:0!important}</style>
<div id=out-of-page>
</div>
<div id=1x1>
</div>
<noscript class=sf-hidden>
<div style="display:none;">
<img src="//pixel.quantserve.com/pixel/p-dPPj_fTCprdm0.gif" alt="" width="1" height="1" border="0">
</div>
</noscript>
<img alt src="data:image/gif;base64,Qk08AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAYAAAAnAAAAJwAAAAAAAAAAAAAAw7/Dv8O/w78AAA==" width=1 height=1>
<noscript class=sf-hidden><img style="display:none" src="https://www.facebook.com/tr?id=335401813750447&amp;ev=PageView&amp;noscript=1" width="1" height="1"></noscript>
<iframe style=display:none name=__tcfapiLocator></iframe>