Categories
Ask Electrical Engineering Engineering

Amplifying tuned receiver

I have been trying to amplify the output of this near field LC receiver with different OP AMP types and configurations. All the circuits I’ve tried have either had a really high offset at the output, and don’t amplify the signal, or just give completely wrong outputs (several orders of magnitude above supply voltage). How […]

Categories
Arduino Ask Engineering

Problema con cogido Arduino para sistema RFID [closed]

Tengo el siguiente código y le he arreglado bastantes cosas, pero me general el error ‘serial’does not name a type, y asi muchos mas errores con esa misma frase, y no se como solucionarlo, agradecería cualquier ayuda. #include <LiquidCrystal_I2C.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> //Crear el objeto lcd dirección 0x3F y 16 columnas x 2 filas […]

Categories
Linux Mastering Development

Is anything on this list a tool I can use the enable some kind of disk encryption?

I have a device running on some kind of obscure Linux distribution used for embedded devices. This device has a web gui where there is an option to enable encryption of the internal storage. However, that option is not available for me (my device is unsupported) so I have resorted to the command line. I […]

Categories
Linux Mastering Development

Intel 10th Gen Comet Lake Graphics Driver Issues

I was wondering if anyone could help point me in the right direction, I’m having problems with the Intel drivers on Debian as I’m trying to do some transcoding within Docker. But before I even get to Docker, I’m having issues. vainfo was trying to open Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so, which I believe is the […]

Categories
Linux Mastering Development

NVMe performance hit when using LUKS encryption

I’m running all the commands on the Proxmox host, when I LUKS encrypt a disk I get about a 28% hit in read speeds and 66% hit in write speeds. I have aes-ni enabled and I should be getting good enough performance from hardware acceleration so I don’t really know whats going on… Also it […]

Categories
Linux Mastering Development

Finding special file which contains which groups i have on my system and also a file that contains the users

Hei, I need to find out which groups you have on your system. Here we are looking for the contents of a special file, ie list the contents of this file (tip: use man). Also find the file that contains the users. Remember that there are different sections! The files we are looking for are […]

Categories
Linux Mastering Development

Linux nslookup reverse lookup returning error

I am on a Linux machine and am trying to lookup the machine name of a remote Windows computer using it’s IP address. When I use nslookup to get the IP address from the machine name, it works: $ nslookup computer-name Server: 172.22.333.444 Address: 172.22.333.444#53 Name: computer-name.example.com Address: 172.55.6.77 However, when I try to lookup […]

Categories
Linux Mastering Development

macOS hangs on reboot

Recently, my macOS hangs during the reboot process. The screen shows the background and it does not reboot until the system watchdog reboots the computer. What are the ways that I can debug this? I know system console but don’t have much experience looking for reboot bugs inside the system logs. Any help is much […]

Categories
Linux Mastering Development

How to split single rows of a CSV file into multiple depending on delimiter in 2nd column

My base.csv file has several entries a sample of which is below. NAME,IP_ADDRESS,PRI_IP,APP_CODE,APP_NAME,OWNER test2,10.9.7.12/10.222.101.11,10.9.9.12,545,myapp1,owner1 mytest,10.9.7.12,10.9.9.12,545,myapp1,owner9 checkthis,10.9.7.12/10.222.101.11/10.3.2.111,10.9.9.12,545,myapp1,owner7 Note: the second column is always a single or multiple IP address seperated by delimiter / I wish to create newbase.csv with second colum always having only a single ip. Thus the desired newbase.csv would be like test2,10.9.7.12,10.9.9.12,545,myapp1,owner1 test2,10.222.101.11,10.9.9.12,545,myapp1,owner1 […]

Categories
Linux Mastering Development

unable to set export PASSCOUNT=`cat ` for remote node in shell script

OLD_ENCRYP_PASS and NEW_ENCRYP_PASS values are set in env.conf file. Problem is echo $PASSCOUNT is coming zero #!/bin/bash source env.conf export FILE=$1 export HOST=$2 export TENANT=$3 ssh -q -t $HOST << EOF echo echo $FILE echo $OLD_ENCRYP_PASS echo $HOST cat $FILE | grep $OLD_ENCRYP_PASS | wc -l export PASSCOUNT=cat \$FILE | grep \$OLD_ENCRYP_PASS | wc -l […]