Announcement

Collapse
No announcement yet.

Wake on lan problems - now fixed, comments invited.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Wake on lan problems - now fixed, comments invited.

    Hi,

    When I run "sudo ethtool -s eth0 wol g" and then use the logout shutdown procedure the machine will wol OK.

    If I boot up from the power switch or wol but don't run the command as above the machine won't start. The ethernet card is Ok, in the first case the card power light stays on and not in the second case.

    Can anyone help me with this?

    cheers,

    mike.



    #2
    Re: Wake on lan problems

    I've found away to fix this for me. I used webmin to create a startup script.

    file:///etc/init.d/ethtool

    #!/bin/sh
    # sets the network interface card to wake on lan g

    case "$1" in
    'start')
    ethtool -s eth0 wol g
    ;;
    'stop')
    ;;
    *)
    echo "Usage: $0 { start | stop }"
    ;;
    esac
    exit 0


    hope this helps someone.

    Mike.

    Comment

    Working...
    X