# 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:** 1

<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:** [April 30, 2019, 1:52pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/1 "2019-04-30T13:52:37Z")

</div>

Hello, when i type the command source "setup-environment raspberrypi " it returns : setup-environment: file not found.  
Ps: I did not do the git user configuration

can anybody tell me what to do ?

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:** [April 30, 2019, 2:06pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/2 "2019-04-30T14:06:41Z")

</div>

Are in in correct directory (should be mender-raspberrypi)?

---

<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 2, 2019, 8:27am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/3 "2019-05-02T08:27:30Z")

</div>

I corrected the directory name as you mentioned. Now it returns “setup-environment : file not found”

---

<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 2, 2019, 10:03am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/4 "2019-05-02T10:03:36Z")

</div>

still the same error !

---

<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 2, 2019, 12:02pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/5 "2019-05-02T12:02:38Z")

</div>

If you can provide full logs of your attempts, then we could investigate further.

---

<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 2, 2019, 12:16pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/6 "2019-05-02T12:16:22Z")

</div>

I am following the tutorial demo server (mender) with raspberrypi, so after booting my raspberry with the configured SD card as described in the document: [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices) . Now i’m configuring my device following the tutorial for board configuration : [Raspberry Pi 3 Model B/B+](https://hub.mender.io/t/raspberry-pi-3-model-b-b/57)

This is the list of commands i’ve typed in my raspberry pi 3:

export BRANCH=“thud”

mkdir mender-raspberrypi && cd mender-raspberrypi

repo init -u [https://github.com/mendersoftware/meta-mender-community](https://github.com/mendersoftware/meta-mender-community)   
-m meta-mender-raspberrypi/scripts/manifest-raspberrypi.xml   
-b ${BRANCH}

mkdir ${HOME}/bin

Fetch the repo script

curl [http://commondatastorage.googleapis.com/git-repo-downloads/repo](http://commondatastorage.googleapis.com/git-repo-downloads/repo) \> ${HOME}/bin/repo  
Set the executable bit

chmod a+x ${HOME}/bin/repo

PATH=${PATH}:~/bin

source setup-environment mender-raspberrypi

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 2, 2019, 2:19pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/7 "2019-05-02T14:19:42Z")

</div>

You are missing the ‘repo sync’ command here which is to be run after the ‘repo init’.

Also, this is not intended to be run on the Raspberry Pi but rather on your build system.

---

<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 2, 2019, 2:33pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/8 "2019-05-02T14:33:59Z")

</div>

i am confused, the tutorial i am following is not so clear.  
What i am trying to do now is a deployement to physical device as described in the document [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices), so i can do updates with the demo images.

If you can take a look on the link ( [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices) ) so you can see what i am talking about.

Now i am in the in “boot the device” stage.

please i need help !

---

<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 3, 2019, 8:17am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/9 "2019-05-03T08:17:58Z")

</div>

Hello mister @drewmoseley i still have the same issue, can you please help …

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 3, 2019, 12:40pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/10 "2019-05-03T12:40:42Z")

</div>

Please post a full console log of the commands you are running. It’s not possible to diagnose with the information you’ve given so far.

---

<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 3, 2019, 3:02pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/11 "2019-05-03T15:02:40Z")

</div>

i started by installing Docker Engine 17.03 and Docker Compose 1.6 after that i Installed a Mender demo server by the following commands:

git clone -b 1.7.0 [https://github.com/mendersoftware/integration.git](https://github.com/mendersoftware/integration.git) integration-1.7.0  
cd integration-1.7.0  
./up  
I created the initial user to log to mender interface by the folowing command :  
sudo ./demo exec mender-useradm /usr/bin/useradm create-user [--username=myusername@example.com](mailto:--username=myusername@example.com) --password=mysecretpassword

then: I followed a tutorial to deploy a full rootfs update to the Raspberry Pi 3 using the Mender server : [https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices](https://docs.mender.io/1.7/getting-started/deploy-to-physical-devices)  
At the end of the tutorial i should boot my device and start the deployement. But in my case when i boot the device i am stuck in the command line interface and a login is required, and at the same time i can’t see my device in the mender server UI

I hope i was clear =)

---

<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 3, 2019, 3:23pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/12 "2019-05-03T15:23:16Z")

</div>

i was also confused about network connectivity, like how am i going to connect mender server with my raspberry pi3 (client) ?

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 3, 2019, 4:11pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/13 "2019-05-03T16:11:31Z")

</div>

You will need to connect an Ethernet cable to the RpI to get networking.

Login is root with no password.

Some troubleshooting steps you can do on the RpI:

```
# ifconfig
# date
# ping 8.8.8.8
# systemctl status mender
# journalctl -u mender
```

---

<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 6, 2019, 9:11am UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/14 "2019-05-06T09:11:00Z")

</div>

Thank you @drewmoseley but when i type ifconfig on my raspberry Pi 's CLI it returns lo and wlan0 which means that i can only connect my device via wifi otherwise i 8.8.8.8 is unreachable

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 6, 2019, 2:53pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/15 "2019-05-06T14:53:39Z")

</div>

Are you sure you are using a raspberry pi 3 with an ethernet cable connected? That driver should be loaded and enabled by default.  
What does the following show?  
`# ifconfig -a`

---

<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 6, 2019, 3:26pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/16 "2019-05-06T15:26:59Z")

</div>

it shows lo and wlan0 which means ethernet is not configured

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 6, 2019, 3:42pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/17 "2019-05-06T15:42:13Z")

</div>

Using the ‘-a’ option will show _all_ devices whether they are configured or not. That seems to indicate that you are not using an RpI 3 but perhaps a 0-wifi?

---

<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 6, 2019, 3:43pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/18 "2019-05-06T15:43:28Z")

</div>

i am using a rasppberry pi 3 Model B V1.2

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [May 6, 2019, 4:05pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/19 "2019-05-06T16:05:32Z")

</div>

In that case, I’m out of ideas. That device is present on the RPI3 so the only thing I can think of is that your build is somehow incorrect.

---

<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 6, 2019, 4:18pm UTC](https://hub.mender.io/t/issues-with-raspberry-pi-3/532/20 "2019-05-06T16:18:43Z")

</div>

@MissLee pls provide log from `ifconfig -a` command and bootlog so we can check. Thanks.

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