The story of John the geek.

Let me tell you a story of John the geek. John decided that he don’t want to use flash drives, cables or emails to send his files from his PC to his e-Reader Onyx Boox. After several seconds, he decided to configure his Linux PC and his e-Reader to sent his files throw WiFi. It was the best solution he could find. No cables, no restrictions, just copy, paste and sync. That’s it! Nothing less, nothing more. Be like John! Well… there was that problematic part with configuration of Linux machine.

Linux machine

John opened his browser and found this awesome article which explained how to install and configure samba server on Linux machine (https://computingforgeeks.com/how-to-configure-samba-share-on-debian), after that he decided that all files will be shared from one place which will be:

/media/john/hdd_1/shares/

In this folder, John has created specific subfolders, which exists on his e-Reader:

  • Audiobooks
  • Books
  • dicts
  • Download
  • noteTemplate
  • Pictures
  • Screensaver

Of course, John could have created only one folder and run sync from PC to e-Reader every time, but he was smart enough to know that sometimes he will sync only specific folders which will take less time than sync all folders at once. Because of that he also decided that some folders will be synchronized only to e-Reader (Audiobooks, Books, dicts, noteTemplate), one from e-Reader to PC (Download) and one of them will be bidirectional (Pictures). That’s when it all started…

Samba

He has created his own samba configuration. First, he backed up his original file using command:

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.ORG

Next, he has overwritten the original file using spell:

sudo echo -n "" > /etc/samba/smb.conf

And after that, John’s magic has started. He opened his samba file, executing this command:


 [ . . . ] 

Czytaj dalej...

Tak... troszkę z tym tytułem za grubo pojechałem ale powiedzmy sobie szczerze - kto lubi obsługiwać pocztę za pomocą interfejsu webowego? No właśnie, a skoro tu jesteś to pewnie lubisz to tak samo jak ja - nie ma innej opcji - to musisz sprawdzać. A gdyby tak za pomocą magicznej klawiatury i myszki zamienić ten koszmar w piękną rzeczywistość? Przedstawiam wam prosty sposób na Exchange! 🙂

Czytaj dalej...

Jaka jest różnica między reset a restart zostało opisane w jednym z linków w źródłach.
Poniżej opis jak zadziałało to u mnie.

ESP.reset() is a hard reset and can leave some of the registers in the old state which can lead to problems, its more or less like the reset button on the PC.

ESP.restart() tells the SDK to reboot, so its a more clean reboot, use this one if possible.

the boot mode:(1,7) problem is known and only happens at the first restart after serial flashing.
if you do one manual reboot by power or RST pin all will work more info see: #1017

Kod źródłowy:


 [ . . . ] 

Czytaj dalej...

W międzyczasie zanim powstanie instrukcja o tym jak robić skórki do Mi Banda postanowiłem opisać przetestowane przeze mnie ładowarki do Mi Band 4 firmy Xiaomi.

Wstępnie jeszcze tylko powiem, że nazwanie każdego z tych "urządzeń" ładowarką jest po prostu kłamstwem. Każda z tych "ładowarek" to...

Czytaj dalej...