# Set Ethernet Static IP for Jetson TX2 While Using Wifi for Balena

**URL:** <https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763>\
**Category:** balenaOS\
**Created:** [May 4, 2020, 9:09pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763 "2020-05-04T21:09:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![keenanbedrock](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keenanbedrock](https://forums.balena.io/u/keenanbedrock)\
**Post date:** [May 4, 2020, 9:09pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/1 "2020-05-04T21:09:55Z")

</div>

Hello!

I have a NVIDIA Jetson TX2 Board running balena. I’d like to use the Wifi interface as the internet facing Balena network interface and set a static IP address for the ethernet interface to talk with some internal statically configured devices.

What is the best way to accomplish this?

Thanks!

---

<div class="post-metadata">

**Author:** ![jtonello](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jtonello/32/3246_2.png) [@jtonello](https://forums.balena.io/u/jtonello)\
**Post date:** [May 4, 2020, 9:19pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/2 "2020-05-04T21:19:11Z")

</div>

Hi @keenanbedrock,

You can set the static IP of the interface by editing a file called `resin-wifi` located in /system-connections folder in the boot partition (often /mnt/boot/system-connections). Under the [ipv4] entry, change `method=auto` to something like this:

```auto
address1=192.168.1.111/24,192.168.1.1
dns=8.8.8.8;8.8.4.4;
dns-search=
method=manual

```

More details are available here: [https://www.balena.io/docs/reference/OS/network/2.x/#setting-a-static-ip](https://www.balena.io/docs/reference/OS/network/2.x/#setting-a-static-ip). If you previously set up wifi with DHCP, the resin-wifi file should already exist.

John

---

<div class="post-metadata">

**Author:** ![keenanbedrock](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keenanbedrock](https://forums.balena.io/u/keenanbedrock)\
**Post date:** [May 4, 2020, 9:53pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/4 "2020-05-04T21:53:44Z")

</div>

Hey there! Thanks for the response. I actually want to keep the Wifi as DHCP, and set the IP of the ethernet interface as static.

---

<div class="post-metadata">

**Author:** ![jtonello](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jtonello/32/3246_2.png) [@jtonello](https://forums.balena.io/u/jtonello)\
**Post date:** [May 4, 2020, 10:17pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/5 "2020-05-04T22:17:09Z")

</div>

Hi,

The same instructions apply. The /system-connections directory consists of a set of connection files—one file per connection. The file resin-sample.ignore is a template or example file which you can copy to create new connections. If you added a WiFi connection from the dashboard when you downloaded your image, you should see its configuration file already created for you under the name resin-wifi. You will notice that there is no file for ethernet, this is because NetworkManager will always set up a default ethernet connection. If you want a specific configuration for the ethernet connection you will need to create a new connection file for it. Most of the allowed options for these connection files can be found in the NetworkManager settings reference.

John

---

<div class="post-metadata">

**Author:** ![keenanbedrock](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keenanbedrock](https://forums.balena.io/u/keenanbedrock)\
**Post date:** [May 6, 2020, 6:32pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/7 "2020-05-06T18:32:02Z")

</div>

> [@jtonello](#):
>
> NetworkManager settings reference.

Thanks! Would the naming of the ethernet file be ‘resin-ethernet’ ?

---

<div class="post-metadata">

**Author:** ![tmigone](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/tmigone/32/2814_2.png) [@tmigone](https://forums.balena.io/u/tmigone)\
**Post date:** [May 6, 2020, 6:37pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/8 "2020-05-06T18:37:08Z")

</div>

Hi there, yes, you could name the file however you like, though I suggest you use `resin-ethernet` as it is clear and follows the convention.

---

<div class="post-metadata">

**Author:** ![keenanbedrock](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@keenanbedrock](https://forums.balena.io/u/keenanbedrock)\
**Post date:** [May 7, 2020, 6:09pm UTC](https://forums.balena.io/t/set-ethernet-static-ip-for-jetson-tx2-while-using-wifi-for-balena/104763/10 "2020-05-07T18:09:45Z")

</div>

Got it! Yeah I just wanted to confirm that the filename doesn’t matter.
