LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RTNETLINK answers: No such file or directory problem (https://www.linuxquestions.org/questions/linux-networking-3/rtnetlink-answers-no-such-file-or-directory-problem-932089/)

kalpan 03-01-2012 01:10 AM

RTNETLINK answers: No such file or directory problem
 
Hi
i am using RHEL6.As a part of my work i used htb and netem in the following way:


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 $JITTER
8.sudo /sbin/tc qdisc add dev eth0 parent 1:1 handle 10: netem loss $LOSS
9.sudo /sbin/tc qdisc add dev eth0 parent 10:1 handle 20: htb default 1
10.sudo /sbin/tc class add dev eth0 parent 20: classid 0:1 htb rate $BW ceil $BW

11.sudo /sbin/tc qdisc show
when i run this shell script i got "RTNETLINK answers: No such file or directory" message for line no.8,9,10.
i have manually loaded kernel modules sch_netem,sch_htb,cls_fw,cls_u32 but no change in response.

please somebody help me

Thanks in advance
Kalpan

Raiyan 12-18-2012 09:26 AM

Hi

I am also having same problem now. How did you solve it then?

http://www.linuxquestions.org/questi...88#post4851888

BR//R

mun10 03-25-2013 11:11 PM

rtnetlink answers
 
hiii
i am using fedora 8 and i have manually installed kernel module sch_netem.it is working for tc qdisc show but while executing tc qdisc add dev eth0 parent 30:1 handle 31:netem delay 20ms 10ms distribution normal i am having error rtnetlink answers no such file or directory.If u have got solution for your problem plz let me know
thanks


All times are GMT -5. The time now is 02:15 PM.