Ho già cercato in vari forum e su google ma non ho trovato nulla
(almeno per ora) che potesse aiutarmi: quando il sistema va in
sospensione la rete si disconnette (per poi riconnettersi dopo la
ripresa) anche se vi è attività che ovviamente si interrompe, in
questo modo NON è possibile mettere a scaricare nulla che superi il
tempo entro il quale il sistema si sospende (per esempio il download
delle iso mandriva tramite wget o browser è impossibile); quindi non è
che voglia disabilitare la sospensione durante l' inattività ma solo
evitare che mi si disconnetta la rete se c'e' attività o in
alternativa che si inibisca il sistema da andare in sospensione finchè
c'è attività di rete.
ho trovato qualcosa e ho provato queste soluzioni ma senza risultati.
comando:
ethtool -s eth0 wol p
seguito da:
ETHTOOL_OPTIONS='wol p'
in /etc/sysconfig/network/ifcfg-eth0
Inserimento tra i parametri del kernel:
eeepc_laptop.hotplug_disabled=1
Modifica del file:
/etc/laptop-mode/conf.d/ethernet.conf
=========================================================
#
# Configuration file for Laptop Mode Tools module ethernet.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Ethernet power saving settings
# ------------------------------
#
# There are various ways to save power with ethernet. This section
allows you
# to control the speed of your ethernet connection, and your wakeup-on-
LAN
# settings. Both these things can have quite a power impact if you use
Ethernet.
#
# Note: Changing ethernet device speed may require link up/down on
some devices.
# This might lead to connection to be re-initialized
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control Ethernet settings?
CONTROL_ETHERNET="0"
# Handle throttling of the ethernet deivce under specific
circumstances
#BATT_THROTTLE_ETHERNET=1
BATT_THROTTLE_ETHERNET=0
LM_AC_THROTTLE_ETHERNET=0
NOLM_AC_THROTTLE_ETHERNET=0
# Speed to throttle to when throttling is set
# Please use the desired throttle value as reported by ethtool and set
it accordingly
# To get the speed capacity supported by your ethernet card, as user
"root" run
# "ethtool eth0", where eth0 is your physical ethernet device.
# Example:
# Set speed to 100Mbps.
# THROTTLE_SPEED=100
#
# Throttle ethernet to the lowest available speed of the ethernet
device
# THROTTLE_SPEED="slowest"
#
# Throttle ethernet to the fastest available speed of the ethernet
device
# This can be helpful when you want to control the speed, even when on
battery
# THROTTLE_SPEED="fastest"
#
# Note: If you don't know how to find the speed of your ethernet card,
leave the
# following values as it is.
# THROTTLE_SPEED="slowest"
# Disable wakeup-on-LAN? This will disable wakeup-on-LAN
unconditionally,
# independent of battery power. It will save power while your laptop
is turned
# off or in standby mode.
DISABLE_WAKEUP_ON_LAN=0
# A list of the ethernet devices that should be controlled.
ETHERNET_DEVICES="eth0"
# In practise, most of the times a user is on battery, she is using
the wireless device
# Under such cases, you might want to disable your ethernet device
completely, when
# on battery.
# If that is the case, set below setting to 1
DISABLE_ETHERNET_ON_BATTERY=0
===============================================================
Niente di quanto sopra ha avuto effetto, dopo un certo tempo il
sistema va in sospensione troncando ogni attività di rete.
Grazie in anticipo per qualsiasi suggerimento
:-)