libera/#devuan/ Wednesday, 2024-07-17

debdogGuest35: ahoy! i have no clue who the admins are but just wait for some time, someone will reply. just be patient it may take some time, thanks!00:01
debdoggolinux: you lurking?00:02
Guest35ok!  thanks for info, i was wondering if anyone could see my msg....00:02
Guest35...since i dont see any other messages...  i'll wait no problem00:03
debdogyah, it's very quiet today00:04
debdogGuest35: https://dev1galaxy.org/userlist.php?username=&show_group=1&sort_by=username&sort_dir=ASC list of admins. I know that golinux and fsmithred are usually in here.00:08
Guest35thanks...maybe i'll ask a question while i wait if anyone can help me....00:10
Guest35i just installed devuan for 1st time and all is ok but 1 thing so far.  i installed wireguard ok and when i try to move a file from the Downloads folder to the /etc/wireguard folder i get a msg saying No Such File or Directory.  does anyone know what is wrong?00:10
Guest35 is did sudo and then mv (file name) /etc/wireguard00:11
Guest35so it looked like sudo mv (file name) /etc/wireguard00:12
mnsDid the file have spaces in the file name?00:14
Guest35no spaces but it did have some - in the name00:16
mnsso it was:  sudo mv some-file-name /etc/wireguard00:16
Guest35yes and the file name had .conf at the end, it tried it with and without the .conf and got same reply00:17
mnsthe error message should have said something about which file or directory it was complaining about00:17
mnsyou would need to use the .conf in the filename.00:18
Guest35let me look...00:18
Guest35it says     mv: cannot stat 'file name here': No such file or directory00:19
mns'file name here' isn't the name of the file, that's why its complaining.00:20
Guest35i wrote that instead of the real file name for privacy since it is for a vpn connection. using your file name example it looks like    mv: cannot stat 'some-file-name': no such file or directory00:22
mnsare you in the directory where the file exists?   Maybe use a full path to the file:  sudo mv $HOME/Downloads/file-name.conf /etc/wireguard00:25
mnsYou can use $HOME or /home/USER_NAME/Downloads/file-name.conf00:25
Guest35i'll try now...00:26
mnsIf you do:  pwd   what directory does it say you're in?00:26
debdoghmm, does /etc/wireguard even exist?00:27
rwpReplace the "sudo mv" command with the command "ls -ld" and verify that both the source and the destination exist.00:27
mnsif /etc/wireguard doesn't exist, it will get created as a file.  More about the source not being found.00:28
rwpRight.  But if /etc/wireguard gets created as a file that's not right and will cause trouble later.00:29
debdogyah, sorry00:30
rwp(Also trying to move multiple source files to a target causes a requirement that the target be a directory.)00:30
mnsmoving only one file from what I can tell.  Also the error message said it couldn't find the source file00:30
rwpThat's one of the reasons people like me propose destination directories end with a / as in "mv file1 dest1/" because the trailing slash forces dest1 to be a directory and cannot be a file and cannot be not existing.00:31
mnsgood point00:31
debdogGuest35: are you aware of autocomplete?00:32
mnsmaybe the vpn connection conf file copied over successfully and he got pingd out?00:35
debdog:/00:37
debdoghehe00:37
Guest74hi   this is for mns, you were helping me with the wireguard issue but i got disconnected...00:47
Guest74your suggestion worked!!!  i cant thank you enough!!!!00:47
Guest74i spent 2 days on this...00:47
debdog\o/00:47
Guest74the first suggestion worked by using $HOME/Downloads....00:48
Guest74i confirmed the vpn is connected now and i think that may have been what disconnected me before but i didnot realize it until i saw a disconnect msg at the top of the web page00:48
Guest74i'll send update to the vpn person helping me in case anyone else has this issue, i entered exactly what they said and that probably works most of the time for them but maybe this could help someone else...00:49
Guest74again  THANK YOU for taking the time to help me!00:50
Guest74this is for the admin msg before, i dont need acct approval now that the issue is fixed please ignore that msg i think it came from Guest35 but i cant remember what i was loged in as.00:52
Guest74i was just goin to use the forum to ask for help w/this issue...00:53
debdogyes, Guest3500:53
debdogwhat nick do you have on the forum?00:53
Guest74thanks.  when i got disconnected i lost all previous info.....00:53
debdogGuest74: see topic, there is a link to the channel's log00:54
Guest74i dont have anything, this is my first time so i loged in via the web app for libera and it gave me an auto name of GuestXX.  i think now i'm using this i'll look at gettin a irc clietn and register00:55
rwpGuest74, Channel log for you: http://reisenweber.net/irclogs/libera/_devuan/_devuan.2024-07-17.log.html00:56
debdoghttp://reisenweber.net/irclogs/libera/_devuan/00:56
debdogwell, what rwp said00:56
Guest74thanks.  this is all new to me sorry..  gut it seems maybe better here to talk about stuff than forum  maybe i'll get both set up since i like the devuan distro00:56
Guest74thanks to all for being nice and helping me, im gonna leave now and finish setting up my new install but i'll create acct to come back here.  bye!!00:58
debdogGuest74: get a proper IRC client and the experience will be even better00:59
debdogcya!00:59
Guest74yes, i have put that on my list of research to do next, this web version saved me this time but i'll get a proper setup for future...01:00
plasma41buZz: https://xournalpp.github.io/01:20
joerghttps://web.libera.chat/#devuan  https://libera.chat/guides/  https://libera.chat/guides/clients05:26
joergand of course https://libera.chat/guides/basics and https://libera.chat/guides/registration05:39
joergwatch out! make sure you don't have a leading space or other char before the / of any /COMMAND, since otherwise it ends in the #channel you're just in, like:05:44
joerg /msg NickServ REGISTER YourPassword youremail@example.com05:44
joergideally before sending any such command, switch your irc client to the "Libera" tab, usually the first tab in your list of tabs you opened and the one that has no leading #hash05:45
onefangWhile on that subject, also watch out if you are starting a message with a file system , the / at the beginning might mean it gets mistaken for a command.05:46
onefang"file system directory path"05:46
onefang /etc/DELETE_ME is missing.  For example.05:47
joergluckily the chance to get a valid /command that way is small :-)05:48
adhocthe question to ask is, which was the first platform that irc was operating on ?06:04
adhocare there any books on the early history of irc?06:05
onefangNot a question for this channel though, this is a support channel.06:19
gordonDrogonadhoc, I presume you've seen https://en.wikipedia.org/wiki/IRC but yes, it's a bit OT for here.09:56
adhocgordonDrogon: ta09:58
adhochave not read that in a ... while.09:59
cakebanditAny suggestions on a distro without systemd for arm64 architecture? I have debian bookworm on the device now, maybe I can uninstall ssyemd and install sysvinit-core?18:04
golinuxDevuan has arm images available here: https://arm-files.devuan.org/18:18
friedhelmYou can migrate to daedalus in place. Instructions are on our website https://www.devuan.org/os/install. Runs fine here on 2 machines.18:18
cakebanditokay big thanks for that info18:22
cakebanditI followed the instructions mostly on the howto bookworm-to-daedalus. I uninstalled plymouth and maybe somthing else. The only problem I have is when device reboots I have to manually set eth0 a ip address, set it to up and the also add a route (default gateway). I need to start searching, anybody have any suggestions?20:10
cakebanditheadless server by the way20:10
gnarfacecakebandit: you can dial in your network configuration manually by entering it into the /etc/network/interfaces file20:12
cakebanditokay I'll look into that, thanks20:12
gnarface"man interfaces" should give you the docs20:12
cakebanditok20:12
gnarfacethere's probably also lots of examples online, for basic use it's a pretty simple format20:13
cakebanditroot@server:/home/odroid# man interfaces20:13
cakebanditNo manual entry for interfaces20:13
gnarfaceyou must be missing the docs20:14
cakebanditokay20:14
gnarfacehmm20:14
gnarfaceinstall the package named ifupdown20:14
gnarfaceseems like you must have been missing the tools too, makes me wonder what else you're missing...20:15
gnarfacedid that give it to you?20:17
gnarfaceyou'll need the ifupdown package just to do this, i didn't know it was even possible to be missing that20:17
gnarfacebut it has its own docs20:17
rwpcakebandit, You uninstalled plymouth?  Are you coming from bookworm or from Ubuntu 24.04 Noble?20:18
freemFWIW if you have a weird problem about "network unreachable" after toying with your init, it might be because you failed to boot it: "ip link set up lo"20:18
freemthat is some amusing thingy I got when toying around to have neither sysVinit nor systemd :)20:19
cakebanditI ran mandb -c & apt install ifupdown, works man interfaces works20:20
cakebanditI am coming from bookworm20:21
freemwere you using a systemd-based install of bookworm?20:22
cakebandityes20:22
freemok ok20:22
freemI am personnally using debian here as well, and it's systemd-virgin20:23
freemwell, it ofc have systemd-udev and libsystemd0, but it's all20:23
freemcakebandit: one thing is, do you use what is commonly named "big DEs" (big desktop environments, such as gnome or kde)20:24
gnarfacehe said it was a headless server20:25
freemoh, my bad20:25
gnarfacethat implies no desktop20:25
freemyes, I'm sorry20:25
cakebandityou guys are really smart, very helpfull here. Thanks so much allready, have saved me lots of time20:26
gnarfaceyou're welcome20:26
freemI just... feel stupid now20:27
freemtotally misread the stuff20:27
gnarfacethe first step in getting smarter is feeling stupid, that's how you know it's working :)20:27
freemso the problem is your network is not set by default after a migration?20:28
freemgnarface: except that I know I often repeat some mistakes :)20:28
gnarfacehe seemed to be missing the actual basic low-level networking setup package itself... no idea how that happened but probably a side effect of the migration path20:28
freemsome people just do and redo the 1st steps20:28
rwpThat makes it sound like the interface is not set to either "auto" or "allow-hotplug" depending upon things.20:28
freemwell, what I said earlier is related at least20:28
freemwhen toying with runit init before devuan was born and within debian, I did had this weird thing20:29
rwpOr...  Network-Manager which many people use is not installed as that avoids any interface in /etc/network/interfaces and brings up the network once someone logs into the DE.20:29
freemthe answer is just: "set the line in your init scripts"20:29
gnarfaceyou can migrate from just about any debian or debian derivative to devuan, but in the process there's frequently pitfalls where important stuff goes missing... you kinda just have to know what to check for so you can reinstall it after the migration20:29
freemrwp: yes, that's why I was asking for desktop20:29
freemwait... is that crap also installed by default on headless?20:30
gnarfaceifupdown? from a stock install, yes20:30
rwpIt's a problem of Twenty Questions needed to see exactly what state people are configuring their system into.20:30
freemI migrated between debians and devuan so much...20:30
rwp*I* never use NetworkManager on a headless machine.  I always use ifupdown there.  But...  Who knows what other people do.20:31
freembetter to not touch my system if you have not developped some immunity20:31
rwpAlso I have never noticed plymouth being installed on a Debian system.  I always see plymouth installed on Ubuntu systems.20:31
freemI don't even use ifupdown20:31
gnarfacei remember plymouth being problematic before, but it seems to be present in the daedalus repos20:32
freemI find it easier to just go with a script running `ip` instructions20:32
rwpifupdown used to be rock solid back in the old days.  But it has been crufted up quite a bit in the last decade.  I am becoming disenchanted with the new ifupdown to some extent now.20:32
rwpplymouth has a devuan version so I can see it has been forked for Devuan.20:32
rwpfreem, I am not quite to only using ip commands but I am definitely almost there myself.20:33
freemthe new ifupdown?20:33
freemyou mean that crap in python that weight 3 or 4 times more than the original, and have for only "pro" that it's in python?20:34
freemhow can one even seriously let this pass on their system :D20:34
freemrwp: in fine, network is not as hard as one would expect20:35
freemespecially for virtual machines or ethernet connections without encryption layers20:35
rwpMy complaints about ifupdown would be better in offtopic but yes it changed maintainers a decade ago and the new person didn't like the old way and migrated it from the old C language to the new C language and then added a bunch of "features" which to me feel like traps and pitfalls.20:35
freemI see20:36
freemwell, I don't use it myself20:36
freemI've found that it's easier to write everything yourself, if you have the skill20:36
rwpIt was previously written in a literate-C variant (Like Knuth advocates for) where the documentation is embedded and generated from the source files.20:36
rwpThe new maintainer flushed all of that.  Which is sad because it was very nicely written.20:37
freemI don't remember nicely the ifup, ifdown and ifupdown commands in debian20:37
rwpThen the paradigm was shifted to make "magical" pseudo targets to bring up such as virtual interfaces.  Which introduced a new dependency system because of course those depend upon the physical interface.  And I think that is where the design got screwed up.  It could be done okay.  But it was not.20:38
freemmaybe I only knew the new ifup then20:38
freembut even when I was on windows my system was hardly a normal windows, so with the source code in hands?20:39
rwpThere were several years where there were many bugs related to people trying to bring up virtual interfaces but the dependent interfaces were entangled and not handled correctly, not semaphored correctly.20:39
freemI only say I use debian because it's the root of packages, but....20:39
freemI don't play much with networking tbh20:39
freemI'm happy enough as an educated user, I guess20:40
rwpForewarned is forearmed.20:40
freemand don't ask me anything about IPv620:40
freemit's like  they asked for it to never be used20:40
rwpYes...  The IPv6 problem.  Design by committee and it's almost as if they never wanted it widely adopted.  #devuan-offtopic though...20:41
freemI still want to someday do a complete virtual network and learn more but... lazy20:41
freemhehe ok then, let's go there20:42
fsmithredDid cakebandit get the network sorted? Is it a problem of network device names?21:21
freemno idea21:22
fsmithredcakebandit, if you have any network scripts that reference the ethernet device using the new names (like enp-whatever), you either need to change them to use the old names (like eth0) or add net.ifnames=1 to the boot command to force devuan to use the new names.21:23
cakebandityes I sorted it, also I had rsyslog missing. now I have syslog to see what else I may need. lol21:29
fsmithredgood21:30
freemavoiding syslog is a real sport22:48

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