LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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

Rep: Reputation: 0
Hi

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

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

BR//R
 
Old 03-25-2013, 11:11 PM   #3
mun10
LQ Newbie
 
Registered: Mar 2013
Posts: 7

Rep: Reputation: Disabled
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
 
  


Reply


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 05:22 AM
rtnetlink answers file exists jai_nagarajan Linux - Networking 2 02-16-2012 11:14 AM
RTNETLINK answers: File exists Seregwethrin Linux - Networking 2 11-01-2010 01:16 AM
eth0 and eth1 RTNETLINK answers: File existslike RT trouble....need some helpHello pierrot Linux - Networking 0 08-09-2003 03:23 PM


All times are GMT -5. The time now is 09:16 AM.

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