User Tools

Site Tools


doc:appunti:hardware:lacie_d2_network_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:lacie_d2_network_2 [2011/03/24 11:21] – [EEPROM] niccolodoc:appunti:hardware:lacie_d2_network_2 [2014/01/28 10:22] (current) – [Hacking the LaCie d2 Network 2] niccolo
Line 3: Line 3:
 {{.:lacie:lacie_d2_network.jpg?160  |LaCie d2 Network}} {{.:lacie:lacie_d2_network.jpg?160  |LaCie d2 Network}}
  
-The **LaCie d2 Network 2** is very similar to the **[[lacie_d2_network|LaCie d2 Network]]**, luckily enough the hardware is better and gives better performances. Just one thing is worst than before: the Wake-On-LAN is not longer handled by the U-Boot code, it is handled by the init scripts. This means that if you install a plain GNU/Linux system, you must install special software to get the Wake-On-LAN function (if it is possible at all).+The **LaCie d2 Network 2** is very similar to the **[[lacie_d2_network|LaCie d2 Network]]**, luckily enough the hardware is better and gives better performances. Just one thing is worst than before: the Wake-On-LAN is not longer handled by the U-Boot code, it is handled by the init scripts. This means that if you install a plain GNU/Linux system, you must install special software to get the Wake-On-LAN function.
  
 The LaCie software is changed a lot. May be it is possible get root access without disassembling it, have a look at the [[#the_auto-update_function|Auto-Update function]]. The LaCie software is changed a lot. May be it is possible get root access without disassembling it, have a look at the [[#the_auto-update_function|Auto-Update function]].
Line 213: Line 213:
  
 The Wake-On-LAN is **not handled by the U-Boot code** (like in the LaCie d2 Network). When the power switch is onto the ON position, the U-Boot always begins the boot process spinning-on the disk, during the boot process a script checks if the Deep Sleep Mode is active, in that case it halts the disk and wait for the Magic Packet. The Wake-On-LAN is **not handled by the U-Boot code** (like in the LaCie d2 Network). When the power switch is onto the ON position, the U-Boot always begins the boot process spinning-on the disk, during the boot process a script checks if the Deep Sleep Mode is active, in that case it halts the disk and wait for the Magic Packet.
 +
 +If you install a plain Debian operating system, you can use the **[[#fake_wake-on-lan|Fake Wake-On-LAN]]** software to simulate a Wake-On-LAN.
 ===== Installing Debian ===== ===== Installing Debian =====
  
Line 434: Line 436:
 </code> </code>
  
-==== Fake Wake-on-LAN ====+===== Fake Wake-on-LAN =====
  
 The Ethernet chip does not have WoL capabilities (whereas the old d2 Network does), so we can only simulate it. This is my first attempt to make a software Wake-on-LAN. The Ethernet chip does not have WoL capabilities (whereas the old d2 Network does), so we can only simulate it. This is my first attempt to make a software Wake-on-LAN.
  
-At an early stage of the boot process we suspend the disk and wait for a Magic Packet before to proceed. So the device is effectively powered and running, just the disk and the LED are turned off. I'm running the program with a Debian Squeeze installation. +At an early stage of the boot process the **''fake-on-lan''** program suspends the USB power, turn off the blue LED and suspend the disk. Then the program waits for a Wake-on-LAN Magic Packet or for a Power Button press/release before to proceed. The device is effectively powered-on and running the Linux kernel, just the USB, the LED and the disk are turned off. I'm running the program with a **Debian Squeeze** installation.
- +
-You can download the program here: **{{.:lacie:fake-on-lan-20110323.tar.gz|fake-on-lan-20110323.tar.gz}}**. +
- +
-This is the TODO list:+
  
-  Turn off USB power too. +You can download the program here: **{{.:lacie:fake-on-lan-20110324.tar.gz|fake-on-lan-20110324.tar.gz}}**.
-  Wake on power button keypress too. +
-  * Modify the standard halt sequence so it becomes a reboot followed by fake-on-lan, mybe using the relevant EEPROM bit.+
  
 ===== The EEPROM ===== ===== The EEPROM =====
doc/appunti/hardware/lacie_d2_network_2.1300962094.txt.gz · Last modified: 2011/03/24 11:21 by niccolo