Archive for software

Transmission network problem

Recently started in debug mode on Transmission and I see:

[17:42:40.319] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:75)
[17:42:40.319] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:80)
[17:42:40.319] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:86)
[17:42:40.319] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:91)

By tuning the two variables, higher throughput can be achieved more easily using uTP.

Here’s the relevant part from the changeset :

Since we are using a single UDP socket to implement multiple UTP sockets,
and since we are not always timely in servicing an incoming UDP packet,
it is important to use a large receive buffer. The send buffer is probably
less critical, we increase it nonetheless.

Four megabytes might seem huge for embedded clients, but running behind a dedicated connection, it might even become too small. I recommend using 16 megabytes for receive buffering and 4 for the send buffer. That is, because uTP implements a retransmission algorithm and by scaling up the buffers we can achieve fewer retransmits because of dropped datagrams. Let’s set it up that way.

Check actual settings:

do the modifications:

src: https://falkhusemann.de/blog/2012/07/transmission-utp-and-udp-buffer-optimizations/

gigabit e1000e Detected Hardware Unit Hang

If we see it in

the resulution is:

 

for gentoo, add these lines into

 

src: https://serverfault.com/questions/616485/e1000e-reset-adapter-unexpectedly-detected-hardware-unit-hang

Iptables speciális IPről speciális port-ra forwardolás

Tesztelt / Tested:

Source interface: eno1
Target IP: 192.168.100.40

Source Port: 922
Target port: 22

 

NEM TESZTELT! / NOT TESTED!

 

LWin + RAltGr as context menu (right click)

My new notebook does not contains the context menu button.
menu key
So I searched a solution for it.

I found the autohotkey.com

This under GPLv2 and works very well.

I you are same as me, who a shortcut foolish, this your J.A.R.V.I.S!

 

I made a script, where Win + AltGr will be my context menu.

 

Forticlient disable autostart

  • cmd.exe -> “Run as Administrator”
  • msconfig
  • Services tab
  • uncheck FortiClient Service Scheduler

Do NOT restart the PC now!

  • Windows+R
  • services.msc
  • change “FortiClient Service Scheduler” to Manual

Windows 10 start menü restore

1. Fix corrupted files

If the Search bar still works, search for powershell. Then right-click Windows PowerShell in the search results and select Run as administrator.

But if the search bar doesn’t work either, press Winkey-R, type powershell, and press Enter. Right-click the PowerShell icon on the taskbar and select Pin to taskbar. Close the PowerShell program. Hold down Shift and Cntrl while you right-click the PowerShell icon again. Select Run as administrator.

Once you’re in the Powershell command-line environment,  type the command sfc /scannow and press Enter. Then wait. It can take quite a while.

0411 sfc

Eventually, the program will tell you either that it found no corrupt Windows files, it found and fixed them, or it found some but couldn’t fix them. If you get the latter response, try the command

dism /online /cleanup-image /restorehealth

This should (hopefully) download replacement files.

Cert lementése remote szerverről linuxon

 

Keresés tar archivumok fájljain belül

vagy így is megeszi

 

Outlook set sync folders

  1. You can open the Send/Receive Groups dialog by pressing the CTRL+ALT+S keyboard shortcut or as an alternative use:
    • Outlook 2007 and previous
      Tools-> Options…-> tab Mail Setup-> button Send/Receive…
    • Outlook 2010, Outlook 2013 and Outlook 2016
      File-> Options-> Advanced-> button Send/Receive…
  2. In the Send/Receive Groups dialog press the Edit… button.
  3. In the left section, select the account for which you want to modify the send/receive settings.
  4. In the Account Options section you can disable the option for “Receive mail items”.
  5. Press the OK button until you have closed all open dialogs.

How to get Apache Tomcat version