Posts by Solo0815

    Please open a CLI (command line) and post the output of

    Code
    cat -v /etc/autoshutdown.conf


    "-v" prints the non-printables characters, maybe we find something then ...
    More Info here

    PXE-Boot various systems


    PXE-Boot
    If you're looking to perform a lot of system recovery, or system installation, then network booting with PXE is ideal. PXE allows you to boot up a system and have it automatically get an IP address via DHCP and start booting a kernel over the network.


    PXE itself stands for "Pre-boot eXecution Environment", which describes how it works in the sense that the clients using it haven't booted in a traditional manner.
    source: http://www.debian-administrati…r_for_PXE_network_booting


    I have this systems setup for PXE-Boot, which are working flawless:

    • Ubuntu Live-CDs 32 and 64bit
    • Kubuntu Live-CDs 32 and 64bit
    • Linux Mint XY Cinnamon and KDE
    • OpenELEC with /home on NFS
    • ReDo 1.04
    • Clonezilla with NFS-Share automounted (for Data-Recovery)
    • PartedMagic ISO (is $4.99 lately)
    • Desinfec't - AntivirusDVD from c't (german computer magazine)
    • WinPE 3.0 ISO


    1. Configure your DHCP-Server for PXE-Booting
    http://www.debian-administration.org/articles/478 (eng)
    http://wiki.ubuntuusers.de/PXE-Boot (ger)


    2. Create a Share in OMV for TFTP and setup TFTP with it:



    3. Create a Share in OMV for NFS


    I have different NFS-Shares for this
    a) for Images from Clonezilla (for Backup)
    b) for OpenELEC-home. My OpenElec-Machine doesn't need a USB- or Harddrive with this. Thx to marcelbeck for the hint
    c) a readonly NFS-Share for the PXE-Files extracted from the ISOs


    4. Create a graphical Menu for PXE-Boot
    http://www.gtkdb.de/index_7_1342.html
    I've setup my pxelinux to show a Main-menu and some submenus. So it's easier to read and to edit. Partedmagic is booted from ISO, because i can switch to a new iso very fast. DL, copy, rename, done ;)


    Here are some of my menus:
    /pxelinux.cfg/default


    submenus:
    /pxelinux.cfg/menu-amd64


    /pxelinux.cfg/menu-partedmagic


    /pxelinux.cfg/menu-dban (abstract) with a "fake-menu"


    5. Setup all OSes you want for PXE-Booting
    you find many here and search for "PXE"
    Look here for OpenELEC with home on NFS

    Got Dropbox up and working: (thx to the authors of this blog-posts [1] [2])
    all kudos go to them ;)


    Tutorial Version 0.2:
    32-bit:

    Code
    cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86" | tar xzf -


    64-bit:

    Code
    cd ~ && wget -O - "http://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -


    execute

    Code
    ~/.dropbox-dist/dropboxd


    move dropbox (binary) folders to /opt and create a link:

    Code
    mv .dropbox /opt/dropbox
    mv .dropbox-dist /opt/dropbox-dist
    ln -s /opt/dropbox .dropbox
    ln -s /opt/dropbox-dist .dropbox-dist


    create a "Shared Folder" in OMV for your Dropbox-Content and link it with the Dropbox-(Document)-Folder in /home/user/

    Code
    mv ~/Dropbox Dropbox_old
    ln -s /your/path/to/the_new_created/folder ~/Dropbox


    Put this in /etc/init.d/dropbox and edit line
    DROPBOX_USERS="yourusername"
    to match a username in OMV, _not_ your dropbox-name



    execute

    Code
    chmod +x dropbox
    update-rc.d dropbox defaults


    dropbox should run on the next reboot

    I've set up a NFS-Share on OMV. With a normal

    Code
    mount 192.168.x.y:/Folder /media/NFS-Share

    on my Kubuntu-Machine, i got ~35MB/s transferspeed. While searching the net, i found these options: rsize=32768,wsize=32768


    After mounting the NFS-Share with

    Code
    mount -t nfs -o rsize=32768,wsize=32768 192.168.x.y:/Folder /media/NFS-Share

    gave me ~ 55MB/s, a boost of 20MB/s :)


    Maybe someone find this helpful.

    Hi!


    I ported a autoshutdown-script (thx chirikai for this) from FreeNAS to Debian/Ubuntu and now made some improvements. Features:

    • Check, if PC is online (via IP)
    • Check, if processes are running (smbd, nfsd, transmission-daemon...)
    • Check, if there are connections on Ports (SSH, FTP, Bittorrent ...
    • ^^^ if not, shutdwon, after a period of time
    • Read actual IP(s) from ifconfig (eth0, eth1, bond0)
    • define a timerange, in which OMV should stay up (whether other PCs are online or not)
    • and many others
    • Fake-Mode to test your settings. With this, OMV does not shutdown, but displays all what it does in the log
    • the script waits 5 min after start (not in Fake-Mode)


    Testers welcome ;) I tried to keep the configuration very small and simple.


    Thx to :arrow: marcelbeck for the GUI, all testers and bug-reporters.


    Please report any issue related to the:
    WebUI here: https://github.com/OMV-Plugins/openmediavault-autoshutdown/
    installation process and the script itself here: https://github.com/OMV-Plugins/autoshutdown/


    Installation:
    OMV:
    Install the Autoshutdown-Plugin from the stable repository: http://packages.omv-plugins.org/ in OMV


    Debian/Ubuntu:
    Use the deb from here. Make sure you install always the latest version.


    For Expert-Settings in the config, please have a look at the included autoshutdown.default (/etc/autoshutdown.default) and the README


    Thx