Jump to content

Cannot connect via ssh protocol to orange pi 5b after installing sd card.


Go to solution Solved by Flops,

Recommended Posts

Posted

Suddenly after updating via armbian-config I lost ssh access and found the port closed. I rewrote the latest armbian version, stuck the sd card in, connected to ethernet cable via router and started up. The red and green lights were on as they should be and the internet cable was flashing green. Waited 3 minutes and checked the ports with nmap. And the port is closed again.
Not responding to ping at all. I am still new to this topic. Please help and sorry if the translator translates crookedly.

Screenshot_20231130_172722-1.png.9d27f66106109440941a9e99ab31e16c.pngScreenshot_20231130_173048-1.png.92d4db1f89aa9fc2635b1ecf10d5661c.png

Posted (edited)

In addition I want to say that when I tried to run armbian with usb ethernet started to light up and orange light. I am still waiting for the adapter to be delivered

 

Edited by Flops
Posted

I bought a uart and connected it according to the instructions in the video.
I used screen and set the speed to 1500000 but the terminal shows only garbage. Maybe I should set a different speed?

Posted
5 minutes ago, Flops said:

CP2102

Good enough for allwinner but too slow for AML or RK.  Get a proper one. 1500000 is the correct speed. If the chip cannot handle it you obviously get an error or garbage.

Posted (edited)

ok. I forgot to look. All right, I'll buy a proper adapter. Can you recommend an adapter or tell me where to look?

 

Edited by Flops
Posted

aliexpress, amazon, ebay,.... all of those should have some proper ones. For recommended chips please refer to the video mentioned above.

Posted (edited)

I bought a uart and connected it as indicated in the video. The text is already readable, but sometimes it underwrites and moves away. What should I do next?

Modified: it does not output correctly what I enter. Is there any way to improve it?

Edited by Flops
Posted

Saw this in the logs:
INFOx4000001 != 0xfead0003
ERROR: INFO: BL31: Initializing Excervices
WARNING: No OPTEE providon. SMC`s destined for OPTEE wil (eMMC)
Maybe it means something?

Posted

It can work via uart, sshd works and yet it does not respond to a ping or ssh connection. At the same time it can connect to the internet and download packets by itself.

Posted

I tried rebooting the router. Nothing changed in the end. The router does not respond to ping, but the board works properly via uart. Please help

 

Posted

So when UART works you can use armbianmonitor -U to print debug output to serial and then use a pastebin service of your choice to share the whole output.

Posted
 1468  ### ip addr:
  1469
p default qlen 1000
  1471      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  1472      inet XXX.XXX.0.1/8 scope host lo
  1473         valid_lft forever preferred_lft forever
  1474      inet6 ::1/128 scope host noprefixroute
  1475         valid_lft forever preferred_lft forever
ult qlen 1000
  1477      link/ether 6e:48:1c:02:bd:e7 brd ff:ff:ff:ff:ff:ff
  1478


Either the logs are incomplete or the ethernet ports don't show up at all. Odd...

Posted (edited)

When I connected to cable and uart it was able to update and download packages. I will try to copy the log again today. And I'll also check ifconfig

Edited by Flops
Posted (edited)

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: end1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 2a:77:33:98:ba:5a brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.108/24 brd 192.168.0.255 scope global dynamic noprefixroute end1
       valid_lft 7145sec preferred_lft 7145sec
    inet6 fe80::8a87:d850:159c:a59e/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

 

This is what the ip a gave me when I plugged in the cable.

Edited by Flops

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines