/srv/irclogs.ubuntu.com/2024/05/30/#netplan.txt

paalfeHi! Does anyone here know how to set the speed to 10G on an interface, we use a 10G DAC cable and the link doesn't come up most likely because the interface tries speed 25G which won't work. I can't find anything about this in the Netplan doc or by searching the forums on how to set speed with Netplan. On forum threads I find how to temporarily set speed with ethtool as well as references to crea09:32
paalfeMy text was too long... On forum threads I find how to temporarily set speed with ethtool as well as references to creating an interface-config file under /etc/network/if-up.d/, but surely that should not be used when using Neplan?09:33
danilogondolfoHi, yeah netplan doesn't support setting the link speed yet =/ but you should be able to do that by creating a drop-in config file in /etc/systemd/network/<your_interface>.link.d/ and set the BitsPerSecond property there09:42
danilogondolfoReference https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html09:43
paalfeOk, thaks, I'll try that :)09:58
tom08hello every117:36
tom08can some1 help me to send an e-mail when my ip changes using a bash script?17:36
tom08i wanna use https://mioip.info to retrive my ip with curl this way -> #curl mioip.info and then assign it to a variable and then send to e-mail17:37
tom08something like MY_IP=$(curl -s http://mioip.info) is ok? in bash?17:38
tom08shoud it work?17:38
tom08:\17:39
tom08irc is dead17:42

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!