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.
@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.
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.
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 and then you’ll have access to device and can inspect why ethernet is not working or setup wifi.
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:
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 ?
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 ?