![](/uploads/1/2/5/5/125524182/419668911.jpg)
Permalink
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Detail of MAC vendor Synology Incorporated. Vendor code, synology_incorporated. Addresses, 6F-2, No.106, Chang An W. Country, Taiwan. My work recently purchased a Synology DS3617xs NAS. How do I find the default IP of the NAS so I can do the initial setup? For security, we're running on a closed system - no internet; Running RHEL 7.4, so the Synology Assistant won't work (Win /Mac /Debian only) We have two switches but no routers, so no DHCP.
Sign up Find file Copy path
1 contributor
<!DOCTYPE html> |
<html> |
<head> |
<title>Synology NAS Serial Number and MAC address Generator</title> |
<scripttype='text/javascript'src='http://code.jquery.com/jquery-1.11.3.js'></script> |
<scripttype='text/javascript'src='http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.js'></script> |
<linkrel='stylesheet'type='text/css'href='http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.css'> |
<style> |
textarea{ |
height: auto!important; |
} |
</style> |
<scripttype='text/javascript'>//<![CDATA[ |
window.onload=function(){ |
$=function(id){ |
returndocument.getElementById(id.substr(1)); |
}; |
$('#generate').onclick=function () { |
refsn =$('#sn').value; |
model =refsn.substr(0, 7); |
mac =parseInt($('#mac').value, 16); |
sn =parseInt(refsn.substr(7, 3)); |
sndelta =parseInt($('#sndelta').value||Math.floor(Math.random() *100+1)); |
newsn = model + (sn + sndelta); |
$('#newsn').value=newsn; |
macdelta = sndelta *4; |
mac += macdelta; |
newmac =''; |
for (i =0; i <4; i++) |
newmac += (mac + i).toString(16).toUpperCase() +'n'; |
$('#newmac').innerHTML=newmac; |
}; |
$('#generate').click(); |
} |
//]]> |
</script> |
</head> |
<body> |
<h1>Synology NAS Serial Number and MAC address Generator</h1> |
<h2>For user who lose their serial number or MAC address of their Synology NAS. Not to be used on non-Synology NAS running <ahref='http://xpenology.me'>XPEnology</a>!</h2> |
<p>Paste the generated serial number in syslinux.cfg, and change the MAC address of your network card (You need the tools from manufacturer to do this). New serial format (e.g. 1480MIN######) will not work</p>Reference SN: |
<inputid=snvalue='B6JFN00845'></input> |
<br>SN Delta: |
<inputid=sndeltavalue=''placeholder='blank=random'></input> |
<br>MAC: |
<inputid=macvalue='0011320C36ED'></input> |
<br> |
<inputid=generatetype=buttonvalue='Generate'></input> |
<hr>Result: |
<br>SN: |
<inputid=newsnvalue=''></input> |
<br>MAC: |
<textareaid=newmacrows=4></textarea> |
<br> |
<p>Ref: <ahref='http://xpenology.me/how-to-generate-synology-mac-and-serial-valid-pair/'>How to generate Synology MAC and serial valid pair</a> |
</p> |
</body> |
</html> |
![Mac Mac](http://2.bp.blogspot.com/-ZqIXES_PZKY/U71_Q2DlxuI/AAAAAAAAASY/31VjEt_kHcc/s1600/Configurar+DDNS.jpg)
Copy lines Copy permalink
Node module for turning on and off a Synology DiskStation. Tested with a DS214play but is expected to work with all DiskStations.
Installation
Install using
npm install --save git+ssh://[email protected]/simonbs/synology-diskstation.git
Usage
Create an instance of Synology by passing the IP address and port of your DiskStation as arguments.
Turn on
The DiskStation can be turned on by sending a Wake on Lan request. The MAC address of the DiskStation is required in order to send a WOL request. The MAC address can be found in the DS finder iOS application and the DS finder Android application.
Shutdown
You must be authorized with the DiskStation in order to shut it down. Pass your account name and password as arguments. On a successfull login, you'll obtain a
sid
, which is used to shutdown the DiskStation.Checking if the DiskStation Is On
Invoke the
isOn
function to check if the DiskStation is turned on.![](/uploads/1/2/5/5/125524182/419668911.jpg)