|
eschaton posted:not everything is on the newest architecture, oh no! I was not sure if NetBSD was a serious suggestion for wireless on a RPi Zero 2 W. Is it?
|
# ? Apr 9, 2024 20:50 |
|
|
# ? Jun 6, 2024 03:25 |
|
ryanrs posted:Yeah, I have another ARM board with more memory for my build host. to be honest, maybe you want buildroot or yocto for something that resource constrained like, 512MB is plenty for an embedded device but not for any modern distro that insists on running an ssh server, a dhcp client, a network time client, portmapd, system log, and whatever else
|
# ? Apr 9, 2024 21:04 |
|
despite my comment, I am only half serious about yocto and buildroot in actuality, I would probably install raspbian and disable every process that didn't need to run and also maybe put in a swap file (and set swappiness to 99) so that package updates don't get killed in the middle of any operations
|
# ? Apr 9, 2024 21:07 |
|
sb hermit posted:despite my comment, I am only half serious about yocto and buildroot what if you put your swapfile on a tmpfs 🤯
|
# ? Apr 9, 2024 21:08 |
|
I would also seriously consider just making a buildroot image that includes wireguard or some other kind of transport security so that you have to break into the encrypted tunnel in order to utilize an exploit in a service like a web hmi or sshd or whatever. Then I would just not touch the image for 13 years until the 2038 problem requires me to reinstall or junk it.
|
# ? Apr 9, 2024 21:10 |
|
spankmeister posted:what if you put your swapfile on a tmpfs 🤯 to be honest, I've heard good things about zswap so it may make sense to have like a 128 MB zswap file on tmpfs as the high priority swap and then 2GB or whatever on the next priority swap on a usb stick or the SD card
|
# ? Apr 9, 2024 21:12 |
|
the raspi 5 has pcie so you can get an nvme shield. even lovely nvme drives are way better than SD or USB
|
# ? Apr 9, 2024 21:23 |
|
but then what will I do with the dozens of 4gb usb sticks scavenged from trade show tables barely any writes on them, and their use is good for the planet!
|
# ? Apr 9, 2024 21:25 |
|
drop them in random corporate parking lots and watch the fun remotely
|
# ? Apr 9, 2024 21:28 |
|
i still havent done anything with my pi 4. i also got a 3 thats just sort of sitting around
|
# ? Apr 9, 2024 21:32 |
|
sb hermit posted:despite my comment, I am only half serious about yocto and buildroot Yeah, I'm trying Raspbian now. Normally I'm wary of depending on OEM builds, as a smaller board maker is prob going to lose interest in updates about 3 months after the boards are out. But RPi Foundation is probably big enough, and their product lineup small enough, that it's not an issue. And let's not go overboard wrt "resource constraints". I just installed gcc and perl and python3 and a ton of other crap on a MIPS board with 128MB of RAM. It runs fine. SSH will not be the killing blow.
|
# ? Apr 9, 2024 21:42 |
|
sb hermit posted:to be honest, I've heard good things about zswap so it may make sense to have like a 128 MB zswap file on tmpfs as the high priority swap this is galaxy-brained RamDoubler 2 thinking right here
|
# ? Apr 9, 2024 21:44 |
|
honestly most openwrt systems would be running all that crap and probably have 512 mb ram or less, i would just cross-compile because i'm impatient
|
# ? Apr 9, 2024 22:26 |
|
I remember upgrading my HP 48GX with a 128KB of battery-backed SRAM.
|
# ? Apr 9, 2024 22:45 |
|
That too small for Linux, of course. But I would kinda expect any normal kernel to boot up and open a shell with 8 or 16MB.
|
# ? Apr 9, 2024 22:49 |
|
Poopernickel posted:this is galaxy-brained RamDoubler 2 thinking right here
|
# ? Apr 9, 2024 23:16 |
|
Kazinsal posted:drop them in random corporate parking lots and watch the fun remotely maybe I could just bring them to college job fairs and hand them out as door prizes
|
# ? Apr 9, 2024 23:18 |
|
sb hermit posted:Then I would just not touch the image for 13 years until the 2038 problem requires me to reinstall or junk it. good news, debian is transitioning to 64bit time right now
|
# ? Apr 9, 2024 23:24 |
|
ryanrs posted:That too small for Linux, of course. But I would kinda expect any normal kernel to boot up and open a shell with 8 or 16MB. with a small enough kernel and a small enough shell, I bet you maybe could boot in less as an embedded kernel programmer, I am amazed by how modular the linux kernel is ryanrs posted:
that’s true… I am always on about “death by a thousand papercuts” so I focus on maximizing memory when I need to have a long running background process like postgresql or something I think I had a lot of success with a long running amazon VM with about 512 MB of RAM that completely destroyed itself when updating because it didn’t have the memory to install packages and I had to reprovision it from scratch.
|
# ? Apr 9, 2024 23:25 |
|
Truga posted:good news, debian is transitioning to 64bit time right now my filesystems don’t use 64-bit timestamps yet, I think
|
# ? Apr 9, 2024 23:26 |
|
hbag posted:i still havent done anything with my pi 4. i also got a 3 thats just sort of sitting around get a breadboard, the right jumpers, and a couple of cheap sensors and you can jump down the rabbit hole of electronics on the other hand, you can also provision it as a plex server or a vpn endpoint or a pihole. EDIT: changed microelectronics to just electronics sb hermit fucked around with this message at 23:44 on Apr 9, 2024 |
# ? Apr 9, 2024 23:29 |
|
sb hermit posted:get a breadboard, the right jumpers, and a couple of cheap sensors and you can jump down the rabbit hole of microelectronics i have an electronics kit with that poo poo in it im pretty sure. not sure what i could do with microelectronics but i guess i could figure something out. also i already have a plex server and i just use tailscale
|
# ? Apr 9, 2024 23:37 |
|
ryanrs posted:Yeah, I'm trying Raspbian now. Normally I'm wary of depending on OEM builds, as a smaller board maker is prob going to lose interest in updates about 3 months after the boards are out. But RPi Foundation is probably big enough, and their product lineup small enough, that it's not an issue. I just want to say one last thing. RPI foundation is very good about supporting all their hardware, especially the older ones, and especially if you stick to the non graphical minimal installs. But the funny thing is that the various hats and anything that requires a driver that does not come in the stock kernel (i.e. not a simple device that just hits a gpio, or a widely used i2c or 1wire temperature sensor) is only really useful for the kernels they were built against. Because those companies that make those hats go out of business (or lose interest) and the users have to then forward port those drivers (if the source is available) to use newer OSes.
|
# ? Apr 9, 2024 23:38 |
|
i made a battery powered 4G base station out of a raspberry pi 4 and a LimeSDR. played around with it for a bit then got left in a drawer and haven't picked it up since
|
# ? Apr 9, 2024 23:39 |
|
hbag posted:i have an electronics kit with that poo poo in it im pretty sure. not sure what i could do with microelectronics but i guess i could figure something out. also i already have a plex server and i just use tailscale Sorry, when I said microelectronics, I just mean electronics. I got a bit too excited. Yeah, just use the electronics kit if you’ve yet to do anything with it yet and it’s fun to watch LEDs light up to show if something is being activated or whatever. just keep in mind that rpi gpio pins are 3.3v but most devices operate at 5v so you’ll have to use a multimeter to make sure you don’t destroy your rpi if the sensors were made for something like arduino or whatever
|
# ? Apr 9, 2024 23:43 |
|
spankmeister posted:i made a battery powered 4G base station out of a raspberry pi 4 and a LimeSDR. played around with it for a bit then got left in a drawer and haven't picked it up since I hear meshtastic is the new hotness. Community based wireless networking. In case the internet goes down!
|
# ? Apr 9, 2024 23:46 |
|
i didn't realize osmocom was capable of bringing up anything more than a basic 2g network
|
# ? Apr 9, 2024 23:52 |
|
sb hermit posted:I hear meshtastic is the new hotness. Community based wireless networking. In case the internet goes down! I tried this and it was not great! Turns out that to get nerd-on-a-mountaintop range, you need to be (1) a nerd, and (2) on a mountain. Otherwise it's a neat neighborhood-wide net, assuming you only need a packet a second or so.
|
# ? Apr 10, 2024 00:08 |
|
Whereas I've setup my 2M 50W mobile while camping, found an active repeater, and hopped on their weekly check-in / traffic practice just by chance. I've actually used 2M FM to summon the sheriff out in the Sierra backcountry, and it worked.
|
# ? Apr 10, 2024 00:21 |
|
ryanrs posted:I tried this and it was not great! Turns out that to get nerd-on-a-mountaintop range, you need to be (1) a nerd, and (2) on a mountain. Otherwise it's a neat neighborhood-wide net, assuming you only need a packet a second or so. Makes sense! I’ve yet to give it a try but hobbyist wireless stuff has piqued my interest recently. Too bad I live in a canyon, so I probably won’t be able to reach very far.
|
# ? Apr 10, 2024 00:30 |
|
I did have some fun with our local 2.4 GHz ham mesh on channel -1; set up a Bullet M2 on a patch antenna on a pole and was able to get 11mbps solid, rain or shine, to the tower up on a mountain 7 miles away. the key there is that i was able to put up an outside antenna. you aint doin that buried in a big apartment block.
|
# ? Apr 10, 2024 00:34 |
|
sb hermit posted:I think I was able to activate a usb serial device on a raspberry pi zero image so that I could use minicom to get a console login. You can poke at some config files on the SD card to make a new user and turn on ssh. Plug this PoE USB ethernet adapter and the Pi will grab an address from DHCP on first boot and you can ssh in. That ethernet dongle is not just a PoE splitter, it is also a USB ethernet adapter. It feeds data and power to the Pi Zero through the single micro USB connector.
|
# ? Apr 10, 2024 00:34 |
|
ryanrs posted:You can poke at some config files on the SD card to make a new user and turn on ssh. Plug this PoE USB ethernet adapter and the Pi will grab an address from DHCP on first boot and you can ssh in. That’s pretty neat! I didn’t know that there were pi zero specific gadgets like this. For my use case, I wanted a dead simple way to communicate with a raspberry pi zero. I’m good with networking but my laptop doesn’t have ethernet.
|
# ? Apr 10, 2024 00:49 |
|
iirc i pulled 5v ttl serial off the yosvape's pi to communicate with the arduino. it was kinda nifty. just right there on a couple of the gpio pins
|
# ? Apr 10, 2024 00:51 |
|
lol at this being at the top of the listhttps://github.com/tukaani-project/xz/commit/e93e13c8b3bec925c56e0c0b675d8000a0f7f754 posted:Remove the backdoor found in 5.6.0 and 5.6.1 (CVE-2024-3094).
|
# ? Apr 10, 2024 01:32 |
|
https://www.phoronix.com/news/Explicit-GPU-Sync-XWayland-Go thank god this is finally merged. recent nvidia drivers have made wayland flicker real bad shackleford posted:lol at this being at the top of the list lol
|
# ? Apr 10, 2024 01:39 |
|
shackleford posted:lol at this being at the top of the list love this stupid poo poo lol
|
# ? Apr 10, 2024 02:08 |
|
corona familiar posted:https://www.phoronix.com/news/Explicit-GPU-Sync-XWayland-Go oh that's probably what i've been seeing that made me start shopping amd cards lol
|
# ? Apr 10, 2024 02:08 |
|
Progressive JPEG posted:oh that's probably what i've been seeing that made me start shopping amd cards lol try downgrading to the version 535 drivers (i'm on 535.171.04). 550 is what caused a lot of issues for me with xwayland
|
# ? Apr 10, 2024 04:04 |
|
|
# ? Jun 6, 2024 03:25 |
|
Jonny 290 posted:iirc i pulled 5v ttl serial off the yosvape's pi to communicate with the arduino. it was kinda nifty. just right there on a couple of the gpio pins I need to start getting into utilizing ttl serial myself. Actually, I have a grip of pi picos and I want to do that gnarly pio stuff with a 80s/90s parallel port. Turns out that most of those pins are just ground! Maybe also do scsi-1 as well, I dunno this isn’t the right thread for this
|
# ? Apr 10, 2024 05:07 |