brocashelm | using runit-services with dhclient and network-manager scripts, how do you prevent from automatically connecting to eth0 if disconnected? i have tried deleting the dhclient service files, but they always regenerate and/or a connection with network-manager eventually keeps me from fully manually connecting/disconnecting. deleting the dhclient service files also prevents openvpn from working (through openvpn command or nm-applet) | 02:52 |
---|---|---|
fsmithred | brocashelm, right-click on the nm tray icon, edit connections, select the connection, General tab, un-check the 'connect automatically' box. | 02:57 |
brocashelm | fsmithred: when i disconnect, it "disappears" from the ui; is there a config file i can modify? | 03:05 |
brocashelm | perhaps in /etc/NetworkManager? | 03:05 |
brocashelm | the conf file currently reads | 03:06 |
brocashelm | [main] | 03:06 |
brocashelm | plugins=ifupdown,keyfile | 03:06 |
brocashelm | [ifupdown] | 03:06 |
brocashelm | managed=false | 03:06 |
fsmithred | let me see what mine has | 03:06 |
brocashelm | or is it my /etc/network/interfaces affecting it? | 03:07 |
brocashelm | auto lo | 03:07 |
brocashelm | iface lo inet loopback | 03:07 |
fsmithred | n-m or e/n/i : pick one | 03:08 |
fsmithred | otherwise they fight | 03:08 |
brocashelm | guess it's the former | 03:08 |
fsmithred | my nm conf file is the same as yours | 03:08 |
fsmithred | if you want static IP, you can set it in the gui interface | 03:09 |
brocashelm | hmmm, i will try to "respawn" the eth0 profile | 03:09 |
fsmithred | that's weird. When I disconnect an interface in n-m it still shows up in the list | 03:10 |
brocashelm | ok, wtf? i checked eth0 on nm applet gui and "connect automatically" does not have a check | 03:10 |
fsmithred | but says 'disconnected' under the name | 03:10 |
fsmithred | you only have the loopback in interfaces? | 03:11 |
brocashelm | it adds another eth0 instance if i disconnect, sv down dhclient, sv up dhclient | 03:11 |
brocashelm | yes, that's what my file has | 03:11 |
fsmithred | ok, lo is not the problem. It won't interfere with n-m | 03:12 |
brocashelm | i remember it being a problem on sysvinit when i installed ascii or beowulf; a fix of that file was what resolved it | 03:12 |
brocashelm | just can't remember what i changed | 03:12 |
fsmithred | allow hotplug changed to auto | 03:13 |
fsmithred | to fix delay on boot | 03:13 |
fsmithred | did I set up n-m in my runit isos? | 03:14 |
brocashelm | i'll check, but my original install was refracta 10 with sysvinit | 03:14 |
brocashelm | then i switched over to runit | 03:14 |
brocashelm | i'm checking the r10_runit-20201024_1516.iso file | 03:16 |
brocashelm | that one is using wicd | 03:16 |
fsmithred | I'm checking a newer iso | 03:16 |
brocashelm | checking refracta_runit_test_amd64-20210614_1136.iso | 03:17 |
brocashelm | this one uses connman | 03:18 |
fsmithred | on a 2022 iso I have n-m using runscript | 03:18 |
fsmithred | there is no dhclient init script | 03:18 |
brocashelm | oh | 03:18 |
brocashelm | yeah, i actually installed runit-services from debian experimental | 03:18 |
brocashelm | https://packages.debian.org/experimental/runit-services | 03:19 |
fsmithred | what has dhclient as a service? | 03:19 |
brocashelm | changelog: https://metadata.ftp-master.debian.org/changelogs//main/r/runit-services/runit-services_0.6.0_changelog | 03:19 |
brocashelm | this version of runit-services converts dhclient as an sv service | 03:20 |
brocashelm | isc-dhcp-client provides the dhclient daemon/process | 03:21 |
fsmithred | I have that package installed | 03:21 |
brocashelm | same, i use dhclient in case i need internet access from cli (such as rescuing a broken system without backups) | 03:23 |
brocashelm | reinstalled the 0.5.4 version (daedalus); no automatic eth0 connection now (after reboot) | 03:28 |
fsmithred | version of which? | 03:33 |
fsmithred | I see | 03:35 |
fsmithred | I don't see why it needs to be a service | 03:35 |
fsmithred | brb | 03:36 |
brocashelm | by default, it's now starting as down (dhclient) with sv | 03:45 |
fsmithred | with the older version? | 03:46 |
brocashelm | yes, on daedalus | 03:46 |
brocashelm | the 0.5.4 build | 03:46 |
brocashelm | i did a reboot without changing any of my configs | 03:46 |
fsmithred | yeah, that's the version I see | 03:46 |
fsmithred | I haven't tried runit-services yet | 03:46 |
brocashelm | i was using the experimental build because i wanted to access more runscripts | 03:46 |
fsmithred | I don't see anything I want in 0.6.0 that I don't already have. | 03:54 |
fsmithred | Hey, I made new desktop-live isos with a (small) mimeapps.list. I can't test it due to slow internet (6-hour download). | 03:57 |
brocashelm | oh, cool, the one i sent you? | 03:57 |
fsmithred | please test if you get a chance. I only included a few of those from that list. Mostly images and a couple of text types. | 03:57 |
fsmithred | most of that I have no idea what they are | 03:58 |
brocashelm | can you link me to it? is it on refracta.org? | 03:58 |
fsmithred | no, it's on files.devuan.org or any iso mirror | 03:59 |
brocashelm | ok | 03:59 |
brocashelm | i'll go check | 03:59 |
fsmithred | https://mirror.leaseweb.com/devuan/devuan_daedalus/desktop-live/ | 04:00 |
brocashelm | downloading now, thanks | 04:00 |
brocashelm | ok, i just booted into the live image via vm | 04:02 |
brocashelm | fsmithred: file package_list is wanting to be opened with libreoffice writer by default still | 04:03 |
brocashelm | jpg files still defaulting to firefox-esr, too | 04:04 |
brocashelm | instead of ristretto | 04:04 |
brocashelm | svg is correctly pointing to ristretto, though | 04:06 |
brocashelm | zip archives defaulting to xarchiver, no other "alternative" to it, good | 04:07 |
fsmithred | does ~/.config/mimeapps.list exist? | 04:08 |
brocashelm | yup | 04:08 |
brocashelm | 7 lines only | 04:08 |
fsmithred | yeah, that sounds right | 04:09 |
fsmithred | can you set a few of those manually and see if they get stored with a different syntax or something? | 04:09 |
brocashelm | https://dpaste.org/iLM74 | 04:10 |
brocashelm | i will | 04:10 |
fsmithred | thanks | 04:10 |
brocashelm | yw, just updated gif/jpeg/plaintext files: https://dpaste.org/rSZK5 | 04:12 |
brocashelm | now they are correctly launching mousepad (text files) and ristretto (image files) | 04:12 |
brocashelm | i am seeing firefox-esr as the secondary program for images | 04:13 |
brocashelm | so it will get used if ristretto is removed with no alternative software for image viewing available | 04:14 |
fsmithred | does the original file have just the Default Applications heading, or no headings? | 04:14 |
brocashelm | for mimeapps.list? | 04:15 |
fsmithred | yeah | 04:15 |
brocashelm | well, now that i right click on it, i see "open with mousepad" | 04:16 |
brocashelm | then open with shows libreoffice writer and vim in that order | 04:16 |
fsmithred | no headings. | 04:16 |
brocashelm | yup | 04:16 |
fsmithred | I forgot to put the heading in the file. | 04:16 |
brocashelm | "set default application" is there if you hover on "open with" | 04:17 |
brocashelm | ah | 04:17 |
fsmithred | can you test with just the default section in the file, with its heading? | 04:18 |
brocashelm | ok | 04:21 |
fsmithred | Thanks. I want to fix it now and start another build. | 04:23 |
brocashelm | i edited mimeapps.list and kept the first section with those three lines | 04:23 |
brocashelm | still saying "open with mousepad" | 04:23 |
fsmithred | cool, thanks. | 04:24 |
brocashelm | np | 04:24 |
brocashelm | this was also done on a reboot of the live image with the quick modification | 04:25 |
brocashelm | images are also pointing to ristretto | 04:25 |
fsmithred | building... | 04:27 |
fsmithred | next act is sleeping | 04:28 |
fsmithred | see you on the other side | 04:28 |
brocashelm | ttyl | 04:35 |
Kitty | I have a 3rd party (from Microsoft of all places) deb that I need to install, but it fails cos it expects to find a systemctl. Does there exist anyway in devuan to emulate the existence of systemctl without there being a systemctl ? | 11:42 |
Kitty | ok, what I did was created a bash script that just contains "exit 0" as /usr/bin/systemctl | 11:50 |
fsmithred | Kitty, 'apt-cache search systemctl' and you'll find a couple of packages. | 11:50 |
fsmithred | did that work? | 11:51 |
Kitty | but now I need to convert a systemd service file into a sysV init.d file, and I am sure I've done this in the past, but can't for the life of me remember how | 11:51 |
fsmithred | there's a script for that. I think it's in a sysvinit package. | 11:51 |
fsmithred | also, a dummy command might work, but sometimes you need a dummy package so the package manager thinks it's installed. | 11:52 |
Kitty | ERROR:systemctl: man-db.service: Executable path is not absolute, ignoring: +/usr/bin/install -d -o man -g man -m 0755 /var/cache/man | 11:55 |
Kitty | so I installed the systemctl package instead of my shell script | 11:55 |
Kitty | the conversion script is not in the sysvinit package, or it's -core or -utils packages | 11:59 |
fsmithred | prob. utils | 11:59 |
fsmithred | The shell script is called sysd2v.sh and is now included in the SysV init source code, under the "contrib" directory. | 12:04 |
Kitty | I found tht via https://dev1galaxy.org/viewtopic.php?id=4865 | 12:05 |
fsmithred | Thank you, Trek. The new conversaion script will be in the next stable release of SysV init, which will carry the version number 2.97. | 12:05 |
fsmithred | oh good | 12:06 |
fsmithred | I was coming up with dead links | 12:06 |
fsmithred | chimaera has 2.96 | 12:07 |
fsmithred | chimaera-backports has 3.0 | 12:07 |
Kitty | hmmm, using the conversion script has created a file, but nothing actually starts... | 12:08 |
ted-ious | What is this mysterious microsoft deb package? | 12:13 |
Kitty | mde-netfilter | 12:14 |
ted-ious | Alert!: HTTP/1.0 402 Payment Required | 12:22 |
ted-ious | Very interesting. | 12:22 |
Kitty | ?? | 12:23 |
ted-ious | Trying to look up that package. | 12:24 |
Kitty | https://packages.microsoft.com/debian/10/prod/pool/main/m/mde-netfilter/mde-netfilter_100.69.62.amd64.deb | 12:26 |
ted-ious | I think I found that repo but I was looking for documentation to understand what it was. | 12:26 |
Kitty | it's part of MS defender | 12:27 |
ted-ious | I'm surprised to find that microsoft is selling security software for ubuntu. | 12:27 |
Kitty | yeah, so was I | 12:36 |
Kitty | mdatp is the other half of the install. Which is giving me: | 12:37 |
Kitty | "package post-installation script subprocess returned error exit status 1" | 12:38 |
Kitty | which is really unhelpful... | 12:38 |
Kitty | wow, this is brain damaged. postinst script fails, but rather than printing an error, just returns 1. | 12:52 |
Kitty | editing the script to add set -x | 12:53 |
Kitty | then running it manually I get a lot of info happening | 12:53 |
Kitty | it creates all sorts of log files | 12:53 |
Kitty | then when it fails, it deletes them all | 12:53 |
Kitty | E:error_code=1, lineno=516, command='cp "$MDATP_CONF_DIR/mdatp.service" "$SYSTEMD_SERVICE"', func='SetSystemdService' - yep, it's a systemd issue. | 12:55 |
Kitty | interestingly, if I run the command manually, it runs just fine. so there's something special about the way the script does it | 13:26 |
Kitty | whoop, all working, systemd-service-shim works better than the systemctl package | 13:47 |
onefang | Cool. | 13:58 |
Kitty | to complete the story of what was failing for me, the postinst script tries to do a os detection, if it's not debian, it decides it's redhat, as devuan isn't debian, it then tried to put stuff in redhat type locations, which don't exist, throwing a symbolic link in /usr/lib/systemd/system to /lib/systemd/system, solved it, as did using the systemd shim so that it could run the post inst script. | 15:25 |
Kitty | I haven't yet got working init.d scripts, but that's gonna be a tomorrow problem | 15:26 |
jason123onirc | I installed xfce4 devuan and the display locking looks like its xsreensaver. How would I change it to the xfce4 lock screen? Can't find what the package would be | 15:55 |
fsmithred | jason123onirc, maybe light-locker, but I think that goes with lightdm, and devuan installs slim by default | 16:07 |
fsmithred | so you might need to change the dm | 16:08 |
jason123onirc | fsmithred light-locker might work though why does devuan ship slim when its not had a new release in years | 16:12 |
fsmithred | some devs like it, and we've maintained it internally. | 16:12 |
jason123onirc | Turns out its the xfce4-screensaver package that handles the screen locking on xfce and its only in sid for some bug but it works fine on the other distros | 16:19 |
grayrock | just out of curiosity, why did devuan switch to slim? | 16:37 |
golinux | Minimalism. Devuan has always used slim since day one. It was hellekin's choice and he themed it with the iconic Devuan "swoosh" | 16:46 |
Kitty | what is slim ? | 16:47 |
golinux | log in manager | 16:48 |
Kitty | oh, I think I use xdm ? | 16:48 |
golinux | There are other options. Slim is the default | 16:48 |
Kitty | I use evilwm as my window mangler. | 16:49 |
golinux | The default slim looks like this: https://dev1galaxy.org/files/deepsea-slim-sm.png | 16:51 |
golinux | You can see how the default them carries through from boot to the desktop here: | 16:52 |
golinux | https://dev1galaxy.org/viewtopic.php?id=3896 | 16:52 |
jason123onirc | what display manager is installed on mate? | 16:57 |
gnarface | jason123onirc: not sure but it's probably slim or lightdm | 17:22 |
gnarface | should be easy to check | 17:22 |
gnarface | i think anyway... unless it's gdm because gnome? | 17:23 |
gnarface | just look at what's running with "ps aux --forest" | 17:23 |
jason123onirc | its lightdm | 17:29 |
grayrock | ok, thanks all. just sorting out my usual confusion. | 17:31 |
fghhf | I don't understand how to set up the bridge https://wiki.archlinux.org/title/QEMU#Bridged_networking_using_qemu-bridge-helper | 19:57 |
gnarface | can you be more specific? | 20:05 |
gnarface | also, you might have better luck following directions for the right distro... | 20:05 |
fghhf | gnarface, chimaera | 20:23 |
gnarface | fghhf: no, i mean be more specific about what you don't understand | 20:24 |
fghhf | gnarface, i added lines "allow bridge1 allow bridge2" in /etc/qemu/bridge.conf. i don't know how to connect QEMU VM to internet via enxac7deb85b7c2 | 20:29 |
gnarface | fghhf: you probably only need one bridge, but you need to add your network devices to it | 20:39 |
gnarface | i don't know why it says bridging is not possible with a wifi device though, afaik that's false | 20:41 |
fghhf | gnarface, how to add network devices to the bridge? | 20:41 |
gnarface | in their examples they're using eth0 as a network device, but then they don't actually do anything useful with it | 20:41 |
gnarface | you can use brctl to manipulate the bridge or you can just write it into /etc/network/interfaces (which Arch Linux does not use) | 20:42 |
gnarface | really, it would be better if you could find some old debian wheezy documentation about this | 20:42 |
gnarface | i'm sure it was out there at some point.... | 20:42 |
gnarface | fghhf: to be clear, these instructions appear to be for bridging multiple guests together without connecting them to the internet... i'm inferring that this is not what you actually want so i think you need different instructions. | 20:48 |
fghhf | gnarface, how to add bridge1 to /etc/network/interfaces without breaking anything? | 20:50 |
gnarface | fghhf: should be instructions in the interfaces man page or some man page that comes with the bridge-utils package | 20:52 |
gnarface | there's probably also numerous examples online | 20:53 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!