User Tools

Site Tools


scraps


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scraps [2024/11/14 02:30] – external edit 127.0.0.1scraps [2025/05/29 12:40] (current) – [Anydesk Debian Setup] millerjs
Line 3: Line 3:
 Bits and pieces I want to be able to grab quickly. This page will change frequently. Bits and pieces I want to be able to grab quickly. This page will change frequently.
  
 +===== GNSS Related =====
 +==== PowerRename bulk NRCAN-PPP Results ====
 +Rename ''001_syif136m_full_output.zip'' to ''syif136m_full_output_rapid.zip''
 +
 +
 +Regular Expression: ''^(.{4})(.*)$''
 +Replace with: ''$2_rapid$3''
 +
 +{{::screenshot_2025-05-22_140358.png|}}
 +===== Anydesk Debian Setup =====
 +1) Confirm X (not wayland!)
 +
 +- Run ''loginctl'' to show current session IDs.
 +
 +- Check the session types: ''loginctl show-session <SESSION_ID> -p Type''
 +
 +2) Add anydesk deb repository: https://deb.anydesk.com/howto.html
 +<code>
 +# Add the AnyDesk GPG key
 +sudo apt update
 +sudo apt install ca-certificates curl apt-transport-https
 +sudo install -m 0755 -d /etc/apt/keyrings
 +sudo curl -fsSL https://keys.anydesk.com/repos/DEB-GPG-KEY -o /etc/apt/keyrings/keys.anydesk.com.asc
 +sudo chmod a+r /etc/apt/keyrings/keys.anydesk.com.asc
 +
 +# Add the AnyDesk apt repository
 +echo "deb [signed-by=/etc/apt/keyrings/keys.anydesk.com.asc] https://deb.anydesk.com all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list > /dev/null
 +
 +# Update apt caches and install the AnyDesk client
 +sudo apt update
 +sudo apt install anydesk
 +</code>
 +
 +3) set password for unattended access: ''sudo su; echo awesomepassword | anydesk --set-password''
 +
 +4) Get ID: ''sudo su; anydesk --get-id''
 +
 +https://support.anydesk.com/knowledge/command-line-interface-for-linux
 ===== Disable power button shutdown ===== ===== Disable power button shutdown =====
  
Line 218: Line 256:
 allow allow
 cmdallow cmdallow
 +</code>
 +
 +===== Set NIC to promiscuous mode at boot =====
 +Using systemd:
 +
 +`/etc/systemd/system/promisc-eth0.service`
 +
 +<code>
 +[Unit]
 +Description=Control promiscuous mode for interface eth0
 +After=network.target
 +
 +[Service]
 +Type=oneshot
 +ExecStart=/usr/bin/ip link set eth0 promisc on
 +ExecStop=/usr/bin/ip link set eth0 promisc off
 +RemainAfterExit=yes
 +
 +[Install]
 +WantedBy=multi-user.target
 </code> </code>
  
scraps.1731551416.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki