среда, 23 мая 2018 г.

Ubuntu 16.04 : Configure WOL

  • Set in /etc/default/tlp
  • WOL_DISABLE=N 
  • Set in /etc/default/halt
  • NETDOWN=no 

  • execute
  • sudo ethtool -s eth0 wol g
  • check
  • sudo ethtool eth0
    Settings for eth0:
    
             ...
      Supports Wake-on: g
      Wake-on: g
      Link detected: yes

воскресенье, 10 января 2016 г.

serial console

Create /etc/init/ttyS0.conf
start on stopped rc RUNLEVEL=[12345]
stop on runlevel [!12345]

respawn
exec /sbin/getty -L 115200 ttyS0 vt102
Start:
sudo start ttyS0
FROM

пятница, 6 марта 2015 г.

Python костыльный метод удаления

Для "ручного" удаленния после установки
python setup.py install --record files.txt
cat files.txt | xargs rm -rf
где files.txt - список установленsх файлов (с абсолютным путем)

четверг, 5 марта 2015 г.

GNS3 v1.2.3

  1. To change default theme
  2. Edit -> Preferences -> General
    General Tab -> Style -> Legacy
    Old
    New

  3. Edit console style
  4. Edit -> Preferences -> General
    Console applications Tab - > Console application command:
    putty -telnet %h %p -title "%d" -sl 2500 -fg yellow -bg BLACK -fn "client:Monospace 12" -fb "client:Monospace Bold 12"

пятница, 21 ноября 2014 г.

LibreOffice: default page A4

Creating a new default template

If you want every new document to have user-defined settings, you must create a new template and set it as default.
  1. Create a new document, add or modify styles, and change other settings as you desire.
  2. From the File menu, choose Templates -> Save.
  3. Give the template a name.
  4. Select a category in the Categories list (for example, My Templates).
  5. Click OK to save the template.
  6. Choose File -> Templates -> Organize.
  7. In the Categories list, double-click on the My Templates folder.
  8. Right-click on the template you want to use and choose Set as Default Template from the menu.
  9. Click the Close button.

Do this for Writer & Calc