|
ratbert90 posted:sound_soc_read doesn't read from the sound codec as expected! I saw your post and I'm genuinely curious now, as someone with vague interest in i2s codecs for dumb nerd poo poo: what machinations do you have to do to actually read the i2c status back? What possible reason is there to have this implemented this way? Did someone miss a volatile somewhere or something, or is this a straight up intentional behavior within the driver?
|
# ¿ Oct 26, 2016 05:32 |
|
|
# ¿ May 16, 2024 15:07 |
|
peepsalot posted:I have a beaglebone black and I used scp to transfer a file from my desktop to the beaglebone today. The beaglebone came from adafruit with debian pre-installed. Try running (as root) code:
Alternately, there's a setting that reuses existing ssh connections via a shared socket setup so that `ssh root@bbb` creates a socket and the next `ssh root@bbb` (or `scp`) reuses it so you don't have to wait on kex to happen again, but I thought that required auth to still happen (and I'm away from my setup where I could easily test this right now). Adding more levels of -v flags to get more debug output will shine some light as to how auth (if any) is happening. You can do some interesting stuff with .ssh/config to specify the Debian user as default and add aliases there for your ssh hosts, btw. May be worth it if the box isn't running avahi and therefore is hard to find on a DHCP network.
|
# ¿ Dec 21, 2016 17:23 |
|
peepsalot posted:
Well there's your answer. Apparently out of the box, it doesn't require auth for root access for some reason. I'll need to see if I still have my BBB to play with, but that's hilarious.
|
# ¿ Dec 22, 2016 00:12 |
|
peepsalot posted:First I found that root password is blank ( /etc/shadow shows root:: ) peepsalot posted:But when you combine that empty password with these settings in /etc/ssh/sshd_config Well, how it's supposed to work in a secure manner is, you create a user with a complicated password, don't announce that password in the SSH banner, and that user is in the wheel group and can sudo as necessary. Stock Debian (x64 / 8, at least) ships with PermitRootLogin without-password and PermitEmptyPasswords no. But the BBB is targeted at getting folks up and running super fast regardless of experience level with Linux, so things like "access control" are apparently elided. Christ, there's nothing in adafruit's material or that elinux.org page telling folks to set a root password. So I guess it's perfect fodder for this thread.
|
# ¿ Dec 22, 2016 04:15 |