ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
juri_ has joined #armbian
<juri_> do we have a place for earlier archives? i'm looking for a pinebook pro image before 20210820.
<juri_> i know i've been gone for a while, but.. i'm having some medical difficulty, which has left me restricted to bedrest for the greater portion of the last six months. i'm trying to track down when a kernel bug was introduced, but.. we may not have old enough images / repositories.
Mangix has quit [Ping timeout: 268 seconds]
Mangix has joined #armbian
<stipa> February 2021 the oldest one for pinebook
<stipa> pro
<juri_> thank you. :)
<stipa> yw
<DC-IRC> <Tenkawa> juri: what kernel bug?
<DC-IRC> <Tenkawa> I am running the PBP on 6.2 right now
<juri_> are you using the external display?
<juri_> i find that the DP-1 interface does not show up on 6.1.11, or 5.15.x.
<juri_> it does show up on 5.10.48.
<juri_> (on all of them, the XHCI controller is blowing up. wth)
<yang2> juri_: did you check the Archive section at https://github.com/armbian/mirror
<juri_> yang2: i'll dig deeper if i can't get this working on the 5.10.48 i happened to have lying around, thanks.
<yang2> oh stipa was faster
<juri_> indeed. :)
<juri_> still, sorry i've been out of circulation.
<juri_> biology sucks.
<DC-IRC> <Tenkawa> juri: interesting... it "showsd up".. but I don't use external displays with mine so I don't know if it actually functions
<DC-IRC> <Tenkawa> juri: interesting... it "shows up".. but I don't use external displays with mine so I don't know if it actually functions
<DC-IRC> <Tenkawa> but the interface is there
<juri_> Tenkawa: I had this functioning with a known cable / display combo, on a known date. no longer.
<DC-IRC> <Tenkawa> I have a very custom build though
<DC-IRC> <Tenkawa> (Not Armbian not default kernel)
<DC-IRC> <Tenkawa> er nor
<DC-IRC> <Tenkawa> bummer
<juri_> now, it looks like the earlier kernel is trying to work, but xhci-hcd claims the hardware is locking up, then it dies.
<juri_> .. which is happening on old kernel, and new kernel. ugh.
<DC-IRC> <Tenkawa> could be the cable
<DC-IRC> <Tenkawa> if you haven't used it in a while
<juri_> hmm. ok, no usb-c <-> usb-c is working, but i do have an external dock working.
<juri_> but can confirm: only the old kernel works. something is unhappy with the new ones.
califax has quit [Remote host closed the connection]
califax has joined #armbian
lyri has quit [Remote host closed the connection]
lyri has joined #armbian
lyri has quit [Ping timeout: 276 seconds]
lyri has joined #armbian
LanDi has joined #armbian
LanDi has quit [Quit: LanDi]
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
lyri has quit [Remote host closed the connection]
Suspect has quit [Ping timeout: 246 seconds]
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #armbian
Suspect has joined #armbian
Suspect has quit [Remote host closed the connection]
Suspect has joined #armbian
Suspect has quit [Quit: Leaving]
danilogondolfo has joined #armbian
aasami_ has quit [Quit: Lost terminal]
<DC-IRC> <kerim> hello! is it possible to list the available networks at boot and connect to one of them in some way?
zeemate has joined #armbian
<DC-IRC> <IgorPec> you can develop such application, yes
<DC-IRC> <kerim> Actually, I tried to run the armbian-config command at boot using a script and a service, but the command didn't work as a service.
<DC-IRC> <kerim> Actually, I tried to run the armbian-config command at boot while there is no internet connection using a script and a service, but the command didn't work as a service.
<DC-IRC> <IgorPec> no, armbian-config is interactive tool. we are trying to rewrite it for almost 2 years now
<DC-IRC> <IgorPec> so you will need to code something on your own
<DC-IRC> <kerim> okay got it, thanks
<IgorPec> otherwise just opening a tool nmtui-connect
<IgorPec> might do
kolla has quit [Quit: %fog relay%]
kolla has joined #armbian
archetech has quit [Quit: Leaving]
archetech has joined #armbian
<DC-IRC> <kerim> didn't work it's opening armbian-conifg's screen again, thanks i'm going with nmcli
<DC-IRC> <kerim> didn't work 'cause it uses the same screen, thanks i'm going with nmcli
<DC-IRC> <Tenkawa> @kerim try sudo nmcli dev wifi to get the list of SSIDs then you can wrap that in to connect
<DC-IRC> <Tenkawa> without sudo it won't show them all
<DC-IRC> <Tenkawa> Is that what you are semi-looking for?
<DC-IRC> <kerim> i've used this script but now trying to run it as a service and on boot automatically
<DC-IRC> <kerim> `#!/bin/bash
<DC-IRC> <kerim> check_connection() {
<DC-IRC> <kerim> local count=0
<DC-IRC> <kerim> while [ $count -lt 3 ]; do
<DC-IRC> <kerim> if ping -q -c 1 -W 1 google.com >/dev/null; then
<DC-IRC> <kerim> return 0
<DC-IRC> <kerim> fi
<DC-IRC> <kerim> count=$((count+1))
<DC-IRC> <kerim> sleep 5
<DC-IRC> <kerim> done
<DC-IRC> <kerim> return 1
<DC-IRC> <kerim> }
<DC-IRC> <kerim> connect_network() {
<DC-IRC> <kerim> local networks=( $(nmcli device wifi list | awk '{print $2}') )
<DC-IRC> <kerim> if [ ${#networks[@]} -eq 0 ]; then
<DC-IRC> <kerim> echo "No available networks found. Exiting."
<DC-IRC> <kerim> exit 1
<DC-IRC> <kerim> fi
<DC-IRC> <kerim> echo "Available networks:"
<DC-IRC> <kerim> for (( i=0; i<${#networks[@]}; i++ )); do
<DC-IRC> <kerim> echo "$((i+1)). ${networks[$i]}"
<DC-IRC> <kerim> done
<DC-IRC> <kerim> read -p "Enter the number of the network to connect to: " selected_network_num
<DC-IRC> <kerim> if [[ ! "$selected_network_num" =~ ^[0-9]+$ ]] || (( selected_network_num < 1 )) || (( selected_network_num > ${#networks[@]} )); then
<DC-IRC> <kerim> echo "Invalid network number. Exiting."
<DC-IRC> <kerim> exit 1
<DC-IRC> <kerim> fi
<DC-IRC> <kerim> read -s -p "Enter the password for ${networks[$((selected_network_num-1))]}: " password
<DC-IRC> <kerim> echo
<DC-IRC> <kerim> nmcli device wifi connect ${networks[$((selected_network_num-1))]} password $password
<DC-IRC> <kerim> i've used this script but now trying to run it as a service and on boot..
<DC-IRC> <kerim> `#!/bin/bash
<DC-IRC> <kerim> check_connection() {
<DC-IRC> <kerim> local count=0
<DC-IRC> <kerim> while [ $count -lt 3 ]; do
<DC-IRC> <kerim> if ping -q -c 1 -W 1 google.com >/dev/null; then
<DC-IRC> <kerim> return 0
<DC-IRC> <kerim> fi
<DC-IRC> <kerim> count=$((count+1))
<DC-IRC> <kerim> sleep 5
<DC-IRC> <kerim> done
<DC-IRC> <kerim> return 1
<DC-IRC> <kerim> }
<DC-IRC> <kerim> connect_network() {
<DC-IRC> <kerim> local networks=( $(nmcli device wifi list | awk '{print $2}') )
<DC-IRC> <kerim> if [ ${#networks[@]} -eq 0 ]; then
<DC-IRC> <kerim> echo "No available networks found. Exiting."
<DC-IRC> <kerim> exit 1
<DC-IRC> <kerim> fi
<DC-IRC> <kerim> echo "Available networks:"
<DC-IRC> <kerim> for (( i=0; i<${#networks[@]}; i++ )); do
<DC-IRC> <kerim> echo "$((i+1)). ${networks[$i]}"
<DC-IRC> <kerim> i've used this script but now trying to run it as a service and on boot..
<DC-IRC> <kerim> > `#!/bin/bash
<DC-IRC> <kerim> >
<DC-IRC> <kerim> > check_connection() {
<DC-IRC> <kerim> > local count=0
<DC-IRC> <kerim> > while [ $count -lt 3 ]; do
<DC-IRC> <kerim> > if ping -q -c 1 -W 1 google.com >/dev/null; then
<DC-IRC> <kerim> > return 0
<DC-IRC> <kerim> > fi
<DC-IRC> <kerim> > count=$((count+1))
<DC-IRC> <kerim> > sleep 5
<DC-IRC> <kerim> > done
<DC-IRC> <kerim> > return 1
<DC-IRC> <kerim> > }
<DC-IRC> <kerim> >
<DC-IRC> <kerim> > connect_network() {
<DC-IRC> <kerim> > local networks=( $(nmcli device wifi list | awk '{print $2}') )
<DC-IRC> <kerim> > if [ ${#networks[@]} -eq 0 ]; then
<DC-IRC> <kerim> > echo "No available networks found. Exiting."
<DC-IRC> <kerim> > exit 1
<DC-IRC> <kerim> > fi
<DC-IRC> <kerim> >
<DC-IRC> <kerim> > echo "Available networks:"
<DC-IRC> <Tenkawa> Ok loos like you are using the same base call.
<DC-IRC> <Tenkawa> Ok looks like you are using the same base call.
<Herc> if it doesnt work using systemd there still is /etc/rc.local
<Herc> even if they say it is deprecated
<DC-IRC> <Tenkawa> Technically.... isn't NM Gnome.. not systemd?
<DC-IRC> <Tenkawa> I don't think nm has any systemd requirements
<DC-IRC> <Tenkawa> well I guess it does need libsystemd0 but what in Debian anymore doesn't lol
archetech has quit [Quit: Konversation terminated!]
<juri_> ok, have reproduced on a second pinebook pro.
lemonzest has quit [Quit: WeeChat 3.6]
<DC-IRC> <Tenkawa> If I hook up my PBP and build a new kernel is there anything I can test without an external display that isn't working for you currently?
<DC-IRC> <Tenkawa> I'll attempt to see if I can track down where in the kernel its acting up
<DC-IRC> <Jason123> Network manager does not require systemd it runs fine on void linux
<DC-IRC> <Tenkawa> Yeah I thought it was able to run without it
<DC-IRC> <Tenkawa> Debian just has libsystemd because "everything" in there they like to link against it
<DC-IRC> <kerim> i've tried without systemd using /etc/rc.local file but the script didn't started
<DC-IRC> <kerim> and the same using systemd too .. i'm looking for something else can execute it as i run `/path/to/script` as ..
alekksander has joined #armbian
<Herc> I didnt analize the script, but in rc.local you need full/absolute paths
<DC-IRC> <c0rnelius> That script looks interactive. You trying to run it every the system boots or just once?
<DC-IRC> <c0rnelius> That script looks interactive. You trying to run it everytime the system boots or just once?
<DC-IRC> <Tenkawa> thats interactive
<DC-IRC> <Tenkawa> read -s -p "Enter the password for ${networks[$((selected_network_num-1))]}: " password
<DC-IRC> <c0rnelius> could try a service like this: https://paste.debian.net/1273989/
<DC-IRC> <c0rnelius> might need adjustment
<DC-IRC> <c0rnelius> the script after doing its thing would need to disable the service and exit. unless u want it happening during every boot.
<DC-IRC> <kerim> yup i want to run it every time the system boots cause when there's no internet connection it should start
<DC-IRC> <kerim> yup i want to run it every time the system boots when there's no internet connection it should start
lord_daemon has quit [Read error: Connection reset by peer]
lord_daemon has joined #armbian
lemonzest has joined #armbian
rtyler has quit [Ping timeout: 276 seconds]
<DC-IRC> <kerim> this service worked with the script thank you! 🙂
<DC-IRC> <kerim> but yup yes it is.
<DC-IRC> <c0rnelius> ur welcome
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 260 seconds]
arch3r- is now known as arch3r
LanDi has joined #armbian
LanDi has quit [Client Quit]
zeemate has quit [Ping timeout: 260 seconds]
zeemate_ has joined #armbian
danilogondolfo has quit [Quit: Leaving]
The_Loko has joined #armbian
junaid_ has joined #armbian
ced117 has joined #armbian
<juri_> tenkawa: on newer kernels, even with the power only hooked to the usb-c port, you won't see a "DP-1" in the output of xrandr.
<DC-IRC> <Tenkawa> hmmm.. power... interesting word
<DC-IRC> <Tenkawa> what do you use for a power source?
<juri_> USB-c. i've got both USB-PD supplies, and non-PD supplies.
<DC-IRC> <Tenkawa> What current?
<juri_> it used to work with non-PD plugged into the monitor, and the monitor plugged into the laptop.
<juri_> *shrugs*. i can find out. give me a few minutes.
<DC-IRC> <Tenkawa> np no rush
<DC-IRC> <Tenkawa> One problem with newer kernels/etc they seem to need more power draw
<DC-IRC> <Tenkawa> I trim my config down a lot.... that hels
<DC-IRC> <Tenkawa> I trim my config down a lot.... that helps
<juri_> i'll have a power meter tomorrow.
<juri_> oh, nevermind, i have it today. wheee!
<DC-IRC> <Tenkawa> it should be written on the supplt
<DC-IRC> <Tenkawa> it should be written on the supply
<DC-IRC> <Tenkawa> there should be volts and mah rating on it
<juri_> 5@3, 9@2, and 12@1.5.
<DC-IRC> <Tenkawa> Yeah that "should" be plenty as long as you are hooking up just the Monitor, kb and mousefor testing.... anymore and its going to be straining it
<DC-IRC> <Tenkawa> Thats a bit small for anything more with a PBP w NVMe in it
<DC-IRC> <Tenkawa> I run 4 A
<DC-IRC> <Tenkawa> @ 5V
<juri_> so, the monitor is powered separately.
<juri_> and, according to my power meter, i'm currently powering the pinebook with 5.3 @ 0.16A.
<DC-IRC> <Tenkawa> Are you using USB-C or HDMI to output video?
<juri_> usb-c to an hdmi caapable dock, right this second. the dock is powered via the 5.3/0.16, and the monitor is attached with an hdmi cable.
<juri_> (i could swear this used to work with just usb, but.. i'll take victory when i have it)
<juri_> if i upgrade to a newer kernel (current, or edge), i lose the DP-1 interface.
<DC-IRC> <Tenkawa> It sounds like the kernel "config" neefs updated.. thats all
<DC-IRC> <Tenkawa> It sounds like the kernel "config" needs updated.. thats all and rebuilt
<DC-IRC> <Tenkawa> It sounds like its just missing DP support
<juri_> *nods*. sorry i can't be arsed to do maintainery stuff... i'm dealing with a lot right now.
<juri_> (hip surgery gone wrong.)
<juri_> so these pinebooks are kindof the only thing i've got to access.. the world since about 7 weeks bac.
<DC-IRC> <Tenkawa> I sent you a msg of another channel to join
agl has joined #armbian
<nekomancer[m]> /me found KERNEL_CONFIGURE=yes KERNEL_MENUCONFIG=nconfig
lemonzest has quit [Quit: WeeChat 3.6]
alekksander has quit [Ping timeout: 255 seconds]
jclsn has quit [Quit: WeeChat 3.8]
jclsn has joined #armbian
<Sabotender> did the Orange Pi Zero 2 hardware vanish from the list?
<Sabotender> oh, danke. My browser is shuffling the hardware and I didn't see it. in the list
<Sabotender> I finally have time to get this thing set up
<DC-IRC> <Tenkawa> heheh np
junaid_ has quit [Remote host closed the connection]
crabbedhaloablut has quit []
crabbedhaloablut has joined #armbian
crabbedhaloablut has quit [Client Quit]
crabbedhaloablut has joined #armbian
crabbedhaloablut has quit []
Suspect has joined #armbian
crabbedhaloablut has joined #armbian
Suspect has quit [Remote host closed the connection]
<Sabotender> hmm beginning to get a bit nervous because I flashed my micro-sd card with an armbian image for my orange pi zero 2 and it did not boot.... hope this isn't a DOA device
The_Loko has quit [Quit: Leaving]
<Sabotender> I am going to try something different the jammy version
lyri has joined #armbian
stipa has quit [Read error: Connection reset by peer]
stipa has joined #armbian
<DC-IRC> <Kanken> orange pi zero 2 with armbian jammy 6.2.2 completely broke down after the latest update
<DC-IRC> <Kanken> i don't have time to sort it out tonight but if you have the same board as me running the same os, backup before you update anything X')
archetech has joined #armbian
<Sabotender> so theres hope that my orange pi works? I'll try to find a different image. the ones from the orangepi.org site the downloads have exceeded or whatever rubbish
<Sabotender> I tried bullseye and jammy with no success
<Sabotender> I just want something, anything to make this thing boot to at least confirm it works
<Sabotender> its operational leds don't work unless the OS supports that functionality
<Sabotender> i'm sure I'll find something.
<DC-IRC> <Jason123> Sabotender flash the sd card with armbian minimal cli image then plug it into ethernet and the device should come up on your internet then you can ssh into it
<Sabotender> needs to be wireless
<Sabotender> i'm prob going to just install pihole on one of my spare laptops, and sending this orangepi back
<archetech> has to be wireless? have you tech skills?
<DC-IRC> <Jason123> Sabotender connect it to ethernet to test it out and see if it works then if its does then you can setup wireless
<Sabotender> I don't have ethernet abailable. ever.
<Sabotender> this is why I asked if the armbian image had wireless functionality built in
<Sabotender> dealing the same issue with my odroid. again.
<Sabotender> I will never, ever ever have access to ethernet.
<archetech> thats nuts
<archetech> all it takes is a wless router w/ lan ports which most have