RTNETLINK answers :No such file or directory error

前端 未结 4 1658
攒了一身酷
攒了一身酷 2021-02-07 16:43
1. ETH=$1
2. LATENCY=$2
3. LOSS=$3
4. JITTER=$4
5. BW=$5
6. sudo /sbin/tc qdisc del dev eth0 root
7. sudo /sbin/tc qdisc add dev eth0 root handle 1: netem delay $LATENCY         


        
4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-07 17:11

    I am running Fedora Core 27. In order to get the module installed, I had to use

    sudo dnf install install kernel-modules-extra
    

    That's not intuitively obvious.

提交回复
热议问题