libera/#devuan/ Monday, 2024-02-12

HumanG33khi i fuck up my upgrade.00:22
HumanG33ki can't login anymore through x session00:23
rrqfrom what to what?00:23
HumanG33kfrom devuan to devuan00:24
rrqa devuan chimaera upgrade?00:24
HumanG33ki know i m stupid because i try last stable from stable - 200:24
HumanG33kslim says issue with login00:25
rrqhmm a devuan daedalus upgrade.. and ran into problems?00:25
HumanG33ki found a post on devuan forum about using other session manager and i try to use lghtdm instead of slim but same "issue"00:26
HumanG33kyep00:26
HumanG33ki guess00:26
rrqrigh so you also installed lightdm?00:28
HumanG33kyep00:28
HumanG33kand purge slim00:28
rrqok. so "slim says issue with login" means "lightdm says issue with login"?00:29
HumanG33kno light only not connect00:30
rrqis that a verbatim compy of an actual output?00:31
rrqcopy00:32
HumanG33khttps://dev1galaxy.org/viewtopic.php?id=75700:34
HumanG33kcontain the exact message from slim00:35
rrqthe installation of a desktop would need "apt install task-xfce-desktop" or "task-lxde-desktop" or something... have you done that?00:37
HumanG33kyes00:38
rrqwhich one?00:38
HumanG33kxfce00:38
rrqok. and then you got the same issue as Simplicio upon reboot... which you tried to rememdy by purging slim and installing lightdm ... is that exact?00:41
HumanG33kyes00:41
HumanG33ki not touch at .xinit file00:41
HumanG33knot really sure to what put in it and not sure it's really necessary00:42
HumanG33kas it work without before00:42
rrqno shouldn't need an .xinit00:42
rrqdo you have seatd installed? or elogind and dbus?00:44
rrq(should have been dependencies)00:44
HumanG33kno seatd, it's a new package never heard of it before ?00:45
rrqbut you have elogind and dbus-x11 (seatd is an alternative input stream mediation, without dbus and logind)00:46
HumanG33kelogind and dbus-x1100:47
HumanG33kare install i just lauch a --reinstall --purge00:48
rrqxorg needs some input stream mediation, and currently the alterantives are seatd or logind+dbus00:49
rrqrunning as daemons00:49
rrqfursther, the user needs to be in "video" group, and must be the owner of the /dev/ttyN for the vtN in use00:50
HumanG33khow to check the owner of tty7 ?00:51
HumanG33kuser is in video group00:51
rrqls -l /dev/tty700:51
HumanG33kmake sense :D00:52
rrqI suppose the login managers (slim or lightdm) typically run as root so might not be problem00:52
HumanG33ktty7 is run by the user i try to log to00:53
HumanG33kslim is run by root00:53
rrqok.. this might concern the graphics driver ... which I know only some little about00:56
HumanG33khumm00:57
rrqyou may need to hang around for assistance with that; you have nvidia I suppose ?00:57
HumanG33kthink not00:58
HumanG33kok new message00:58
HumanG33kfind in the xsession00:58
rrqwhen you install, is that with or without recommends?00:59
HumanG33kwhich  part ?00:59
rrqwell, firstly for task-xfce-desktop01:00
rrqdid you install that with all its "Recommends" dependencies?01:00
HumanG33k dbus[3467]: Failed to start message bus: Circular inclusion of file '/etc/dbus-1/session.conf' EOF in dbus-launch reading address from bus daemon01:01
rrqright. good find. xorg with logind mediation needs dbus running01:02
rrqwhat's in that file?01:03
rrq(I don't have that file)01:03
rrqhmm comes from dbus-session-bus-common01:03
HumanG33khumm lots of stuff in that file01:05
rrqwhich package does it come from (dbus-session-bus-common has /usr/share/dbus-1/session.conf rather)01:07
rrqmaybe move it away, say, to /root/, and see if things improve01:08
rrqyou should have /usr/share/dbus-1/session.conf ... and maybe that's the same file ?01:09
rrqthe latter esp has: <include ignore_missing="yes">/etc/dbus-1/session.conf</include>01:10
rrqand that would be bad to have in /etc/dbus-1/session.conf01:10
rrqbtw to find owner packages you'd do: dpkg-S dbus-1/session.conf01:11
rrqbtw to find owner packages you'd do: dpkg -S dbus-1/session.conf01:12
HumanG33kok moving and restart fix the issue for what i see01:15
rrqgood :) happy xfce-ing01:16
HumanG33kyep' thx for your precious help01:17
D-HUNDwhat could be wrong when connman shows "1 Found, 1 Powered" for WiFi but there are no available networks listed and the "Rescan" button is greyed out?14:06
D-HUNDWifi worked fine during installation (daedalus) and it also works when booting the live CD14:07
D-HUNDit also worked properly on chimaera14:07
D-HUNDlspci says Kernel driver in use: ath9k14:08
D-HUNDnon-free-firmware enabled14:09
D-HUNDdmesg: http://paste.debian.net/plain/130706214:14
gnarfacegood question, i have a vague theory... the justification would sound too crazy to bother repeating, but just as a test try downgrading to linux-image-6.1.0-17-amd6414:14
gnarfaceif the firmware was updated between then and the next kernel, downgrade that too if the old one is still in the repos14:16
D-HUNDgnarface: rgrwillco14:16
D-HUNDits afresh install, wiped the old installation because of other issues14:17
D-HUND<-- debdog14:17
D-HUNDkernel is 6.1.0-1014:19
gnarfaceoh, huh, so you haven't even updated it after the install?14:20
D-HUNDhmm, I thought I did...14:20
D-HUNDbut then I've been fighting the network the past few hours and might have gotten sidetracked14:20
gnarfacecurrent should be 6.1.0-18, but fair warning nvidia broke it on purpose14:20
gnarfaceif you're using nvidia hardware don't go past 6.1.0-17 for now14:21
D-HUNDoy vey14:21
D-HUNDaptitude update does not show any available update. same for synaptics and apt-get14:22
D-HUNDhmm14:22
gnarfacethe log message basically says you disconnected it yourself immediately after connecting, which is such a stupid error i've seen caused by so many things as to be basically meaningless... possibly a race condition due to your wifi router being too slow but nothing would explain a change there except a change to the device itself or the kernel or wpasupplicant14:22
D-HUNDplus I had issues with deb.devuan.org. had to put a de. in front of it14:23
gnarfacehmmm14:24
gnarfaceusing a proxy?14:24
gnarfacehttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Elinux%5C-image%5C-6%5C.1%5C.0%5C-17.*&x=submit14:26
gnarfacepkginfo definitely still shows it present, and -18 too14:26
gnarfaceoh! but the kernel wouldn't have automatically updated if you didn't have the generic meta-package for your architecture installed (such as linux-image-amd64)14:27
D-HUNDok, now it lists a lot of available updates after I've changed it back to just deb.devuan.org14:27
D-HUNDthis may take a while14:28
gnarfaceyour wifi router isn't a hostapd instance, is it?14:29
D-HUNDI don't know what that means. it's a vodafone thingy14:29
gnarfaceprobably not then14:29
gnarfaceuh, if you're using samba for anything, don't use 6.1.0-17 either14:30
gnarfacebut pkginfo shows the several previous kernels to that all still present, and all still newer than what you've got installed14:30
gnarface... and it might not be important, but i thought the ath9k devices' firmware was actually in main, in the package "firmware-linux-free" but i don't know that for sure14:32
gnarfaceit doesn't seem to have changed since chimaera, so that's unlikely to be the issue14:32
D-HUNDI have installed firmware-atheros now, maybe that helps...14:36
D-HUNDno14:38
D-HUNDbut an issue with the kernel seems likely. the old daedalus that was running there still had the chimaera kernel.14:40
gnarfaceit will probably still actually work with that chimaera kernel14:43
gnarfaceworth a try14:43
D-HUNDoh, I do not use the meta package for kernel, just FYI14:43
gnarfacei frequently purge mine so the kernel won't update without my explicit manual selection of a specific one, but if you do that you gotta remember you did it...14:45
D-HUNDhmm, in case I fetch the chimaera kernel I have to get the matching nvidia packages as well, right?14:46
gnarfacesadly, yes14:46
gnarfacebut unless you play a certain handful of badly behaved video games it probably isn't a big deal14:47
D-HUNDok, I'll have a look a the backup to seem which packages I've had back then14:47
D-HUNDwell, my experience with nouveau are not very good14:48
D-HUNDhmm, maybe it's easier to just install chimaera14:48
gnarfacewell, theoretically since they use dkms any nvidia driver version should work with a wide array of kernels, but i don't think non-standard combinations are very well tested so your luck might be hit and miss... best to use the version that originally shipped with that kernel on debian if possible, but it's not a waste of time to try something newer as evidenced by someone a few months back in here who managed to manually14:49
gnarfacebuild a (i think) 525.* nvidia driver package for beowulf using nvidia's own devkit14:49
D-HUNDthis laptop is not used for gaming, so performance is not the issue.14:50
D-HUNDbut the nivida driver has just better colours and still is a tad faster14:51
gnarfaceyea i don't blame you14:52
D-HUNDwell, I do know how to express myself properly there14:52
gnarfacei'm not suggesting to use nouveau, i'm just warning you that World of Warcraft isn't gonna let you in without the bleeding edge version because they're assholes14:52
D-HUNDhehe14:52
ted-iousI saw that debian made an update to bookworm 12.5.15:24
ted-iousIs devuan going to get new live or installer iso's at some point?15:24
* D-HUND is a lilo guy ho has to learn grub now15:32
D-HUNDhow do I tell grub to use /boot/vmlinuz-6.1.0-10-amd instead of -17?15:32
cousin_luigiD-HUND: You could create a custom entry.15:32
D-HUNDwhere? there are so many conf files. grubd defaults/somethingsomething15:33
cousin_luigiD-HUND: The easiest way would be to simply take the current entry from /boot/grub/grub.cfg and copying it into /etc/grub.d/40_custom15:33
cousin_luigiModified to your needs.15:33
cousin_luigiThen run update-grub15:33
cousin_luigiIf you want -10 to be default, then change GRUB_DEFAULT in /etc/default/grub accordingly15:34
cousin_luigiagain, run update-grub after each change, or it won't be detected15:35
D-HUNDcousin_luigi: it says GRUB_DEFAULT=0. how to figure out which number to put there?15:43
cousin_luigiD-HUND: I think one has to count the menuentry items.15:44
D-HUNDbooting the -10 kernel did not make any difference, still no dice with connman. the live CD uses the same kernel and there I have no issues. but the live CD uses nm-applet, so it prolly is not kernel related15:44
D-HUNDok, cousin_luigi15:45
cousin_luigiD-HUND: What's the problem btw?15:45
cousin_luigiD-HUND: Scrolling up, I suggest #linux-wireless15:45
D-HUNDwifi not working in daedalus with connman15:45
gnarfacehmm, if it's the race condition issue i was seeing then a change to the connman version might be just as suspect as the kernel or wpasupplicant... have you tried just typing the info into /etc/network/interfaces and using ifup?15:47
gnarfacethat would rule out a couple extra things15:47
D-HUNDgnarface: I gave up on editing wpawhatever 15 years ago15:48
gnarfacei can tell you which fields you need15:48
gnarfaceit's not as hard as it sounds usually15:48
cousin_luigiD-HUND: Does it work with networkmanager?15:49
cousin_luigiAnd any chance rfkill might be on?15:49
D-HUNDhmm, in /etc/network/interfaces the ssid and psk seem correct15:51
D-HUNDone moment...15:51
gnarfacei think the name of the actual password field changes depending on the type of encryption you're using15:52
D-HUNDthat's what it looks like now: http://paste.debian.net/plain/130708015:52
cousin_luigiD-HUND: By the way, do you use wpa_supplicant or iwd?15:53
D-HUND*shrug* I am using the defaults, have insalled this system today15:54
gnarfaceD-HUND: looks right except you need to quote the ssid15:54
gnarface(not the password though, not sure why)15:54
* D-HUND adds quotes and reboots the laptop...15:55
gnarfaceyou shouldn't need to reboot for that. you should only have had to run "ifup wlan0"15:56
gnarface(as root)15:56
gnarfacealso you'll want to make that file only readable by root if you're gonna keep your password in it15:57
D-HUNDno dice15:57
D-HUNDwill try nm-applet now15:57
* D-HUND feels like a 12 year old school girl15:58
gnarfaceit'll be really weird if networkmanager works but a bare interfaces file didn't15:58
D-HUNDhmm15:58
gnarfacebut if it does work, that suggests there is probably some additional flag you can provide in the interfaces file to make it also work (i've had to do such things rarely only to force certain conditions for buggy drivers or routers)15:59
D-HUNDwhat about DHCP or DNS?15:59
gnarfacedhcp failure of some sort maybe suspect, if the router disconnects you for not accepting an ip right away, but dns failure wouldn't cause this16:00
D-HUNDthe wired connection shows a DNS but the wireless doesn't show anything – in connman's "Details" tab16:00
gnarfacedhcp would have to work first for the wifi to see the dns16:00
D-HUNDright16:01
gnarfaceif you have the option of telling the router to let you specify an ip manually though, that would be a way to eliminate that possibility16:01
D-HUNDand during installation I've chosen DHCP16:01
gnarfacehmm, which dhcp client are you using?16:01
D-HUNDuhm16:02
D-HUNDdefault?16:02
D-HUNDhow do I check?16:02
gnarfacethe default i think is dhcpcd still, which i have occasionally seen cause compatibility problems. you could try switching to isc-dhcp-client16:02
gnarface(still in debian, though discontinued, isc-dhcp-client is the closest thing there ever was to an official reference implementation)16:03
omoping16:06
omook, I am D-HUND on the freshly installed laptop16:07
gnarfacechanging to isc-dhcp-client fixed it?16:08
omo# aptitude search dhcp | grep ^i16:08
omoi  isc-dhcp-client - DHCP client for automatically obtaining an IP address16:08
omoi  isc-dhcp-common - Handbuchseiten mit Bedeutung für alle »ISC DHCP«-Pakete16:08
omono, this is the eth0 connection16:08
gnarfaceoh16:08
gnarfacethe other popular one is dhcpcd16:09
omowhat still puzzles me is that connman still hAS THAT GREYED OUT "rESCAN" BUTTON16:09
omoOOPS16:09
omoopps16:10
gnarfacei'm not sure it could be relevant though, seems like a bit of a stretch, usually if there was a dhcp problem in my experience it just connects and stays connected but doesn't work16:10
omoI'll unplug the cable now I try to connect to the router with the IP address...16:10
D-HUNDnot even that works16:13
D-HUNDso it's not DHCP or DNS16:13
gnarfaceD-HUND: what does "rfkill list" say?16:15
gnarfaceD-HUND: also, make sure you have wireless-regdb installed16:17
omo_# LANG=C rfkill16:18
omo_-bash: rfkill: Kommando nicht gefunden.16:18
gnarfacewell, you'll have to install it16:18
omo_why does it print the german message with LANG=C?16:19
gnarfacei don't know16:19
omo_this is weired16:19
omo_that may indicate the problem why I even reinstalled that laptop. locale not working properly16:19
omojust in case you remeber my rant on saturday about pcmanfm-qt not properly displaying german menus16:21
gnarfacedo you have the locales package installed?16:21
omoi   locales16:21
gnarfacehmm, you can "dpkg-reconfigure locales" to make sure it's set right but i don't know what else to do besides file a bug report against it or the misbehaving program16:23
gnarfacemost the problems i've seen caused by that originated with people trying to force locales with environment variables and missing some16:23
gnarfacebut i definitely haven't tested other languages16:24
omothis is even more weired. I am able to chat here, so some network has to work, but...16:26
omohttp://paste.debian.net/plain/130708816:28
gnarfacehmm, maybe it's a dns failure after all, but that doesn't explain the disconnect message in your pasted log snippet...16:28
gnarfaceoh! maybe the static ip gambit worked, but you forgot to actually manually populate /etc/resolv.conf at the same time, so only irc is working16:29
omobrowser seems to work properly16:30
gnarfacebut not apt? very strange16:30
gnarfacewhat are you using for dns? just your isp's dns servers?16:30
omoyes, ISP's16:31
gnarfacei would recommend you run your own, but as a temporary measure you can use google's (8.8.8.8)16:32
omochanged deb.devuan.org to de.deb.devuan.org and now its working16:32
gnarfacealright, so there might be more than one issue at hand16:32
omorfkill: http://paste.debian.net/plain/130708916:33
gnarfaceuh... i think that's saying you have two wifi devices, which might be part of the problem, but they're both on so...16:34
omohmm, connman only lists one16:35
omoso does network/interfCES16:35
omohttp://paste.debian.net/plain/130709016:36
gnarfaceweird16:36
omoIPv4 vs. IP6 issue? since eth0 is IPv4 and wlan0 is IPv6?16:38
gnarfacehmm, seems possible, i was going to ask if you were using ipv6 actually16:39
gnarfacecan you force the wlan back to ipv4 to see if it helps?16:39
gnarfacei can't imagine any possible benefit to using ipv6 on a private wifi, you'd run out of spectrum long before you ran out of ipv4 addresses, and giving wifi devices a public ip is insane16:40
omoI have to take a breake16:48
djphgnarface: because NAT sucks .16:53
omohow would I force it to use IPv4?17:12
omothe router is shitty. it doesn't tell me whether it connects to web via 4 or 617:12
gnarfaceto be honest, i thought using "inet" instead of "inet6" in your interfaces file should have been enough17:13
omobut the router says this laptop is connected via wifi17:14
gnarfaceare you able to ping the router from the laptop?17:14
omoPING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.17:15
omo64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.90 ms17:15
gnarfacelooks fine, doesn't explain the disconnect earlier though17:15
D-HUNDduh, eth0 was connected17:15
gnarfaceoh, that was a eth0 ping?17:16
gnarfaceyea i meant wifi17:16
D-HUNDwithout that connection still works but IRC went town17:16
D-HUND*ping still works17:17
D-HUNDso it might be an IPv4 DNS issue?17:17
gnarfaceif you're seeing ipv4 addresses in the ping output then it's using ipv417:17
gnarfaceat the moment it does seem like a DNS issue, but again that doesn't explain the disconnect earlier that we started debugging originally17:17
gnarfaceit's unclear to me right now whether you're also experiencing a dhcp issue or not too17:18
gnarfacedhcp failure can lead to dns failure, since the dhcp server is typically what provides the dns address too17:19
gnarfaceusually that can all fail while wifi still being "connected" technically17:19
gnarfacelosing the irc connection after disconnecting the ethernet wire seems like expected behavior though, there's no reason to expect it would be smart enough to switch network interfaces on the fly17:21
D-HUNDI am tired right now. but the router says the laptop is connect via wifi IPv4. connman still does not like to show available networks17:33
D-HUNDand the browser does not connect to the internet17:33
D-HUNDbut I can connect to the router with its IPv4 address17:34
D-HUNDI'll postpone this for now. brain fried.17:34
D-HUNDI'll try static configuration next17:36
omohuh, with nm it works just fine17:57

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!