WoL and other Problems...

Status
Not open for further replies.

stahler

Cadet
Joined
Jan 6, 2016
Messages
2
Hey community :),

I am quite new to FreeNAS but feel really comfortable with webUI and the easy configuration.
However, somehow I am experiencing a strange behaviour when trying to use Wake on LAN feature which is natively supported by both, the MB and the Onboard NI.
Before I dive into the problem itself, let me clear up some things:
- I know that my HW-specs do NOT follow the recommendations
- Yes, I also know that WoL is NOT recommended at all, as FreeNAs is supposed to run 24/7
*this is just for me being lazy, as I do not want to stand up and reach the pwr button in case I wanna use the NAS ;D
- I am not willing to invest in another NI until I am sure that I have tried everything possible
- Specs at the end of the Thread ;)

Thank you for your understanding :)

Now to the Problem:
FreeNAS is running perfectly fine either way: DHCP and with a static IP.
I can reach the webUI and the data with no Problems at all.
However, everytime I activate the WoL Feature of my MB/Onboard-LAN FreeNAs is not able to connect to my Network.
The behaviour differs depending on whether I configure a dynamic or a static IP.
(For completeness: within my Router I bound the MAC-Adress to a static IP when assigned one within freenas console)
on DHCP:
FreeNAs sends DHCPRECEIVE
Router gets the demand and sends a DHCPOFFER
FreeNAS gets nothing and retries
This cycle repeats until I get 'No DHCPOFFERS'.
NAS is started but with 'reach the UI via http://0.0.0.0'

on Static IP:
FreeNAS boots up and says:
'reach UI via http://[ASSIGNED STATIC IP]'
But I cant reach the frontend.
I can ping, but thats all.

From within my BIOS menu I can access the internet (more specific: the UEFI update server)
And: If the NAS is shut down I can start it via WoL.

So basically I have the 2 options:
WoL works, but NAS is not reachable
WoL deactivated and NAs is reachable.

And to add to my Problems...when i am able to reach the webUI i am not able top connect to ntp servers or the update server...

This is not really satisfying ;)

Following the logs per shell commands
dmesg:
Code:
Copyright (c) 1992-2014 The FreeBSD Project.  
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994  
  The Regents of the University of California. All rights reserved.  
FreeBSD is a registered trademark of The FreeBSD Foundation.  
FreeBSD 9.3-RELEASE-p28 #0 r288272+f229c79: Sat Dec 12 11:58:01 PST 2015  
  root@build3.ixsystems.com:/tank/home/stable-builds/FN/objs/os-base/amd64/tank/home/stable-builds/FN/FreeBSD/src/sys/FREENAS.amd6
4 amd64  
gcc version 4.2.1 20070831 patched [FreeBSD]  
CPU: AMD Athlon(tm) 5350 APU with Radeon(tm) R3  (2050.04-MHz K8-class CPU)  
  Origin = "AuthenticAMD"  Id = 0x700f01  Family = 0x16  Model = 0x0  Stepping = 1  
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>  
  Features2=0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>  
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>  
  AMD Features2=0x154037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,Topology,PNXC,DBE,PL2I>  
  Standard Extended Features=0x8  
  TSC: P-state invariant, performance statistics  
real memory  = 18236833792 (17392 MB)  
avail memory = 15912804352 (15175 MB)  
Event timer "LAPIC" quality 400  
ACPI APIC Table: <ALASKA A M I>  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs  
FreeBSD/SMP: 1 package(s) x 4 core(s)  
cpu0 (BSP): APIC ID:  0  
cpu1 (AP): APIC ID:  1  
cpu2 (AP): APIC ID:  2  
cpu3 (AP): APIC ID:  3  
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.  
ACPI Warning: FADT (revision 5) is longer than ACPI 5.0 version, truncating length 268 to 256 (20111123/tbfadt-325)  
ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20111123/tbfadt-606)  
ioapic0 <Version 2.1> irqs 0-23 on motherboard  
ioapic1 <Version 2.1> irqs 24-55 on motherboard  
ispfw: registered firmware <isp_1040>  
ispfw: registered firmware <isp_1040_it>  
ispfw: registered firmware <isp_1080>  
ispfw: registered firmware <isp_1080_it>  
ispfw: registered firmware <isp_12160>  
ispfw: registered firmware <isp_12160_it>  
ispfw: registered firmware <isp_2100>  
ispfw: registered firmware <isp_2200>  
ispfw: registered firmware <isp_2300>  
ispfw: registered firmware <isp_2322>  
ispfw: registered firmware <isp_2400>  
ispfw: registered firmware <isp_2400_multi>  
ispfw: registered firmware <isp_2500>  
ispfw: registered firmware <isp_2500_multi>  
kbd1 at kbdmux0  
cryptosoft0: <software crypto> on motherboard  
aesni0: <AES-CBC,AES-XTS> on motherboard  
padlock0: No ACE support.  
acpi0: <ALASKA A M I> on motherboard  
acpi0: Power Button (fixed)  
cpu0: <ACPI CPU> on acpi0  
cpu1: <ACPI CPU> on acpi0  
cpu2: <ACPI CPU> on acpi0  
cpu3: <ACPI CPU> on acpi0  
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0  
Timecounter "i8254" frequency 1193182 Hz quality 0  
Event timer "i8254" frequency 1193182 Hz quality 100  
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0  
Event timer "RTC" frequency 32768 Hz quality 0  
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0  
Timecounter "HPET" frequency 14318180 Hz quality 950  
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900  
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0  
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0  
pci0: <ACPI PCI bus> on pcib0  
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem 0xc0000000-0xcfffffff,0xd0000000-0xd07fffff,0xffb00000-0xffb3ffff irq 44 at
device 1.0 on pci0  
vgapci0: Boot video device  
pci0: <multimedia, HDA> at device 1.1 (no driver attached)  
pcib1: <ACPI PCI-PCI bridge> irq 25 at device 2.2 on pci0  
pci1: <ACPI PCI bus> on pcib1  
ahci0: <ASMedia ASM1061 AHCI SATA controller> port 0xe050-0xe057,0xe040-0xe043,0xe030-0xe037,0xe020-0xe023,0xe000-0xe01f mem 0xffa00
000-0xffa001ff irq 28 at device 0.0 on pci1  
ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported  
ahcich0: <AHCI channel> at channel 0 on ahci0  
ahcich1: <AHCI channel> at channel 1 on ahci0  
pcib2: <ACPI PCI-PCI bridge> irq 26 at device 2.3 on pci0  
pci2: <ACPI PCI bus> on pcib2  
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xff900000-0xff900fff,0xd0800000-0xd0803fff
irq 32 at device 0.0 on pci2  
re0: Using 1 MSI-X message  
re0: Chip rev. 0x4c000000  
re0: MAC rev. 0x00000000  
miibus0: <MII bus> on re0  
rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0  
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-m
aster, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow  
re0: Ethernet address: d0:50:99:61:61:67  
pcib3: <ACPI PCI-PCI bridge> irq 27 at device 2.4 on pci0  
pci3: <ACPI PCI bus> on pcib3  
pci3: <serial bus, USB> at device 0.0 (no driver attached)  
pci0: <serial bus, USB> at device 16.0 (no driver attached)  
ahci1: <AMD Hudson-2 AHCI SATA controller> port 0xf140-0xf147,0xf130-0xf133,0xf120-0xf127,0xf110-0xf113,0xf100-0xf10f mem 0xffb6e000
-0xffb6e3ff irq 19 at device 17.0 on pci0  
ahci1: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported  
ahcich2: <AHCI channel> at channel 0 on ahci1  
ahcich3: <AHCI channel> at channel 1 on ahci1  
ohci0: <OHCI (generic) USB controller> mem 0xffb6d000-0xffb6dfff irq 18 at device 18.0 on pci0  
usbus0 on ohci0  
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xffb6c000-0xffb6c0ff irq 17 at device 18.2 on pci0  
usbus1: EHCI version 1.0  
usbus1 on ehci0  
ohci1: <OHCI (generic) USB controller> mem 0xffb6b000-0xffb6bfff irq 18 at device 19.0 on pci0  
usbus2 on ohci1  
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xffb6a000-0xffb6a0ff irq 17 at device 19.2 on pci0  
usbus3: EHCI version 1.0  
usbus3 on ehci1  
pci0: <multimedia, HDA> at device 20.2 (no driver attached)  
isab0: <PCI-ISA bridge> at device 20.3 on pci0  
isa0: <ISA bus> on isab0  
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb5  
acpi_button0: <Power Button> on acpi0  
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0  
orm0: <ISA Option ROM> at iomem 0xcf000-0xd6fff on isa0  
sc0: <System console> at flags 0x100 on isa0  
sc0: VGA <16 virtual consoles, flags=0x300>  
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0  
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0  
atkbd0: <AT Keyboard> irq 1 on atkbdc0  
kbd0 at atkbd0  
atkbd0: [GIANT-LOCKED]  
wbwd0: DevID 0xc3 DevRev 0x33, will not attach, please report this.  
hwpstate0: <Cool`n'Quiet 2.0> on cpu0  
ZFS filesystem version: 5  
ZFS storage pool version: features support (5000)  
Timecounters tick every 1.000 msec  
ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled  
usbus0: 12Mbps Full Speed USB v1.0  
usbus1: 480Mbps High Speed USB v2.0  
usbus2: 12Mbps Full Speed USB v1.0  
usbus3: 480Mbps High Speed USB v2.0  
ugen0.1: <AMD> at usbus0  
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0  
ugen1.1: <AMD> at usbus1  
uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1  
ugen2.1: <AMD> at usbus2  
uhub2: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2  
ugen3.1: <AMD> at usbus3  
uhub3: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3  
uhub0: 4 ports with 4 removable, self powered  
uhub2: 4 ports with 4 removable, self powered  
uhub1: 4 ports with 4 removable, self powered  
uhub3: 4 ports with 4 removable, self powered  
ugen3.2: <SanDisk> at usbus3  
umass0: <SanDisk Cruzer Fit, class 0/0, rev 2.00/1.27, addr 2> on usbus3  
umass0:  SCSI over Bulk-Only; quirks = 0x8100  
umass0:5:0:-1: Attached to scbus5  
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0  
ada0: <WDC WD40EZRX-22SPEB0 80.00A80> ATA-9da0 at umass-sim0 bus 0 scbus5 target 0 lun 0  
da0: <SanDisk Cruzer Fit 1.27> Removable Direct Access SCSI-6 device  
da0: Serial Number 4C530102800317100525  
da0: 40.000MB/s transfers  
da0: 15267MB (31266816 512 byte sectors: 255H 63S/T 1946C)  
da0: quirks=0x2<NO_6_BYTE>  
SATA 3.x device  
ada0: Serial Number WD-WCC4E1YZD01U  
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)  
ada0: Command Queueing enabled  
ada0: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C)  
ada0: quirks=0x1<4K>  
ada0: Previously was known as ad4  
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0  
ada1: <WDC WD40EZRX-22SPEB0 80.00A80> ATA-9 SATA 3.x device  
ada1: Serial Number WD-WCC4E0NUJCX3  
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)  
ada1: Command Queueing enabled  
ada1: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C)  
ada1: quirks=0x1<4K>  
ada1: Previously was known as ad6  
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0  
ada2: <WDC WD40EZRX-22SPEB0 80.00A80> ATA-9 SATA 3.x device  
ada2: Serial Number WD-WCC4E4DH1JES  
ada2: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)  
ada2: Command Queueing enabled  
ada2: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C)  
ada2: quirks=0x1<4K>  
ada2: Previously was known as ad8  
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0  
ada3: <WDC WD40EZRX-22SPEB0 80.00A80> ATA-9 SATA 3.x device  
ada3: Serial Number WD-WCC4E0NUJK11  
ada3: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)  
ada3: Command Queueing enabled  
ada3: 3815447MB (7814037168 512 byte sectors: 16H 63S/T 16383C)  
ada3: quirks=0x1<4K>  
ada3: Previously was known as ad10  
SMP: AP CPU #1 Launched!  
SMP: AP CPU #3 Launched!  
SMP: AP CPU #2 Launched!  
Timecounter "TSC" frequency 2050039122 Hz quality 1000  
Trying to mount root from zfs:freenas-boot/ROOT/FreeNAS-9.3-STABLE-201512121950 []...  
GEOM_RAID5: Module loaded, version 1.3.20140711.62 (rev f91e28e40bf7)  
wbwd0: DevID 0xc3 DevRev 0x33, will not attach, please report this.  
GEOM_ELI: Device ada0p1.eli created.  
GEOM_ELI: Encryption: AES-XTS 256  
GEOM_ELI:  Crypto: hardware  
GEOM_ELI: Device ada1p1.eli created.  
GEOM_ELI: Encryption: AES-XTS 256  
GEOM_ELI:  Crypto: hardware  
GEOM_ELI: Device ada2p1.eli created.  
GEOM_ELI: Encryption: AES-XTS 256  
GEOM_ELI:  Crypto: hardware  
GEOM_ELI: Device ada3p1.eli created.  
GEOM_ELI: Encryption: AES-XTS 256  
GEOM_ELI:  Crypto: hardware  
vboxdrv: fAsync=0 offMin=0x2af offMax=0x8b5a  
arpresolve: can't allocate llinfo for 192.168.0.1  
(^ this repeats like 50 times)
pid 1624 (syslog-ng), uid 0: exited on signal 6 (core dumped)
arpresolve: can't allocate llinfo for 192.168.0.1  
(^again, repeats for like 150 times)


ifconfig re0:
Static IP
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500  
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>  
ether d0:50:99:61:61:67  
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255  
nd6 options=9<PERFORMNUD,IFDISABLED>  
media: Ethernet autoselect (1000baseT <full-duplex,master>)  
status: active  


DHCP
ifconfig re0:
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500  
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>  
ether d0:50:99:61:61:67  
inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255  
nd6 options=9<PERFORMNUD,IFDISABLED>  
media: Ethernet autoselect (1000baseT <full-duplex,master>)  
status: active  



My Specs:
Router: Archer C7 (Hardware rev 2)
Network Access: via Win7 PC->Network Storage /FFX for webUI
FN Ver: FreeNAS 9.3.1 STABLE
MB: ASRock AM1H-ITX
Onboard NI: Realtek RTL8111GR ASIC
CPU: AMD Athlon 5350 Boxed
RAM: 2X 8GB Kingstom ValueRAM DDR3-1600 DIMM
HDD: 4x 4TB WD Green WD40EZRX 64MB 3.5"
RAID: RAIDZ (RAID5)

NI Config (static)
IP 192.168.0.3
GW: 192.168.0.1
mask /24 (255.255.255.0)

Maybe useful Info:
- I just recently updated to 9.3.1 stable from 9.3.0, however did not experience issues or at least didnt feel any...
-The WOL works perfectly fine for my W7 Desktop PC
-Already tried restoring factory defaults
-Already removed the NI via command shell and cleared network configs etc.
-Even when the WebUI is reachable i cant seem to reach the FreeNAs update-servers (May be connected to arpresolve i guess).
-Even though I entered a namespace under the general tab for Network config, I cant seem to get ntp times
-My GF is not a friend of technical stuff, therefore it could be possible that I can only test new possible solutions on specific days ;D

Thank you all in dvance for your help.

Kind regards,
Stahler

EDIT:
A friend of mine is using the EXACT same HW Setup, for him everything seems to be working.

If it is the most easy way to reinstall freenas.
How am i able to do so without losing my datasets/data already on the NAS?
 
Last edited:

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
A friend of mine is using the EXACT same HW Setup, for him everything seems to be working.
@stahler the best choice you have is to get with your friend (was has this working) and compare notes/settings.
Your hardware is not used by anyone in here who would be able to help you get a non-recommended feature working.
I'm sorry to say that other than mine, you probably will not get any responses.
On a more personal note, the exorcise you would get by standing up, crossing the room and pushing the button would
add years to your life :rolleyes:
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
If it is the most easy way to reinstall freenas.
How am i able to do so without losing my datasets/data already on the NAS?
If you end up reinstalling FreeNAS, you will not lose your datasets or their contents. That's one of the benefits of separating the OS storage device from the data storage devices.
 

stahler

Cadet
Joined
Jan 6, 2016
Messages
2
Hey you 2,
Thank you for your answers :)

the best choice you have is to get with your friend (was has this working) and compare notes/settings.
Unfortunately we checked them already and he does 'simply' not have the issues I have. However, I will try my luck with a fresh new install of FreeNAS. Maybe something went wrong during the update 9.3 -> 9.3.1.

On a more personal note, the exorcise you would get by standing up, crossing the room and pushing the button would
add years to your life :rolleyes:
Actually, I do sports on a regular basis, but when I am at home, I want to be lazy ;P

If you end up reinstalling FreeNAS, you will not lose your datasets or their contents. That's one of the benefits of separating the OS storage device from the data storage devices.
Wasn't there a feature called 'auto import'?
Is this obsolete by now? And does this work automatically?

Kind regards.
Stahler
 
Status
Not open for further replies.
Top