You are not logged in.
how do i configure tc at boot? with iptables, i create /etc/iptables/iptables.rules and add a link to the service in /etc/systemd/... i assume there's something similar for tc, but i can't find instructions anywhere.
currently, i can configure tc and get it working, but when i reboot i lose my settings.
the lack of information makes me think i'm approaching this from the wrong direction. is tc the correct way to limit network traffic, or does netctl have a different way to handle this?
Offline
Why not just create a script and the oneshot it? Or even just add each tc command as its own ExecStart in a oneshot systemd.service? There is no systemd service included in the iproute2 package, so it would seem as though you are going to have to hack something up yourself.
Edit: BTW, Welcome to the forums! Your name is not going to apply for very long if you make youself a presence around here...
Last edited by WonderWoofy (2013-08-13 06:34:58)
Offline
that worked! i followed these directions:
https://wiki.archlinux.org/index.php/Sy … vice_files
and created /etc/systemd/system/multi-user.target.wants/tc.service
thanks
i'll always be a relative new guy compared to you and many people here. coincidentally, we live in the same town.
Last edited by thenewguy (2013-08-16 04:09:26)
Offline
You live in Los Gatos? Neat. Send me an email if you wish.
I'm glad you got this working. The power and flexability of systemd service files really are prettty aweseme. I particularly like the fact that you can just give it some miniimal dependencies relative to the other serivces, and you don't have to worry about ordering everything through lexicographically named symlinks.
You can mark your thread as [Solved] by editing the first post, which will also give you access to editing the thraed title.
Offline