NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Sun Nov 10, 2024 3:20 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: NIC recommendation
PostPosted: Tue May 12, 2009 1:57 am 
Offline

Joined: Tue May 12, 2009 12:50 am
Posts: 2
Location: Wellington, New Zealand
Hi all

I've been trawling the boards trying to find a decent NIC to use, but my criteria maybe a little too specific.

Can anyone recommend a NIC that ticks these boxes:
[*]Gigabit
[*]Wake On Lan
[*]Easily available and relatively cheap

I see the Intel Pro MT100/1000 being mentioned a lot, but it is too pricey to put in to re-purposed PC.

I have tried a DLink DGE530T (I had one lying round) and an ST Labs NP-R05-2120 (I thought it might work because of the Realtek chipset) and neither will play.

Thanks in anticipation

Ade
PS NasLite is working at the moment for me with a fast Ethernet card with no WOL availability. I just want more!


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Tue May 12, 2009 2:25 am 
Offline

Joined: Sun Apr 02, 2006 9:05 pm
Posts: 1688
Location: Up State NY in the USA!!!!
First, WOL is not supported to the best of my knowledge by NL.

Second, what price stability, reliability, and performance? If you consider $16.00 for a new Intel Pro/1000MT gigabit NIC to be excessive then I got nothing for you.

Mike


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Tue May 12, 2009 2:40 am 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:01 pm
Posts: 801
Location: ServerElements
WOL will work, depending on the card, there's some discussions somewhere here, search for WOL.


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Tue May 12, 2009 6:41 am 
Offline

Joined: Tue May 12, 2009 12:50 am
Posts: 2
Location: Wellington, New Zealand
Hi, thanks for the replies.

From what I have read in the forums, and what I know of WOL, NL doesn't need to support it as such, a powered off PC can be powered on by WOL regardless of the OS installed.

The problem with the Intel Pro MT 1000 is that it doesn't support WOL and it retails for around NZ$300. It seems excessive when re-using old equipment.

There are plenty of NICs for around $30 - 40 here, but I would love to hear about something someone has working if possible.

Cheers


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Tue May 12, 2009 10:11 am 
Offline

Joined: Tue Aug 10, 2004 1:50 pm
Posts: 604
Location: Texas, USA
georg is the wol guy around here. He's done a lot on the subject with naslite and can point you in the right direction. You may want to pm him if he misses this thread.


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Tue May 12, 2009 11:02 am 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
Yeah ... I've messed with WOL a lot ... quite a while ago. I am happily using it (NL v2.06 and also an earlier version) with on-board NIC. It really is NOT NASLite specific, it is (as Adeybaby realized above) a hardware issue. The NIC needs to support it and the motherboard BIOS needs to support it. And finally the two need to work together to make it actually work; and that can be tricky with a separate card.

Go ahead and search through the old discussions to get up to speed. If your motherboard has an on-board NIC, before you spend money ... I would verify WOL works that way, then move to the next step.


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Fri Jan 25, 2013 11:31 am 
Offline

Joined: Thu Jul 10, 2008 7:11 pm
Posts: 4
SysRC_101B does not play well with Win7.

is there a work around for doing remote start and stop of the server?

I had XP working great, but not win7 this nifty utility will not work, any ideas, Suggestions?

Thanks Andy :)


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Sat May 11, 2013 4:56 am 
Offline

Joined: Thu Jul 10, 2008 7:11 pm
Posts: 4
Well Thanks to My brother we have created two "powershell" scripts that will power down the sever as well as start it up, using Task Scheduler. I can post the the code if anyone cares to use them.

Andy :D


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Sat May 11, 2013 9:04 am 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
ajoyner wrote:
Well Thanks to My brother we have created two "powershell" scripts that will power down the sever as well as start it up, using Task Scheduler. I can post the the code if anyone cares to use them.

Andy :D

YES ! Please post :)


Top
 Profile  
 
 Post subject: Re: NIC recommendation
PostPosted: Sat May 11, 2013 11:11 am 
Offline

Joined: Thu Jul 10, 2008 7:11 pm
Posts: 4
here goes..

Below are the scripts that are Power Shell (.ps1) files ( I have attached the files in the "AndyScript.zip" that should be attached to this post)

you will need to set the permissions for these scripts to run.
Search for Powershell, right click and run as administrator.

>From the admin-enabled Powershell prompt, type "Set-ExecutionPolicy
RemoteSigned" (you can press tab to auto-complete these)

This will tell Powershell that any scripts that come from somewhere else
need to be digitally signed, but that scripts created locally can run
without being signed.

to get the Task Scheduler to work I found this link.... http://community.spiceworks.com/how_to/ ... -scheduler

In the Task Scheduler under the "Actions" tab I had to put the path of the script in the "start in" field for it to work.

There are two text files that are associated with this one is for logging, the other stores some commands, I think I have attached the files but I am a newbe when it comes to Posting on this forum.
Attachment:
AndyScript.zip [2.91 KiB]
Downloaded 2149 times


also you will need to edit the -hostname, -user, and the -password to fit your setup, this is done in the shut down script.

Well I hope I got most of this correct, again I mess with the server so little I forget how to administer it!

Good Luck! Andy


wake on lan...
# Script to wake up a computer.
#
# v1.0 - 2012-07-30 Pedro Castro
# usage:
# .\Ligar-Maquina.ps1 -mac 00:1D:92:51:4C:41

param(
[string]$mac = '00-27-0e-32-f1-83' #address of the network card (MAC address)
)

#checks the syntax of MAC address
if (!(($mac -like "*:*:*:*:*:*") -or ($mac -like "*-*-*-*-*-*"))){
write-error "mac address not in correct format"
break
}

#build magic package http://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet
$string=@($mac.split(":""-") | foreach {$_.insert(0,"0x")})
$target = [byte[]]($string[0], $string[1], $string[2], $string[3], $string[4], $string[5])
# The magic packet is a broadcast frame containing anywhere within its payload 6 bytes of all 255 (FF FF FF FF FF FF in hexadecimal)
$packet = [byte[]](,0xFF * 102)
# followed by sixteen repetitions of the target computer's 48-bit MAC address, for a total of 102 bytes.
6..101 |% { $packet[$_] = $target[($_%6)]}

# .NET framework lib para sockets
$UDPclient = new-Object System.Net.Sockets.UdpClient
$UDPclient.Connect(([System.Net.IPAddress]::Broadcast),4000)
$UDPclient.Send($packet, $packet.Length) | out-null
Write-Host "magic packet sent to"$mac


Here is the Shut down code....


#."scriptable telnet client"

function read-stream ([parameter(position=0,mandatory=$true)][validatenotnull()]
[System.Net.Sockets.NetworkStream]$stream,
[String]$expect = "")
{
$buffer = new-object system.byte[] 1024
$enc = new-object system.text.asciiEncoding

## Read all the data available from the stream, writing it to the
## screen when done.

## Allow data to buffer
start-sleep -m 1000
$output = ""
#while($stream.DataAvailable -or $output -notmatch $expect)
while($stream.DataAvailable)
{
$read = $stream.Read($buffer, 0, 1024)
$output = "$output$($enc.GetString($buffer, 0, $read))"
## Allow data to buffer for a bit
start-sleep -m 1000
}
$output.split("`n")
}

function send-command ([parameter(position=0,Mandatory=$true)][validatenotnull()]
[String]$hostname,
[parameter(position=1, mandatory=$true)][validatenotnull()]
[String]$User,
[parameter(position=2, mandatory=$true)][validatenotnull()]
[String]$Password,
[parameter(position=3, mandatory=$true, valuefrompipeline=$true)][validatenotnull()]
[String]$InputObject,
[string]$expect = "")
{
begin
{

$sock = new-object system.net.sockets.tcpclient($hostname,23)
$str = $sock.GetStream()
$wrt = new-object system.io.streamwriter($str)

read-stream($str)
$wrt.writeline($user)
$wrt.flush()
read-stream($str)
$wrt.writeline($password)
$wrt.flush()
read-stream($str)
}
process
{
$wrt.writeline($InputObject)
$wrt.flush()
#read-stream($str, $expect)
read-stream($str)
}
end
{
$wrt.writeline("exit")
$wrt.flush()
read-stream($str)

## Close the streams
$wrt.Close()
$str.Close()
$sock.close()
}
}

Get-content cmdList.txt | send-command -hostname 192.168.1.200 -user "admin" -password "nas" | Tee-Object -Variable teeToAppend
out-file .\log.txt -InputObject $teeToAppend -append


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 25 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:  
Powered by phpBB® Forum Software © phpBB Group