This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /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) | |
| ''' |