Skip to main content

Thread: ubuntu server ACPI difficulties


hi guys,

question such combination of things thought it'd best post in server section.

(the laptop referred below lg e300, intel core 2 duo, running ubuntu server 10.04 x64 (clean install) not other boinc installed , few tools)

have old laptop have started using purely boinc, however, subject rolling blackouts (joys of "developing" countries) , need system able suspend in order through 3 hour blackout each day , come when wake on lan signal sent router tomato firmware

other 2 issues below, has been configured , tested work manually , separately, whole deal doesn't come together.

default, ethtool sets laptop's wake on lan found in this tutorial, puts laptop sleep when call , waken wake on lan:
code:
sudo /etc/acpi/sleep.sh
i have 2 issues deal with:

1) wake on lan doesn't work when /etc/acpi/sleep.sh called within modified (but when it's done manually!) "/etc/power/power.sh" script (i think there's conflict or permission issue nothing's been seen me), obvious due fact both wol doesn't work , network link light turns off on router laptop connected to.

script i've changed below, part i've modified/added in bold)
/etc/power/power.sh:
code:
#!/bin/sh  test -f /usr/share/acpi-support/key-constants || exit 0  . /usr/share/acpi-support/policy-funcs  if [ -z "$*" ] && ( [ `checkpolicy` = 0 ] || checkupowerpolicy );     exit; fi  grep -q off-line /proc/acpi/ac_adapter/*/state if [ $? = 0 ] ;     ethtool -s eth0 wol g     /etc/acpi/sleep.sh     exit; fi  pm-powersave $*
the reason changed power.sh because reason, when ac adapter withdrawal event occurs, acpi script in /etc/acpi/events/battery calls power.sh , seems work except above problem.

2nd problem while on standby, if router disconnected , reconnected laptop (in case/situation whether due actual power outage or due me experimenting), laptop drops connection (i assume save power) , can no longer respond wol signals, when "successfully" when manually call suspend. need remove feature ensure laptop reconnects router when power/link restored. assume can done because have laptop (i have people's spares lying around) can standard ubuntu (not server) plan later convert server if goes well.

clear confusion - computer must hit standby mode when power cut/ac adapter disconnected , restore on wake on lan signal after it's network link has been severed , restored. if there's solution involving hibernate or shutdown , still being able this, i'm listening.

thank has solution in advance , more happy queries, have searched far , wide solutions , have solved 8 hurdles before being stuck here simple search won't anymore

update: changing mention of /etc/acpi/sleep.sh pm-suspend exact same thing, guess they're identical.



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [other] ubuntu server ACPI difficulties


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support