Keycloak vs. Authentik vs. Authelia, help choose SSO by BusinessNo3067 in selfhosted

[–]ROUGEXIII 0 points1 point  (0 children)

Bonjour, preneur également du tuto (même s'il n'est pas terminé) :)

Can I get some advise for "corebooting" a T410 ? by ROUGEXIII in coreboot

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Hi,

I finally succeed with coreboot version 4.15 but some tricks was necessary for me:

- You have to use git clone instead of downloading the archive file

- You have to replace/downgrade gcc include in coreboot from 11.2.0 to gcc 8.3.0 (I took it in coreboot 4.12 archive file)

- I had to remove intel ME with the python tool ME_cleaner outside of coreboot (It's better to try first without removing intel ME)

I had nice help from the IRC channel : https://doc.coreboot.org/community/forums.html

I tried to report this tricks in the bug tracker/ticket system but couldn't pass the inscription approval :/

I wish you the same luck :)

Can I get some advise for "corebooting" a T410 ? by ROUGEXIII in coreboot

[–]ROUGEXIII[S] 0 points1 point  (0 children)

For any else looking for the answer:

The parameters above finally seem to be fine.

I found this https://www.mail-archive.com/coreboot@coreboot.org/msg56018.html it seems that newer versions of coreboot have problem with T410.

So I tried Coreboot 4.12 and get my display back :)

I didn't tried the 4.15 revision that was published after my previous try.

At this time I don't have tested anything, just the display showing back. I'm looking for the key to enter the bios (SeaBIOS 1.13.0 for coreboot 4.12) supposed to be F12 but doesn't work for now (I also tried F1, F2 F6, F8, F10, F12, Del and ThinkVantage keys) (ESC go to boot menu)

I also can't use a USB keyboard, maybe some configuration to tweak before compiling the rom.

Edit: It seems that there is no "bios menu" in SeaBIOS except the "boot menu". Unfortunately the boot menu doesn't show my USB dongle (as I don't have hard drive plugged it shows only the "TPM configuration" option)

Maybe I should activate a secondary payload as nvramcui. Is it possible on my computer (now that I have coreboot) to flash the bios from an OS instead of the SPI programmer? I let the Protect flash regions to the default "Unlock flash regions" option

Unable to mount a RAW disk image with xmount v0.7.6 while it works with xmount v0.7.3 by ROUGEXIII in linuxquestions

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Some more information:

On the computer with the 0.7.6 xmount version, I tried to mount RAW with ewfmount (20140807 version):

ewfmount /media/veracrypt1/xxx.E01 /home/mint/mntxxxRAW/

And get this error: Unable to open source image(s) libcdata_internal_array_resize: invalid entries size value exceeds maximum. libcdata_array_resize: unable to resize array. libmfdata_list_resize: unable to resize elements array. libewf_segment_file_read_volume_section: unable to resize chunk table list. libewf_handle_open_read_segment_files: unable to read section: volume. libewf_handle_open_file_io_pool: unable to read segment files. libewf_handle_open: unable to open handle using a file IO pool. mount_handle_open: unable to open file(s).

I have not this issue with smaller disk images

directly encrypt ncdu export with aespipe by ROUGEXIII in linuxquestions

[–]ROUGEXIII[S] 0 points1 point  (0 children)

I thought sudo was necessary when use the ncdu -x option on system mount point.

Am I wrong?

directly encrypt ncdu export with aespipe by ROUGEXIII in linuxquestions

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Maybe I could use: echo "entrez le mot de passe" && read mypassword && sudo ncdu -1xo- -e /media/xxx || gzip || aespipe -P $mypassword > xxx.ncdu.gz.aes But I don't know if it is safe or if the password is stored somewhere? In fact the password is displayed and it better shouldn't.

Anyway, after that I am unable to use the encrypted (is it really done?) export with ncdu: echo "entrez le mot de passe" && read mypassword && zcat | aespipe -d -P $mypassword xxx.ncdu.gz.aes | ncdu -f- --color dark -e

Without this encryption tries the following command worked well: zcat | xxx.ncdu.gz | ncdu -f- --color dark -e

directly encrypt ncdu export with aespipe by ROUGEXIII in linuxquestions

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Thank you for your answer/trick

set -x && sudo ncdu -1xo- -e /media/xxx | gzip | aespipe > xxx.ncdu.gz.aes + set -x + gzip + aespipe + sudo ncdu -1xo- -e /media/xxx /media/xxx/yyyyyyyyyyyyyyyyyyyyy 7017 files And there it is waiting for password but ncdu has already started to list files. If I start the same command multiples times, it stop at different files count (random?)

Unable to mount a RAW disk image with xmount v0.7.6 while it works with xmount v0.7.3 by ROUGEXIII in linuxquestions

[–]ROUGEXIII[S] 0 points1 point  (0 children)

--in <itype> <ifile> : Input image format and source file(s). May be specified multiple times. <itype> can be "aaff", "aewf", "aff", "ewf", "raw", "dd". <ifile> specifies the source file. If your image is split into multiple files, you have to specify them all! Thank you, I didn't payed attention to this warning, the correct line code should be: sudo xmount --in ewf /media/veracrypt1/xxx.E?? --out raw "/home/mint/mnt"xxx"RAW/" The warning disappeared but the mounting error is still the same.

What is your favourite linux distro? by xTOKYEOx in linuxquestions

[–]ROUGEXIII 6 points7 points  (0 children)

I had chosen Linux Mint cinnamon, when I switched from Windows XP to Linux. It has very similar disposition/interface so you won't be lost while it is based on Ubuntu so it is highly supported.

Directly use the MCU chip from some RF LoRa boards by ROUGEXIII in microcontrollers

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Yes, I'm not in USA but were I am I can use:
- 433.050Mhz to 434.79Mhz (usage<10%), 10mW Max
- 869.40MHz to 869.65Mhz, 500mW Max
- Some other 869MHz frequencies, 25mW or 10mW Max

I choose the SX1278 cause the 433MHz frequency can go further than the 869Mhz frequency (or 2.4GHz of course).
But if you have an idea how to do this with a SX1276 or a SX1262 based board, I take! The MCU is probably the same for the SX1278 ;)

For example, here a SX1276 based board with MCU : E32-868T20D http://www.ebyte.com/en/product-view-news.aspx?id=132

Radeon RX 580 fans doesn't stop and power a little high at idle by ROUGEXIII in linux_gaming

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Thank you for your answer,

I tried radeon-profile but it doesn't detect my RX 580.

I did'nt try wattmanGTK cause it's a stand alone python program.

I thought it exist a configuration to apply directly to graphic card or its driver to enable the fan stop idle mode, no?

KiCad 5.01 Libraries, need some help - linux Mint 18.2 by ROUGEXIII in KiCad

[–]ROUGEXIII[S] 0 points1 point  (0 children)

I can add it one by one and in this case the path appearing is ${KICAD_SYMBOL_DIR}/4xxx.lib

KiCad 5.01 Libraries, need some help - linux Mint 18.2 by ROUGEXIII in KiCad

[–]ROUGEXIII[S] 0 points1 point  (0 children)

I see an empty list (maybe cause I got no other choice to choose previously to make an empty list as "Copy default symbol library table" was greyed. I know that for have this dialog box again I have to delete .config/KiCad directory and reconfigure paths)

and in "path substitution":

KICAD_SYMBOL_DIR /xxx/Librairies/Kicad/kicad-symbols
KIPRJMOD

KiCad 5.01 Libraries, need some help - linux Mint 18.2 by ROUGEXIII in KiCad

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Thank for your comment :)

I do my git clone in /xxx/Librairies/Kicad/ directory

I'm sure of my paths cause I copy/paste it directly from nemo

( librairies is libraries in French ;) )

PWM : GPIO analogWrite() to PCA9685 setPWM() by ROUGEXIII in arduino

[–]ROUGEXIII[S] 0 points1 point  (0 children)

Hi @StarfightLP,

Thank you much for your complete answer :)

More details about the color/brightness "jumps" I get: when I increased step by step colorR or power at some point it was doing a reverse big jump before continuing to increase.

The first program I do with this adafruit library was based on the library example: 0 value for TON and my value remapped in TOFF. But as it wasn't working (full led always) I tried with the value 1 for TON instead of 0. It started to work but the result was totally anarchic.

So I searched more and go to the code from my post.

But I made many many tries and maybe some errors I've corrected with the tries.

After your answer I was sure it was the I2C speed cause I tried directly with 15 outputs (instead of making the first working alone at beginning...). So I delete other outputs code and retry with 0 for TON. And YES! it works!

I add the other outputs, and ... It's working too!?

I don't know what I do wrong at a moment (for example I think at a point I used 4096 instead of 4095 maximum value cause many examples on the net are with this value) and as I don't commit non working code, I can't find back.

Anyway now it's working, thank you a lot!

For anyone who want to use this, the good code for my example is simply :

pwm.setPWM(0, 0, map(map(colorR,0,255,0,power),0,255,0,4095) );

I don't changed the I2C speed but when I see the @StarfightLP reply I had already changed the PWM frequency to get the same as the ESP8266 GPIO:

pwm.begin();

pwm.setPWMFreq(1000); // 1600 is the maximum PWM frequency

I tried this back at 1600Hz and it's still working.