Jump to content

enable ssh on first boot, before initial config


ickam

Recommended Posts

Hi,

So I found out the hard way that neither jammy nor bullseye builds for odroid c2 actually allow ssh at first boot

My board is headless, but has a wired connection to my lan and always gets assigned the same address. Which file or files do I need to edit to ssh into it without having to do initial setup first, please?

Link to comment
Share on other sites

It has always been my understanding that ssh is enabled 'out of the box' in Armbian.  So something must have slipped through the cracks here.  I see this post is currently in 'community/unmaintained' section, but as of this writing I am showing Odroid C2 as a Supported device, with a maintainer.

 

Perhaps @teknoid can shed some light?

 

If they do not reply, and/or you find a solution on your own, please submit a patch to the build framework to fix it for everyone else with this board.  It's probably a minor configuration issue.

Link to comment
Share on other sites

@ickam, I just tested

Armbian_23.05.0-trunk_Odroidc2_bullseye_current_6.1.29_minimal.img

and could not reproduce your problem. After boot please wait 2-3 mins and carefully check your DHCP Server Log. For me it works as expected:

 

May 23 11:04:36 tron dnsmasq-dhcp[2938540]: DHCPDISCOVER(enp6s0f0) 00:1e:06:33:b5:0a 
May 23 11:04:36 tron dnsmasq-dhcp[2938540]: DHCPOFFER(enp6s0f0) 192.168.25.16 00:1e:06:33:b5:0a 
May 23 11:04:36 tron dnsmasq-dhcp[2938540]: DHCPREQUEST(enp6s0f0) 192.168.25.16 00:1e:06:33:b5:0a 
May 23 11:04:36 tron dnsmasq-dhcp[2938540]: abandoning lease to 00:1e:06:33:b5:0a of 192.168.25.16
May 23 11:04:36 tron dnsmasq-dhcp[2938540]: DHCPACK(enp6s0f0) 192.168.25.16 00:1e:06:33:b5:0a c2


Welcome to ARMBIAN! 

Documentation: https://docs.armbian.com | Community: https://forum.armbian.com

IP address: 192.168.25.16

Create root password: *********
Repeat root password: *********

Shell: BASH

Creating a new user account. Press <Ctrl-C> to abort

 

Link to comment
Share on other sites

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