BananaPi M1-M1P-R1 New Image : android and ubuntu sever Release 2018-07-28

(Igor) #21

I think this could be related to some generic Ubuntu problem.

(Alvin) #22

Thanks for the reply. I mounted the sd with the image to my main machine and followed the steps but since I could only change files I modified the rc.local to load the new service ( systemctl enable create-ssh-dir.service ) but still my ssh attempts are failing. I created the file with sudo nano create-ssh-dir.service and then copy pasted the below code and gave right permissions. What could go wrong here in that case ? Anyway I am still in search on how can I actually take control over the debug console.

[Unit] Description=Creates sshd directory Before=ssh.service

[Service] Type = oneshot ExecStart=mkdir -p /var/run/sshd



So i found a spare usb cable and cut it to make the connection. It has 4 inner wires, red, blue, white and yellow. Chances someone can responsibly provide with some info which wire should I connect to which pin on the board ?

This image isn’t very helpful as it has different colors than mine and can’t understand the exact pins I should connect.

Thank you

(Igor) #23

(ZB) #24

hello, if you use ssh, please try “username: root, password: bananapi” :slightly_smiling_face:

if you use M1, pins definition you could see this:


you could find it here:

(Alvin) #25

That’s the combination I am giving but cannot connect. I will try with the usb cable but do I have to plug the dc input as well or it’s just fine wiring only the 3 wires ? And finally, from my usb cable that has blue, red, white and yellow wire which one should be connected to which pin ?

(Igor) #26

You need something like this

(Alvin) #27

Oh my, excuse me for my ignorance. I though it was a common usb cable. I will purchase one of these but until it arrives any other way i can access debug console? As my ssh attempts keep failing and the link you provided could solve my case. Thank you.

(Igor) #28

How they are failing? At least on Armbian, board gets IP via DHCP and then you login with root / 1234 More details:

(Alvin) #29

That’s what I get from nmap

Nmap scan report for
Host is up (0.00017s latency).
Not shown: 998 closed ports
22/tcp   open  ssh
3389/tcp open  ms-wbt-server

And here you can see my ssh attempts giving “bananapi” as a password (also tried “1234”, “root”, “banana” “toor”)

So what am I missing?

(Igor) #30

This is not Armbian, so I can’t tell.

(Alvin) #31

It’s Ubuntu 16.04 Desktop image for banana pi-m1


So, i finally managed to get access over ssh. I did some tricks over /etc/ssh/ssh_config and manually added my private key to the banana machine so it won’t ask the password again. But I am not sure what happened with the next commands I gave through ssh as root user:

root@bananapi ~ # apt-get install pv
root@bananapi ~ # curl -sL | sudo -E bash
root@bananapi ~ # bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m1/u-boot-2018.01-bpi-m1-legacy-8k.img.gz

And that’s the output I got while I am pretty sure something failed over the execution.

Now I can’t even see the kernel loading and nothing is displayed via hdmi. I know I have tired you with my problem these days :confused:

(Pavel Korotvička) #32

Good day, tell me someone managed to place a" boot “partition on the microSD memory, and” / " on the hard drive via the SATA interface (SSD) ? (Ubuntu server16.04 HDMI version)