NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Mon May 05, 2025 3:42 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: WOL - again
PostPosted: Sun Aug 26, 2007 2:49 pm 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
have been waiting for 2.06 as i thought it was going to solve my WOL problems

may well do but i am either doing something wrong or missing something

using the script that Georg provided i can shut the naslite server down - but that is not different to 2.05 but i still cannot get WOL to work - again using Georg's script

as far as i can see all my settings are correct - but obviously not


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 3:37 pm 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:11 pm
Posts: 1771
Location: Server Elements
The command used in NASLite to set the WOL state is this:
Code:
ethtool -s ethN wol g

Some NICs cannot be fully manipulated by ethtool and may not work properly. Let's wait and see what georg uncovers once he gets into it.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 3:49 pm 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
thanks Tony - the nic has been in a windows box and worked perfectly on WOL - so am hopeful it will work

where do i run the code or input it

Linux is new to me so whilst i have some idea i am easily lost


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 3:55 pm 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:01 pm
Posts: 801
Location: ServerElements
Even thou a NIC card may support WOL, it may be your motherboard that is the culprit if it doesn't work. I have a perfect example of this with my personal NASLite box.

NASLite automatically sets up a WOL condition.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 4:05 pm 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
ahhh thanks - and you may well be right as the nic was not in that motherboard when it worked with WOL

but thinking aloud - so to speak - i remember reading somewhere on here that WOL can be dependant on the powerdown state - am i remembering correctly that when powered down with option 8 from the utilitymenu WOL will only work if the lights on the nic are still blinking - in other words a soft off rather than a button off

in my case the nic lights are off after option 8

board is an Asus P3B-F which is said to support WOL


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 5:08 pm 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
well am confused - had been running the wol script by Georg and it would not work so tried another that i found and it worked perfectly

so went back to Georg's and that now works

had had some problems with a drive wanting to mount and saved the config file a couple of times in between so maybe that sorted it

or maybe i did something wrong

whatever all is fine so thanks to server elements for adding this and thanks to george for the script


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 10:22 pm 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
I'll be looking at WOL again now that 2.06 is out (THANKS Tony & Ralph !) And I will very likely upgrade my shutdown routines in the next few weeks (VISTA and other compatibility issues).

Other than my USB stick getting toasted just now when I tried the "usb version upgrade" (replacing 01 & 02 files) --- not NASLite's fault; the stick was probably getting tired --- so far I have not had much time to test, but did not experience any screen display speed issues.

:) Georg


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 28, 2007 8:06 am 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
i hate not knowing why something has not worked and then for no accountable reason did - so have looked at why i could not get WOL to work initially

well i am the idiot but what i did may help others as 2.06 now supports WOL and Georg's script is an excellent method of achieving it

in his script he uses a text file to store the server details - in that you have to enter the MAC address for the server

the correct syntax in the text file is 00:40:F4:CB:B7:3A

i had used a program to determine the MAC address which gave me 00-40-F4-CB-B7-3A

this i cut and pasted into the text file

stupid mistake

reason i suddenly got it to work was that i had 2 copies of the text file on different areas of the HD - run one - nothing - run the other - magic it works


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 14, 2007 8:13 pm 
Offline

Joined: Fri Feb 25, 2005 11:50 pm
Posts: 139
Can anyone recommend a full featured Windows WOL application with a "radio speed dial" (Click icon on, click icon off) ?


Would really like to know of something solid and compatible with v2.06.


Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 15, 2007 11:42 am 
Offline

Joined: Thu Oct 11, 2007 1:12 pm
Posts: 28
For testing, start from the basics to iron out your mboard probs.


*******Shutdown **********
I use the simple VBS script for shutdown, except changing the login name to "poweroff" and password as for the admin. This initiates orderly shutdown promptly and you dont need to script thru to Menu 8 etc.
Script at end of this posting.


*********WOL***********
Download a free VERY SIMPLE util call wakeup.exe (http://www.freedownloadscenter.com/Network_and_Internet/Keep_Alive_Tools/WakeUp_exe.html it).

If this doesnt work then start troubeshooting you motherboard settings. You must be sending on the same subnet as the target box.

WOL batch file for startup comprises a single line:-

wakeup <MAC ADDRESS>

eg
wakeup 0004E2244252 (no spaces or : or - )

If using more complex WOL software, try using the broadcast IP address if requested for IP (eg 192.168.0.255 if your NAS is, say, 192.168.0.52).

You must be on the same submet to run this. Setting up to punch thru a router is more involved. If remote, I just VPN in first and wakeup.

Both run very nicely thru WIndows Scheduler too.

VBS script for SHUTDOWN (using just "poweroff"special user feature in latter NASLITE's:
*** shutdown.vbs ***
' NAS_SHUT.VBS
'
' A script for Windows PC to remotely shutdown NASLite+ via the
' telnet login. Works with NASLite+ USB v1.5 under Windows XP/SP2
' both HomeEdition and Pro. Should work with other versions, even
' NASLite Free.
'
' Make sure to substitute the proper responses in Section A and
' the correct sequence in Section E and F.
'
' Originally 17March2006 by georg for the ServerElements Forum users.
'
' Oct07
' Updated by alxr101 to utilise the "poweroff" user...no menu's required to access
' Note "poweroff" and "reboot" users may not be enabled in all NASLITE but works
' for 2.06 CDD no probs.
' --------------------------------------------------------------------

' --------------------------------------------------------------------
' SECTION A: Some parameters ... for login and the NASLite+ Menu.
' --------------------------------------------------------------------

ServerName = "192.168.0.52" ' Use IP or name here (in quotes).

Username = "poweroff" ' Use "admin" for normal login or "reboot" for restart

Passwd = "nas" ' Your valid password

DELAY = 2000 ' Minimum 500ms recommended; 1000 works well.


' --------------------------------------------------------------------
' SECTION B: Start a Shell
' --------------------------------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell")


' --------------------------------------------------------------------
' SECTION C: Start the TELNET
' --------------------------------------------------------------------
WshShell.Run "telnet " + ServerName

' --------------------------------------------------------------------
' SECTION D: Login with Poweroff user. ("Sleep" pauses are needed delays.)
' --------------------------------------------------------------------
WScript.Sleep DELAY
WshShell.SendKeys Username + vbLf
WScript.Sleep DELAY
WshShell.SendKeys Passwd + vbLf


MsgBox "NASLite+ Shutdown Started"

WScript.Quit

***end script ***


Top
 Profile  
 
PostPosted: Mon Oct 15, 2007 12:58 pm 
Offline

Joined: Thu Oct 11, 2007 1:12 pm
Posts: 28
(WOL from internet thru a router to NAS box)
Tested, works. Commandline util that permits specifying diff ports instead of the default port and mask.
http://www.depicus.com/wake-on-lan/wake-on-lan-cmd.aspx

1) On Router, open a port redirect to the subnet broadcast address (not the IP of the switched off NAS box)

eg if NAS is 192.168.1.52, then open port to 192.168.1.255

Use a high port like 6060.

2) batch file for the single command line as follows:-

wolcmd [mac address] [ip address or domainname] [subnet mask] [port number]

ie for my subnet this works.(note the 0.0.0.0 subnetmask)

wolcmd 000553244252 <my.domain.orIP.address> 0.0.0.0 6060


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group