Thursday, May 23, 2024

rsync backup synchronization script

cd /home/user/

mkdir .backup

touch folders.txt // include folders in column folder1 folder2 folder3

touch backup.sh

#!/bin/bash


# Define the source and destination base directories

src_base="/media/user/disk1"

dest_base="/media/user/disk2/backup"


# Define the list of folders to copy

folder_list="folders.txt"


# Define the rsync options, including --delete to remove files not present in the source

rsync_opts="-rahP --inplace --info=progress2 --stats -u --delete"


# Loop through each folder in the list

while IFS= read -r folder; do

    # Check if the folder path is not empty

    if [ -n "$folder" ]; then

        echo "Processing folder: $src_base/$folder => $dest_base/$folder"

        # Perform the rsync operation

        rsync $rsync_opts "$src_base/$folder/" "$dest_base/$folder/"

    fi

done < "$folder_list"

chmod +x backup.sh

./backup.sh

cp -ruv /home/user/ /media/user/disk2

Tuesday, May 21, 2024

Wine do not install or launch application from CD-ROM or disk

cd ~/.wine/dosdevices/

ls -l

winecfg > Drives > D: /media/user/disk > E: /media/user > Z: /media/user/disk/wine

Such set up solved the issue, but programs demanding CDs still won't launch.

Graphics > 150 dpi, Applications > Windows Version > choose, Desktop Integration

wine control

wine explorer

Microsoft Data Access components 2.5 SP1 (odbcjt32.dll) issue with ElsaWin. Download odbc32.dll and put into /home/user/.wine/drive_c/windows/syswow64/

ElsaWin failed to install on Wine. Can't create user. Failed to install from network on VirtualBox. Copy directly from network to vm from PC - fucking lunacy.

Microcat works on VirtualBox without CD, but on Wine could not locate it.

wine uninstaller

Z: /media/user/disk/wine

/home/user/.local/share/applications/wine/Programs

/home/user/.wine/drive_c/ProgramData/Microsoft/Windows/Start Menu/Programs/

Increase disk space on vm. Use partition tools.

VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB

Decrease size with partition tools, wipe data with zeros and 

VBoxManage modifyhd VM.vdi --compact

Sunday, May 19, 2024

Changing Nvidia card fan speed

In MSI Afterburner make own curve. Some video cards need checkbox "Override zero fan speed with hardware curve" in Fan settings. Fans will start at +60 and stop at +40, depending on video card.

In Linux Nvidia Settings uncheck Enable GPU Fan Settings.

watch -n 1 nvidia-smi

nvidia-settings -a "[gpu:0]/GPUFanControlState=0" // enable auto fan control

nvidia-settings -a "[gpu:0]/GPUFanControlState=1" // manual fan control

You can try nfancurve - https://github.com/nan0s7/nfancurve 


Switching to Nouveau (Open Source NVIDIA driver)

Discoder > Additional Drivers > Nouveau display driver

sudo reboot

BUT u will loose fan control and coolers will be spinning all time.

Thursday, May 16, 2024

Реле та запобіжники Audi 80 B4 2.0 E 1994

3 [  +/-  ] діагностики

2 [ K/L ] діагностики

1 frei — вільний

      Nebellicht — протитуманні фари (нема)

      E-Lufterrel. — реле вентилятора (нема)

      Relais für Lüfternachlauf — реле роботи вентилятора після поїздки (нема)

      Steuergerät für Scheinwerfer-Reinigungsanlage — омивач фар (нема)

      Entlastungs-Relais — реле розвантаження X-контакта (load reduct relay)

      214 SHO 89 95 12 40A 12V Relais fur Klimaanlage — реле кондиціонера

204 12V.40A 431951253 H Hornrelais — реле сигналу

Relais für Wegfahrsperre - Brücke für Schaltgetriebe — імобілайзер - міст ручної КП (нема)

229 С 7411 Wisch-Wasch-Intervallrelais — щітки та склоочисник

208 8A0 951253 B 89 9578 000 12V 30/20A PA6 — GF30 Kraftstoffpumpe — паливна помпа

[  Reserve Sicherungen — запасні запобіжники  ]

214 SHO 89 95 12 40A 12V Relais fur Kuhlerlufter (Stufe 1) — вентилятори радіатора (1 швид.)

Sicherungsbelegung

Ampere

Nr.

Nebelscheinwerfer, Nebelschlussleuchte — fog lights — протитуманні фари

15

1

Warnblinken — hazard warning lights — аварійка

15

2

Signalhorn (Hupe), Sitzheizung — horn, seat heater — сигнал, підігрів сидінь

30

3

Leseleuchten, Uhr, Kofferraumleuchte, Zigarettenanzünder, Innenleuchte, Radio, 

Make-up-Spiegel, Checkpaket, Klimavollautomat, Bordcomputer — lights, clock, 

trunk light, cigarette lighter, interior light, radio, vanity mirror, check control 

system, automatic climate control, on-board computer

15

4

Kühlerlüfter - Vorlast — radiator fan - low speed

30

5

Begrenzungsleuchten (rechts) — right-side marker lights — правий габарит

5

6

Begrenzungsleuchten (links) — left-side marker lights — лівий габарит

5

7


Fernscheinwerfer (rechts), Fernlichtkontrolle — right high beam headlight, high 

beam indicator light — праве дальнє, індикатор дальнього

10

8

Fernscheinwerfer (links) — left high beam headlight — ліве дальнє

10

9

Abblendscheinwerfer (rechts), Leuchtenweitenregulierung (rechts) — left low beam 

headlight, headlamp leveling - left — ближнє ліве та регулювання

10

10

Abblendscheinwerfer (links) , Leuchtweitenregulierung (links) — right low beam 

headlight, headlamp leveling - right — ближнє праве та регулювання

10

11

Kombiinstrument, Multifunktionsgeber, Rückfahrleuchten, A4-Automatik, GRA, 

Bordcomputer, manuelles Verdeck, Airbag Warnleuchte) — dashboard, multi-

function switch, reverse lights, a4 automatic transmission, cruise control, on-board 

computer, manual convertible top, airbag warning light

15

12

Kraftstoffpumpe, Warmlaufregler — fuel pump, warm-up regulator — паливна 

помпа

15

13



Kennzeichenleuchte, Motorraumleuchte, Handschuhkastenleuchte, 

Kofferraumleuchte (Cabrio), Beleuchtung Kombigerät / Klimavollautomat — 

license plate light, engine compartment light, glove box light, trunk light 

(convertible), instrument cluster / automatic climate control lighting

5

14

Heizbare Waschdüsen, Klima-Hochdruck, Steuergerät Lüfternachlauf, 

Richtungsblinken, Thermoschalter Kühlerlüfter, Wischeranlage — heated washer 

nozzles, air conditioning high pressure, fan after-run control unit, turn signaling, 

radiator fan thermal switch, windshield wiper system

25

15

Heizbare Heckscheibe, Spiegelheizung, Heckscheibenenfeuchtung — heated rear 

window, heated mirrors, rear window defogger

30

16

Heizungslüfter, Klimaanlage — heater blower, air conditioning

30

17

Heckwischer/elektrischer Außenspiegel, automatisches Verdeck — rear 

wiper/electric exterior mirrors, automatic convertible top

15/5, 25

18

Zentralverriegelung, Türschließzylinderheizung, Diebstahlwarnanlage — central 

locking system, door lock cylinder heating, anti-theft alarm system

15

19

Kühlerlüfter - Stufe 1, Lüfternachlauf — radiator fan - stage 1, fan after-run

30

20

Nachlaufpumpe, Ölkühler, Diagnose — after-run pump, oil cooler, diagnostic

10

21

Diesel - дизель

80

22

Polizei / Kennzeichenleuchte, Tagesfahrlicht — police / license plate light, daytime 

running light — підсвітка номера, денне ходове світло

10/5

23

Taxi, Polizei / automatisches Verdeck / Motorelektrik IV, Wasserpumpe, manuelles 

Verdeck — taxi, police / automatic convertible top, engine electrical system iv, 

water pump, manual convertible top — водяна помпа

20/30/10

24

Lambdasondenheizung — lambda sensor heater — нагрівач сенсора кисню

5/10

25

Anhängersteckdose — Trailer Socket — підключення причепа

30

26

Motorelektrik I — engine electrical system I

20

27

Motorelektrik II — engine electrical system II

15

28

Bremsleuchten - brake lights — стоп сигнали

10

29

GRA mit A4-Automatik, Polizei / Taxi — круїз із 4шв. автоматом, поліція / таксі

5/10

30

ABS, Differentialsperre — ABS, differential lock

15

31

Motorelektrik III — engine electrical system III

15/20

32

https://www.audi-80-wiki.de/index.php?title=Sicherungskasten






Під головним блоком реле та запобіжників є додатковий блок. На нижній панелі полички водія (driver's side tray) є наклейка з переліком компонентів цього блока. RHD - right hand drive, LHD - left hand drive.

214 SHO 89 95 12 40A 12V - реле підігріву впускного колектора

217 443 951 253 S - повне навантаження вентиляторів радіатора

305 443 919 578 J SMK 12V - реле кондиціонера

60A синій запобіжник вентиляторів радіатора

20A - 12V 443 937 105 GYE жовтий термозапобіжник

4A0 947 319 - плафон підсвітки моторного відсіка під капот.

4A0 959 905 - датчик відкривання багажника - вмикач підсвітки.

893 863 075 S - полиця під кермо водія (893 863 075 T - TDI).

8A0 971 825 - пластина захисна кабелів і реле.

8A1 864 775 B - металевий кронштейн, тримач підніжки.

8A1 864 777 A - пластикова накладка підніжки (біля педалі щеплення).

https://www.youtube.com/watch?v=CZGm_Qurub0 - Как проверить реле

https://www.youtube.com/watch?v=24tKIKMcQ-U - РЕЛЕ ЕЖА АУДИ 80 Б4. КАК ПРОВЕРИТЬ ЕЖА НА АУДИ 80 Б4  РЕЛЕ ЭЛЕКТРОПОДОГРЕВАТЕЛЯ ВПУСКНОГО КОЛЛЕКТОРА

Wednesday, May 15, 2024

Підключення Fantom FT-228 на Audi 80 B4

Для підключення блока дистанційного керування Fantom FT-228 до центрального замка Audio 80 B4 потрібно врізатися в кабель ЦЗ дверей водія — зелено-синій або зелено-чорний. Див. відео https://www.youtube.com/watch?v=uVfA7xq09X4

Підключення Fantom FT-228 на Audio 80 B4
1 кінець зелено-чорного кабелю підключаємо до оранжевого кабелю реле закривання (в мене це жовто-червоний кабель, як продовження зелено-чорного - так вийшло), а 2 кінець зелено-чорного кабелю підключаємо до чорно-білого COM реле відкривання. Бажано додати кабель за допомогою гільз, якщо не вистачає.

Жовтий кабель реле закривання в мене пішов на - акумулятора разом із чорним кабелем. - на кузові можна взяти, прикрутивши кабель гайкою до кузова над зелено-чорним кабелем ЦЗ дверей водія.

Жовто-чорний кабель реле відкривання в мене пішов на + акумулятора разом із червоним кабелем, на якому знаходиться запобіжник 15А. Знайдіть плюсовий контакт під панеллю, до якого через клему можна додати кабель.

Оранжево-чорний кабель реле відкривання підключаємо до білого COM реле закривання.

Sunday, February 25, 2024

Evolution or degradation?

Spiritual growth. Belief is preferred instead of knowledge.

Intellectual development. Still billions believe in medieval dogmas and gods.

Ecology. Totally fucked. Waste, deforestation and drying of wetlands change climate.

Economy. Mostly wastage and irrational use of resources without recycling.

Poverty. Despite overproduction millions starve and billions make ends meet.

Peace. Wars never end and politicians prepare for new.

Technology can’t solve challenges humanity faces.

Environmental crisis will hinder economy growth.

Stupidity is the main threat.

Meditation is the key.

Saturday, February 10, 2024

Religion is cancer

Religion is ideology. Ideology produces politics and politics shapes religion. Religion is not separated from state and never was. Religion = politics.

Main harm religion does is that it gives wrong conception of the world. It lies from the beginning of times. From early childhood you are influenced by beliefs and rituals. You are given no choice. Your religion depends on family and social pressure. Offering and promising something somewhere for the fulfillment of certain rules and imitation of parasite-preachers, religion confuses heads of believers and turns them into a submissive and inadequate amorphous mass.

Religion proves nothing. Belief has nothing to do with objective reality. Religion cheated humanity by creating own philosophy called theology to monopolize interpretation of god and existence. Religions create conflicts, competition, intolerance and do not promote peace, inhibit progress and dull the intellectual abilities of people. Proven by history and the present.

After all shit happened – science developed. Science didn’t explain everything but it broke religious dogmas and revealed lies. Science also proved that most humans don’t want to grow, learn and think. The most stupid thing in life that you can do is to believe in something without knowing or understanding anything. No matter how hard you believe, it does not confirm or prove anything - nonsense as it is. Replacing knowledge with faith is the worst crime against humanity, against oneself.

2.5 billion Christians and 2 billion Muslims and 1 billion Hindus. Why Buddhism and Taoism are not so popular? Guess what, they do no give cozy belief! When you have ready answers, you won’t seek and challenge dogmas. That’s theology – hiding truth.