Is it possible to install IntelNCU image on normal PC?

I want to install balenaOS on my laptop(Corei5, 6th).

Is it possible?

If so, how can I flash your base image file(https://files.resin.io/resinos/intel-nuc/2.44.0%2Brev1.dev/image/balena.img.zip) to my HDD?

Hi,

You should be able to flash the image onto a USB drive, one option to do this is etcher (https://www.balena.io/etcher/). When you boot your laptop from this USB drive, it will start a flasher application, which will install balenaOS on the first available HDD on the system.

@afitzek
Thanks for your reply!

Yes, I was able to install balenaOS on my laptop.
By the way, it is always inactive on my dashboard like this:

image

But as you can see below, I can ssh into it:

image

Here is the output of my laptop:

IMG_20191024_161955

Any idea?

Hi,

Inactive status means your device is not connect to our VPN, here is the network requirements for a device to be able to work with Balena Cloud https://www.balena.io/docs/reference/OS/network/2.x/#network-requirements, can you please check if all requirements are met?

Also if possible, can you give us more details on how did you install balenaOS on your laptop?

@nghiant2710
I am using a normal router, so I don’t think my network setup doesn’t meet the requirement?

And the installation - I just downloaded the image file from my dashboard by clicking Add Device and flashed to a USB stick, and plugged it into my laptop and installed by selecting Flash menu on the boot screen.

Cheers.

If an device is not connected to our VPN then we won’t able to remote into it and investigate so in this case, can you please download a development image instead and login to check if all services (Balena supervisor, VPN…) are working or not?

There is another way to investigate the device if you have a working balena device in the same network since we can ssh into your device via the working one. So please let us know if you have it.

I had installed the development image(not production).
So how can I check if BalenaSupervisor and VPN are working correctly on it?

Like I said, I can ssh into my device from other PC.

To get the supervisor log, you can run journalctl --no-pager -u resin-supervisor and for the VPN is journalctl --no-pager -u openvpn

Please send us the output from these commands so we can help you with investing the issue

@nghiant2710
Here is the output: https://pastebin.com/eeUDuw1S

Cheers

Hi @scarlyon,

There are many connection time outs in the VPN logs you sent so probably something is wrong with the network on your end.
Can you please run these command and send us the output curl https://api.balena-cloud.com/ping and time curl -v https://vpn.balena-cloud.com?

Also if possible, can you get your external IP (curl ifconfig.co) so we can check in our side if it can reach our VPN?

That is actually my colleague’s PC.
Here is his output:

root@d1e5d5c:~# curl https://api.balena-cloud.com/ping
OKroot@d1e5d5c:~# time curl -v https://vpn.balena-cloud.com
*   Trying 18.232.192.190...
* TCP_NODELAY set
* Connected to vpn.balena-cloud.com (18.232.192.190) port 443 (#0)
* found 128 certificates in /etc/ssl/certs/ca-certificates.crt
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Closing connection 0
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.

real    0m0.832s
user    0m0.022s
sys     0m0.013s
root@d1e5d5c:~# curl ifconfig.co
182.200.120.177

Hey @scarlyon, can you please run these commands on the device with balenaOS? We want to have correct output from that one

Hey @scarlyon, I did some check and look like the external IP you sent is from China. I don’t think our product would function there. So can you check the network configuration and make sure VPN isn’t blocked.

@nghiant2710
Yeah, he is from China.
How can he configure his network to enable your VPN?

Cheers.

@nghiant2710
This morning he replied to me with his new result:


So it works with your VPN server now?

@nghiant2710
Any update?

Hi @scarlyon, if your device is still in China then I don’t think it will work as our VPN won’t be able to work with network there. If it’s no longer in China then please check the VPN logs to see what is the issue.