LazyLucretia

ethernet.conf

Jan 31st, 2016
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. #
  2. # Configuration file for Laptop Mode Tools module ethernet.
  3. #
  4. # For more information, consult the laptop-mode.conf(8) manual page.
  5. #
  6.  
  7.  
  8. ###############################################################################
  9. # Ethernet power saving settings
  10. # ------------------------------
  11. #
  12. #__COMMENT There are various ways to save power with ethernet. This section allows you
  13. #__COMMENT to control the speed of your ethernet connection, and your wakeup-on-LAN
  14. #__COMMENT settings. Both these things can have quite a power impact if you use Ethernet.
  15. #__COMMENT
  16. #__COMMENT Note: Changing ethernet device speed may require link up/down on some devices.
  17. #__COMMENT This might lead to connection to be re-initialized
  18. #
  19. ###############################################################################
  20.  
  21. # Enable debug mode for this module
  22. # Set to 1 if you want to debug this module
  23. DEBUG=0
  24.  
  25. # Control Ethernet settings?
  26. CONTROL_ETHERNET=1
  27.  
  28. # Handle throttling of the ethernet device under specific circumstances
  29. BATT_THROTTLE_ETHERNET=1
  30. LM_AC_THROTTLE_ETHERNET=0
  31. NOLM_AC_THROTTLE_ETHERNET=0
  32.  
  33.  
  34. # Speed to throttle to when throttling is set
  35. # Please use the desired throttle value as reported by ethtool and set it accordingly
  36. # To get the speed capacity supported by your ethernet card, as user "root" run
  37. # "ethtool eth0", where eth0 is your physical ethernet device.
  38. # Example:
  39. # Set speed to 100Mbps.
  40. # THROTTLE_SPEED=100
  41. #
  42. # Throttle ethernet to the lowest available speed of the ethernet device
  43. # THROTTLE_SPEED="slowest"
  44. #
  45. # Throttle ethernet to the fastest available speed of the ethernet device
  46. # This can be helpful when you want to control the speed, even when on battery
  47. # THROTTLE_SPEED="fastest"
  48. #
  49. # Note: If you don't know how to find the speed of your ethernet card, leave the
  50. # following values as it is.
  51. THROTTLE_SPEED="slowest"
  52.  
  53. # Disable wakeup-on-LAN? This will disable wakeup-on-LAN unconditionally,
  54. # independent of battery power. It will save power while your laptop is turned
  55. # off or in standby mode.
  56. DISABLE_WAKEUP_ON_LAN=1
  57.  
  58. # A list of the ethernet devices that should be controlled.
  59. ETHERNET_DEVICES="eth0"
  60.  
  61.  
  62. # In practise, most of the times a user is on battery, she is using the wireless device
  63. # Under such cases, you might want to disable your ethernet interface completely, when
  64. # on battery.
  65. #
  66. # Set below setting to 1, to disable ethernet interface when on battery and
  67. # when no carrier is detected on the interface (e.g., no active cable is
  68. # plugged in).
  69. DISABLE_ETHERNET_ON_BATTERY=1
Advertisement
Add Comment
Please, Sign In to add comment