<Xogium>
the ls -s is redundant if you use systemctl enable
<Xogium>
systemctl enable just creates a symbolic link
<Xogium>
er ln -s sorry
<peterm6881>
yeah thats why i put "may exist"
<Xogium>
I'd try that
<peterm6881>
I didnat wanna leave it out in case i ever came across a situation where it was needed, but very well spotted
<Xogium>
its definitely not needed
<peterm6881>
i can just ditch that step altogether, to be clear?
<Xogium>
yes
<peterm6881>
nice
<peterm6881>
thank you
<Xogium>
if you use ln -s you don't use systemctl enable, if you use systemctl enable you don't use ln -s
<Xogium>
tty1 might already be started, so you might need to reboot to see any change
<Xogium>
those ttys are always running
<Xogium>
at least I think
<peterm6881>
this will be so cool if it works
<Xogium>
btw you can download the new rootfs with thet otg mode at the same link I sent you yesterday
<Xogium>
er the otg mode
<peterm6881>
outstanding. Ok let me test that first
<peterm6881>
downloading
<peterm6881>
50%
<peterm6881>
booting
<peterm6881>
Jookia was right
<peterm6881>
its not connected
<peterm6881>
no change
<peterm6881>
wow
<peterm6881>
thats literally amazing
<Xogium>
sorry internet exploded
<peterm6881>
this is the shittest board ever to briefly see the light of day. The really sad part is a buncjh of people will buy it before they discover the truth
<Xogium>
I didn't think it would change anything, given that host mode didn't work
<peterm6881>
why do you think Mangobuge said he tested it an it works, just a lie?
<Xogium>
dunno at this point, I really don't know a damn thing anymore
<Xogium>
ok so I know exactly what kind of wifi sdio they offer
<Xogium>
the exact same one that was with my lichee nano and didn't work in linux
<peterm6881>
SDIO wifi modules are practically non existent, looks like that type of device never took off
<Xogium>
actually they are
<peterm6881>
these boards are a comedy of fucking errors
<Xogium>
except that generally… they are soldered in
<peterm6881>
i meant the micro SD versions
<peterm6881>
but point taken
<Xogium>
the wifi on opi 0 is using sdio, the wifi on raspberry pi uses sdio, so does the one on odyssey and the one on st32mp1 dev kit from st
<Xogium>
ah yes
<peterm6881>
ok ok lol
<Xogium>
but… yeah the micro sd version kind of sucks
<Xogium>
closed the issue with a comment to show what solved it btw
<peterm6881>
I think hobbyists made it for fun, to prove they could
<peterm6881>
thanks Xogium
<peterm6881>
=> usb start
<peterm6881>
No working controllers found
<peterm6881>
=>
<peterm6881>
starting USB...
<peterm6881>
was just curious
<peterm6881>
alright, switching to Orange Pi Zero, fucking way better board, AGAIN
<Xogium>
yes that usb start like I mentioned in the issue
<Xogium>
John's theory at this point is that the cable used to power the board might be dropping the voltage too much accross so otg doesn't get enough to power devices
<peterm6881>
its dropping from 4.96 on the NEC to 4.85, plus these Signalex cables are offically rated at 1.5 Amps. But he's right that historically, lack of power has been, frankly, a fucking nightmare because its unpredictable
<Xogium>
right…
<Xogium>
still can be if you do weird things
<Xogium>
like power a rpi and try to attach 2 external drives to it lol
<Xogium>
drives are going to constantly disconnect from the rpi
<peterm6881>
im creating a new OPi0 internet radio image
<peterm6881>
do you think we could integrate the knowledge you got on WPS?
<peterm6881>
gotta say, Armbian's initial setup gets better all the time, it promps you now to connect to wifi if theres no ethernet
<peterm6881>
by the way, you still have a working OPi0 right?
<Xogium>
mmh possibly ?
<peterm6881>
you chukced the fired on I presume
<peterm6881>
chucked
<peterm6881>
i have a question, if i wanna create a playlist.txt file, do i just sudo nano playlist, or should i specify sudo nano playlist.txt
<Xogium>
what do you mean ?
<peterm6881>
fried * grrr
<Xogium>
oh no, I kept it, just for the hell of it
<peterm6881>
if i wanna create a plain text file, do I have to append the filename with .txt
<Xogium>
in linux extensions are never needed
<peterm6881>
or is that superfluous
<Xogium>
it just makes it clearer what file it is
<peterm6881>
understood
<sc6502>
Hey all
<Xogium>
hey Steve !
<Xogium>
enjoying your sunday ?
<sc6502>
Finally got python2 off my system again, and it still builds with the patch (checking one more time)
<Xogium>
niceness
<sc6502>
Do you all want to be on the bcc list for this commit ?
<Xogium>
oh nah, not me. Peter might want to, though
<peterm6881>
get this, in Lubuntu its MPlayer 1.3.0 (Debian), built with gcc-9 (C) 2000-2016 MPlayer Team
<peterm6881>
such bullshit
<peterm6881>
well thats that then
<peterm6881>
thats not really fair, that even if I got autologon working on tty1, mplayer refuses to play a playlist, and mpv only plays for 10 minutes
<peterm6881>
yeah, thats fucking harsh
<peterm6881>
wait, im an idiot
<peterm6881>
spot the deliberate stupidity
<sc6502>
PICNIC
<peterm6881>
are we invited?
<peterm6881>
or is that an acronym for me being a plank
<sc6502>
No, a PICNIC problem is Problem In Chair Not In Computer
<Xogium>
I get a feeling that if I were to be mentioned anywhere then they would immediately pounce on me and bother me with submitting under my real name
<Xogium>
yeah, pretty much
<peterm6881>
we can drop the subject
<Xogium>
I just hope Steve won't have any issue with how toxic the community is
<peterm6881>
I know exactly what you're saying. Its sad, but as present thats how it is. A curated database is the solution, but like somebody said, the community would oppose any kind of centralisation
<peterm6881>
A register of real names and nicks. It would double the community overnight
<peterm6881>
but whos gonna run it, nobody because its against the ethos of open source
<peterm6881>
way too much power in one hands
<peterm6881>
Maybe Andrew Lee would run it....
<peterm6881>
yeah he'd fucking love that
<peterm6881>
;)
<peterm6881>
Xogium, can I ask you something
<Xogium>
sure
<peterm6881>
if i wanted to create a user with useradd, should i include any options?
<peterm6881>
its for the autologon account, purely to play the playlist
<Xogium>
hmm
<Xogium>
I don't believe so
<peterm6881>
i guess they dont even need a password, certainly it doesnt force you to set one
<Xogium>
well, no password with an autologin user could be exploited easily
<peterm6881>
ha, although having said that, guess what? I cant login lol
<Xogium>
aye, ssh doesn't let you log in without a password
<peterm6881>
you would think it would be smart enough to force me to set one
<Xogium>
no, you don't always need a password
<peterm6881>
well, im connected via gadget serial, so thats a serial connection, not ssh
<Xogium>
when you create an user that you shouldn't log in as, for instance
<Xogium>
then if there's no password, you shouldn't be prompted for one
<peterm6881>
Password:
<peterm6881>
orangepizero login:
<peterm6881>
Login incorrect
<peterm6881>
orangepizero login: user
<peterm6881>
guess i need to set one
<Xogium>
weird
<peterm6881>
yeah, a little
<peterm6881>
i just pressed enter at Password, but why even prompt me for it
<Xogium>
I'm not sure
<peterm6881>
meh, every day is a school day
<peterm6881>
maybe its some Armbian weirdness
<peterm6881>
Welcome to Armbian 22.02.1 with Linux 5.15.25-sunxi
<peterm6881>
set a passwd, all good
<peterm6881>
looks like a suer account is gonna be way too much trouble, I cant even create a playlist without fucking weirdness
<peterm6881>
user
<peterm6881>
[ Problems with history file ]
<peterm6881>
Unable to create directory //.local/share/nano/: No such file or directory
<peterm6881>
It is required for saving/loading search history or cursor positions.
<Xogium>
well there's litterally no difference between a simple user account and an admin account, other than the admin has sudo
<peterm6881>
so, fuck that
<peterm6881>
yeah
<peterm6881>
Perhaps, Armbian, not great on this
<peterm6881>
how do i give user sudo?
<peterm6881>
i just wanna keep admin separate from the autologon account ffs
<Xogium>
well…
<peterm6881>
let me try rebooting, hang on
<Xogium>
if you give that user sudo then its a huge risk given that it autolgin
<peterm6881>
na its fucked
<peterm6881>
what do you make of this
<peterm6881>
when i log in as user i get No directory, logging in with HOME=/
<Xogium>
what did you pass to adduser ?
<Xogium>
or useradd
<peterm6881>
nothing, no options
<Xogium>
hmm
<Xogium>
maybe delete the user and try -m to make it create its home dir
<peterm6881>
how do i delete a user?
<Xogium>
userdel
<Xogium>
I think it is
<Xogium>
userdel username
<peterm6881>
yeah
<peterm6881>
so far so good, no error
<peterm6881>
yup that fixed it, nice one, well done
<Xogium>
I thought that -m would be a default
<Xogium>
maybe its not
<peterm6881>
unsurprisingly, cant play streams under this user account
<Xogium>
then you can do that nano command you were trying to
<peterm6881>
:)
<peterm6881>
I had to ask
<peterm6881>
ooo so thats a service
<peterm6881>
my first Linux service
<peterm6881>
never seen that before, I didnt know it was a thing
<Xogium>
technically its a part of a service
<peterm6881>
ive encountered services in Windows
<Xogium>
what's called a drop-in or an override. It lets you override some part of the service your distro provides, without overriding the entire thing
<Xogium>
the advantage is that if you update your system, it won't be reset to default
<Xogium>
that drop-in will always apply
<Xogium>
and, you guessed it: it's a systemd thing only
<peterm6881>
brilliant
<peterm6881>
do i still need all this stuff?
<peterm6881>
systemctl daemon-reload
<peterm6881>
systemctl enable getty@tty1.service
<peterm6881>
systemctl start getty@tty1.service
<peterm6881>
systemctl start getty@tty1.service
<peterm6881>
or is reboot as good as
<Xogium>
given its different I'd say enable+reboot would work better
<peterm6881>
rebooting now
<peterm6881>
silence
<peterm6881>
sigh...
<peterm6881>
plays when i log in, so something not right about that autologin thing
<Xogium>
I'm thinking it might launch too soon
<peterm6881>
yeah do we need a delay
<peterm6881>
and if so, how long
<Xogium>
possibly ? I'm not sure. I've never attempted this…
<peterm6881>
hehe what fun
<peterm6881>
i could try just putting a delay on the command
<peterm6881>
lets see what the wiki recommends
<Xogium>
you might want that delay on the mpv command itself, not in the getty service
<peterm6881>
i'll give it a shot
<peterm6881>
i'll try 5 seconds first and increment from there
<peterm6881>
no wait, ill try a long delay to prove if it works
<peterm6881>
how long d'ya fancy
<Xogium>
hmm dunno, maybe try a full minute, to prove its really because there's no networking at the time
<peterm6881>
good thinking
<peterm6881>
ok here goes
<peterm6881>
nope, no audio
<Xogium>
wellp
<Xogium>
then I truly don't know
<peterm6881>
lol annoying
<Xogium>
is getty@tty1.service even running ?
<Xogium>
systemctl status getty@tty1
<peterm6881>
now, how should I log in to check that?
<peterm6881>
whats the difference between what you did and the wiki we just tried?
<peterm6881>
ah ok
<Xogium>
the wiki makes you edit a tty service
<Xogium>
lets try this
<peterm6881>
okie dokie
<peterm6881>
I vaporised the /etc/systemd/system/getty@tty1.service.d directory
<Xogium>
good
<Xogium>
well I'm going to make it run another command than mplayer, given there is no audio support in archlinux-arm, since they use a non-patched linux
<Xogium>
but something that will run in the background
<Xogium>
just so we know if it did autologin
<peterm6881>
lol its releantless
<peterm6881>
relentless
<peterm6881>
recreated account "user", its all set
<peterm6881>
ready to rock and roll
<Xogium>
ok rebooting alarm to test
<Xogium>
hmmm
<Xogium>
doesn't seem to want to run… not sure what's going on
<Xogium>
I love it when programs exit with no error message to tell you what went wrong
<Xogium>
this ran just fine on buildroot, but it doesn't want to run on arch
<Xogium>
lets try something different then
<Xogium>
hmph well I give up, sorry Peter
<Xogium>
I really don't get why this fails
<Xogium>
and having no error message sur doesn't help
<peterm6881>
oh dear
<peterm6881>
maybe I'll try greetd
<peterm6881>
E: Unable to locate package greetd
<peterm6881>
then again, perhaps not
<Xogium>
probably only available on arch that one
<peterm6881>
its unexpectedly hard to autologin I have to say, so far only S0 works
<peterm6881>
i wonder if I could do exactly the saem, just change it to tty1
<peterm6881>
same
<Xogium>
that's what the drop-in file has been doing
<peterm6881>
listen Xogium thank you so much for trying, you have the patience of a saint
<peterm6881>
I reverted to ttyS0, but on the user account
<peterm6881>
progress of sorts lol
<peterm6881>
thats working, and not on the sudoer list
<Xogium>
good
<peterm6881>
indeed
<Xogium>
no keyboard but at least it works
<peterm6881>
go do something fun
<peterm6881>
yes quite
<peterm6881>
I'll come back to this
<peterm6881>
dunno how, but im certain it can be done
<peterm6881>
the arch thing looked super elegant
<peterm6881>
tricky when I cant see a way to debug it
<peterm6881>
is there a way to list what users are logged in, that would be a start
<peterm6881>
w command – Shows information about the users currently on the machine, and their processes.
<peterm6881>
who command – Display information about users who are currently logged in.
<peterm6881>
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
<peterm6881>
peter tty1 :0 11:23 9:04m 7:30 2.26s lxqt-session
<Xogium>
yeah its useful. What I always use
<peterm6881>
are you still there?
<Xogium>
yeah sorry
<Xogium>
finished GoT
<peterm6881>
dont say sorry
<peterm6881>
i noticed something odd about user, even though its in the audio group
<Xogium>
season 5 episode 6 already hah
<peterm6881>
it cant adjust the volume or mute
<peterm6881>
it can scroll through the playlist, but thats about it
<Xogium>
hmm sounds like pure alsa being messy again ? Not sure about that one
<peterm6881>
thats fine i'll come back to that, just thought it might ring a bell
<Xogium>
I think the only way to mute or adjust volume is via alsamixer's management ui
<peterm6881>
normally mplayer and mpv commands work, 9 and 0 adjust volume
<peterm6881>
m mutes
<Xogium>
ah
<peterm6881>
but with user, it only brings up the current volume, it doesnt change it
<Xogium>
but it can't work now, remember if you use ttyS0 you have no keyboard control
<peterm6881>
im controlling it through putty
<Xogium>
ah
<peterm6881>
its a permissions issue with the user account
<Xogium>
erm… that definitely should work
<peterm6881>
yeah its totally bizarre
<peterm6881>
ive never had it with an admin or root account
<Xogium>
well only workaround I see is to use alsamixer for now
<peterm6881>
I'm gonna have another bash at your arch wiki solution from scratch, on the admin account
<peterm6881>
at least with w ill know if its logged in and what processes its running
<Xogium>
hmm I wouldn't do that with an account that has sudo
<Xogium>
especially if it auto logs in
<Xogium>
and is passwordless
<Xogium>
that'd give anyone who can find a security hole a way in into your system so they can do whatever they want
<peterm6881>
i get that
<peterm6881>
just wanna try it, from scratch, to see if it works
<Xogium>
I doubt it will really change anything much
<peterm6881>
correct ;)
<Xogium>
I swear sometimes computers baffle my mind still
<Xogium>
I don't really get them. Not really. I know what I can do with them and things, but… I don't understand how it is that all they do all day long is crunch numbers after numbers after numbers, that the only thing they are good at is calculating, yet we never see them numbers
<Xogium>
even booting linux is just crunching numbers
<peterm6881>
what put that in your head?
<Xogium>
I don't know… it just came out of nowhere
<peterm6881>
maybe you should learn programming in binary ;)
<peterm6881>
imagine....
<Xogium>
I was thinking how shitty I am at maths, yet I can use a computer… which only does maths all day long
<peterm6881>
mind blown
<peterm6881>
or machine code, to give it its proper name
<Speedsaver>
Title: Automatic login to virtual console - Gentoo Wiki (at wiki.gentoo.org)
<peterm6881>
its not playing yet, but at least I know user is definitely logged in
<peterm6881>
power cycled, its fully operational, whoop
<peterm6881>
ive seen that before, it doesnt like reboot
<peterm6881>
gotta power cycle
<peterm6881>
now, in theory, the keyboard should work
<Xogium>
huh… that's litterally what the archwiki tells you to do
<Xogium>
unless I'm dumb
<peterm6881>
i noticed there was something different about creating the directory
<Xogium>
is there ?
<peterm6881>
hmm, im not certain, but when i went to create the conf file in arch it didnt complain, when i did the saem thing in gentoo it complained it was a directory. But I could be wrong. The text in the file is slightly different