Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Incorrect login Orangepi 5b

Featured Replies

Hello everyone, I am creating a custom Armbian build for OPI5 && OPI5b. The task is as follows: install several packages in the system and fully configure it. While there are no issues with installing packages and configuring the network, there is a peculiarity with the login and password. Specifically, sometimes after writing the image to the emmc opi5b or SD card, the system allows me to log in with my pre-configured credentials, but other times, when flashing the same image, the system simply rejects my pre-set data and displays the message “Login Incorrect.” 

How I set the initial settings for the system:

In /root there is a file called .not_logged_in_yet, from which data is pulled when you first log in to the system, thanks to which it is automatically configured (this method was tested on nanopi m6 and RPI 3b+) and everything worked fine, but for some reason, it is with orangepi 5 && orangepi 5b that I get such artifacts.

My .not_logged_in_yet looks like this:

 

# Network settings

PRESET_NET_CHANGE_DEFAULTS="1"

PRESET_NET_WIFI_ENABLED="1"

PRESET_NET_WIFI_SSID="MyWiFi"

PRESET_NET_WIFI_KEY="MyWiFiPassword"

PRESET_NET_WIFI_COUNTRYCODE=“RU”

PRESET_CONNECT_WIRELESS="n"

PRESET_NET_USE_STATIC="1"

PRESET_NET_STATIC_IP="192.168.1.100"

PRESET_NET_STATIC_MASK=“255.255.255.0”

PRESET_NET_STATIC_GATEWAY="192.168.1.1"

PRESET_NET_STATIC_DNS="8.8.8.8 8.8.4.4"

 

# System settings

SET_LANG_BASED_ON_LOCATION="n"

PRESET_LOCALE="ru_RU.UTF-8"

PRESET_TIMEZONE="Europe/Moscow"

 

# Root settings

PRESET_ROOT_PASSWORD="mysecretrootpass"

 

# User creation

PRESET_USER_NAME="user1"

PRESET_USER_PASSWORD="mypassword"

PRESET_DEFAULT_REALNAME="User One"

PRESET_USER_SHELL="bash"

 

For my Armbian image, I use the VENDOR 6.1 kernel - ubunu 22.04 jammy.


What could be the problem?

Edited by Картман

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.