Hello guys,
I have only about one month experience with this operating system but after 10 hours of no success this is my last card to play. I'm trying to wake up my FreeBSD box using the WOL method. My network works since I am waking up a Windows box (on the same subnet IP) and by using the same method with the right FreeBSD NIC MAC address it doesn't work.
I found no documentation regarding the TCP/IP port used by FreeBSD to receive the WOL Magic Packet, and I'm assuming it is 9/UDP.
The BIOS is also set correctly because in the past I was able to wake up a Windows system installed on that motherboard.
My suspect is that the FreeBSD NIC driver is not set properly. Here below the details of my network configuration.
Sure enough there is no WOL options activated for msk0. By using
Here further information with
Also the command
Before I start to somehow patch the driver msk(4) and to compile the FreeBSD Kernel for the first time in my life, can you advise me if this is the right thing to do?
I´m running a ZFS only FreeBSD with 4K aligned SSDs in mirror configuration, and this is my
Thanks in advance.
I have only about one month experience with this operating system but after 10 hours of no success this is my last card to play. I'm trying to wake up my FreeBSD box using the WOL method. My network works since I am waking up a Windows box (on the same subnet IP) and by using the same method with the right FreeBSD NIC MAC address it doesn't work.
I found no documentation regarding the TCP/IP port used by FreeBSD to receive the WOL Magic Packet, and I'm assuming it is 9/UDP.
The BIOS is also set correctly because in the past I was able to wake up a Windows system installed on that motherboard.
My suspect is that the FreeBSD NIC driver is not set properly. Here below the details of my network configuration.
ifconfig -m
Code:
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
capabilities=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
ether 20:cf:30:4c:39:da
inet 192.168.2.3 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::22cf:30ff:fe4c:39da%msk0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
supported media:
media autoselect mediaopt flowcontrol
media autoselect
media 1000baseT mediaopt full-duplex,master
media 1000baseT mediaopt full-duplex
media 1000baseT mediaopt master
media 1000baseT
media 100baseTX mediaopt full-duplex
media 100baseTX
media 10baseT/UTP mediaopt full-duplex
media 10baseT/UTP
media none
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
capabilities=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Sure enough there is no WOL options activated for msk0. By using
sysctl dev.msk.0.wake=1
I got this:
Code:
sysctl: unknown oid 'dev.msk.0.wake'
Here further information with
sysctl -a | grep msk
Code:
device msk
dev.mskc.0.%desc: Marvell Yukon 88E8059 Gigabit Ethernet
dev.mskc.0.%driver: mskc
dev.mskc.0.%location: slot=0 function=0
dev.mskc.0.%pnpinfo: vendor=0x11ab device=0x4381 subvendor=0x1043 subdevice=0x8439 class=0x020000
dev.mskc.0.%parent: pci3
dev.mskc.0.process_limit: 256
dev.mskc.0.int_holdoff: 100
dev.msk.0.%desc: Marvell Technology Group Ltd. Yukon Optima Id 0xbc Rev 0x01
dev.msk.0.%driver: msk
dev.msk.0.%parent: mskc0
dev.msk.0.stats.rx.ucast_frames: 797
dev.msk.0.stats.rx.bcast_frames: 125
dev.msk.0.stats.rx.pause_frames: 0
dev.msk.0.stats.rx.mcast_frames: 0
dev.msk.0.stats.rx.crc_errs: 0
dev.msk.0.stats.rx.good_octets: 89430
dev.msk.0.stats.rx.bad_octets: 0
dev.msk.0.stats.rx.frames_64: 392
dev.msk.0.stats.rx.frames_65_127: 449
dev.msk.0.stats.rx.frames_128_255: 77
dev.msk.0.stats.rx.frames_256_511: 2
dev.msk.0.stats.rx.frames_512_1023: 4
dev.msk.0.stats.rx.frames_1024_1518: 0
dev.msk.0.stats.rx.frames_1519_max: 0
dev.msk.0.stats.rx.frames_too_long: 0
dev.msk.0.stats.rx.jabbers: 0
dev.msk.0.stats.rx.overflows: 0
dev.msk.0.stats.tx.ucast_frames: 867
dev.msk.0.stats.tx.bcast_frames: 2
dev.msk.0.stats.tx.pause_frames: 0
dev.msk.0.stats.tx.mcast_frames: 0
dev.msk.0.stats.tx.octets: 108927
dev.msk.0.stats.tx.frames_64: 85
dev.msk.0.stats.tx.frames_65_127: 619
dev.msk.0.stats.tx.frames_128_255: 159
dev.msk.0.stats.tx.frames_256_511: 6
dev.msk.0.stats.tx.frames_512_1023: 6
dev.msk.0.stats.tx.frames_1024_1518: 2
dev.msk.0.stats.tx.frames_1519_max: 0
dev.msk.0.stats.tx.colls: 0
dev.msk.0.stats.tx.late_colls: 0
dev.msk.0.stats.tx.excess_colls: 0
dev.msk.0.stats.tx.multi_colls: 0
dev.msk.0.stats.tx.single_colls: 0
dev.msk.0.stats.tx.underflows: 0
dev.miibus.0.%parent: msk0
Also the command
ifconfig msk0 wol
don´t change the situation. According to ifconfig(8)
I think I´m in the case where WOL is not available.Enable Wake On Lan (WOL) support, if available.
Before I start to somehow patch the driver msk(4) and to compile the FreeBSD Kernel for the first time in my life, can you advise me if this is the right thing to do?
I´m running a ZFS only FreeBSD with 4K aligned SSDs in mirror configuration, and this is my
uname -a
Code:
FreeBSD chacho.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23: 10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Thanks in advance.