Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu
Which version of system do you use? Khadas official images, self built images, or others?
Both Official and Self built Ubuntu image
Please describe your issue below:
After having burnt the image on the sd-card I insert the sd-card into the VIM1 and powered it ON. The VIM1 is connected on my LAN and I can correctly see its IP address but every time I try to connect to it I got “connection refused”. The LED on the VIM1 is slow heartbeat white
How do I connect via SSH if I’ve no mouse/keyboard/display?
TTL to USB converter adapter on the linux debug port. Connect to that using GTKTerm.
Then while connected to the target board
$ip route
After getting your ip address of the target go to and open a terminal on the host.
Replace the ip with what you have, hostname leave off the <> it does need the " and make sure that you have >> not >.
Make sure that ssh is on in the target as stated in the post by @ivan.li
$sudo systemctl status ssh
Now you can ssh into it from your host
$ssh <hostname>
All of this assumes you are using Debian or Ubuntu desktop for the host.
If you only have a windows box let us know and we will help you set up virtual box with a Ubuntu host VM.
Hi, friend.Does this mean running SD card firmware after booting (The SD card has the highest priority, so it runs the firmware on the SD card after a reboot)
$ sudo ufw disable //Disabling the Firewall
$ sudo ufw status //Checking Firewall Status
I mean, I would like to connect via SSH to my board after having loaded Ubuntu from the SD card but without a mouse/keyboard/monitor.
The step I’ve followed are:
burnt the Ubuntu image on the SD card
attached the SD card to the board
connected the board via ethernet to my LAN on my router
turned on the board (LED heartbeat white)
Now, I can’t connect via SSH because I’m recieving the connection refused message so, I can’t launch command on the terminal as I CANNOT connect to the board
How I connect with SSH without additional hardware and just with the board connected to power and LAN?
After that finishes you can do a subnet wide ping to find the vim3.
Vim3 factory image with 4.9 kernel the firewall is off by default so you can ping it.
Connect your vim3 to a network switch / your internet modem.
On your host
This assumes you are on subnet 0, if not change it to what you found in ip route.
$nmap 192.168.0.1/24 -sn
It will take a couple of minutes for the scan to complete
Now you have the ip of the vim
On the host connect to the target board with the ip address you discovered using nmap
Might try to install the older 4.9 kernel to verify the connection is working.
Default UFW is off, and on the later kernels it does not work so we had to reconfigure the kernel to get it to work. Pretty sure its not blocking the connection
Some times the SD cards act flaky. Does the board have a heartbeat LED working?
Also, when you nmap did it return hostname along with IP?
Double check that you have the correct device.
You might have to find an hdmi monitor, without using the debug port or monitor it is making finding a solution difficult.
Since it did come back with an IP it must be running or username is not khadas
I recall when we first got the Vim1 that it did not want to let android go. Now with a monitor connected put krescue on a SD and load the image with that. It will write directly to emmc and wipe out android. Krescue is worth keeping on a spare SD card.
On first startup VIM1 runs Android directly from its EMMC. Even if you correctly burn an Linux Ubuntu/Debian image, the one that Khadas provide, VIM1 with Android doesn’t boot the USB but directly boot from EMMC
I was able to wipe the EMMC and install Ubuntu on it as explained here