[gnu-sol-discuss] Wake on LAN

Chris Lemire good_bye300 at yahoo.com
Sun Oct 29 10:18:00 PST 2006


Here is my attempt to do a wake on lan for the computer running Solaris 10 x86 that is on the LAN. I went to the bios of that computer, and it was already configured to allow wake on lan. I am getting a different MAC address from nmap than the one I am getting from "ifconfig -a".


debian:~# nmap -sP solaris

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2006-10-29 12:08 CST
Host solaris (192.168.1.100) appears to be up.
MAC Address: 00:C0:26:7D:4C:DF (Lans Technology CO.)
Nmap finished: 1 IP address (1 host up) scanned in 0.464 seconds
debian:~# ssh solaris
Password:
Last login: Sun Oct 29 11:53:09 2006 from 192.168.1.101
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
-bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
rtls0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255
        ether 0:c0:26:7d:4c:df
-bash-3.00# shutdown -y -i5 -g0

Shutdown started.    Sun Oct 29 12:12:10 CST 2006

Changing to init state 5 - please wait
Broadcast Message from root (pts/2) on solaris Sun Oct 29 12:12:11...
THE SYSTEM solaris IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

-bash-3.00# logout
Connection to solaris closed.
debian:~# ping -c 3 solaris
PING solaris (192.168.1.100) 56(84) bytes of data.
64 bytes from solaris (192.168.1.100): icmp_seq=1 ttl=255 time=0.257 ms
64 bytes from solaris (192.168.1.100): icmp_seq=2 ttl=255 time=0.252 ms
64 bytes from solaris (192.168.1.100): icmp_seq=3 ttl=255 time=0.260 ms

--- solaris ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2074ms
rtt min/avg/max/mdev = 0.252/0.256/0.260/0.013 ms
debian:~# ping -c 3 solaris
PING solaris (192.168.1.100) 56(84) bytes of data.

--- solaris ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2003ms

debian:~# wakeonlan  0:c0:26:7d:4c:df
Sending magic packet to 255.255.255.255:9 with 0:c0:26:7d:4c:df
debian:~# etherwake 0:c0:26:7d:4c:df
debian:~# wakeonlan 00:C0:26:7D:4C:DF
Sending magic packet to 255.255.255.255:9 with 00:C0:26:7D:4C:DF
debian:~# etherwake 00:C0:26:7D:4C:DF
debian:~# sleep 10;ping -c 3 solaris
PING solaris (192.168.1.100) 56(84) bytes of data.
From 192.168.1.102 icmp_seq=1 Destination Host Unreachable
From 192.168.1.102 icmp_seq=2 Destination Host Unreachable
From 192.168.1.102 icmp_seq=3 Destination Host Unreachable

--- solaris ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2020ms
, pipe 3
debian:~#




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss-beta1.opensolaris.org/pipermail/gnu-sol-discuss/attachments/20061029/4452c726/attachment-0003.html 


More information about the gnu-sol-discuss mailing list