I wrote a fix for that on Raspbian10.3 which is Debian 10 Buster based.make the name on my network connection be 'eth0' which the update script seems to want it to be, instead of enp0s3
net.ifnames=0
apt-get install knockd -y
sed -i 's|START_KNOCKD=0|START_KNOCKD=1|' /etc/default/knockd
test=`ifconfig | grep eth0`
if [ -z "$test" ]; then
test2=`ifconfig | grep wlan0`
if [ -z "$test2" ]; then
devport=`ifconfig | head -n 1 | cut -f 1 -d ":"`
echo "KNOCKD_OPTS=\"-i $devport\"" >> /etc/default/knockd
else
echo 'KNOCKD_OPTS="-i wlan0"' >> /etc/default/knockd
fi
fi
I guess the only reason would be that some legacy software still count on eth# type network interface designation. Otherwise I agree with you that the new scheme should be adopted and the link that I posted convincingly explains the why part to those who still have doubts about its wisdom.What would be the reason not to start working with the new naming scheme (i.e. update the scripts)?
"eth0" is more familiar to me also, but since the new names are now the "normal" way Debian does things, I think it would be wise to consider adapting rather than forcing it backwards.
Link up your team and customers Phone System
Live Chat
Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.