libera/#devuan-arm/ Monday, 2023-06-12

hacksenwerkHi. Raspberr Pi 400 here. Using this image: rpi-4-devuan-daedalus-6.1.32-arm64-ext4-2023-06-12-064412:41
hacksenwerkIt is a headless server. I connect to it via ssh: laptop -> router -> rpi 40012:41
hacksenwerkToday I powered on my laptop and router but not the pi.12:42
hacksenwerkI unplugged the ethernet plug from the pi and connect it to my alptop directly: laptop -> ethernet cable -> rpi12:42
hacksenwerkI tried some stuff I red on stackexchange but I couldn't get a connection.12:43
hacksenwerkI unplugged that ethernet cable from the pi. And I set up my old connection: laptop -> router -> pi.12:44
hacksenwerkThe pi showed up i the router a minuter or so after that and I can connect to it via ssh as usual.12:44
hacksenwerkThen I connect a second ethernat cable to it to have this connection again too: laptop -> ethernet cable -> pi, so this connection is now _additional_ to the one throught the router.12:45
hacksenwerkI tested some other direct connection stuff but it did not work, also the pi lost the ssh connection on the router setup.12:46
hacksenwerkI unplugged both ethernet cables from the pi and plugged in only the one that comes from the router, but the pi did not show up in the router.12:47
hacksenwerkI restarted the router and even then the pi did not show up.12:47
hacksenwerkWhat is going on?12:47
hacksenwerkThe first hotplug -> 12:44 worked, but the second -> 12:47 not, why?12:48
hacksenwerkOr maybe a better question: Any tutorial for daedalus to get that direct ethernet connection to work?13:13
adam_free2airhacksenwerk: one tip - if you want direct connection between laptop -> ethernet cable -> rpi without messy static or dhcp configs either end, install/configure autoip, eg with avahi-autoipd on both hosts connected directly via ethernet cable. avahi-daemon should give you hostname resolution under .local automagically.13:15
hacksenwerkadam_free2air: Hi. Thank you for you advice, but I don't want to use any poetterware. Also I would like to learn more about networking.13:18
hacksenwerkThat's super weird, when I ping: „ping raspberry-pi-400“ it outputs: „PING raspberry-pi-400.lan (IP-Adress of the pi)“, but also: „From Hostname_of_my_laptop.lan (IP-Adress of my laptop)“13:26
adam_free2airhacksenwerk: the image you refer to above, for connectivity raises network-manager by default (same as debian). you can install and debug/learn more about IP networking and routing using nmcli or standard debian network configs under /etc/network/interfaces*13:27
hacksenwerkadam_free2air: I removed that from the installation.13:27
hacksenwerkI use dhclient13:27
hacksenwerkI and configured interfaces file13:27
adam_free2airhacksenwerk: not super weird, that's your router resolving mdns from the hostname of the pi published using avahi-daemon (don't get me started, but avahi was but no longer is poetterware).13:30
hacksenwerkadam_free2air: There is no avahi stuff on my pi13:31
hacksenwerkI removed it13:31
hacksenwerkI remove always all packages I don't want and their leftovers from the pi images after booting them the first time.13:33
hacksenwerkAnd I still have to check some of the default packages that comes with that images, because I don't know all of them.13:34
hacksenwerkThe images are not minimal sadly.13:34
hacksenwerkI also reconfigure apt, network stuff, ssh and some other stuff.13:35
hacksenwerkAnd upon this I build my system.13:35
hacksenwerkFor networking I install isc-dhp-client if not there add the interfaces in /etc/network/interfaces, run dhclient and remove all networkmanager stuff.13:40
c0rneliusBuild ur own img and don't select network-manager during the build. I guess really you could edit out a lot of packages you didn't want during the build process, but you might break some of the pi specific packages the builder installs. If the headers weren't installed a lot of the build tools could also be removed.13:44
hacksenwerkc0rnelius: Yeah that would be a solution, but I never did that before and I'm not familiar with what packages a pi definitaly needs.13:46
c0rneliusWell it is like anything really, make sure the firmware and networking stuff is there and the basics will work. userland, sys-mods, pi-bluetooth and the headers aren't really needed if ur not using all the pi specific stuff and don't plan on compiling against the headers.13:52
c0rneliusbut to what end? you save ur self a few 100 mbs off the img? a lot of effort for space that now a days most people don't need.13:55
hacksenwerkc0rnelius: It is not about space13:57
hacksenwerkIt is about not haveing specific software on your system, and especially no software that you don't use anyway.13:58
c0rneliusk14:03
c0rneliusProbs using the wrong distro then. Devuan has bad track record of pulling in packages that aren't really required. example: https://paste.debian.net/1282734/14:12
c0rneliuseven installing openssh it will try and drag in garbage not related to functionality.14:12
hacksenwerkMaybe that relies on you apt config?14:13
hacksenwerkIf not did you report that?14:13
c0rneliusWhy would I? They must know.14:13
c0rneliusIt has been like this for years14:14
hacksenwerkI don't know about networkmanager, but maybe that is somehow related to some systemd replacements?14:14
c0rneliusan icon package?14:14
c0rneliusright14:14
hacksenwerkI don't know, systemd is so deeply bound to the rest of debian know, I could imagine everything...14:15
hacksenwerk*now - not know14:15
hacksenwerkI have reported that at #devuan14:18
hacksenwerkc0rnelius: You are not in that channel with that nick.14:18
hacksenwerk?14:18
hacksenwerkI am on Devuan since the fork started and I never had any packages pushed in by apt that I don't wanted.14:21
hacksenwerkIs your apt configured in a way that it installs recommends too?14:22
hacksenwerkOr even suggests?14:22
c0rneliusI'm not in that channel.14:23
c0rneliusi pulled that from the pi. i set the sources.list to be the most adequate for general users. if I did a no recommends sure it wouldn't have dragged all that in, but honestly it shouldn't have in the first place.14:26
hacksenwerkc0rnelius: Here's the answer: „try 'apt show network-manager' in debian and in devuan to compare the Depends and the Recommends. What you posted doesn't prove anything because we don't know what packages were already installed on the Debian system they used.“14:27
c0rneliusWell that is fine. They are wrong.14:28
hacksenwerkc0rnelius: Ok maybe then you could talk to them yourself. ;)14:28
c0rneliusBoth my builders generally use the same depends, minus some and plus some here.14:28
hacksenwerkc0rnelius: -> #devuan14:30
c0rneliusNah. The Devuan's approach to users is, ur wrong.14:30
c0rneliusDone with that. Let them bloat their stuff.14:30
hacksenwerklol14:30
c0rneliusIt is a sad day when I can produce a Ubuntu img that is waaay smaller and installs the same bits minus firmware.14:31
hacksenwerkc0rnelius: You're still lacking of a proof. :)14:33
c0rneliusif u say so14:33
c0rneliusgo build an img14:33
hacksenwerkc0rnelius: Now not me has to do the proof, _you_ have to.14:33
c0rneliusno I don't :)14:34
hacksenwerkSure you do: You said, there's an issue and not proofing anything about that.14:34
c0rneliusproving14:34
hacksenwerkc0rnelius: yeah sorry I'm not native14:35
hacksenwerkAlso you avoid the direct contact to the devs.14:35
c0rneliusI thought I just did? one was a minimal pi img and the other was a minimal bpi-cm4 img. neither have network-manager installed.14:35
hacksenwerkIn summary that must show: you are trolling.14:35
c0rneliusThis is what Devuan uses to produce the pi images; https://github.com/pyavitz/rpi-img-builder14:36
hacksenwerkAnyway I was just curios if that is an issue or not and not starting some mediating betwenn you and the devuan devs...14:36
c0rneliusI think I would know what is and isn't getting installed at this point with each distro.14:36
hacksenwerkc0rnelius: As I said: I don't have ever build an imag, if you think you have found an issue, go and report it.14:37
c0rneliusI'm not starting anything. You were talking about being minimal and I was pointing out that Devuan isn't unless you try really hard :)14:37
hacksenwerkOh and also I think all arm images are done by the devuan community and not the developers of devuan.14:37
c0rneliusthat is true14:38
hacksenwerkc0rnelius: That is not true for me, I have a more minimal system compared to the "minimal" bloated one I once had with Debiand14:38
c0rneliusgood good14:39
hacksenwerkon x8614:39
hacksenwerkon rpi I don't know, cause I only used that once with raspian long ago and now with devuan and I'm also new on the pi, I have nearly no exprience with it.14:39
c0rneliusin theory it shouldn't be much diff than x86, but who knows. I know it isn't all that diff on other distros.14:40
c0rneliusmy guess is the depends are all the same on each ARCH. Be a lot more work to make it not so.14:40
c0rneliusat least general depends.14:41
hacksenwerkYou should adress you issue the to the people who develop devuan-arm.14:45
hacksenwerkSo here in the channel? Or here: https://dev1galaxy.org/viewforum.php?id=2414:46

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