Automatically forcing port speed at system boot

Roger Heflin rogerheflin at gmail.com
Sat Aug 17 14:20:59 UTC 2013


Assuming you are using ifcfg-* files, there is an option called
ETHTOOL_OPTS that allows you to set various ethtool settings when the
network gets brought up.

if you need multiple settings you can do it like this "-s ${DEVICE}
advertise 00c ; <secondethtool option>"

On Sat, Aug 17, 2013 at 9:05 AM, Sam Varshavchik <mrsam at courier-mta.com> wrote:
> To make a long story short, I need to execute
>
> ethtool -s wan0 advertise 00c
>
> at system boot, before networking comes up. The only thing I can come up
> with is to throw a systemd service, WantedBy=basic.target.
>
> But wondering if there isn't anything already that runs at system boot,
> whose purpose is something like that. Anyone know of a better way?
> rc-local.service runs after network.target, that's too late, here.
>
>
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>


More information about the users mailing list