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.

Can't start Wifi HotSpot (Orange PI 3 LTS + Armbian 6.18.44 Minimal (CLI) Ubuntu 26.04)

Featured Replies

Good day.

I've try to start WiHi HotSpot with sh script:

#!/bin/bash
# start_WiFi.sh - Start WiFi hotspot on Armbian
# SSID: HS_Orange
# Password: 12345678

# --- Configuration Parameters ---
INTERFACE="wlan0"
SSID="HS_Orange"
PASSWORD="12345678"

# --- Check for root privileges ---
if [ "$EUID" -ne 0 ]; then
    echo "Error: Please run this script as root."
    exit 1
fi

# --- Check if nmcli is available ---
if ! command -v nmcli >/dev/null 2>&1; then
    echo "Error: nmcli not found. Please ensure NetworkManager is installed."
    exit 1
fi

# --- Remove existing hotspot with the same name (if any) ---
echo "Cleaning up any existing hotspot configuration..."
nmcli connection delete "$SSID" 2>/dev/null

# --- Create the hotspot connection ---
# We create the connection with autoconnect enabled so it returns after reboot
echo "Creating hotspot '$SSID'..."
nmcli connection add type wifi ifname "$INTERFACE" con-name "$SSID" autoconnect yes ssid "$SSID"

# --- Configure the connection as an Access Point ---
echo "Configuring hotspot parameters..."
# Set mode to AP, band to 2.4GHz, and enable DHCP server (shared)
nmcli connection modify "$SSID" 802-11-wireless.mode ap
nmcli connection modify "$SSID" 802-11-wireless.band bg
nmcli connection modify "$SSID" ipv4.method shared

# --- Set the WiFi password (WPA-PSK) ---
echo "Setting WiFi password..."
nmcli connection modify "$SSID" wifi-sec.key-mgmt wpa-psk
nmcli connection modify "$SSID" wifi-sec.psk "$PASSWORD"

# --- Start the hotspot ---
echo "Starting hotspot..."
nmcli connection up "$SSID"

# --- Check status ---
if nmcli connection show --active | grep -q "$SSID"; then
    echo "Hotspot '$SSID' started successfully."
    echo "Password: $PASSWORD"
    echo "Gateway IP: $(nmcli -g IP4.ADDRESS connection show "$SSID" | cut -d/ -f1)"
else
    echo "Error: Failed to start hotspot. Check logs with: journalctl -u NetworkManager"
    exit 1
fi

 

Which ended with error:

Setting WiFi password...
Starting hotspot...
Error: Connection activation failed: 802.1X supplicant took too long to authenticate
Hint: use 'journalctl -xe NM_CONNECTION=3e863319-1060-4bf8-bec3-1f1b3d38a921 + NM_DEVICE=wlan0' to get more details.
Error: Failed to start hotspot. Check logs with: journalctl -u NetworkManager

journalctl is:

Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4361] device (wlan0): Activation: starting connection 'HS_Orange' (2b59208d-2aaa-4c56-a637-f9173725ead4)
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4369] device (wlan0): state change: disconnected -> prepare (reason 'none', managed-type: 'full')
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4397] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4409] device (wlan0): Activation: (wifi) access point 'HS_Orange' has security, but secrets are required.
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4410] device (wlan0): state change: config -> need-auth (reason 'none', managed-type: 'full')
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4453] device (wlan0): state change: need-auth -> prepare (reason 'none', managed-type: 'full')
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4484] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
Oct 15 12:38:27 orangepi3-lts NetworkManager[605]: <info>  [1792067907.4495] device (wlan0): Activation: (wifi) connection 'HS_Orange' has security, and secrets exist.  No new secrets>
Oct 15 12:38:52 orangepi3-lts NetworkManager[605]: <warn>  [1792067932.8088] device (wlan0): Activation: (wifi) Hotspot network creation took too long, failing activation
Oct 15 12:38:52 orangepi3-lts NetworkManager[605]: <info>  [1792067932.8090] device (wlan0): state change: config -> failed (reason 'supplicant-timeout', managed-type: 'full')
Oct 15 12:38:52 orangepi3-lts NetworkManager[605]: <warn>  [1792067932.8133] device (wlan0): Activation: failed for connection 'HS_Orange'
Oct 15 12:38:52 orangepi3-lts NetworkManager[605]: <info>  [1792067932.8151] device (wlan0): state change: failed -> disconnected (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8556] device (wlan0): Activation: starting connection 'HS_Orange' (2b59208d-2aaa-4c56-a637-f9173725ead4)
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8564] device (wlan0): state change: disconnected -> prepare (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8626] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8647] device (wlan0): Activation: (wifi) access point 'HS_Orange' has security, but secrets are required.
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8649] device (wlan0): state change: config -> need-auth (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8732] device (wlan0): state change: need-auth -> prepare (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8787] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
Oct 15 12:39:00 orangepi3-lts NetworkManager[605]: <info>  [1792067940.8808] device (wlan0): Activation: (wifi) connection 'HS_Orange' has security, and secret

and ip link is:

control@orangepi3-lts:~/Scripts$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:07:f3:49:3a:e3 brd ff:ff:ff:ff:ff:ff
    altname enx0207f3493ae3
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DORMANT group default qlen 1000
    link/ether 90:86:36:28:65:52 brd ff:ff:ff:ff:ff:ff
    altname wlx908636286552
control@orangepi3-lts:~/Scripts$

Any advice much appreciated.

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.