i want to modify WANem as per my need.so i am building source code which is available with CD.while working with file hemanta/tcs_wanem.sh file i am getting "RTNETLINK answers no such file or directory" message.can anyone please suggest me how to resolve this………
Thanks in advance
After the installation, are you able to apply bandwidth, delay and other settings through the GUI? If so, then you can ignore the message. It basically says that there are not current settings applied and hence the message.
Thanks for your reply,but unfortunately i am not able to apply packet loss and bandwidth,and the line which does that stuff in tcs_wanem.sh is generating the "RTNETLINK answers:No such file or directory" message.i have manually loaded the linux kernel modules related to htb and netem but that too didn't help.i am using RHEL 6
Can you check the error logs at the /var/logs location?
No there are no error logs in the directory
Can you provide the line number from the wanem.sh file that is throwing this error message?
the following lines throwing the error:
sudo /sbin/tc qdisc add dev eth0 parent 1:1 handle 10: netem loss $LOSS
sudo /sbin/tc qdisc add dev eth0 parent 10:1 handle 20: htb default 1
sudo /sbin/tc class add dev eth0 parent 20: classid 0:1 htb rate $BW ceil $BW
Can you run those commands manually through command prompt and see if network settings get applied?
It will give us enough information for further debugging.
well,i execute each line individually as per your suggestion,but no change in results.what i can understand is parent node is not visible to child node.so when tries to refer it we have the error.for ex.node with handle 10 isn't visible to node with handle 20 which is referring it.
Hi,i further analysed it and what i found is i am not able to connect a child node with root node. when i try to execute sudo /sbin/tc qdisc add dev eth0 parent 1:1 handle 10: netem loss $LOSS it gives RTNETLINK:operation not supported error.it's referring to root node.Please give your suggestion on this.(when i try to execute sudo /sbin/tc qdisc add dev eth0 parent 10:1 handle 20: htb default 1
sudo /sbin/tc class add dev eth0 parent 20: classid 0:1 htb rate $BW ceil $BW by using root in place of parent 10:1 it worked)
please Give your suggestion
I am dying for this solution
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.