Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-01-2012, 02:10 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
RTNETLINK answers: No such file or directory problem

i am using RHEL6.As a part of my work i used htb and netem in the following way:

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
Old 12-18-2012, 10:26 AM   #2
LQ Newbie
Registered: Feb 2011
Location: China
Posts: 5

Rep: Reputation: 0

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

Old 03-26-2013, 12:11 AM   #3
LQ Newbie
Registered: Mar 2013
Posts: 7

Rep: Reputation: Disabled
rtnetlink answers

i am using fedora 8 and i have manually installed kernel module 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTNETLINK answers: File exists Winanjaya Linux - Networking 5 06-24-2014 06:22 AM
rtnetlink answers file exists jai_nagarajan Linux - Networking 2 02-16-2012 12:14 PM
RTNETLINK answers: File exists Seregwethrin Linux - Networking 2 11-01-2010 02:16 AM
eth0 and eth1 RTNETLINK answers: File existslike RT trouble....need some helpHello pierrot Linux - Networking 0 08-09-2003 04:23 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration