Installing Openmediavault on a CuBox (ARM machine)

  • CuBox is a handsome littre ARM-based machine : http://www.solid-run.com/products/cubox.


    Compared to the Raspberry Pi, though it's (a little) more expensive, you have :
    - almost fast delivery (3/4 weeks, however)
    - a well made box with all the I/O you need (2 USB, 1 eSATA, 1 LAN, 1 HDMI, microSD slot, SPDIF)
    - Gbit LAN (important for a NAS, isn't it ?)
    - 1 GB RAM (important for a NAS, isn't it ?)


    But let's go to installation.


    First install a core system (armel Debian ). Please see here my post on SolidRun forum http://www.solid-run.com/phpbb…opic.php?f=11&t=191#p5260


    Kernel


    We are not lucky, we have to build a kernel to have GPT, LVM, XFS, etc. I also added Wifi support for the Wifi USB Stick I own (a Trendnet N150 and a TP-LINK TL-WN721N)


    So let's go


    Référence : http://www.solid-run.com/mw/index.php/Building_Linux



    We have to change some parameters in the .config file supplied by Solid-Run :
    - Enable Block Layer -> Partition type -> EFI GUID Partition support
    - Device Drivers -> MMC/SD/SDIO card support -> SDHCI platform and OF driver helper && SDHCI support on Marvell's Dove SoC
    - Device Drivers -> Network device support -> Serial ATA and Parallel ATA drivers -> AHCI SATA support
    - Device Drivers -> Network device support -> Wireless LAN -> Atheros Wireless Cards -> Atheros HTC (module)
    - Device Drivers -> Network device support -> Wireless LAN -> Realtek 8192CE Network adapter
    - Device Drivers -> Network device support -> Wireless LAN -> Realtek 8192CU USB
    - Device Drivers -> Watchdog Timer Support -> Software watchdog
    - Device Drivers -> Multiple device driver support -> RAID support (NO) & Device mapper support (YES)
    - File Systems->XFS
    - File Systems->XFS Quota
    - File Systems->XFS ACL
    - File Systems->Native Language
    - Networking support ->IrDA -> IrCOMM Support


    Let's compile and install new kernel


    Code
    make uImage
    make modules
    
    
    mv /boot/uImage /boot/uImage.old
    cp -v arch/arm/boot/uImage /boot/
    make modules_install


    Done !!!


    Openmediavault on armel


    Reference http://sourceforge.net/apps/ph…topic.php?f=4&t=576#p4601


    Get the IP address by ifconfig and start a SSH session (the display is better than with the serial console for the configuration screen of some packages)


    Add the following in /etc/apt/sources.list

    Code
    # Ajout FBE pour xmlstarlet
    # deb http://ftp.fr.debian.org/debian/ wheezy main
    # Ajout FBE pour Wifi
    # deb http://backports.debian.org/debian-backports squeeze-backports main non-free
    # OMV repository
    deb http://packages.openmediavault.org/public fedaykin main


    And execute

    Code
    apt-get update
    apt-get install openmediavault-keyring


    Uncomment the line with wheezy in /etc/apt/sources.list and execute :

    Code
    apt-get update
    apt-get -t wheezy install xmlstarlet


    Comment the line with wheezy in /etc/apt/sources.list and execute :

    Code
    apt-get update
    apt-get install postfix
    apt-get install openmediavault


    If tftpd-hpa does not start, change the file /etc/default/tftpd-hpa (see here http://forums.openmediavault.o…f=12&t=481&start=10#p2716 why)

    Code
    TFTP_OPTIONS="--secure --ipv4"


    Redo install

    Code
    apt-get install openmediavault


    Finished ?


    No, if you plan to install MiniDLNA, there is some extra work :


    Mini DLNA plugin


    Add the following line in /etc/apt/sources.list

    Code
    deb http://ftp.fr.debian.org/debian/ sid main


    Execute :

    Code
    apt-get update
    apt-get install minidlna


    Comment the line with sid dans /etc/apt/sources.list and execute :

    Code
    apt-get update


    You are ready to install MiniDLNA plug-in in the usual way


    You will have first to download the openmediavault-omvpluginsorg plugin from here http://http://omv-plugins.org/ and install it by uploading it in the WebGUI


    Wifi


    There is also some special work to have Wifi working


    In order to use WPA-PSK, intall wpasupplicant :

    Code
    apt-get install wpasupplicant


    Uncomment or add the line with squeeze-backports /etc/apt/sources.list

    Code
    deb http://backports.debian.org/debian-backports squeeze-backports main non-free


    Execute :

    Code
    apt-get update
    apt-get install -t squeeze-backports firmware-realtek     # For TrendNet N150 (TEW-648UB) USB Wifi adapter
    apt-get install -t squeeze-backports firmware-atheros    # For TP-LINK TL-WN721N USB Wifi adapter


    Comment the line with squeeze-backports /etc/apt/sources.list and execute :

    Code
    apt-get update


    Create a file /etc/wpa_supplicant.conf with all the Wifi hotspots you use (replace with relevant value the SSIDs and keys) :


    Protect file containing keys :
    chmod 0600 /etc/wpa_supplicant.conf


    Open /etc/network/interfaces and fill it with that :


    Execute :

    Code
    omv-firstaid


    and select interface wlan


    In WebGUI, edit each interface : System → Network → Interfaces, and select method « DHCP ».


    Reopen /etc/network/interfaces and fill it again with right content.


    Restart.


    Done !!!


    Your openmediavault system is ready to be configured, in a state similar to the one after installing ISO install media.


    Have fun !!!

    omv 2.x omv 3.x (testing) - AMD CPU - RAM ECC 8x4TB RAID6 + 4x3TB RAID5 - SSD 4GB for system

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!