> https://www.amazon.com/HiLetgo-HC-SR501-Infrared-Sensor-Arduino/dp/B07KZW86YR
>
> Hook up one of these to a raspberry PI and write a python script to send
> you a text message on your phone.
>
Come to think of it, you could even hook up a camera to send a picture. In
fact, you may not need the in
https://www.amazon.com/HiLetgo-HC-SR501-Infrared-Sensor-Arduino/dp/B07KZW86YR
Hook up one of these to a raspberry PI and write a python script to send
you a text message on your phone.
> Does anyone have experience with passive infrared detectors for remote
> alerting? I don't want to convert to
I think many of us have used Linux for so long it seems inconceivable that
we would use anything but linux. I know that's true for me. I have yet to
come across any technology that was unavailable to me because I am using
Linux. This was not always the case as we well know, but with services
becomi
Before you panic, do "lsblk" to see if your system even sees them. It
could be that a driver is not loaded.
I'm not sure what the credential service is, it could be related, but I
don't think so.
What was the filesystem used on the ssds? could it have been deprecated
from fc41?
Let's first run l
If you suspect it may be selinux, try this:
run: "getenforce"
This will report whether or not SELINUX is enforcing. If it is in
ENFORCING, then it may.
Try setting it to "permissive" which will allow access but report it in
the audit log.
run: "setenforce 0"
Then re-run your operations. If the
> On 10/21/24 09:24, ma...@mohawksoft.com wrote:
>> You set a rule that specific IPs be sent out through the VPN virtual
>> interface.
>
> Just so long as you don't need access to the local version of those
> addresses. (The hotel's gateway to get to the rest of the internet? DNS?
> Room service?)
You can use "rules" to send packets based on a set of rules that will
circumvent the routing table.
You set a rule that specific IPs be sent out through the VPN virtual
interface.
look up "ip rule set"
> I'm traveling a bit this weekend and I ran into some network wonk with
> my Wireguard VPN:
Yes, ZFS is aggressively syncing the file system. Do you have a cache or
intent long on SSD?
> https://github.com/openzfs/zfs/issues/11140
>
> Briefly: Flatpak uses fsync extensively. For reasons nobody is entirely
> sure about, this causes ZFS to thrash *hard* which I discovered earlier
> this w
> Do any of you quickly know what is needed to be modern Linux boot
> partitions?
>
> I have a /boot and a /boot/efi that Debain installed on my internal SSD
> and I would like to duplicate them on an external device. What do I need?
>
> - partition as a GPT not MBR table
>
> - format /boot with so
> On Wed, 21 Aug 2024 08:58:21 -0700
> Kent Borg wrote:
>
>> The things I am worried about are:
>>
>> - Hardware compatibility. If Debian works (I'm thinking it does), how
>> likely is Devuan?
>
> Should be the same.
>From the kernel perspective, that's true. I don't know any off the top of
my he
I kind of want to weigh in on a "meta" of this argument.
PATH is interesting but incomplete. One can always use a full path in an
unrestricted bash shell. If you use "rbash" the restricted version, PATH
is read-only and a user can not use absolute paths. There are, as always,
vulnerabilities every
I generally setup an NFS share to all my VMs.
> How do you all go about accessing host filesystems from KVM guests?
> KVM is running as user libvirt-qemu, not as root.
>
> --
> \m/ (--) \m/
> ___
> Discuss mailing list
> Discuss@lists.blu.org
> http://li
> On Fri, Jun 9, 2023 at 2:30â¯PM wrote:
>
>> pi@pi-top:~/scpi $ lsusb
>
> You might try 'lsusb -v' to see if any details are different.
> Or 'lsusb -t' if you can connect the devices on different sides or
> front/back of your computer. Youmight
> be able to figure it out based on neighbors to
I just bought a digital multi-meter, an OWON 1041 (1241 actually). I had
the hardest time getting it to work.
My workbench is next to my 3D printer. I am using a raspberry PI with a
display and keyboard to run my 3D printer with octoprint. I thought it
would be cool to multi-task this computer to
Has anyone played with any of the new tools, like oscilloscopes, DMMs, etc
that have USB ports.
I got a HoldPeak meter, the usb interface was basically a screen rip from
the LED display.
I just bought a LB1041 meter that is supposed to do SCPI, but doesn't.
I bought a logic analyzer for $11 of
Take a look at: https://giantvm.github.io
It basically simulates a hardware NUMA cluster. Anyone ever work with this?
___
Discuss mailing list
Discuss@lists.blu.org
http://lists.blu.org/mailman/listinfo/discuss
This is a space where "price" or "quality" make a difference.
A "good" SSD has a lot of extra sectors to map in when it detects a write
error. All done internally to the drive. Better drives do a lot of things
to reduce wear. Some do dedup. Some don't store blocks that are all zero
or blocks that
I'm not sure of your budget, but this is more or less how Google works
internally. Everyone has their own VM and use the laptop to access the VM.
Its kind of cool, but the people that opted for chromebooks, it seems to
me, eventually go laptop when its time to upgrade.
> On Wed, Sep 14, 2022 at 1
> On Sun, 25 Sep 2022 11:37:20 -0400
> ma...@mohawksoft.com wrote:
>
>> So can vim, that's not my point. I love the idea of an IDE, its how
>> every other application I use works. Why is it software development
>> is still in the 1970s.
>
>> > I always hated eclipse.
>> +1
>
> You, like many others
I'm so tired with "good enough to get the job done." I've been writing
software for mostly the same way since 1979, I would think that there
would be something easier by now.
Maybe its just the way I've learned to think. Maybe my brain won't accept
a new paradigm. Maybe using my fingers and typing
So can vim, that's not my point. I love the idea of an IDE, its how every
other application I use works. Why is it software development is still in
the 1970s.
> On Fri, 23 Sep 2022 11:23:11 -0400
> ma...@mohawksoft.com wrote:
>
>> I'd like an IDE that can run make, parse the compiler output, fin
vim, ctags, terminal windows is what I'm using now.
I would think that in 30 years since the end of "brief," something
actually useful would come along. And no, "Eclipse" doesn't count.
> On Fri, Sep 23, 2022 at 11:23:11AM -0400, ma...@mohawksoft.com wrote:
>> I'd like an IDE that can run make, p
> I always hated eclipse.
+1
>
> --
> Jerry Feldman
> Boston Linux and Unix http://www.blu.org
> PGP key id: 6F6BB6E7
> PGP Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1 3050 5715 B88D 6F6
> B B6E7
>
> On Sat, Sep 24, 2022, 7:11 PM Derek Martin wrote:
>
>> On Fri, Sep 23, 2022 at 11:23:11AM -0400, m
I've been using vi (vim) and GNU make for decades. Through the years, I've
tried to use an IDE, but they are all so bad for this type of project.
Every IDE I've used has had a very proprietary view of how it should do
projects. There was one on Windows years ago called CodeWright which was
pretty g
> On Sat, 20 Aug 2022 16:14:08 -0700
> Kent Borg wrote:
...
> My limited experience with Raspberries Pi and USB flash is it will
> always fail under sustained high load. Either insufficient power will
> cause data loss or overheating components will cause data loss.
Funny enough, an SD card gets
There are two very confused technologies. "CoW" and "RoW"
"Copy-on-write" happens when the previous contents of a block are copied
to someplace else before the actual write happens. This is how LVM
snapshots work. This is typically used in block systems that have more or
less fixed block storage.
> On Fri, 29 Jul 2022 11:29:24 -0400
> ma...@mohawksoft.com wrote:
>
>> You can't make a general argument about a specific example. I have an
>> 8 core AMD FX with 16G ram. It isn't running ZFS, but it is running
>> an MD RAID5 with 5 4T SCI disks.
>
> I didn't. I made an example of something that
I'm going to let you in on a trick I do all the time for quick and dirty
VMs, ready
touch vmimage.raw
truncate -s 32G
ls -l vmimage.raw
-rw-rw-r-- 1 markw markw 34359738368 Jul 29 13:29 vmimage.raw
Then use that as storage for the VM. It is a thin provisioned raw image.
Or, if you hav
I remember QEMU and how difficult it was so long ago. Today, the
infrastructure, KVM and virt-manager make it trivial. Its just point and
clock, I'm not kidding. Ubuntu and RedHat have excellent and the VM
network is created by default. If you have virt-manager installed, it just
works, its almost
You can't make a general argument about a specific example. I have an 8
core AMD FX with 16G ram. It isn't running ZFS, but it is running an MD
RAID5 with 5 4T SCI disks.
I'm running 5 VMs on it: a database VM, a mail server, a web server, a
webproxy/firewall, and a dev server. The machine is down
High availability is a fairly specialized deployment and that is
accomplished with many different strategies. KVM has provisions for
redundant high availability. You can create two servers that have access
to the same LUNs (or us something like drbd)
Many VERY large companies run Oracle in VMware
> ma...@mohawksoft.com wrote:
>> I agree with 100% The cloud is just someone else's computer. I was
>> referring to local machines and the use of VMs.
>
> Oh, well, sometimes that's a nice encapsulation mechanism and
> sometimes it's too much bother for what you're doing.
>
> It's really easy for m
I agree with 100% The cloud is just someone else's computer. I was
referring to local machines and the use of VMs.
> ma...@mohawksoft.com wrote:
>> I know this is a little bit off topic, but why would you set up a
>> machine
>> to be a server? Nobody does that any more.
>
> 1. I want to own my own
I know this is a little bit off topic, but why would you set up a machine
to be a server? Nobody does that any more.
Create VMs to perform the services and have the IPs mapped to the VM and
hostmap the IP. That way you can back up the "server" and in case of
emergency, almost any Linux running can
NFS is great if you want to mount/share a file system. You can also use
iscsi to share an actual "drive." You can boot off the SDcard can mount an
iscsi shared block device as the root partition.
> Netboot the pi and skip the SD altogether. Nfs mount the drives from your
> file sever. Far easier
I think this is true with an RPI3, but the RPI4 has USB-3 and had pretty
good access. Not great, but pretty good.
For me, I use the SDcard on a RPI just to boot it. I mount a USB->SATA
cable and an SSD for the root partition. I've had too many SDcards die on
me.
> Kent Borg wrote:
>> Anyone here
I'm not sure. I'm pretty sure that 32bit is not supported. You'd need a 64
bit, but short of that, I think it would work.
> Anyone here played with ZFS on a Raspberry Pi?
>
> It seems it should "just work" (providing one has enough RAM), but when
> I do a web search I see people talking about dif
ZFS Uses:
ZFS is really great for backups. We all know that the best backup is two
copies. My previous company had a product strategy that allows incremental
backups backups "forever" and always resulted in a "full."
Configure your "master" or server using ZFS.
Configure your replication target a
> On Wed, 27 Jul 2022 15:06:50 -0400
> ma...@mohawksoft.com wrote:
>
>> Why two mirrors and not a RAID5 - or is RAID6 more appropriate 4T?
>
> Because parity RAID (RAIDZ-1/2/3) is slow.
A stripe over two mirrors is not as reliable as RAID6. If you have 4
drives arranged in two mirrors, each mirror
> On Wed, 27 Jul 2022 15:06:50 -0400
> ma...@mohawksoft.com wrote:
>
>> Why two mirrors and not a RAID5 - or is RAID6 more appropriate 4T?
>
> Because parity RAID (RAIDZ-1/2/3) is slow.
RAID has that reputation, but have you measured it recently? The ghz,
multicore beasts we have in our computers
Gotta ask again. Why mirror and not "RAID?"
> House non-media server:
>
> pool: home
> state: ONLINE
> scan: scrub repaired 0B in 00:24:11 with 0 errors on Thu Jul
> 21 02:24:12 2022
> config:
>
> NAME STATE READ WRITE
> CKSUM
> home
Why two mirrors and not a RAID5 - or is RAID6 more appropriate 4T?
> On Wed, 27 Jul 2022 11:51:58 -0400
> ma...@mohawksoft.com wrote:
>
>> I just replaced a bad drive with sdk. I've had this configuration
>> since 2T hard disks became afordable. It's not getting on in years,
>> and I'm only gett
whole damn disk needs to be rewritten. As disks get
> bigger and bigger, that starts to be a real problem.
>
> I have not yet played with however ZFS does raid-like stuff, but I am
> assuming it is wiser...
>
> -kb
>
>
>
root@snoopy:/home/markw# zpool status
pool: zpool0
How many members are fairly knowledgeable about ZFS?
How many are curious but have little exposure?
How many have no idea what ZFS is or why?
I have mixed feeling about ZFS. Its amazing, everything it does and the
way it manages storage. The model is almost perfect. IMHO, of course.
I have had to
Something to test, perhaps?
https://www.cnx-software.com/2020/08/12/how-to-fix-unreliable-usb-hard-drives-stalled-transfers-linux-windows/
> On Tue, 26 Jul 2022 11:10:36 -0400
> ma...@mohawksoft.com wrote:
>
>> > I have been running backups to ZFS on USB storage for years. Some
>> > zfs send/recei
That's interesting. What version of Linux? I'm using Ubuntu, but at work
we were using CentOS7.
> On Tue, 26 Jul 2022 11:10:36 -0400
> ma...@mohawksoft.com wrote:
>
>> > I have been running backups to ZFS on USB storage for years. Some
>> > zfs send/receive with data copies=2, some rsync with mir
> On Tue, 26 Jul 2022 08:55:49 -0400
> ma...@mohawksoft.com wrote:
>
>> Be that as it may, its been my experience (anecdotal) that the Linux
>> USB storage stack has issues and tends to go offline under highly
>> concurrent heavy load. This faults the drive and fails ZFS, YMMV
>
> I have been runni
I've been using ZFS for about 10 years personally and in my company's
product. I love the way ZFS presents storage. I have issues with ZFS's
internals. Its kind of ugly.
Be that as it may, its been my experience (anecdotal) that the Linux USB
storage stack has issues and tends to go offline under
Its finding an error at boot, what does journalctl dump out?
> On Thu, 27 Jan 2022 14:52:22 -0500
> Rich Pieri wrote:
>
>> Any clues what the problem is or what I inadvertently changed to cause
>> this behavior?
>
> A thing I found:
>
> $ cat /proc/cmdline
> BOOT_IMAGE=/vmlinuz-5.10.0-11-amd64 ro
> On 10/26/21 2:59 PM, ma...@mohawksoft.com wrote:
>> Did you not get a position at Google?
>>
>
> No. I'm not perfect.
>
>
>>> -kb, the Kent who didn't get the job and knows how to hold a grudge.
>>>
>
> -kb
>
>
The are trying to hire, you should try again. You don't have to be perfect.
___
Did you not get a position at Google?
> On 10/26/21 1:42 PM, Shirley Márquez Dúlcey wrote:
>> That's bizarre. It's kind of the opposite of an adaptive test, where you
>> get more credit for knowing the difficult answers than for knowing the
>> easy
>> ones.
>
> They are looking for people who fi
Try fooling around with the settings under "View->Details"
> There is. I changed the video setting from VirtIO to VGA and rebooted
> it. The best monitor resolution remains 1440x900.
>
> But I also discovered another oddity with PCLOS. The 'lsusb -v' command
> is showing the Linux Foundation root
HR technology is getting out of hand. That isn't am aptitude test, its a
personality test.
> I just had a brief exchange with a head hunter looking to fill a position
> at a university. They asked me to take a test, which I almost always say
> no to. I'm not a fscking trick pony. I don't jum
Would anyone like to work on this with me?
It would be cool to have some "real world" examples. I have a couple, but
it would be cool if we could give some analysis for "containers" vs
"Virtual Machines" not just the perspective of performance, but also
usability, maintainability, etc.
> I thi
I'm pretty sure there is something weird about PClinux video
configuration. I have zero issues with Windows and other Linux installs.
Maybe we should try the emulated VGA and use VESA standards?
> There is something strange with the PCLOS video. In the VM, the best
> resolution I can get without c
Oh, I understand, but it is a limitation that makes no sense to me. From a
coding perspective, a file and a device are virtually identical.
There are quite a few advantages to using files over devices.
> On Mon, 25 Oct 2021 20:05:29 -0400
> ma...@mohawksoft.com wrote:
>
>> Yup, that was my proble
I know I'm coming off like a Linux/QEMU fan boy, but QEMU is really
f&^%king awesome.
Want to make a new drive? Want performance? Want thin provisioned?
touch system.raw
truncate -s 1T system.raw
On Linux, that one TB file takes almost no space if you use EXT[2,3,4],
xfs, zfs, or some number of
With virt-manager, you can open a window for a VM, select "View->Details"
and show all the settings and it allows you to edit them. Also, if you
don't see a setting in the window, you can click on "XML" and edit the XML
stanza for the feature directly.
With libvirt and virt-manager, the machine de
Yup, that was my problem. It won't use a raw file. It will only work on
partitions or hard disks. Which, IMHO, is just stupid.
> https://www.virtualbox.org/manual/UserManual.html#rawdisk
>
> Eric C
>
>> On Oct 25, 2021, at 5:23 PM, ma...@mohawksoft.com wrote:
>>
>> Does virtualbox allow images
You should be able to add/remove/modify hardware on any VM, if it is
running, some things may be grayed out. Try shutting down first.
Yea, the video on the PCLinux thing is kind of weird. I'm 99% sure its an
X configuration setting they are using on their desktop.
> Mark - Thanks for the info re
Does virtualbox allow images in raw format? I recall having issues with it
on my company mac.
I find VirtualBox too limited, if you are on a Windows box, try HyperV, if
you are on Mac, use VMware's Mac product (not sure I know what its called
these days.)
If you run Linux, KVM/QEMU is the way to
I uploaded an image of it running in my KVM window.
The Video QXL driver seems like its weird. Select VirtIO instead by
clicking the "Customize installation configuration" box before you create
the VM.
Also, don't use generic, use fedora31 or debian 10 as the base.
> You may be interested to kno
Can we go back to what was going on?
Were you trying to boot an iso image and it hung?
If the iso image is bigger than 4G, you need to make the CDROM virtual
device an emulated SATA not IDE. Try that.
I have had years of great experiences with KVM/QEMU, but there are some
weird issues in most of
> On Sun, Oct 24, 2021, 09:36 wrote:
>
>> I think it may be cool if there were a "deep dive" on virtualization
>> *and*
>> containers.
>>
>
> I'd quibble that this outline is breadth-first, not depth, if it fits in a
> single evening, but yes, very, good outline.
>
> Explicitly including discograp
I think it may be cool if there were a "deep dive" on virtualization *and*
containers.
(1) Brief discussion about what virtualization is
(2) VMware, HyperV, KVM/QEMU, and XEN, what the basic differences are.
(3) Deep dive on KVM/QEMU
(3a) VirtIO
(3b) Networking NAT, Bridge
(3c) Utilities
(4) Br
Containers are NOT a light weight vm. Processes in a container are
processes in the main system.
Containers are essentially processes run in a chroot jail. The LXC stuff
in the linux kernel adds a lot of namespace isolation and tools for
containers, but in the end a process in a container are proc
Generally speaking, VMware, HyperV, XEN, and QEMU (KVM) do not emulate the
CPU. The later processors have a mode where they can set up an environment
that is a hardened "sandbox." The software in the sandbox do not really
know that they are in a sandbox. All instructions seem to operate as
expected
> On Thu, 21 Oct 2021 00:11:12 -0400
> Matthew Gillen wrote:
>
>> The guest VM is set up for NAT.
>> Any ideas on where to look or things to try?
>
> Probably NAT making RPC unhappy. Simple solution: don't use NFS.
I have never heard of NAT hurting performance on NFS. I understand all the
network
Is the hypervisor under load?
Run sar on both.
> All this talk of virtual machines reminded me that there might be some
> experts out there that could help with a problem that's been with me for
> a while.
>
> I have a server that is on all the time and serves NFS. I have a linux
> VM that runs
Ubuntu is based on Debian. It may be version differences, who knows?
Anyway, QEMU can emulate different processors, for instance, it can
emulate the ARM processor for Android development, and, as you've
experienced already, it is quite slow.
The real benefit is using the x86_64 processor's ability
Try this:
sudo apt-get install qemu-kvm
> Thanks. In Debian. that would be qemu-system-x86, so I installed that
> with (again) virt-manager and the image is now running at almost
> real-time. Not sure what else q-s-x86 added, but it looks like it might
> work now.
>
> Upon launching virt-manager
Try installing qemu packages
markw@snoopy:~$ apt list --installed | grep -i kvm
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
qemu-kvm/focal-security,now 1:4.2-3ubuntu6.17 amd64 [installed,upgradable
to: 1:4.2-3ubuntu6.18]
markw@snoopy:~$ apt list
Let me back up.
QEMU is the actual emulation software. KVM is a management layer on top of
that. lib-virt AFAIK work on top of KVM. The virt-manager package sits on
top of that.
Couple things. "Paravirtualization" is what you really want. You want
x86[_64] code running on x86[_86] hardware. QEMU
I use KVM all the time and manage it with virt-manager.
(1) Make sure that network and disk use VirtIO para-virtual driver, do not
emulate physical devices.
(2) Don't use qcow2, its really slow. Pre-allocate your boot drive:
touch myboot.raw
truncate -s SIZE myboot.raw
The above will let you de
I think your assessment of the NSA is a bit uninformed.
Its easy in these political times to look at the U.S. government as a
bunch of keystone cops and/or nothing more than political hacks.
The real truth is that is congress and the politicians. Its as bad as I've
ever seen it in my 58 years.
H
75 matches
Mail list logo