<synimas>
The orange led on the ethernet cable isnt on or flashing either
<synimas>
Oh wait i lied, flash every 20 seconds or so
<ukky>
You should not have any process running after dhcpcd terminates. '-B' means stay in foreground. Until you Ctrl-C the process, it will stay in foreground
<synimas>
Its not even running
<synimas>
I click enter and it throws me back into the shell
<synimas>
Sorry this is just super annoying, removed wpa_supplicant, rebuilt it, removed all of the service files, rebooted, and its still printing bullshit to the tty
<synimas>
Ill try eiwd
<synimas>
Actually fuck it, ill just add the wpa_supplicant command to my root .profile
<sewn>
midfavila: what is slip
<midfavila>
serial line IP
<synimas>
I really just want to hse wpa because i have a massive config file thatd take ages to move around
<midfavila>
basically IP with rs232 serial as the link layer or w/e
<midfavila>
you can do IP over parallel too
<synimas>
What could be causing the wpa supplicant service to be printing to the shell?
<midfavila>
the output it provides would be helpful
<midfavila>
if you're running it in the foreground then uh
<midfavila>
that would be why
<synimas>
No lol
<synimas>
I sent that imgur
<midfavila>
you might be able to daemonize it
<midfavila>
imgur is dogshit and doesn't work
<midfavila>
use 0x0
<synimas>
Its not actually text that i can parse out
<synimas>
Its just vomiting out the help page
<midfavila>
then you probably fucked up the invocation
<midfavila>
that would be my best guess without additional context
<synimas>
Ive completely repulled the git repo
<synimas>
The command it is invoking should be the one assigned in the repo
<synimas>
Wait hold up
<synimas>
Oh nvm, thought it found it
<synimas>
Wait
<synimas>
Nah, making wpa_supplicant.conf wpa_supplicant-wlan0.conf does nothing
<synimas>
The issue is just that the service isnt specified an interface
<synimas>
Ima hop off for the night, if anyone has an idea of what to do ill read the logs in the morning, goodbye
synimas has quit [Ping timeout: 264 seconds]
examors has quit [Server closed connection]
examors has joined #kisslinux
phinxy has joined #kisslinux
dontmindmee has quit [Ping timeout: 252 seconds]
dontmindmee has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan>
hi
traidare has joined #kisslinux
chomwitt has joined #kisslinux
asimovsh has joined #kisslinux
<sewn>
hi sad_plan
Guest59 has joined #kisslinux
<Guest59>
hey
<sad_plan>
hi sewn, hi Guest59
<Guest59>
i wanted to start wpa_supplicant for my user through .profile, but for some reason its not working
<Guest59>
i set it up with doas
<sad_plan>
you dont set ip up in your .profile, you set it up as a service
<sad_plan>
wpa_supplicant comes with a service file for runit, or you can use dhcpcd's script instead, so when dhcpcd start, so does wpa_supplicant
<Guest59>
i mean i got wpa_supplicant working but i have to manually run wpa_supplicant every time i log in, so i put wpa_supplicant in my .profile so i don't have to run it manually every time
<sad_plan>
its not supposed to be in your .profile. your .profile is for configs, not starting services. we have a service manager for that
<sad_plan>
when runit is used, (or any other service manager for that matter), it starts before you log in
<Guest59>
hold on, i'm saying this wrong
<Guest59>
wpa_supplicant and dhcpcd are started by runit. but i have to run the command "wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf"
<Guest59>
every time i log in
<sad_plan>
in that case, youve not set up the service correctly
<sad_plan>
have you linked both of them to /var/services?
<sad_plan>
ln -s /etc/sv/$serv /var/service/
<Guest59>
i have linked both of them to /var/service
<sad_plan>
ok, and yet wpa_supplicant does not start for you?
<Guest59>
the service is started, but i have to run the command every time i log in
<sad_plan>
what does sv status wpa_supplicant print? somethingsomething running?
<sad_plan>
if the service is running correctly, you shouldnt have to run it manually
<Guest59>
crap it says that its not running
<Guest59>
sv up wpa_supplicant doesn't do anything
<sad_plan>
hm, check the service file, maybe there something in there?
<sad_plan>
also check if the symlink isnt broken. it happens at times
<sad_plan>
ln -sf /etc/sv/wpa_supplicant /var/service to update it
<Guest59>
i did ln -s instead of ln -sf. was that maybe the problem
<sad_plan>
if the symlink already existed, then yes. the -f flag will update the symlink in case it exists
<Guest59>
still not running
<Guest59>
what's the service file
<ukky>
Guest59: /etc/sv/wpa_supplicant/run
<Guest59>
does anyone recall how long sway takes to compile?
Guest59 has quit [Quit: Client closed]
Guest59 has joined #kisslinux
<Guest59>
so i changed the service file and can see in htop that wpa_supplicant is running, but i don't get internet
<sad_plan>
does dhcpcd run?
<Guest59>
yeah dhcpcd is running
<Guest59>
i am a little clueless to what is happening
<sad_plan>
does the wpa_supplicant service script look correctly acording to your hardware and setup?
<sad_plan>
in case you dont have wpa_supplicant's config file in the same place i.e.
<Guest59>
yeah in the service file i put "exec wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf > /dev/null 2&1"
<Guest59>
my wpa_supplicant.conf is in the correct spot
<sad_plan>
yeah that looks good to me
<Guest59>
in dhcpcd's run file i put "exec dhcpcd > /dev/null 2&1"
<sad_plan>
could try to do dhcpcd wlan0. I know alot of times it doesnt properly detect it. atleast I remember having to do that other times..
<sad_plan>
atleast Ive had issues with that in the past
<ukky>
Even though I do not use WiFi, "exec wpa_supplicant -B" doesn't look good for runit, as it runs in background. Runit requires services running in foreground.
<Guest59>
so take the -B flag out?
<ukky>
yes
<ukky>
if you starting it manually from command line, then you have to use '-B'
<Guest59>
thank you both so much ukky and sad_plan we have wifi
<ukky>
cool
Guest59 has quit [Quit: Client closed]
<asimovsh>
yo my brothers
<asimovsh>
someone maybe a avr lover have gcc-avr packaged?
<phoebos>
hope Guest59 meant to write 2>&1 not 2&1
<asimovsh>
i have 0 success in build it and don't know why i get error in build
<sad_plan>
phoebos: I also noticed that
<sewn>
asimovsh: yea
<sad_plan>
asimovsh: perhaps alpine has it packaged, and you can peak at that?
<asimovsh>
sad_plan: i looked in the package and used the same config but not worked
<sewn>
i used to have them in my repo
<sewn>
but i dropped them
<sad_plan>
I see
<sewn>
because i didnt need them anymore
<sewn>
includes libc, gcc, and binutils
<asimovsh>
thanks
<asimovsh>
i need it for bare metal programming
<sewn>
theres dfu-programmer too
<asimovsh>
arduino-cli don't work in musl
<asimovsh>
and gcompat can't solve it
<sewn>
i needed avr, dfu and arm-none-eabi just for QMK
<sad_plan>
fr, does qmk require that much stuff?
<sewn>
i mean, it compiles firmware for ARM so yeah
<asimovsh>
also sewn your avrdude worked great?
<sewn>
for the time, it worked
<sewn>
you may need to update it though
<sewn>
sad_plan: nowadays i use the qmk web interface to just compile it for me lmao
<sad_plan>
sewn: no, qmk as in keyboard firmware
<sad_plan>
ah ok
<sewn>
dont get me fucking started on the fact it uses makefile but then calls all this python stuff
<sewn>
ugh i didnt like that at all
<sad_plan>
love when developers make things more complicated than it has to be
<sewn>
i expected QMK to be just a simple firmware compilation framework
<sad_plan>
me too
<sewn>
you use QMK?
<sad_plan>
no, my ducky keyboard dont support it
<sad_plan>
I have seen someone flashing it on those though
<sad_plan>
I dont wanna brick my keyboard with it, so I never bothered
<sewn>
i put qmk on my dodgy chinese kemove keyboard with a old fork and it worked
<sewn>
not like you should, but if you want to have fun with qmk and you never have before, it doesnt hurt
<sad_plan>
I could, but I currently have no use for it. as my keyboard works sufficently atm. I would consider it if I had a 40%. but with the ducky 2 mini, its 60%, and has the keys I need already mapped
<sewn>
doesnt hurt as a new learning experience
<sad_plan>
its also my only keyboard, so if it gets bricked, I would have to buy a new one :p
<sad_plan>
sure
<sewn>
if it gets bricked, you should be able to reflash your original firmware
<sad_plan>
I kinda do wanna buy a 40% ortho keeb, and I would then prefer one with qmk
<sewn>
why 40%?
<sewn>
why not split?
<sad_plan>
maybe, but I think it requires windows or something. dont recall
<sad_plan>
because its cool looking
<sewn>
your hands are suffering
<sad_plan>
maybe, maybe not. maybe Ill just use a 20+20 instead
<sad_plan>
oh those kinds. idk, Ive kinda fallen in love with those tiny 40%s. like nuie mini or w/e tf its called. or just the oklb ones would also be fine I suppose
<sad_plan>
niu mini was what I was refering to
<sad_plan>
its what wolfgang's channel use(d?)
<sewn>
wolfgang is pretty cool
<sad_plan>
yeah, I like his videos. rather informal, no bs and that stuff. straight to the point
<sewn>
also denshi is pretty cool
<sad_plan>
I dont know denshi, but ill check it out
asimovsh has quit [Ping timeout: 264 seconds]
asimovsh has joined #kisslinux
synimas has joined #kisslinux
<synimas>
What does the 2>&1 do? Because my dhcpcd service only runs without it
<sad_plan>
redirect stderr and stdout
<sad_plan>
so if its > /dev/null 2>&1 it redirects everything to /dev/null
<sad_plan>
so program gives you zero output
<synimas>
It a super big deal to run without? Only runs with > /dev/null
<synimas>
Assuming ill just have the occational output on tty1
<sad_plan>
that doesnt really do much though. but no. only difference is that if it has some output, itll spit it out to your tty
<sad_plan>
correct
<synimas>
Cool, thanks sad_plan
<synimas>
What are the downsides of a user having suid permissions?
<synimas>
Ah, i make the compositor executable suid to root
asimovsh has quit [Ping timeout: 264 seconds]
asimovsh has joined #kisslinux
rfaa has quit [Remote host closed the connection]
synimas has quit [Ping timeout: 246 seconds]
<sad_plan>
suid is so that the executable will run as root, even if a non-root user executes it
<sad_plan>
or not neccessarly root, as its initially as another user, but root is whats used most afaik
synimas has joined #kisslinux
<asimovsh>
sewn:
<asimovsh>
how you connect the board to avrdude?
<asimovsh>
everytime i get it cant sync
synimas has quit [Ping timeout: 240 seconds]
synimas has joined #kisslinux
<synimas>
Gotta grab seatd myself?
<asimovsh>
what you mean?
<synimas>
Dwl doesnt launch without a seat, was wondering if there were a way to launch without
sad_plan has quit [Quit: nyaa~]
<asimovsh>
just if you run it suid
<asimovsh>
what are not recommended
<synimas>
Got seatd running
<synimas>
No make install lmao
<synimas>
Can i just add anything to a run service file? Whats supervisor?
<synimas>
Ah nvm, uses mason
<synimas>
Meson*
synimas has quit [Ping timeout: 246 seconds]
V has quit [Server closed connection]
V has joined #kisslinux
traidare has quit [Ping timeout: 255 seconds]
<asimovsh>
sewn: need your help with avr
ilos has joined #kisslinux
<asimovsh>
termbin.com/j96v
<asimovsh>
sewn: avr-ld cant link with the lib for arduino and the lib is in the /usr/lib/avr/avr6