Enforced Naptime
Meuon 2025-07-02
Am beat, need a nap, currently watching a remote 30+gb download onto a slow USB drive with what seams like a firm 1MB/s speed limit. You know what this means? NAP TIME! Thank you cyber-dieties. #productivity
nmcli example (short)
Meuon 2025-07-02
Took some time ignoring AI SLOP, reading man pages and experimenting before finding the simplest and most reliable way to have the first ethernet be DHCP and also have a static address. Lots of bad examples, and good complex examples with bridges and other abstractions. Linux does this very well, just gotta figure out the newer NMCLI syntax. Long post with examples at: https://geeklabs.com/app.php/blog #nmcli #cli #linux #embedded
nmcli example
Meuon 2025-07-02
Took some time ignoring AI SLOP and reading man pages and experimenting before finding the simplest and most reliable way to have the first ethernet be DHCP and also have a static address. Lots of bad examples, and good complex examples with bridges and other abstractions. Linux does this very well, just gotta figure out the newer NMCLI syntax.
#nmcli #cli #linux #embedded
#nmcli #cli #linux #embedded
/usr/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
/usr/bin/nmcli con modify "Wired connection 2" connection.autoconnect yes
/usr/bin/nmcli device modify enP4p65s0 ipv4.method manual ipv4.addr "192.168.99.1/28"
/usr/bin/nmcli connection modify "Wired connection 1" +ipv4.addresses "192.168.99.17/28"
/usr/bin/nmcli connection up "Wired connection 1"
/usr/bin/ip addr
makes IP ADDR show: ; # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen # 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enP4p65s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 56:83:3e:05:d8:5c brd ff:ff:ff:ff:ff:ff
inet 192.168.77.108/24 brd 192.168.77.255 scope global dynamic noprefixroute enP4p65s0 valid_lft 80625sec preferred_lft 80625sec
inet6 fe80::11ff:84be:ae53:54b9/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: enP2p33s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen1000
link/ether 4a:a1:e1:72:d9:e3 brd ff:ff:ff:ff:ff:ff
inet 192.168.101.1/24 brd 192.168.101.255 scope global noprefixroute enP2p33s0
valid_lft forever preferred_lft forever
inet6 fe80::d758:148a:ebb4:f2c3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 750 qdisc pfifo_fast state UNKNOWN group default qlen 500
link/none
inet 10.9.0.201 peer 10.9.0.202/32 scope global tun0
valid_lft forever preferred_lft forever
Incrementors
Meuon 2025-06-10
5am reminder: Put the incrementor INSIDE the loop. That is all. #code. #sillymistakes
Continuity
Meuon 2025-05-20
An uber-geek friend passed 2 years ago. Just bumped in to his family and person that runs the business he left running. At home, an ailing MythTV system holds family memories hostage and at the business, they are still trying to figure out complex servers, VPN's and VM's. I'm going to donate a road trip and a few days soon. But as a geek culture, we need to leave our loved ones and businesses in better shape. #continuity #life
NMCLI Love and Hate
Meuon 2025-05-05
I understand and respect what the Network Manager crew was trying to do, but for little embededed devices/servers needing bespoke configs.. mostly managed by scripts and command lines. nmcli is an obtuse opaque way to do things, and does not always match the GUI. Am finding my way... slowly. Will admit, for daily driver use on a laptop/desktop, Network Manager is great. #nmcli #cli #linux #embedded
Web Design vs Bandwidth
Meuon 2025-04-29
Been travelling outside of my high bandwidth low latency bubble for a week. Most websites / apps are barely usable. Gmail, News sites.. Social media. I'm blaming the groupthink of phat frameworks. Way too many API calls (tracking) and"microservices". We need to refocus: Content Is King. #webdesign #usability
Time Zone SQL that works perfectly but just feels wrong
Meuon 2025-04-23
if (!empty($timezonenumber) and $dst == '1') { runsql("SET time_zone = substr(addtime('$timezonenumber','10000'),-9,6)"); }; #MariaDB #TimeZone #SavingTime
Input Validation
Meuon 2025-04-23
If the UI input validation javascript makes it hard to cut and paste credentials or info...[ I can't finish this publically because my thoughts are just so frelling dark. ] Yet again, I had to backspace over the last character and re-enter it on both the password reset and login page. Probably some jive ass vive coder cutting and pasting javascript. #javascript #input
We are all in the club, sometimes.
Meuon 2025-04-21
The first rule of Dunning-Kruger Club is you don't know you are in the club.
Next lark: pikvm.org
Meuon 2025-04-07
Need to dig out an rPi 4 and try PiKVM.org's KVM solution. Wondering if I can make what they did work on a NanoPC T6 LTS (that I have) because it has HDMI-IN that seems to work accordintg to V4L. It might be very useful. Anyone know of any other solutions? #KVM #rPi #pikvm
OpSec is Hard
Meuon 2025-03-30
Joined a local FaceBook political action group. Wanted to lurk for a while. Dang thing apparently auto posts "Welcome New Members... [long list of names]". Mentioned that might be bad idea to group admins. No clue. #OpSec
Went to "Hack Night"
Meuon 2025-03-20
Hadn't hung with other geeks in a while. I need to do that more. It gets the brain juices flowing. #hacknight
Meshtastic Python CLI futzed install
Meuon 2025-03-11
Trying to install the Meshtastic Python CLI on a little ARM computer to use as a dedicated interface and controller to the router. Halfway through multi-step install process, seems I clicked on the Windows variant and was bouncing off the walls with issues. Started over on the Linux install. Except for needing to compile "pytap2" from source, all good. Silly Me. Gotta pay attention. #meshtastic
Just another reason to support the EFF.
Meuon 2025-03-10
Also, under the current administration, going to protests with mobile devices may get you tracked with serious follow up repercutions. https://www.eff.org/deeplinks/2025/03/meet-rayhunter-new-open-source-tool-eff-detect-cellular-spying
Working on this.. trying to figure out the lines. Input?
Meuon 2025-03-04
--
--
Acquaintance: We've met and shared something together. A meeting, meal, interest. Friend: Would help each other move. Some mutual respect, interests and connections. Real Friend: Mutual life-in-jeapordy trust. Been "on rope" together, shared some crazy adventures. Dear Friend: Helps each other move/hide bodies. Quietly. Quickly. Questionless. #friend #definition
Meshtastic Road Trip
Meuon 2025-03-04
Visited my son in STL last weekend and poked around when I could on the way up and back. Found nodes. Not much chatter. I would like to find some intelligent chatter. May need to create an "oracle" auto-responder, just for fun. We had fun playing and I left him with 3 different units to experiment with. So I had to order more. Going to try the T-Deck plus with the fancy beta UI. #meshtastic
stretchoid.com
Meuon 2025-03-04
And while I'm looking at logs and reports.. Stretchoid.com's "white hat security scanning" is aggressive and constant enough, from enough IP addresses that they get treated as hostile.
poneytelecom.eu
Meuon 2025-03-04
Consistently probing (and abusing) VoIP infrastructure (and who knows what else) for years. So long and consistent that I kinda smile when they show up in my block lists because that means I know my stuff is working. Blown away that they blatently do what they do, often with working proper reverse DNS. #VoIP
Meshtastic is fantastic
Meuon 2025-02-27
Bought a couple of different Meshtastic radios to futz with and learn. Been 3 days of a side distraction. I've setup a shared open router from a high vantage point and seem to be able to reach a 100-120 mile range in 4 hops. That's impressive. Beautiful ecosystem of code and hardware so far. https://meshtastic.org #meshtastic