# Poky login when preparing new virtual device on Windows

**URL:** <https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916>\
**Category:** General Discussions\
**Created:** [June 13, 2023, 11:04am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916 "2023-06-13T11:04:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubitor5](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rubitor5/32/1924_2.png) [@Rubitor5](https://hub.mender.io/u/Rubitor5)\
**Post date:** [June 13, 2023, 11:04am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/1 "2023-06-13T11:04:17Z")

</div>

Hi! I am trying to set up a new virtual device as the documentation says. But when running the command, it pulls the mender image, runs the image, but it appears this: Starting Mender-configure device configuration…  
[OK] Started Serial Getty on ttyS0.  
[OK] Started Serial Getty on ttyS1.  
[OK] Reached target Login Prompts.  
[OK] Started System Logging Service.  
Starting User Login Management…  
Starting OpenSSH Key Generation…  
[OK] Started D-Bus System Message Bus.  
[OK] Finished IPv6 Packet Filtering Framework.

Poky (Yocto Project Reference Distro) 4.0.5 qemux86-64 ttyS0

qemux86-64 login: [OK] Finished IPv4 Packet Filtering Framework.

And then, no pending device to be accepted shows on the workstation.  
Any solution?

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [June 13, 2023, 2:28pm UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/2 "2023-06-13T14:28:27Z")

</div>

Hi @Rubitor5,

Thanks for reaching out! I just tried to replicate this and found that the setup is a bit complicated for Windows. The form I used is

- Docker utilizing WSL2
- Git Bash as terminal, as PowerShell doesn’t accept the copy-pasted instructions.

Then I started the container up by just pasting the snippet from my account as explained in the documentation, and after about 3-5 Minutes the virtual device was ready to accept in the dashboard.

If this does not happen for you in some time, can you try to log into the virtual device - user `root`, no password - and then check the logs with `journalctl -u mender-client`? This might give us some hints.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![Rubitor5](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rubitor5/32/1924_2.png) [@Rubitor5](https://hub.mender.io/u/Rubitor5)\
**Post date:** [June 13, 2023, 2:59pm UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/3 "2023-06-13T14:59:53Z")

</div>

I’ve run the command at git bash and logged in with root and this shows:  
[OK] Started System Logging Service.  
Starting User Login Management…  
Starting OpenSSH Key Generation…  
[OK] Started D-Bus System Message Bus.  
[OK] Finished IPv6 Packet Filtering Framework.  
[OK] Finished IPv4 Packet Filtering Framework.

Poky (Yocto Project Reference Distro) 4.0.5 qemux86-64 ttyS0

qemux86-64 login: root  
root@qemux86-64:~# journalctl -u mender-client  
– No entries –  
root@qemux86-64:~#

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [June 14, 2023, 6:41am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/4 "2023-06-14T06:41:48Z")

</div>

That’s definitely strange @Rubitor5. Can you check if the container has connectivity, like pinging [google.com](http://google.com)? And the Mender client is there?

If you can send me the getting started snippet (via direct message) that you used then I can spin up one too.

Greetz  
Josef

---

<div class="post-metadata">

**Author:** ![Rubitor5](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rubitor5/32/1924_2.png) [@Rubitor5](https://hub.mender.io/u/Rubitor5)\
**Post date:** [June 14, 2023, 7:34am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/5 "2023-06-14T07:34:29Z")

</div>

I think there’s no connectivity:  
root@qemux86-64:~# ping [google.com](http://google.com)  
PING [google.com](http://google.com)(::ffff:142.250.185.14 (::ffff:142.250.185.14)) 56 data bytes

^C— [google.com](http://google.com) ping statistics —  
28 packets transmitted, 0 received, 100% packet loss, time 27635ms

---

<div class="post-metadata">

**Author:** ![Rubitor5](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rubitor5/32/1924_2.png) [@Rubitor5](https://hub.mender.io/u/Rubitor5)\
**Post date:** [June 14, 2023, 7:36am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/6 "2023-06-14T07:36:26Z")

</div>

This is the get started snippet I followed: [Prepare a virtual device | Mender documentation](https://docs.mender.io/get-started/preparation/prepare-a-virtual-device)

---

<div class="post-metadata">

**Author:** ![Rubitor5](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rubitor5/32/1924_2.png) [@Rubitor5](https://hub.mender.io/u/Rubitor5)\
**Post date:** [June 14, 2023, 7:44am UTC](https://hub.mender.io/t/poky-login-when-preparing-new-virtual-device-on-windows/5916/7 "2023-06-14T07:44:06Z")

</div>

Nonetheless, when I ping mender it receives response:  
root@qemux86-64:~# ping [eu.hosted.mender.io](http://eu.hosted.mender.io)  
PING [eu.hosted.mender.io](http://eu.hosted.mender.io) (108.142.217.178) 56(84) bytes of data.  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=1 ttl=255 time=294 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=2 ttl=255 time=227 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=3 ttl=255 time=99.4 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=4 ttl=255 time=173 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=5 ttl=255 time=147 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=6 ttl=255 time=203 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=7 ttl=255 time=72.1 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=8 ttl=255 time=111 ms  
64 bytes from 108.142.217.178 (108.142.217.178): icmp\_seq=9 ttl=255 time=102 ms
