Skip to content

Instantly share code, notes, and snippets.

View sascha-hemi's full-sized avatar
💎
Making Money!

Sascha Seidel sascha-hemi

💎
Making Money!
  • Oldenburg, Germany
View GitHub Profile
Proxmox 7.1-12
$ apt-get update
$ apt-get install ethtool
$ ethtool -e eno1 offset 0x58 length 1
Offset Values
------ ------
0x0058: fc
$ ethtool -E ens106f0 magic 0x10FB8086 offset 0x58 value 0xfd length 1
@bi2air
bi2air / recordSerial.py
Last active May 18, 2022 04:16
record serial and log output, useful tools working Arduino
#! /usr/bin/python3
'''
to use python 2 use /usr/bin/python2
requires pySerial to be installed
add date to the header, and time to the begining of each line
add sys argument to customize
USE: make executable by chmod +x scriptname.py and
> ./recordSerial.py test1000.txt (and Enter)
'''