Search:

Type: Posts; User: bilboubu; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    138

    [ubuntu] Re: abort shutdown

    if shutdown -c does it that would be great.

    I'll try it out.

    In my sleep.d suspend script the script just exits if the condition is met rather than issuing a counter command and the machine...
  2. Replies
    3
    Views
    138

    [ubuntu] abort shutdown

    Is it possible to abort a shutdown using a shutdown script based on a certain condition?

    eg rc.local script

    if conition = true

    abort shutdown command here

    fi
  3. Replies
    0
    Views
    78

    [ubuntu] sleepd and remote control

    sleepd does not seem to be acknowledging my remote control presses, I have it set to run a script after 10 mins of activity which it does but it does not acknowledge button presses, is this a known?
  4. Replies
    0
    Views
    112

    [ubuntu] remote control interrupt

    how can I find out what interrupt my usb infa red remote control and my keyboard use?

    cat /proc/interrupts
    CPU0 CPU1
    0: 46 7 IO-APIC-edge timer
    1: ...
  5. Replies
    0
    Views
    163

    [ubuntu] Powernap does it still work?

    I have installed this via apt-get and configured it so that it should put my machine into suspend. The only monitors configured are the keyboard and mouse but my machine does not go to sleep.

    I...
  6. Replies
    3
    Views
    194

    [ubuntu] Re: windows task scheduler v cron

    Cool, so the script would run when not alot else was occuring, I would have ther script looping , would it then stop the script when the machine became active again, ie user input.

    It is more no...
  7. Replies
    3
    Views
    194

    [ubuntu] windows task scheduler v cron

    On windows I could initiate a task ie a script on idle which would run and stop running if the machine stopped being idle.

    Is this possible in linux? At the moment I am running the job every 15...
  8. Replies
    1
    Views
    166

    [ubuntu] Re: mount windows share after delay

    I think my problem is the windows password.

    If I do "mount //myshare"

    it prompts me for my windows password and mounts fine, the problem is I want to run drom a script and when I try
    ...
  9. Replies
    1
    Views
    166

    [ubuntu] mount windows share after delay

    Hello

    Is it possible to mount a windows network share after a resume from suspend and after a delay?

    My client wakes up the server with a wakeon lan, I then want to wait say 10 seconds before...
  10. Thread: wakeonlan

    by bilboubu
    Replies
    0
    Views
    93

    [all variants] wakeonlan

    .This file, in turn, executes my wakeup script

    /etc/init/net-device-up.conf

    Contents:

    Code:

    description "Run server wakeup script after network is up"
    start on (net-device-up IFACE=eth0)
  11. Replies
    3
    Views
    275

    [ubuntu] Re: crash on resume from suspend 11.10

    bloody had to unload/reload the module for that usb stick in a suspend/reume script script!

    wtf I had to do that when I never have before I do no know, if anyone had an incling please share.
  12. Replies
    3
    Views
    275

    [ubuntu] Re: crash on resume from suspend 11.10

    when i take out mu usb tv stick pctv 290e resume works, I have no idea why this is ??? when it there was no problem previously.

    How can I resolve this, any ideas greatly appreciated.
  13. Replies
    3
    Views
    275

    [ubuntu] Re: crash on resume from suspend 11.10

    does this mean anything:

    cat /var/log/syslog* | grep PM:


    Nov 18 14:05:19 htpc kernel: [ 0.000000] PM: Registered nosave memory: 000000 ...
  14. Replies
    3
    Views
    275

    [ubuntu] crash on resume from suspend 11.10

    I reinstalled 11.10 as upgrading to 12.10 seemed to bork my machine. I previously had no problem suspending and resuming so I dont understand wtf has happened. The machine suspends fine but when...
  15. Replies
    2
    Views
    127

    [ubuntu] Re: mount windows share help

    thank you, no it is not my real password.
  16. Replies
    2
    Views
    127

    [ubuntu] mount windows share help

    I put this in my fstab which works fine:
    //192.168.0.2/Media3/recordings /home/billy/oscar cifs username=Billy,password=yessir,billy,uid=1000,gid=1000,iocharset=utf8,mode=0777,dir_mode=0777 0 0
    ...
  17. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    I have this but I need to fix the ifs any advice?


    #!/bin/bash
    sleep 30


    if [ `netstat -t | grep -c ":9982"` -ge 3 ]
    then
    echo live tv
  18. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    Ok I think I have worked out what I need to grep for but I dont know how :)

    from the below output:
    billy@htpc:~/bin$ netstat -t
    Active Internet connections (w/o servers)
    Proto Recv-Q Send-Q...
  19. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    Actually thinking about it, no because I dont want it to suspend if I am watchin locally which it would with this, hmmmmm
  20. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    So this:


    #!/bin/bash
    if [ netstat -t|grep "9982 192.168.0.*ESTABLISHED" ]; then
    if [ -f /tmp/idle.tmp ]; then
    rm -f /tmp/idle.tmp
    pm-suspend
    else
    echo 1 > /tmp/idle.tmp
  21. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    Excellent thank you, looking at the netstat out put I need to check for

    tcp 0 0 htpc.local:9982 192.168.0.4:59455 ESTABLISHED

    specifically 9982 with any 192.168.0.*...
  22. [lubuntu] Re: Prevent suspend/sleep using wol wake on lan

    Thanks I've found these for starters:

    http://www.linuxquestions.org/questions/linux-server-73/auto-suspend-for-my-home-server-730037/

    http://aikar.co/2011/03/03/ubuntu-prevent-sleep-samba/
    ...
  23. [ubuntu] Re: Intrepid suspends during network activity

    me too!
  24. [lubuntu] Prevent suspend/sleep using wol wake on lan

    I want xbmc to suspend a machine after 30 mins of inactivity which it does. A tv server runs on this machine and I do not want it to suspend whilst it has clients connected.

    At present I use a...
  25. [lubuntu] Blank Screen on startup when tv off, edid?

    After upgrading to the latest version 12.04 if my hdtv connected via hdmi is off when i start the computer i get a blank screen when i do turn it on, the tv needs to be switched on first.

    I found...
Results 1 to 25 of 57
Page 1 of 3 1 2 3