ja womp

for reference:

andre@skool[var/csnw]cat lab_hw_addresses.csv 
0003939ae630,student1,student1
000393c429e0,student2,student2
000393c42b20,student3,student3
000393c1f480,student4,student4
000393b36048,student5,student5
000393c42afa,student6,student6
000393c1f48e,student7,student7
00039393b260,student8,student8
0003939dd996,student9,student9
000393b36776,student10,student10
andre@skool[var/csnw]cd 
andre@skool[Public/updates]cd ~/bin
andre@skool[~/bin]wakeonlan 
Usage
    wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]

Options
    -h
        this information
    -v
        dislpays the script version
    -i ip_address
        set the destination IP address
        default: 255.255.255.255 (the limited broadcast address)
    -p port
        set the destination port
        default: 9 (discard port)
    -f file 
        uses file as a source of hardware addresses

See also
    wakelan(1)    

andre@skool[~/bin]vi macs
andre@skool[~/bin]vi macs
andre@skool[~/bin]
andre@skool[~/bin]
andre@skool[~/bin]wakeonlan -f macs 
Invalid hardware address: 0003939ae630
Invalid hardware address: 000393c429e0
Invalid hardware address: 000393c42b20
Invalid hardware address: 000393c1f480
Invalid hardware address: 000393b36048
Invalid hardware address: 000393c42afa
Invalid hardware address: 000393c1f48e
Invalid hardware address: 00039393b260
Invalid hardware address: 0003939dd996
Invalid hardware address: 000393b36776
andre@skool[~/bin]vi macs 
andre@skool[~/bin]
andre@skool[~/bin]
andre@skool[~/bin]wakeonlan -f macs
Sending magic packet to 255.255.255.255:9 with 00:03:93:9a:e6:30
Sending magic packet to 255.255.255.255:9 with 00:03:93:c4:29:e0
Sending magic packet to 255.255.255.255:9 with 00:03:93:c4:2b:20
Sending magic packet to 255.255.255.255:9 with 00:03:93:c1:f4:80
Sending magic packet to 255.255.255.255:9 with 00:03:93:b3:60:48
Sending magic packet to 255.255.255.255:9 with 00:03:93:c4:2a:fa
Sending magic packet to 255.255.255.255:9 with 00:03:93:c1:f4:8e
Sending magic packet to 255.255.255.255:9 with 00:03:93:93:b2:60
Sending magic packet to 255.255.255.255:9 with 00:03:93:9d:d9:96
Sending magic packet to 255.255.255.255:9 with 00:03:93:b3:67:76
andre@skool[~/bin]arp -a
router.skool.dom (192.168.123.42) at 0:0:94:d3:3e:fb on en0 [ethernet]
dhcp103.skool.dom (192.168.123.103) at (incomplete) on en0 [ethernet]
dhcp105.skool.dom (192.168.123.105) at 0:3:93:9a:e6:30 on en0 [ethernet]
dhcp108.skool.dom (192.168.123.108) at (incomplete) on en0 [ethernet]
vpn200.skool.dom (192.168.123.200) at (incomplete) on en0 [ethernet]
andre@skool[~/bin]arp -a
router.skool.dom (192.168.123.42) at 0:0:94:d3:3e:fb on en0 [ethernet]
dhcp100.skool.dom (192.168.123.100) at 0:3:93:c4:2b:20 on en0 [ethernet]
dhcp103.skool.dom (192.168.123.103) at (incomplete) on en0 [ethernet]
dhcp104.skool.dom (192.168.123.104) at 0:3:93:c4:29:e0 on en0 [ethernet]
dhcp105.skool.dom (192.168.123.105) at 0:3:93:9a:e6:30 on en0 [ethernet]
dhcp106.skool.dom (192.168.123.106) at 0:3:93:c4:2a:fa on en0 [ethernet]
dhcp108.skool.dom (192.168.123.108) at (incomplete) on en0 [ethernet]
dhcp110.skool.dom (192.168.123.110) at 0:3:93:b3:67:76 on en0 [ethernet]
dhcp111.skool.dom (192.168.123.111) at 0:3:93:9d:d9:96 on en0 [ethernet]
vpn200.skool.dom (192.168.123.200) at (incomplete) on en0 [ethernet]
andre@skool[~/bin]arp -a
router.skool.dom (192.168.123.42) at 0:0:94:d3:3e:fb on en0 [ethernet]
dhcp100.skool.dom (192.168.123.100) at 0:3:93:c4:2b:20 on en0 [ethernet]
dhcp101.skool.dom (192.168.123.101) at 0:3:93:c1:f4:80 on en0 [ethernet]
dhcp102.skool.dom (192.168.123.102) at 0:3:93:c1:f4:8e on en0 [ethernet]
dhcp103.skool.dom (192.168.123.103) at (incomplete) on en0 [ethernet]
dhcp104.skool.dom (192.168.123.104) at 0:3:93:c4:29:e0 on en0 [ethernet]
dhcp105.skool.dom (192.168.123.105) at 0:3:93:9a:e6:30 on en0 [ethernet]
dhcp106.skool.dom (192.168.123.106) at 0:3:93:c4:2a:fa on en0 [ethernet]
dhcp108.skool.dom (192.168.123.108) at (incomplete) on en0 [ethernet]
dhcp110.skool.dom (192.168.123.110) at 0:3:93:b3:67:76 on en0 [ethernet]
dhcp111.skool.dom (192.168.123.111) at 0:3:93:9d:d9:96 on en0 [ethernet]
vpn200.skool.dom (192.168.123.200) at (incomplete) on en0 [ethernet]
andre@skool[~/bin]

About dre

I like all kinds of food.
This entry was posted in lj and tagged . Bookmark the permalink.

Leave a Reply