# Encryption process renames network interfaces

**URL:** <https://community.zymbit.com/t/encryption-process-renames-network-interfaces/677>\
**Category:** ZYMKEY4\
**Created:** [November 4, 2019, 10:13am UTC](https://community.zymbit.com/t/encryption-process-renames-network-interfaces/677 "2019-11-04T10:13:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![squitel](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.zymbit.com/squitel/32/372_2.png) [@squitel](https://community.zymbit.com/u/squitel)\
**Post date:** [November 4, 2019, 10:13am UTC](https://community.zymbit.com/t/encryption-process-renames-network-interfaces/677/1 "2019-11-04T10:13:49Z")

</div>

Hi all,

I’m using a RPi3 with Raspian Stretch Lite (Linux 4.19.66-v7+ #1253 SMP armv7l) and a Zymkey 4i in developer mode.  
I’ve encrypted the SD card and it seems that everything is OK (blue LED flashes once every 3 seconds + can’t boot without the Zymkey).

During this process, the name of my network interfaces changed for “predictable” names for one of the two (eth0 became enxb827eb484298 and eth1 (Eth/USB adapter) became eth0 !). This is 100% reproductable as I’ve tried it on multiple RPi+Zymkeys.

Everything works correctly, however this renaming is a problem for me as the names of these network interfaces are used in different places in the software I’m running on the RPi.

Is there a way to prevent this renaming from happening please?

Thanks in advance.  
Jacques

---

<div class="post-metadata">

**Author:** ![mikedawson](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mikedawson](https://community.zymbit.com/u/mikedawson)\
**Post date:** [November 4, 2019, 1:28pm UTC](https://community.zymbit.com/t/encryption-process-renames-network-interfaces/677/2 "2019-11-04T13:28:10Z")

</div>

Change /boot/config.txt

---

<div class="post-metadata">

**Author:** ![squitel](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.zymbit.com/squitel/32/372_2.png) [@squitel](https://community.zymbit.com/u/squitel)\
**Post date:** [November 5, 2019, 10:18am UTC](https://community.zymbit.com/t/encryption-process-renames-network-interfaces/677/3 "2019-11-05T10:18:03Z")

</div>

Hi Mike, thank you for your answer.  
In fact I finally figured out that it is the **/boot/cmdline.txt** file that has to be modified (just add “net.ifnames=0” at the end of the line) and reboot.  
Good to know.  
Jacques
