| Vall | back | 03:03 |
|---|---|---|
| Vall | c0rnelius: thanks for the link (and your effort) | 03:04 |
| Vall | downloading it right away | 03:04 |
| Vall | Tenkawa: heh there's a Chilean everywhere ;-) | 03:06 |
| Vall | Valparaiso is a nice city as cities go -- but to come to Chile and stay in cities is like going to Rome just to see the Pope ;-) | 03:07 |
| Tenkawa | I'm talking about the Valparaiso here in the states though | 03:07 |
| Tenkawa | the university | 03:07 |
| Vall | Tenkawa: heh didn't even know there was a Valparaiso in the US | 03:08 |
| Tenkawa | Indiana | 03:08 |
| Vall | in Chile, it's a city (a large one) and there's a very good university there, hence the confusion | 03:08 |
| Tenkawa | Valparaiso, Indiana | 03:08 |
| Vall | Heh | 03:08 |
| Vall | Will look it up | 03:08 |
| Vall | brb | 03:08 |
| Tenkawa | heh cool | 03:08 |
| Vall | c0rnelius: finally tested your image here, it seems to have booted OK and completed DHCP. But I can't connect, it seems not to be running sshd ("connection refused" on port 22). | 20:04 |
| Vall | I was under the impression sshd would come up automatically -- do I have to create boot/ssh before first boot, as in RaspberryPiOS? | 20:05 |
| Vall | Hey Tenkawa | 20:05 |
| Tenkawa | there we go | 20:10 |
| Tenkawa | was having connectivity issues | 20:11 |
| Vall | c0rnelius: u there? | 21:05 |
| c0rnelius | It enabled by default | 21:21 |
| Vall | Rename file to credentials.txt and input your wifi information. | 21:29 |
| Vall | SSID=" "# Service set identifier | 21:29 |
| Vall | PASSKEY=" "# Wifi password | 21:29 |
| Vall | COUNTRYCODE=" "# Your country code | 21:29 |
| Vall | # set static ip | 21:29 |
| Vall | MANUAL=n# Set to y to enable a static ip | 21:29 |
| Vall | IPADDR=" "# Static ip address | 21:29 |
| Vall | NETMASK=" "# Your Netmask | 21:29 |
| Vall | GATEWAY=" "# Your Gateway | 21:29 |
| Vall | NAMESERVERS=" "# Your preferred dns | 21:29 |
| Vall | CHANGE=y# Set to n to disable | 21:29 |
| Vall | HOSTNAME="raspberrypi"# Set the system's host name | 21:29 |
| Vall | BRANDING="Raspberry Pi"# Set ASCII text banner | 21:30 |
| Vall | For headless use: ssh user@ipaddress | 21:30 |
| Vall | Note: | 21:30 |
| Vall | You can also mount the ROOTFS partition and edit the following | 21:30 |
| Vall | files, whilst leaving rename_to_credentials.txt untouched. | 21:30 |
| Vall | /etc/opt/interfaces.manual | 21:30 |
| Vall | /etc/opt/wpa_supplicant.manual | 21:30 |
| Vall | oops | 21:30 |
| Vall | 1 sec | 21:30 |
| Vall | nmap -sT -p 0-65535 192.168.43.185 | 21:30 |
| Vall | Starting Nmap 7.60 ( https://nmap.org ) at 2021-08-21 15:20 -04 | 21:30 |
| Vall | Nmap scan report for bcm2711 (192.168.43.185) | 21:30 |
| Vall | Host is up (0.0073s latency). | 21:30 |
| Vall | All 65536 scanned ports on bcm2711 (192.168.43.185) are closed | 21:30 |
| Vall | MAC Address: DC:A6:32:EF:0C:7D (Unknown) | 21:30 |
| Vall | Nmap done: 1 IP address (1 host up) scanned in 9.78 seconds | 21:30 |
| Vall | that's what I meant | 21:30 |
| Vall | doesn't look enabled to me | 21:30 |
| Vall | And this IP is the one for the RPi, I checked the MAC address | 21:30 |
| Vall | --- | 21:33 |
| Vall | When I remove the card from the RPi and mount it to my notebook to check ROOTFS, it looks like the /etc/init.d/sshd file is correctly linked: https://zerobin.net/?501268bac6d46d84#4FrGBf5ez/IlCnfAgC2p0lvf+knDB1f0JC/fA3W+RuM= | 21:35 |
| c0rnelius | Vall: I'm writing the img right now. Give me a sec. | 21:35 |
| Vall | no hurry, and thank you c0rnelius | 21:37 |
| Vall | In case it helps, I checked var/log/* for ssh messages and here's what grep -ri has found: https://zerobin.net/?6cd585ce2a1c19bc#spg+n8o+dlq7Sq1n5E47LKjqd+18thrkWIr3nY7Z/aM= | 21:42 |
| Vall | The weird thing is, *nothing* mentioning ssh in var/log/daemon.log | 21:42 |
| Vall | It's like it just isn't being run, or if it is, it's abending without leaving anything in the logs | 21:43 |
| c0rnelius | Vall: Came up fine for me. It takes like half a minute to connect to webs upon first boot. As my service network init, loads the original networking init in the background instead of sitting and waiting. | 21:45 |
| c0rnelius | patrick@devuan:~$ cat /etc/os-release | 21:45 |
| c0rnelius | PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)" | 21:45 |
| c0rnelius | NAME="Devuan GNU/Linux" | 21:45 |
| c0rnelius | VERSION_ID="4" | 21:45 |
| c0rnelius | VERSION="4 (chimaera)" | 21:45 |
| c0rnelius | ID=devuan | 21:45 |
| c0rnelius | ID_LIKE=debian | 21:45 |
| c0rnelius | HOME_URL="https://www.devuan.org/" | 21:45 |
| c0rnelius | SUPPORT_URL="https://devuan.org/os/community" | 21:45 |
| c0rnelius | BUG_REPORT_URL="https://bugs.devuan.org/" | 21:46 |
| Vall | c0rnelius: weird | 21:47 |
| Vall | here it comes up, in the sense of getting IP, but no sshd | 21:47 |
| c0rnelius | Well I'm currently connected via ssh | 21:47 |
| Vall | you are using the same image you sent me the link yesterday? | 21:47 |
| c0rnelius | are you using a static ip? | 21:47 |
| c0rnelius | yeap same exact img | 21:48 |
| Vall | nope, dynamic IP over DHCP | 21:48 |
| c0rnelius | Me too. I connected using the hostname. | 21:48 |
| c0rnelius | ssh devuan.local | 21:48 |
| c0rnelius | If you didn't change it during first boot it would be raspberrypi.local | 21:49 |
| Vall | Here, I check my DHCP server log and/or run nmap to determine the assigned IP | 21:49 |
| Vall | Heh | 21:49 |
| c0rnelius | I'm lazy | 21:49 |
| Vall | Here it's coming up as bcm2711 (the hostname) | 21:50 |
| Vall | I see it on the reverse-DNS for the DHCP-assigned IP (see nmap output above) and in ROOTFS/var/log/* | 21:50 |
| c0rnelius | hmm. That would be the original one. Its suppose to get rest during first boot. | 21:50 |
| Vall | isn't that weird? | 21:50 |
| Vall | Perhaps the first boot did not complete? Want me to try to rewrite the SD card and try again? | 21:51 |
| c0rnelius | Yeah. Use a better SD card if you got one :) | 21:51 |
| c0rnelius | my network: 10.0.0.161devuanDC:A6:32:52:16:5844-44dbm433Mbps | 21:51 |
| Vall | Ok | 21:51 |
| c0rnelius | So on mine it reset the hostname | 21:52 |
| Vall | This is a Sandisk Extreme 64GB card | 21:52 |
| Vall | I also have a Sandisk "normal" 8GB card, can try with it too | 21:52 |
| c0rnelius | I used a sandisk extreme pro. | 21:52 |
| c0rnelius | not that it matter, both should work. | 21:52 |
| c0rnelius | matters* | 21:52 |
| Vall | c0rnelius: just double-checking, this should be the image, right? https://github.com/pyavitz/binary/releases/download/060420/rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz | 21:54 |
| c0rnelius | yeah thats what I used | 21:54 |
| Vall | Can you please confirm the MD5SUM? 23618947f64a748a5d6a6898576c6b12 rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz | 21:54 |
| c0rnelius | s -ls /media/patrick/Storage1/rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz | 21:55 |
| c0rnelius | 369972 -rw------- 1 patrick patrick 378849832 Aug 20 14:23 /media/patrick/Storage1/rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz | 21:55 |
| c0rnelius | same img | 21:55 |
| Vall | the size is the same here (378849832 bytes) | 21:55 |
| Vall | OK, dd'ing it to the other SD card | 21:56 |
| c0rnelius | you are decompressing it right? | 21:56 |
| c0rnelius | dd doesn't support writing it straight from xz I thought. | 21:57 |
| sadsnork | I might be a little late to the party here but I think | 22:00 |
| sadsnork | xzcat file.img.xz | [sudo] dd of=/dev/xxx bs=4M | 22:00 |
| sadsnork | might do what you are looking for? | 22:00 |
| c0rnelius | looks about right. | 22:01 |
| sadsnork | If it is correct, you may also find that on slower CPUs it can be painfully slow (this IS #devuan-arm after all). :-) | 22:02 |
| Vall | c0rnelius: yep, here's my command line: xzcat rpi-4-devuan-testing-5.10.59-v8-ext4-2021-08-20.img.xz | sudo dd of=/dev/sdc bs=16384b | 22:04 |
| Vall | just finished | 22:06 |
| Vall | do I need to configure anythifor it to request DHCP on the ethernet (wired) connection and accept SSH? | 22:07 |
| Vall | s/anythifor/anything for/ | 22:08 |
| c0rnelius | No. Should just connect. | 22:10 |
| c0rnelius | That service script is for wifi. If you don't touch it, it will still move everything into place and start the networking init. | 22:12 |
| Tenkawa | back⦠| 22:12 |
| c0rnelius | leaving you with the bcm2711 hostname. | 22:12 |
| Tenkawa | wow I haven't got enough sleep the last 2 days lol | 22:12 |
| c0rnelius | You can also just manually edit the files in /etc/opt/*.manual | 22:13 |
| Tenkawa | whats breaking? | 22:14 |
| Vall | c0rnelius: "manually edit the files in /etc/opt/*.manual" you mean mounting the SD card on my PC, or on the RPi itself after first boot? | 22:15 |
| c0rnelius | No. I mean before first boot using the PC or whatever you are using. | 22:17 |
| c0rnelius | https://github.com/pyavitz/rpi-img-builder/issues/18 | 22:17 |
| c0rnelius | Thats an early Devuan issue, before I re-wrote the service script. | 22:17 |
| c0rnelius | Tenkawa: The credentials service apparently | 22:17 |
| c0rnelius | Worked for me, but that doesn't mean anything. | 22:18 |
| Vall | c0rnelius: thanks for the tip, reviewing the link and then editing the files | 22:18 |
| Tenkawa | you can also just use the sysvinit activate method to enable it through chroot too I believe | 22:19 |
| Vall | Tenkawa: I reviewed the /etc/rc?.d and all the links are there, see above | 22:20 |
| Tenkawa | its not just that | 22:20 |
| Vall | Tenkawa: no? What else? | 22:22 |
| Tenkawa | there is also a control I believe .. I don't have my box up at the moment to look but let me mount one of the base filesystems | 22:22 |
| Vall | c0rnelius: checking etc/opt/*.manual, I see 2 files: interfaces.manual and wpa_supplicant.manual. Is this correct? | 22:22 |
| Vall | Tenkawa: I'm pretty sure that, for sysvinit, it's just the links. Plus of course the init.d file they link to, plus the daemon specific files (in this case, etc/ssh/*, /etc/default/ssh) | 22:23 |
| Vall | OK, modified just wpa_supplicant.manual to add my SSID and WPA password, interfaces.manual looks OK. | 22:25 |
| Tenkawa | if it didn't have the links setup at creation time thats probably the problem though.. | 22:25 |
| Vall | Ejected the card, inserted it into the RPi4, powering it up | 22:26 |
| Tenkawa | because the files get populated once | 22:26 |
| Tenkawa | and only tried once | 22:26 |
| c0rnelius | Vall: If you mod those files don't rename the file in boot. Just leave it alone. | 22:26 |
| Vall | slow blonking the green led at first | 22:26 |
| Vall | fast constant blinking now | 22:27 |
| c0rnelius | I think I'm just gonna redo the credentials service. Its not working right on some of the other boards and now this again on the Pis. | 22:28 |
| Vall | OK, got DHCP, and this time SSHD is running (albeit it's still identifying itself to reverse-DNS as bcm2711) | 22:29 |
| Vall | logging in | 22:29 |
| c0rnelius | Thats fine. That is the default hostname. | 22:29 |
| c0rnelius | It only changes if you use the cred service. | 22:30 |
| Tenkawa | Vall: reverse dns will not go away until you clear the router's internal table | 22:30 |
| Tenkawa | even if he changes it its just going to create a second entry for that mac address | 22:31 |
| Tenkawa | its rarp'ed both names at that point | 22:32 |
| Vall | OK, so default username/password (devuan/devuan) is being rejected. Does this image use something different? | 22:32 |
| Tenkawa | I have like 30+ names for one single machine in mine | 22:32 |
| c0rnelius | pi:board | 22:32 |
| Vall | OK | 22:32 |
| c0rnelius | unless you changed it in the /boot/username.txt file | 22:32 |
| Vall | 1 min | 22:32 |
| c0rnelius | my imgs are slightly than Devuan ones. | 22:33 |
| c0rnelius | slightly diff* | 22:33 |
| Vall | Yay! https://zerobin.net/?ccff248c70b418f7#E0MLEXv+J52j/ogcfWYJRQ5c10jKALaM4KSCwMe+FRU= | 22:34 |
| Vall | Thank you c0rnelius! Finally I have Devuan goodness in my RPi4 ;-) | 22:34 |
| c0rnelius | There it is, good job :) | 22:35 |
| c0rnelius | and ur welcome | 22:36 |
| c0rnelius | and now ur ahead of the curb on Chimaera | 22:37 |
| Vall | running `apt-get update`, installing minimal stuff, customizing hostname, users, etc and getting everything ready | 22:37 |
| Tenkawa | c0rnelius: | 22:38 |
| Tenkawa | Linux nanopi 5.13.12-nanopi #4 SMP Sat Aug 21 14:34:50 EDT 2021 aarch64 GNU/Linux | 22:38 |
| Tenkawa | working good now | 22:38 |
| Tenkawa | been tuning more on it | 22:38 |
| c0rnelius | I don't think there is an update, but for upgrading eeprom run: `deb-eeprom -h` and every now and again I push new kernels, you can find those using `fetch -h`. | 22:38 |
| Tenkawa | still no bt yet though | 22:38 |
| c0rnelius | Tenkawa: We are missing some stupid blob I know this. | 22:39 |
| Tenkawa | I would like to find a dts patch to increase cpu freq | 22:39 |
| c0rnelius | and then a service that puts it all in moition. | 22:39 |
| Tenkawa | I know that we should be able to get more out of it | 22:40 |
| c0rnelius | whats ur freq at? | 22:40 |
| Tenkawa | 1152000 | 22:40 |
| c0rnelius | same as mine, which is higher than my other H5. | 22:40 |
| c0rnelius | Not sure how high we can even make it to be honest. | 22:41 |
| Tenkawa | its running very cool too at that freq and stable as it can be | 22:41 |
| Tenkawa | I just haven't even seen any tree's in the dts to adjust | 22:41 |
| Vall | uname -a here shows 5.10.59-v8, `fetch -h` tells me 5.10.59 | 5.13.9 | 22:41 |
| Vall | I presume 5.10.59 is the LTS and 5.13.9 is the Stable, right? | 22:42 |
| c0rnelius | Vall: yeap | 22:42 |
| Vall | which would be best to try and run qemu-kvm to host a raspi3b VM? | 22:42 |
| c0rnelius | I haven't pushed the new ones yet. I just built all the 5.13.12's and am waiting till tomorrow to cook 5.10.60. | 22:43 |
| c0rnelius | Honestly don't know. 5.13.y is obviously more cutting edge. | 22:43 |
| Vall | yeah -- it's the 'cutting' part that worries me ;-) | 22:44 |
| c0rnelius | exactly | 22:44 |
| Tenkawa | hey hey.. foundation finally updated to https://github.com/raspberrypi/linux/commit/f428e49b8cb1fbd9b4b4b29ea31b6991d2ff7de1 and 5.10.60 | 22:44 |
| c0rnelius | Tenkawa: Yeah this morning | 22:44 |
| c0rnelius | Thats why I'm waiting till tomorrow. | 22:44 |
| Vall | well, gonna try the LTS first | 22:44 |
| Tenkawa | about time | 22:44 |
| Tenkawa | they took forever | 22:44 |
| Tenkawa | (not surprised mind you) | 22:45 |
| Vall | Foundation can go and F themselves... after what they did with MS, they lost all credibility IMO -- if it wasn't for Devuan I wouldn't have bought a RPi | 22:45 |
| c0rnelius | They waited almost a full month to push 5.10.59 | 22:45 |
| c0rnelius | Vall: You referring to adding MS garbage to the source list in sys-mods? | 22:46 |
| c0rnelius | I purge all that during the sys-mods install, although I'm pretty sure they disable it by default anyway. | 22:49 |
| c0rnelius | yah: https://github.com/pyavitz/rpi-img-builder/blob/master/scripts/devuan-stage2#L169 | 22:50 |
| Vall | c0rnelius: I refer to this: https://en.wikipedia.org/wiki/Raspberry_Pi_OS#Microsoft_Repository_Controversy | 23:00 |
| Vall | so yeah, sys-mods... but much worse than just 'adding MS garbage' IMHO -- more like adding a MS backdoor into every machine running the foundation's OS, and they trying to hide it (by delaying publishing of the source code, etc) | 23:02 |
| Vall | And sure it's purgeable and perhaps even comes disabled by default now, but it does not matter: the episode above showed such a lack of honesty that, at least for me, their reputation is stained forever | 23:05 |
| sadsnork | Vall, you mean that the rpi repo thing linked above is the thing that relieved you of your trust in Microsoft? | 23:09 |
| Vall | sadsnork: nope, I never trusted MS | 23:11 |
| Vall | sadsnork: it's the Raspberry Foundation that lost all credibility with the above | 23:11 |
| sadsnork | Ah! I was going to say that there should have been numerous previous examples of reasons not to trust Microsoft. :-) | 23:13 |
| sadsnork | Frankly the idea that they own Github seems creepy enough on its own. | 23:13 |
| Vall | sadsnork: yep, fortunately I don't use github for much -- but the fact that almost everyone does, and actually *depends* on it, is really worrying | 23:17 |
| sadsnork | Very true... including many projects that are supposed to be specifically security/privacy related. | 23:18 |
| Vall | To say I never trusted MS is a bit too far. But I stopped trusting them when they launched "MS-DOS" (previously known as Quick-and-Dirty DOS from Seattle Computers) | 23:18 |
| Vall | Instead of supporting the them-defacto-standard CP/M-16 | 23:19 |
| Vall | And then a few years later, they scrapped Xenix so as to avoid any competition for MS-OS/2, then ditto OS/2 for Win3, and so on | 23:21 |
| Vall | Up until the time they made their money by selling BASICA, BASCOM, M80 etc, they were alright by me -- it's when they started effing everyone around and turning themselves into a monopoly that they lost my trust | 23:22 |
| Vall | c0rnelius: what is the root password? Not 'toor' it seems | 23:33 |
| c0rnelius | Vall: `sudo passwd root` | 23:37 |
| c0rnelius | make ur own | 23:37 |
| c0rnelius | These imgs don't play the toor game. Its left to the user to decide if they wanna create the risk. | 23:38 |
| c0rnelius | Vall: Yeah there was a big shit to do about the MS thing, so much so that it was disabled by default. | 23:40 |
| Vall | Ok | 23:41 |
| c0rnelius | https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/54 | 23:41 |
| c0rnelius | The sys-mods package is actually kinda pointless on Devuan anyway, as it has a lot of systemd services and I haven't bothered patching it or forking the repo yet. I'm not sure what approach I wanna take. Might not be needed at all to be honest. | 23:45 |
| Vall | c0rnelius: what does raspberrypi-sys-mods adds that really necessary or at least useful, anyway? | 23:49 |
| c0rnelius | mostly udev rules and such | 23:50 |
| c0rnelius | stuff I could just add my self. | 23:50 |
| c0rnelius | pi-bluetooth package depends on it as well, but I have sinse forked that and remove the depends for it. | 23:51 |
| c0rnelius | since* | 23:51 |
| Vall | great job | 23:52 |
| Vall | bluetooth is something I will really need here, to read data from remote sensors. How well is it working? | 23:53 |
| c0rnelius | Works fine for me. | 23:53 |
| Vall | nice! | 23:53 |
| c0rnelius | Bluetooth on Pis like other SBCs is hit and miss though. Depends on the use case or in some cases whom is using it :) | 23:54 |
| Vall | I'm seeing something weird here. Used memory (as reported by `free`): on Devuan is ~70MB, on RaspiOS is ~48MB | 23:55 |
| Vall | What gives? | 23:55 |
| c0rnelius | I set the gpu mem to 128 | 23:55 |
| c0rnelius | might be it? | 23:55 |
| c0rnelius | cat /boot/config.txt | 23:56 |
| Vall | It could be | 23:56 |
| c0rnelius | I use a lot of pis as cams and its needed for that, so I just set it by default. | 23:56 |
| Vall | what is the minimum? (my RPi4 is headless) | 23:56 |
| c0rnelius | # camera | 23:57 |
| c0rnelius | #start_x=1 | 23:57 |
| c0rnelius | #gpu_mem=128 | 23:57 |
| c0rnelius | do that in the /boot/config.txt | 23:57 |
| c0rnelius | reboot | 23:57 |
| Vall | sure | 23:57 |
| c0rnelius | see if it decreases the mem usage | 23:57 |
| Vall | the default is the minimum, I presuem? | 23:57 |
| Vall | *presume | 23:57 |
| c0rnelius | yeah | 23:58 |
| Vall | nice! | 23:58 |
| Vall | doing it now | 23:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!