Posted: Thu Jul 28, 2016 14:48 Post subject: Network Emulator (Netem) on DD-WRT for Netgear R7000
Is it possible to somehow get Netem on the dd-wrt for netgear's r7000?
I am aware of this post: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=725945
But none of the links are still valid.
Any pointers to a clean and actual step by step instruction?
Posted: Thu Jul 28, 2016 16:15 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
cgavriluta wrote:
Is it possible to somehow get Netem on the dd-wrt for netgear's r7000?
I am aware of this post: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=725945
But none of the links are still valid.
Any pointers to a clean and actual step by step instruction?
Posted: Fri Jul 29, 2016 11:56 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
<Kong> wrote:
Netem is already compiled into the kernel which is shipped with the R7000.
Then I might be doing something wrong. These are my steps:
1. Flash dd-wrt for r7000 taken from here http://www.desipro.de/ddwrt-ren/K3-AC-Arm/Initial/
2. SSH into the router
3. ddup --flash-latest to update to the latest version (completes succesfully)
4. Run test case:
Step 1:
sch_neten is not between the modules.
I ran the exact same commands on a raspberry pi (the only other linux I have at hand) and they all worked. The behavior is the expected one, and sch_netem is between the modules when I run lsmod.
Am I missing something? Am I not using the right build version?
Also, don't know if related, but the version of iproute2 is ss050330 on the router and ss140804 on the raspberry.
Posted: Fri Jul 29, 2016 12:21 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
cgavriluta wrote:
sch_neten is not between the modules.
I ran the exact same commands on a raspberry pi (the only other linux I have at hand) and they all worked. The behavior is the expected one, and sch_netem is between the modules when I run lsmod.
Am I missing something?
As I said, netem is compiled directly into the kernel, not compiled as loadable module, thus you don't need to load it and it won't show up under loaded modules.
Your problem is, that the shipped tc does not have netem support. Thus either need to compile a full blown tc or install it through additional packages.
I have such a package in my private repo, but have not pushed this to the public repo. If I find the time, I can give it a short test and sync my publich package repo. _________________ KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Posted: Fri Jul 29, 2016 12:43 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
<Kong> wrote:
I have such a package in my private repo, but have not pushed this to the public repo. If I find the time, I can give it a short test and sync my publich package repo.
Would that mean that I would be able to install it with the ipkg tool? If yes then that would be wonderful!
Posted: Sun Aug 21, 2016 10:25 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
<Kong> wrote:
I have such a package in my private repo, but have not pushed this to the public repo. If I find the time, I can give it a short test and sync my publich package repo.
Posted: Sun Aug 21, 2016 13:06 Post subject: Re: Network Emulator (Netem) on DD-WRT for Netgear R7000
cgavriluta wrote:
<Kong> wrote:
I have such a package in my private repo, but have not pushed this to the public repo. If I find the time, I can give it a short test and sync my publich package repo.
Hello Kong,
can you tell me how I can manage a delay for special IP Adresses in LAN ?
I use this for now.
tc qdisc add dev eth0 root netem delay 50ms
But this will reduce the connection speed for all Ip adresses in LAN. I like to have it only for 4 or 5 adresses or for a ip range like 192.168.6.30 - 192.168.6.40.