Download Driver Hp Media Vault 2100 for Mac Prerequisites for Hacking the HP Mediavault
Total Page:16
File Type:pdf, Size:1020Kb
download driver hp media vault 2100 for mac Prerequisites for Hacking the HP MediaVault. Note that the information given here, simply reports my experience with the mv5020. I have no experience with other models of HP MediaVault than the mv5020. I provide no warranty, and you should proceed at your own risk. A risk, which is true and real - as stated below. Before you start: BE WARNED. Following these instructions is likely to void any warranty on the HP MediaVault. Following these instructions are highly likely make your HP MediaVault completely and utterly unresponsive and cause loss of data. This is known as "bricking" the MediaVault. Run the Firmware Recovery utility (see below). Attach a serial console following Lee Devlin's instructions and fix your mistake from a console. Dispose of the hardware in an environmentally responsible way. Unfortunately, the recovery-utility will reset the contents of the disks to factory default: Empty . In other words: The recovery-utility WILL WIPE ALL YOUR FILES FROM THE MediaVault DISK(S) . Lee Devlin has located a version of the image, which should be able to restore the firmware without cleaning the disks, but I have not yet heard of anyone using it. You can find the instructions and the modified image here. Another warning: When I had the opportunity to try out the recovery tool, it failed in varying ways 9 out of 10 times - and each attempt took at least 30 minutes. However, don't give up: Suddenly, randomly, the blue light turns on, and you are up-and-running again - time to restore your backup of your disk contents (which you have - right?). Skills you may need. Linux. If you do not already have experience with Linux (or related) operating systems, this may take a while (months to years). HTML and possibly PHP (days to weeks), if you want to play with the web-server. If you plan to use the PostgreSQL database, you should learn SQL (weeks to months). You may want to install PostgreSQL on your PC and play with it there before attempting it on the MediaVault. It is possible to install PostgreSQL ODBC drivers on MS Windows, so you can access the database on the MediaVault from tools like MS Excel - for some nice graphical statistics on hit counts, etc. I have done this - cost me a "bricking" round, but now it works. If you want to use Java Servlets in the Jetty server, you need basic programming skills (years) and specifically experience with the Java programming language (months to years if you did not use this language before) Preparations. Read Lee Devlin's MediaVault FAQ pages and use them as a reference throughout your work with the MediaVault. You may also want to search or join the two MediaVault groups that Chris Seto maintains at Yahoo, in our case, the one on Hacking the HP Mediavault might be particularly relevant. Get ssh access to the MediaVault shell as described in the MediaVault FAQ. This is unfortunately not bash, but just a plain bourne-shell. If you take the time to fix the TTY bug as explained at the bottom of this page, then you can use the "vi" editor on the box. Do also read the other items on that "Hacking FAQ" page. If you are coming in from a Windows box, then you can install PuTTY, or you can use Cygwin, as I do. After setting up SSH on your PC, consider appending your public key to the /.ssh/authorized_keys file on the MediaVault, to allow password-less login. Finding your way around the MediaVault. Directory Contents / Root directory - this is where you are at login /bin Linux executables directory. /usr/bin More Linux executables. /usr/htdocs The root directory for the Apache webserver. This is where web-pages are served from - except JSPs. /usr/jetty-5.1.12/webapps/Webshare This is where JSP pages are located. This is for experts only, so if you don't already know your way around a J2EE directory structure, stay away from this place. /etc Standard Linux configuration files. Your Apache webserver httpd.conf file is here, but it will be overwritten at boot-up. /etc/inc MediaVault boot-scripts. These are very fragile, so handle with care. Any mistake, and you have a "brick". You will, however, be hacking the file func_httpd.inc and possibly also func_daemon.inc and func_webshare.inc /share MediaVault disk(s). The above directories are all on the firmware file-system, whereas the /share directories are on the real hard-drive(s). /share/1000 Here you find the virtual disks (Samba mount-points): Documents, Backup, etc. that you can see from Windows. /share/1000/Documents The mv5020 does not sport an ftp server, so create a directory here for file-transfers between Windows and MV. /share/1000/Documents/web This is what I happened to call my transfer directory. You could also create and mount a new shared directory using the standard GUI for the MediaVault /share/1000/postgres This is where the PostgreSQL database resides. It is not mounted on Samba. I don't think you can, and I wouldn't like to try. /share/1000/postgres/data If you need access to the PostgreSQL database on the MediaVault from Windows, you need to customize the pg_hba.conf file here. Editing Linux files on Windows. You can do that directly on the MediaVault using the vi -editor. It works if you have the terminal settings right, and if you fixed the TTY bug as explained above. Personally, I am not fond of vi , so if you are like me, you may want to transfer the file to Windows, edit it there, and then move it back to the original location. However, you must take care, because there is a subtle difference between text-files on Linux and Windows. On Windows, all lines must end with two characters (bytes) named CR and LF , whereas on Linux, lines must end in the CR byte only. (Aside: CR means CarriageReturn, and LF means LineFeed. When I was a kid, the Teletype terminals were basically remote-controlled typewriters. Moving the type-head back to the beginning of the line was a CR operation, whereas advancing the paper by one line was a LF operation. Doing just the LF was good fun - you could create all sorts of interesting effects by typing several lines on top of eachother). Some Windows tools, such as Wordpad ( C:\Program Files\Windows NT\Accessories\wordpad.exe ) can interpret Linux files correctly, but will write files back containing CR-LF sequences. Other Windows tools, such as Notepad cannot correcly display Linux files. Conversely, some Linux tools can interpret Windows files correctly, whereas others will fail due to the unexpected LF characters inserted by Windows tools. Add Software and More. Easy, secure, real-time disaster protection designed for Windows Home Server. Also automatically sync PC's to your Server. Productivity applications. Easily move content between a USB hard drive connected to a HP MediaSmart Server or HP Data Vault. How to download software add-ins. Disk Defragmentation to improve hard drive performance* PerfectDisk® 10 Windows Home Server provides premier disk defragmentation capabilities for faster streaming media and overall performance. Eliminate fragmentation-related slows and lags now. Diskeeper invisibly restores server speed, reliability and performance – automatically. Installing Debian on HP mv2120 and mv5020. In a nutshell, the installation of Debian on your HP mv2120 and mv5020 works like this: you use the recovery mode of the mv2120 to load the Debian installer image via the network. Debian installer will start and allow you to login via SSH to perform the installation. Debian will be installed to disk and the mv2120 will directly boot Debian from disk. If you follow this procedure, Debian will be installed to your SATA disk and the HP firmware on disk will be replaced with Debian. Debian does not install a web interface to configure your machine, although it's possible to install such software. If this is not what you want, please don't proceed with the installation. Requirements and Preparation. In order to install Debian on a HP mv2120, you need the following: A HP mv2120 or compatible device (e.g. HP 5020, mv5140 or mv5150). An internal SATA disk in the HP mv2120. A network connection. Another machine on which you have an SSH client. SSH is included in every Linux distribution as OpenSSH and there is PuTTY for Windows. Another machine with either the HP mv2120 recovery tool (Windows) or uphpmvault (Linux and other systems). Making a Backup. You have to make a backup of all the data stored on your HP mv2120 before starting with the installation of Debian since Debian will format the whole disk during the installation. Starting the Installer. The HP mv2120 has a recovery mode through which it can request a boot image via the local network. This recovery mode will be used to load the Debian installer. HP ships a tool for Windows to serve recovery images to your mv2120 and there is a tool called uphpmvault written by Marc Singer that does the same on Linux and other systems. You can obtain the Windows tool by going to HP's web site. First, search for mv2120 , then choose Software & driver downloads and then download the HP Media Vault Firmware Recovery Utility . uphpmvault is in Debian so you can simply install it with apt . Once you have installed uphpmvault or the Windows tool, you have to tell the tool to serve the recovery image. Download the Debian installer image and start the tool.