libera/#devuan/ Sunday, 2020-10-18

unixbsdThis little code allows to install devuan, clone, and more thing. ("clone" "/dev/sda2" to copy), using C and sys. https://termbin.com/i1br  (nconfig.c)01:00
xkr47Hello09:13
xkr47http://packages.devuan.org/merged/dists/ascii/InRelease 301-redirects to http://packages.roundr.devuan.org/merged/dists/ascii/InRelease which has just one IP in the pool - 5.196.38.18 which does not respond09:13
xkr47is the fix in my end or in devuan's end?09:14
onefangTry using deb.devuan.org instead.09:18
xkr47thx09:21
xkr47I should upgrade09:21
XenguyMe too09:53
XenguyBought a new external hard drive today, so will bust that out tomorrow, and run some backups first09:54
XenguyRunning Ascii now, and looking to do the upgrade to stable09:55
g0zzyStrangely, enabling auto_login in /etc/slim.conf (Beowulf) as detailed on the Arch wiki made no difference. I haven't got the box up at the moment, but is that conf ignored for some reason?12:21
hagbard_Autologin works for me.12:23
g0zzyHmm12:23
hagbard_Just have set the default user, and set auto_login to yes12:24
hagbard_But I'm on testing/unstable, not sure if that makes a difference.12:24
g0zzyAh. Arch made no mention of setting the default user. Maybe that's already set on that distro12:34
hagbard_probably not. That needs to be your user account. And it's indeed mentionend in the Arch wiki.12:38
g0zzyThen i'm an idiot and missed it ;) Thanks. All working now12:38
jiefk[m]Hey guys, is there a Devuan logo in SVG format somewhere ?13:12
hagbard_jiefk[m] : There are svg desktop backgrounds with the logo beeing part of it.13:28
jiefk[m]hagbard_: Thanks, I'll try to extract one from a bg :)13:30
golinuxjiefk[m]: https://git.devuan.org/devuan/documentation/src/branch/master/art/graphics17:50
golinuxShould be in there somewhere.17:50
golinuxjiefk[m]: Yup.  It's here https://git.devuan.org/devuan/documentation/src/branch/master/art/graphics/devuan-logo-1000x200.png17:55
jiefk[m]Yup, thanks golinux :), Also found the SVG logo ^^17:56
golinuxAll the artwrok is in there17:59
user___Hi. I discovered I am unable to send Ctrl-M to a windows program running inside wine on xfce4 on beowulf.18:43
user___Does anyone have tips on how to tweak settings to make this work? There seems to be no problem sending ctrl-M in other apps. I tried xev too. The keyboard translations seem to be okay.18:43
user___My keyboard is set to English/US when trying this. I do not have any non Latin keyboards installed anyway.18:44
user___k18:44
gordonDrogonuser___, does typing Ctrl-V then Ctrl-M work?18:46
user___no. This is not vi :)18:47
user___rephrased: Ctrl-V pastes the clipboard buffer as expected18:47
gnarfaceseems weird but suggests your window manager is capturing ctrl+m18:51
user___Yes.18:51
gnarfacewhat if you try super_L+ctrl+m18:51
user___I don't think I'm set up for super.18:51
gnarfacethe left windows key?18:52
gnarfacenext to the left alt key?18:52
gnarfacemay also be called "option"18:52
gnarfaceor have a penguin or your PC vendor's logo on it18:52
user___Sure but does not work. Does not do anything in the required context18:53
gnarfacewell it was just a theory.  my window manager captures the alt key, but super_L+alt sends an escaped alt to wine18:53
user___ISO_level_3 shift also does nothing18:54
gnarfaceweird, i wonder if you need some alternate layout18:54
gnarfaceis it a small netbook?18:54
gnarfaceor something with a compact keyboard?18:55
user___I tried all combinations again now, no joy.18:55
user___It's a pc with a 105 key kbd.18:55
user___I also tried "other languages"18:55
user___xev shows Ctrl-M returns 0x0d as it should18:56
user___so not the wm18:56
user___wine must be doing something screwy then. Previous versions of wine did not cause the problem.18:57
* user___ starts notebook.exe under wine to check if all apps are affected18:57
user___in notepad Ctrl-M does the same as Enter: inserts a new line. In Wodpad, they do nothing, only Enter works.19:00
user___wine Ctrl-M handling on google lands me essentially on all AAA sites...19:02
user___maybe-related https://forum.winehq.org/viewtopic.php?t=427319:03
user___but I already checked the Ctrl-M makes it to X11 apps like xev.19:03
user___I enabled a compose key in the kbd layout let's see if it helps any19:05
user___Compose does not help with this.19:08
user___It helps with accents I never bothered to type in so far, however.19:09
suavedandyGood news, everyone.19:19
suavedandyDev1 Galaxy's working fine without VPN now.19:19
suavedandyMagic.19:19
suavedandyAnd I almost thought of buying NordVPN.19:20
masonsuavedandy: https://youtu.be/9PStC-LNZ2s19:20
AlexLikeRockhi devuan lovers19:22
suavedandyThat's Prof. Farnsworth's phrase, actually.19:22
suavedandyFrom Futurama.19:22
masonsuavedandy: Yes. "Some people say I'm robbing the cradle. *I* say she's robbing the grave."19:22
suavedandyGuys. What do you prefer: KDE with tiling or a minimal tiling WM?19:26
masonsuavedandy: Option 3: minimal stacking WM with tiling navigation overlaid.19:27
suavedandyI thought KDE is easier to customize.19:27
masons/stacking/floating/19:28
suavedandyIt's funny how I move from the more complex solutions to simpler ones over time due to my inexperience.19:30
suavedandyIf that will continue the same way I'll fly right into freaking Ubuntu or something.19:31
suavedandyOr do something even more insane.19:31
suavedandyI dunno.19:32
masonThere can be a distinction between "simpler" and "they've made all the complex choices" of course.19:33
n4dirimho for quite a few things cli stuff is the most simple solution, and be it only for it not changing that much.19:38
n4dirmight be me, i do everything very basic, but mocp or xmms don't seem to have changed as long i use them.19:39
n4dirsame would be valid for, say, xfce, which didn't change in a way which made me go: "say what?"19:40
user___.20:11
user___what's the defocus channel called again?20:14
user___#devuan-antisocial? no20:14
n4dirdevuan-offtopic?20:16
brocashelmcan i be mod of #devuan-antisocial?20:21
brocashelmand yeah it's #devuan-offtopic for ot chat20:21
user___you can be all you want to be on irc. Start your own channel.20:23
clortcan i get old iptables back, or does someone have a howto/script for setting up a bridge from usb-networked client device to my ethernet-connected internet?  thank you20:24
brocashelmsuavedandy: give riseupvpn a try if you need a free vpn provider. i tried it earlier today and it was very cool20:24
clortiptables-legacy not found (devuan ceres)20:25
suavedandybrocashelm: What's the data limit?20:26
user___https://serverfault.com/questions/821245/how-to-hook-an-ethernet-over-usb-connection-up-to-the-host-network clort20:26
brocashelmsuavedandy: not sure, but here's their page: https://riseup.net/en/vpn20:27
brocashelmmaybe check the "limitations of using a vpn" section20:27
suavedandy"…we believe it is important for everyone to use some technology like VPN or Tor to encrypt their internet traffic."20:28
user___is there something native to pool/bridge vpns? https://wiki.debian.org/BridgeNetworkConnections#Link_Aggregation_.28LACP.29_with_VLANs20:28
suavedandyHm.20:28
suavedandyThat was debunked by several people. Tor? Maybe.20:28
user___suavedandy: depending on where you live that may be a life saver. Literally.20:28
suavedandyBut VPN for privacy?20:29
suavedandyNew.20:29
clortnftables breaks everything20:29
clortiptables: symbol lookup error: iptables: undefined symbol: xtables_fini20:29
user___And or the only way out of the country. No, VPN alone will not protect your privacy. A ssh or tor tunnel over vpn might20:29
suavedandyAlthough some folks use VPN AND Tor.20:29
user___clort: I have no experience with nftables. What version are you on?20:29
clortnon-function tables is what nftables stands for20:29
clortceres20:29
clortthey got rid of iptables20:30
user___suavedandy: ssh tunnel in tor tunnel in vpn? :) Bring the alu foil underwear.20:30
* clort points to baseball bat20:30
brocashelmsome privacy is better than none. a vpn alone is not going to save you, but it can still go a long way if you know what you're doing. for starters, not letting your isp or state officials keep tabs on you is a step in the right direction for anonymity20:30
n4dir7 proxies !20:30
suavedandyAh. Now I remember. Isn't proxy faster?20:31
clortif you're setting fire to your city you shouldn't have anonymity20:31
brocashelmand better to use a "public" vpn than a "dedicated" one: the former is harder to track20:31
user___clort: re: iptables, what replaced them again?20:31
clortnftables20:32
brocashelmah, the "i have nothing to hide" argument20:32
clortit's not the 'i have nothing to hide' argument20:32
brocashelmface it: there are things you would like to say that you wouldn't say at your work, school, etc. because of circumstances20:33
clortif you're engaging in literal terrorism, i want you found and punished20:33
brocashelmso i don't think it's fair to assume that people using vpn/tor is up to no good. valuing your privacy means you don't wish to become used by corporations20:33
suavedandyI prefer keeping things to myself if possible.20:34
brocashelmsure, i would hope actual criminals are caught and served by justice20:34
n4dirclort: it isn't that easy to distinguish that.20:34
brocashelmbut it's not fair to everyone else to silence them20:35
clortanyway, i can't believe they broke iptables20:35
suavedandyAfter all, you don't let other people to snoop around your car or give them your toothbrush.20:35
suavedandyYour PC. Your rules.20:36
clorti think we all know the privacy 101 arguments20:36
suavedandyThat's how it's s'posed to be.20:36
mason#devuan-offtopic is here for your pleasure20:36
suavedandySorry.20:36
suavedandyJus sayin'.20:36
suavedandyI'm just very greedy for my possessions.20:37
clortthen respect the property of others20:37
brocashelmfeel free to join #devuan-offtopic20:38
user___clort: was Poettering involved?20:40
user___in breaking iptables?20:40
user___tbh iptables is a crufty jungle to set up. But it works.20:40
user___Ceres is Buster? 10?20:42
brocashelmceres is sid20:42
user___oh20:43
brocashelmbeowulf is buster20:43
clortThe netfilter project was founded by Paul "Rusty" Russell20:43
brocashelmchimaera is bullseye20:43
user___clort: tbh nftables seems superior to iptables.20:43
user___wikipedia article on it is good20:43
clort"Following James' assimilation into the collective"...20:43
clortlanguage always gives them away20:43
clorthttps://netfilter.org/about.html#coreteam20:44
user___language gives whom away?20:44
brocashelmi use ceres and it's incredibly snappy. just got kernel 5.9 from the upstream. stable as rock in the last four months i've been using it, so i have no need for lts at this point20:45
clortit's a quote from George Carlin user___20:45
user___"Following James' assimilation into the collective," oh god. THAT kind of ass imilation.20:45
user___clort: it appears in the article you linked as above20:45
user___Oh I see.20:46
user___What collective? Are they a helicopter? Helis do really badly after they "assimilate" foreign materials into the collective controls... <sncr>20:46
user___I see the nft vm as superior to the iptables approach but maybe they should have copied the bsd kind of fw at least for user controls.20:47
user___tbh ipfw is probably as bad as iptables was cli complexity wise but it has a very solid backing and track record.20:48
clorti just want my usb-networking devices to get access to internet20:49
user___f.ex. I think linux QoS at fw level is still a joke, pf does it out of the box.20:49
clorti don't want to start a firewall admin career with nftables20:49
user___:)20:49
user___Tbh I think nft is not what you use to set up a bridge at all.20:50
user___If you want a bridge that is. A transparent one presumably. brtools?20:50
clortthere is no package brtools20:51
clortiptables -L20:51
clortiptables: symbol lookup error: iptables: undefined symbol: xtables_fini20:51
user___bridge-utils20:52
user___do you have brctl?20:52
user___https://wiki.debian.org/BridgeNetworkConnections#Manual_bridge_setup20:52
user___try it manually 1st20:52
clorti do, thanks20:53
user___nft you need for a NAT'd "router" style setup, not for a br20:53
user___you can still use nft to limit damage of the lesser system from possible attack from internet side.20:54
clortwell it's not quite trivial when internet is on tun0.  brctl addif br0 eth0 usb0 breaks network.  brctl addif br0 tun0 usb0 says can't add tun0 to bridge br0: Invalid argument20:58
clortbut i can take down the vpn tunnel first, try setting up bridge to eth0, then bringing up openvpn20:59
user___to add interfaces 1st down them, then give the IP to the brX20:59
gnarfacedidn't read the whole scrollback, but my thought is you're probably going to have to edit the openvpn config to account for this20:59
user___the brX is the ONLY interface with an ip from the group normally21:00
user___clort: arch has a better howto as usual https://wiki.archlinux.org/index.php/Network_bridge21:01
user___clort: so, again: down all interfaces you want to bridge, unset their IP's (0.0.0.0), then bring up each, then bridge them, then give one IP to the bridge.21:02
clortthanks user___  - even with openvpn down brctl addif br0 eth0 usb0 breaks network connection to usb0 and eth021:02
clortk21:02
user___it needs to be down to get a "no" ip address, then up21:03
user___remember whatever addresses you had on the subnets will now be on ONE subnet. The one you assign to the brX21:03
clortahh21:03
user___You may have to do extra virtual nets on top of the br21:04
user___like ifconfig eth0:1 10.0.7.77 netmask 255.255.255.0 ...21:04
user___that adds a virtual net on top of the existing eth021:04
user___you still need to NAT between the nets to port forward21:05
user___in the case of the bridged ones I never tried to do ifconfig br0:1 etc but it should work21:05
user___I don't know how many virtual nets you can add in a default built kernel. I used up to three without trouble.21:06
clortdoing without the openvpn first21:15
suavedandySo I'm installing Devuan with ESP and root.21:16
suavedandyShould ESP be 1G?21:16
suavedandyI remember someone said that.21:17
suavedandyTo store… something.21:17
suavedandyI can also make it 260 or 512 meg.21:17
clortwhat's ESP21:21
suavedandyEFI System Partition.21:24
* user___ utters choice words wrt the unnecessary complexity of the ip command21:38
suavedandyfsmithred: Tried your installer. Very cool.21:40
suavedandyLook at that script rolling.21:41
suavedandyBeautiful.21:41
suavedandy"The system is ready to chroot."21:43
suavedandyHM.21:43
suavedandyHM-HM.21:43
suavedandyOkay, I'mma take a look at Arch Wiki real quick.21:47
user___clort: worky?21:49
clortno21:49
user___which part refuses to work?21:50
suavedandySheesh, there are so many users created.21:53
suavedandyfsmithred: I'd assume that devuan is my user, right?21:53
user___yes21:54
user___just don't ask what the root password is :)21:55
suavedandyI'm just testing if the system got installed properly.21:55
suavedandyFor now I made it so it'll autologin automatically.21:56
user___refracta is good.21:56
n4dirtraditionally user was user and root was root (username:password). Might have changed, but i don't think so21:57
suavedandyDoes it set the root and user passwords by default or do I need to set them?21:57
suavedandyOh, wait.21:58
n4dirwith refractainstall script? Then you will get asked. Just did it21:58
suavedandyThe root is disabled.21:58
user___:)21:58
user___sudo should work as user21:58
suavedandyAs well as the user, actually.21:59
suavedandyI need to set the password.21:59
suavedandyIt shows "❌" in "/etc/passwd"21:59
user___yeah that's not how you set the password21:59
user___there's /etc/shadow21:59
user___you're not running vipw right? :)22:00
suavedandyWait. If I enabled autologin then…22:00
suavedandyMaybe it didn't ask for a password because of that?22:00
suavedandyDamn.22:01
suavedandyYou're right.22:01
suavedandyIndeed, root and user do have passwords.22:01
suavedandyHow do I disable root tho?22:02
suavedandy❌?22:02
user___that is rather unsafe22:02
suavedandyI kno.22:02
suavedandyJust testing.22:02
user___https://www.tecmint.com/disable-root-login-in-linux/ before you lock yourself out read...22:03
suavedandyIt's okay, dude. I'm just trying things out.22:08
suavedandyIf I'll fail I'll just reinstall.22:08
user___Great way to use that great refracta installer over and over again :)22:12
clortwerneta: out of braintime for it user___ thanks though22:12
user___clort: it should work.22:13
suavedandySo. No that I gave my user sudo priveleges, do I replace the hash with x in /etc/shadow for root?22:14
suavedandyOh, wait. Why am I doing this? I just wanted to test if it's booting or not.22:17
suavedandyI've just wasted my time on something pointless.22:17
fsmithredback22:33
fsmithredtoor22:33
fsmithred(for devuan-live isos)22:33
user___too late, he disabled it :)22:34
user___suavedandy: ! in /etc/shadow is more likely22:34
fsmithredfor next time22:34
suavedandyNo, I didn't.22:35
kingsleyHi. It seems to me there's a nice review of 46(!) distros that don't use systemd at22:36
kingsleyhttps://www.slant.co/topics/18348/~linux-distros-that-don-t-use-systemd22:36
suavedandyfsmithred: What does auto-login do?22:36
fsmithredlogs you in automatically?22:36
fsmithredwhat would you expect it to do?22:36
suavedandyI'm asking because your script asks me to disable autologin.22:37
suavedandyYeah, I suspected that.22:37
fsmithredyou how normally when you boot up you get a login screen?22:37
fsmithredautologin bypasses that22:37
fsmithredactually there are two things22:37
suavedandyYeah, right. I was correct.22:37
fsmithredconsole autologin is controlled in /etc/inittab22:37
suavedandyThought it's something else.22:37
kingsleyI'm happy to report it rates the very cool Devuan at #3 for having almost as many packages as Debian.22:37
fsmithreddesktop autologin is in diplay manager config file22:37
suavedandyWeird that your script doesn't ask for a new user password. Is it set up after chrooting?22:38
fsmithredsuavedandy, it does ask for it22:38
fsmithredare you chrooting?22:38
user___kingsley: there are several reviews but thanks for posting that one too.22:39
fsmithredI hope not.22:39
suavedandyAfter installing the bootloader?22:39
fsmithredyeah22:39
suavedandyAhhhh.22:39
suavedandyAnd I thought the prompt suggested me to chroot so I set the password or something.22:39
kingsleyuser: Thanks. I like seeing more interest in taming software complexity.22:39
fsmithredchroot choice is a leftover from when I was trying to add support for uefi22:40
fsmithredand it's there in case you want to do stuff manually22:40
fsmithredbut if you choose that, you must install the bootloader manually22:40
user___kingsley: fwiw PsychOS is devuan based...22:40
fsmithredor better, if you want to mess with stuff in chroot, just go to another terminal and chroot /target22:41
fsmithredthen you can go back and select something other than chroot (like Install bootloader)22:41
suavedandyHmmmm.22:42
suavedandyIt didn't ask for the new user password.22:43
suavedandyI chose the option to keep sudo and disable root.22:43
suavedandyThe only thing it asked is if I want to set a username.22:44
fsmithredI think it's the last question22:47
suavedandyIt is.22:47
suavedandyBecause the installation script ended.22:48
fsmithrednext to last. Root pass is last.22:48
fsmithreddid you use the graphical installer?22:48
suavedandyNope.22:48
fsmithredif so, send me the log. shit.22:48
fsmithreddon't bother unless you ran it with -d option22:48
suavedandyI didn't.22:49
clortwhat's the simple devuan-ceres way to update clock?  ntpdate-debian complains ntpdig: socket error on transmission: [Errono 101] Network is unreachable22:49
user___is the network up...22:49
clorti can ping stuff on the interwebs22:50
suavedandySo the last question was about the sudo access. And before that the script asked if I wanted to change the username.22:50
clortwhat's the simple devuan-ceres way to update clock?  \22:50
user___clort: ntp does not like vpns22:50
suavedandyPerhaps I needed to change the username to be asked for a password?22:50
clorthow should i normally update ntp date/time?22:50
user___clort: try an explicit server w/o vpn near you22:51
clortwhat do i type on a device without vpn, to update date?22:51
user___date -s=string; hwclock --systtohc22:51
fsmithredclort, I usually use ntpdate-debian22:51
user___clort: that is manually22:51
fsmithredoh, not in ceres22:51
fsmithredsuavedandy, change user name comes right before the sudo question22:52
fsmithredthere's a replacement for nptdate, but I don't recall the name22:52
suavedandyThen I have no idea where the script should have asked for password.22:53
fsmithredsuavedandy, it always asks to change the passwords22:53
clortthanks fsmithred and user___ .  date says invalid date '=string' user___22:53
suavedandyWhen it asked if I should disable autologin, perhaps?22:53
suavedandy*want to22:53
user___clort: yeah string should be a real date spec...22:53
user___clort: date -s "22:30:00"22:54
user___clort: man date describes it exactly22:55
clorteasy enough thanks22:55
clortman date is unparseable for me22:55
suavedandyfsmithred: Does the password prompt come after installing the bootloader?22:55
suavedandyOh, wait.22:55
suavedandyI'mma search for the installation vid.22:55
suavedandyMaybe it'll give me a clue.22:56
fsmithredsuavedandy, it goes like this: rsync copies stuff to hard drive, then the bootloader gets installed, then change-username stuff happens, which includes passwords22:56
suavedandyAh, so I shouldn't have pressed ENTER when asked for a username?22:57
suavedandyGimme a sec.22:57
fsmithredif you don't enter a new name, you keep the old one22:57
fsmithrednot sure if it asks about autologin22:57
fsmithredok, I guess it does, because it's not in the config file22:58
suavedandyMan, I'm hungry.22:59
suavedandyGotta go eat something.22:59
CorvusCoraxhi. I have an issue with "apt update" on ascii -- I get : E: Failed to fetch http://deb.devuan.org/merged/dists/ascii-***/main/i18n/Translation-en.bz2  Hash Sum mismatch23:19
CorvusCoraxfor both ascii-backports, ascii-security23:20
CorvusCoraxfile sizes and creation dates also report mismatches23:20
golinuxAmprolla is misbehaving, I'd say23:21
CorvusCoraxwho's Amprolla? ;)23:21
golinuxThe script that merges Debian into Devuan.23:22
CorvusCoraxah. I see.  I just checked for the mirror de.deb.devuan.org I get the same error only on  http://deb.devuan.org//merged/dists/ascii-security/main/i18n/Translation-en.bz2 - but not on backports23:23
CorvusCoraxbut both have the same date mismatch: "Sun, 18 Oct 2020 01:33:38 +0000 vs Sun, 18 Oct 2020 12:25:50 +0000"23:24
CorvusCoraxsorry, that was incorrect, the mismatches are 'almost' the same, the other is "Sun, 18 Oct 2020 01:33:17 +0000 vs Sun, 18 Oct 2020 14:56:15 +0000"23:26
CorvusCoraxis there anything I can do, or just wait?23:27
golinuxFYI, CC are deprecated23:27
golinuxMaybe pick a mirror from the mirror list23:28
clortwow i lost usb device.. usb0: ERROR while getting interface flags: No such device23:28
golinuxWe do have an SOS out to the amprolla dev23:28
CorvusCorax"CC are deprecated" <--  "CC" ?23:29
golinuxCountry Codes23:30
CorvusCoraxwill try some more mirrors23:30
golinuxWe have a round-robin23:30
golinuxhttps://pkgmaster.devuan.org/mirror_list.txt23:31
CorvusCoraxthanks. I think the install script set that up with CC when I first installed ASCII. although i have a number of vms that are always updated more or less simultaneously, it would be advantages if I can ensure they all chose the same mirror, so they either all succeed or all fail - but not some end up updated correctly and some not due to a mirror problem23:35
golinuxYes, the CC have changed after ASCII23:37
suavedandyround-robin sounds like Tim Drake after quarantine.23:38
CorvusCoraxlol23:44
CorvusCorax"is that the penguin there?   No, I think that one is batman. he gained a bit of weight..."23:45
suavedandyfsmithred: Yeah, I shouldn't have skipped the "Change username" step.23:45
fsmithredsuavedandy, it should still ask you to change the password23:46
fsmithredyou probably blew through it with ENTER23:46
suavedandyI don't think so.23:46
suavedandyAnd the system requires you to decrypt the drive twice.23:46
suavedandyWhich is problematic.23:47
suavedandyCorvusCorax: Batman references intensify23:48
fsmithreddecrypt twice why?23:54
fsmithredgrub and root, or root and home?23:54
fsmithredthere's a way to fix the second but not the first23:54
fsmithred(use a keyfile)23:56

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