# Issues with Raspberry Pi 3

**URL:** <https://hub.mender.io/t/issues-with-raspberry-pi-3/532>\
**Category:** General Discussions\
**Created:** [April 30, 2019, 1:52pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532 "2019-04-30T13:52:37Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 9:43am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/21 "2019-05-07T09:43:32Z")

</div>

Thank you @drewmoseley and @MarekBelisko. Before your reply i already restarted the build of the disk image and unfortunately i have a segmentation error when i run mender-artifact.  
On the other hand , im confused because it is noticed that If you have just one device, you could connect your workstation and the device using a direct Ethernet cable and use static IP addresses at both ends. For multiple devices, you need a router or switch. and a little further down they say that The raspberrypi demo image comes with Wifi connectivity enabled by default, thus the only thing needed in order for your device to connect to your network is setting the correct `<ssid>` and `<password>` in the `wpa_supplicant-nl80211@wlan0.conf` file on your device.

So which type of connectivity is the right one ?

Thank you for your answers !

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 7, 2019, 11:52am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/22 "2019-05-07T11:52:55Z")

</div>

@MissLee now I’m confused even more. Do you use yocto or mender-convert tool to generate disk image? Which device do you use? Can you pls post a photo of device? We need first replies to those questions and then we can help. Thanks.

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 12:05pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/23 "2019-05-07T12:05:12Z")

</div>

I am using the prebuilt mender-artifact tool and demo disk image for raspberry pi 3. I am sure about using Raspberry pi 3 Model B V1.2 it is written on it.

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 7, 2019, 12:09pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/24 "2019-05-07T12:09:31Z")

</div>

If you plug eth cable then device will be connected over ethernet but it seems it’s not working in your case for unknown reasons. Then you need other way to evaluate why it is not working (or even setup wifi connection). Pls attach serial console as described [here](https://elinux.org/RPi_Serial_Connection) and then you’ll have access to device and can inspect why ethernet is not working or setup wifi.

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [May 7, 2019, 1:53pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/25 "2019-05-07T13:53:11Z")

</div>

Note that I have moved this thread, to a separate topic under General Discussions

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 1:54pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/26 "2019-05-07T13:54:45Z")

</div>

Okay @MarekBelisko i will do so but can you take a look please on the tutorial so you can tell me if there some missing steps that maybe the source of the deployement failure.  
here is the link of the tutorial : [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices)

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 1:56pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/27 "2019-05-07T13:56:10Z")

</div>

Okay @MarekBelisko i will do so but can you take a look please on the tutorial so you can tell me if there some missing steps that maybe the source of the deployement failure.  
here is the link of the tutorial : [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices)

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 3:07pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/28 "2019-05-07T15:07:09Z")

</div>

@mirzak @MarekBelisko i have a segmentation error when i try to execute mender artifact, with the following command : ./mender-artifact

Do you have an idea about it ?

Thank you

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 7, 2019, 6:06pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/29 "2019-05-07T18:06:37Z")

</div>

You run this command on host? Did you fetch prebuild one from this [link](https://d1b0l86ne08fsf.cloudfront.net/mender-artifact/2.4.1/mender-artifact) which OS do you use? Thanks.

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 7, 2019, 9:10pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/30 "2019-05-07T21:10:07Z")

</div>

yes i ran it on my host (where mender server is installed)  
exactly this is the OS i am using

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 9:05am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/31 "2019-05-09T09:05:57Z")

</div>

Hello, I solved the segmentation error, now i’m setting a network connectivity between my host(pc) and my device(raspberry pi 3 ) by following this:  
Set a static device IP address and subnet

This section assumes you use a static IP setup. If your device uses a DHCP setup, this section can be skipped. In this section, we assume that `$IP_OF_MENDER_CLIENT` is the IP address you assign to your device.

If you are using `bash` , you can set a variable before running the command below, for example `IP_OF_MENDER_CLIENT="192.168.10.2"` .

Run the command below to fill the `systemd` networking configuration files of the rootfs partitions:

```auto
echo -n "\
[Match]
Name=eth0

[Network]
Address=$IP_OF_MENDER_CLIENT
Gateway=$IP_OF_MENDER_SERVER_FROM_DEVICE
" | mender-artifact cp $MENDER_IMGPATH:/etc/systemd/network/eth.network

```

But when i go to check the file eth.network in the given path i don’t find it, the folder network is empty  
Does it mean that my command didn’t turn well ?

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 9:15am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/32 "2019-05-09T09:15:53Z")

</div>

I did not pay attention to " Run the command below to fill the `systemd` networking configuration files of the rootfs partitions:"  
they mean the rootfs partition of my sd card ?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 9, 2019, 9:31am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/33 "2019-05-09T09:31:32Z")

</div>

> [@MissLee](#):
>
> If you are using `bash` , you can set a variable before running the command below, for example

Do you have set : `MENDER_IMGPATH=<sdimg>` ? mender-artifact then update /etc/systemd/network/eth.network with above info

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 9:32am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/34 "2019-05-09T09:32:54Z")

</div>

yes i’ve set MENDER\_IMGPATH=

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 9, 2019, 9:34am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/35 "2019-05-09T09:34:11Z")

</div>

then check after mounting image if `/etc/systemd/network/eth.network` is updated

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 9:36am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/36 "2019-05-09T09:36:18Z")

</div>

i can see it on my sd card

Now i’m going to boot my raspberry with the built sd card

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 9:36am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/37 "2019-05-09T09:36:43Z")

</div>

is there any configuration to do in the the device after the boot ?

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 9, 2019, 9:44am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/38 "2019-05-09T09:44:26Z")

</div>

You can do it manually on device but IIRC you had network connection issues? Did you try to establish serial console connection? Thanks.

---

<div class="post-metadata">

**Author:** ![MissLee](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@MissLee](https://hub.mender.io/u/MissLee)\
**Post date:** [May 9, 2019, 10:49am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/39 "2019-05-09T10:49:31Z")

</div>

on my raspberry on etc/systemd/network/eth.network i see exactly :  
cho -n "  
[Match]  
Name=eth0

[Network]  
Address=$IP\_OF\_MENDER\_CLIENT  
Gateway=$IP\_OF\_MENDER\_SERVER\_FROM\_DEVICE  
" | mender-artifact cp $MENDER\_IMGPATH:/etc/systemd/network/eth.network

even though i can’t see the raspeberry on the pending devices

ps: when i type ifconfig -a on my rasp, i see : lo, wlan0 and eth0 . but the eth0 doesn’t seem to be connected

---

<div class="post-metadata">

**Author:** ![MarekBelisko](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/marekbelisko/32/33_2.png) [@MarekBelisko](https://hub.mender.io/u/MarekBelisko)\
**Post date:** [May 9, 2019, 10:52am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/40 "2019-05-09T10:52:10Z")

</div>

@MissLee only those line should be presetn in `/etc/ systemd/network/eth.network`

```auto
[Match]
Name=eth0

[Network]
Address=$IP_OF_MENDER_CLIENT
Gateway=$IP_OF_MENDER_SERVER_FROM_DEVICE

```

also `$IP_OF_MENDER_CLIENT` and other should be replaced. You probably call command wrong. Pls update it manually on device and try.

[Previous page](https://hub.mender.io/t/issues-with-raspberry-pi-3/532.md?page=1)

[Next page](https://hub.mender.io/t/issues-with-raspberry-pi-3/532.md?page=3)
