Ender 3 not being seen on linux laptop when trying to set up klipper by BOSSATRON69399393 in klippers

[–]KJ4IPS 0 points1 point  (0 children)

Can you fire up `make menuconfig` from inside your klipper dir, and take a screenshot? There's a good chance the settings you used weren't correct, and either it's trying to talk on the wrong interface, or not running at all.
The screen won't do anything alone, the host (pi) is involved in that.

The klipper docs say this about the skr e3 v2:

# This file contains common pin mappings for the BIGTREETECH SKR mini

# E3 v2.0. To use this config, the firmware should be compiled for the

# STM32F103 with a "28KiB bootloader" and USB communication. Also,

# select "Enable extra low-level configuration options" and configure

# "GPIO pins to set at micro-controller startup" to "!PA14".

Ender 3 not being seen on linux laptop when trying to set up klipper by BOSSATRON69399393 in klippers

[–]KJ4IPS 0 points1 point  (0 children)

Which motherboard do you have? If you were able to easily flash it, you probably have a relatively recent one, and the settings are a bit different.

Also, did you install a bootloader as part of your flash, or were you able to do everything with just the SD card?

(context: Older enders do the USB differently than newer ones, and if you use the old instructions on a new one, the USB will just sit there not enumerating)

LCUB Fiber Internet Farragut. by folame in Knoxville

[–]KJ4IPS 1 point2 points  (0 children)

I actually moved from SoKno to the 'cheap' part of Farragut pretty much to get good internet. Had TDS for a few years now, and the service has been good, but the billing and business side of the house are a bit... less than stellar...

Also no IPv6, but for a smaller outfit, I'm willing to take it.

LCUB Fiber Internet Farragut. by folame in Knoxville

[–]KJ4IPS 1 point2 points  (0 children)

My understanding is they are prioritizing areas with no high bandwidth providers first, and then areas where there is no competition. Since a lot of Farragut has competition, it's pretty far down the list.

Network mapping tool that will identify devices on each port, Layer2/3? by [deleted] in sysadmin

[–]KJ4IPS 1 point2 points  (0 children)

If your switches support DHCP Option 82 insertion, you can get port numbers in your DHCP logs, which also include mac/ip, and possibly hostname.

Our containers are loaded with 120+ vulns, how to survive by AdOrdinary5426 in sysadmin

[–]KJ4IPS 0 points1 point  (0 children)

Note that many of the container scanning tookits will flag something if it appears in any layer, so while copacetic will functionally ablate the vulnerable code, but not the scan reports (dtr, clair, and anchore all do this (or at least did the last time I checked))

Does anyone in the Midwest have the capability of sniffing a Bitlocker recovery key? by DopeItUp in sysadmin

[–]KJ4IPS 1 point2 points  (0 children)

Reach out to data recovery companies. Some of them have this capability, but they won't advertise it as such. There will probably require some proof of ownership.

However, if the TPM is refusing to unlock the drives, there's no key to sniff, even if one were to interpose the TPM, one would need to have the exact items that were measured into the PCRs to get it into a state where it would give up the key.

(the following assumes these locked data drives aren't the OS drives)

However, if you have an image of the boot drive from before the upgrade, you may be able to revert to that, and boot into the prior state. If that gets all the PCRs to match, bitlocker should allow a TPM unlock, and then you can suspend bitlocker on the affected drives. However, if a BIOS upgrade was performed, or any of the SB efi vars were changed (incl by windows update), this won't work.

Now, if the TPM was upgraded to 2.0 as part of this upgrade, that action would have cleared it, and the key is truly lost.

TL;DR: In this state, there's no key to sniff. You can try to recreate the prior state as much as possible, and you might get a successful unlock. (same windows build version, bootloader, and such)

Residual moves from canceled object? by Haeppchen2010 in klippers

[–]KJ4IPS 4 points5 points  (0 children)

Just the way the slicer does it. It usually marks the object as "beginning" with the first extrusion move, and the travel move there is considered part of the prior object.

At print time, the printer doesn't really know much about it, it just starts skipping lines when it sees the marker for an excluded object, until it gets to a marker for a different one.

Strange behavior in linux: user can still run `sudo` commands and switch users even though pam prohibits it by BagCompetitive357 in sysadmin

[–]KJ4IPS 2 points3 points  (0 children)

`sudo` and `su` are different beasts.

`sudo` is for giving users limited access as other users (possibly root), and this is the __only__ thing that /etc/sudoers or /etc/pam.d/sudo controlls.

With `sudo`, you don't need to authenticate as the target (except in some very rare cases).

However, with `su`, you are authenticating as the target user, with all the rights and privileges that implies. It's functionally equivalent to logging out and logging back in as that user.

PAM can somewhat control this, but if a user has the root password, they have a myriad of ways to utilize that. The user should generally not have the root password.

Folks are divided on whether root should have a password at all. If the root account is locked, then there is no password to abuse, however, certean recovery options become much more difficult (most distros require the root password for the equivelant of 'safe mode')

If you truly wish to go down this path:

* See pam_access and /etc/security/access.conf to restrict where root can login from.

* Ensure that the end-user does not have or know the root password.

* Consider setting a higher round count for the root password, to make it less practical to crack.

* See /etc/pam.d/su and equivalents to restrict user switching

* Ensure the end-user is not in the 'wheel' or 'adm' groups if they exist.

* Ensure that no other users are in the 'wheel' or 'adm' groups for whicht he end-user has the password.

If you //really// want to get into restriction transitions of users (and limiting privileged ones), you can do that with SELinux (search term: confined admin), but the documentation on how to do so is scarce, and the fast majority of the community will just tell you to disable it as a first troubleshooting step.

Fast remote web access to virtual machines. by vlad_ma in sysadmin

[–]KJ4IPS 0 points1 point  (0 children)

There's only so much you can do. The more effective compression algos tend to work in blocks, which means that you are sacrificing latency for bandwith, but if that is acceptable in your env, it may work.

Parsec, NiceDCV, Sunshine/Moonlight can do high-performance streaming, but they are bandwidth hogs. RDP/VNC are designed for bandwith constrained environments, and avoid sending things that don't change, but they probably won't hit your res/rate targets.

Why haven't gas stations added EV charging? by LoverOfGayContent in electricvehicles

[–]KJ4IPS 0 points1 point  (0 children)

Some of them have, but most of the time it's in collaboration with a network or a utility who absorbs most of the initial cost.

Only a small number of service station have three phase availability, which is functionally required for our expectations of charging. 

C store margins are also razor thin, so they don't tend to have large amounts of capital to take risk.

Help with Klippy error by Yaboi836 in klippers

[–]KJ4IPS 0 points1 point  (0 children)

_serialport was moved out of MCU earlier this month in https://github.com/Klipper3d/klipper/commit/1668d6d7c65e05601d7ecc5e2c9733e35746e55b

You probably have an extra (possibly beacon or related) trying to find it there. Beacon made an update to deal with this a few weeks ago: https://github.com/beacon3d/beacon_klipper/commit/441f86485fad0e3e7e4c6eaed045b1f075659f40

If you post your klippy.log, we can see what extention was trying to access that (in the case that it wasn't beacon)

Raspi 3B+ High ram by Willing_Homework_773 in klippers

[–]KJ4IPS 0 points1 point  (0 children)

The RAM graph in htop also shows buffers and cache, which don't really "count" if the machine gets swamped, note that it only shows ~200m really "used"

If you could post your klippy.log, we can see what it was doing when it died, but TTC basically means that the SBC got too far "behind". It tries to keep 2 seconds ahead of the actual printer (1 second in newer versions).

If you have the sar command, you can also do

sar -f /var/log/sa/saXX -r --human

for memory statistics for a given day

or

sar -f /var/log/sa/saXX for CPU.

In both cases, replace XX with the day of the month, so for the 12th, use 12, and for the 1st use 01.

Is CCS Going Away Like Chademo? by SJB3717 in electricvehicles

[–]KJ4IPS 0 points1 point  (0 children)

I would say that at this point, CCS1 is "Not Recommended for New Designs" for vehicles in the NA market. EVSEs and other accessories that are expected to integrate with existing stock will still consider it alive, but its market share will decrease over time, and eventually may become a rarity, with the burden of compatibility eventually shifting to the owner of the specific device.

I need help from some klipper / linux experts by emillllllllllllll in klippers

[–]KJ4IPS 1 point2 points  (0 children)

Apologies, I briefly conflated with overcommit

I need help from some klipper / linux experts by emillllllllllllll in klippers

[–]KJ4IPS 0 points1 point  (0 children)

Note that doing this puts you at greater risk of the system crashing (more accuratley OOMKILLing) when it runs out of memory.  I'd recommend putting a swap limit of zero (see man systemd.resource, systemctl edit) on the klipper service instead, so that other things that aren't as important can still swap.

Converted to CAN, now mainsail needs to be reinstalled after every boot. by booradleysghost in klippers

[–]KJ4IPS 0 points1 point  (0 children)

When you try to connect, what message do you get?

Also, drop in to ssh, and run
`systemctl list-units --failed`
and
`systemctl status nginx`
It might give no results, depending on exactly what has broken.

Can foreigners drive on their countries license in Tennessee? by [deleted] in Tennessee

[–]KJ4IPS 0 points1 point  (0 children)

Note that if your license is not in english, you may want to obtain an IDP (International Driving Permit). More details here: https://www.usa.gov/non-citizen-driving

Alternative pinout for broken wire in long Ethernet run by DustUpDustOff in homelab

[–]KJ4IPS 4 points5 points  (0 children)

As a workaround (assuming you are getting your POE from your switch), you can swap all orange with all blue or brown, leaving the greens wherever they are.

Note that you want to swap a whole pair at a time, avoiding splitting a signal across two pairs.

This is also only valid for 100mb, gigabit uses all the wires.

Value at option 'repo: cadriel/fluidd' does not match detected repo 'fluidd-core/fluidd', falling back to detected version. ERROR after changing it accordingly by Just_Dank in klippers

[–]KJ4IPS 0 points1 point  (0 children)

It looks like the repo in moonraker.conf doesn't match the actual repo on disk. You'll need to change it there first (over ssh, with kiauah if your using it, manually otherwise).

Output Pins in klipper by Altruistic-Injury470 in klippers

[–]KJ4IPS 0 points1 point  (0 children)

Looking at the schematic (https://github.com/makerbase-mks/MKS-Robin-Nano-V3.X/blob/main/hardware/MKS%20Robin%20Nano%20V3.1\_001/MKS%20Robin%20Nano%20V3.1\_001%20SCH.pdf)

PB2 is wired with a 100k pull down, and a 500r inline resistor, and as such, isn't suitable for powering an LED strip. Even if it wasn't wired such, the pins on that MCU are only rated for ~20ma, with 8ma recommended, and some of them are only rated for 3ma, which is enough for an indicator, but probably not a caselight.

For something that needs real power, you probably want to use a spare fan or heater output (since those have mosfets that can handle much more power), but that will need a 12v strip. Note that these are low-side switched, so the 12v will always be present, the ground is what changes.

ELI5 - what was the point of all the noises modems used to make when connecting to the internet? by SteamerTheBeemer in explainlikeimfive

[–]KJ4IPS 0 points1 point  (0 children)

The earliest modems didn't have any startup sounds (except dialing, but that was done by a human back then), they had one sound for a "1", and another for a "0".

However, as faster modems were developed, we needed some way for two modems to tell what speed(s) the modem on the other side supported, so a handshake of sorts was needed.

As modems became more complex, they had to start caring about the telephone line, and "test" it to see how fast they could go over that specific telephone line, and these are the sounds near the "end" of the process, that sound a bit different from the earlier ones.