Jump to content

blindpet

Members
  • Posts

    49
  • Joined

  • Last visited

Posts posted by blindpet

  1. I'm having trouble getting this working, I compile images just fine on Ubuntu 14.04.

     

    I renamed the customize-image.sh.template to customize-image.sh

     

    Then I added my custom commands

     

    RELEASE=$1
    FAMILY=$2
    BOARD=$3
    BUILD_DESKTOP=$4
    
    git clone https://github.com/blindpet/MediaServerInstaller /root/HTPCGuides

    Tried also without renaming the template file and still nothing. On earlier versions of the build script I did this in another way but it seems to be deprecated.

  2. I am guilty of using sysbench for benchmarks of the Banana Pi, unfortunately users look for these in choosing a board (sadly I did not know about armbian at the time). My primary focus was however network throughput for samba, ntfs, exfat over SATA and USB. I am curious what kind of cli benchmarks are any good besides sysbench, I would think compiling a program from source would be a better measure.

     

    Looks like now that armbian is out for the Orange Pi Plus I can finally test SATA throughput properly unless you all think I should wait for a kernel or driver update?

     

    I would of course appreciate any feedback on these benchmarks I prepared (additional ones for exfat vs ntfs vs ext4 and unrar par2 processing at the bottom).

  3. @Igor, I agree just using a minimal debian running some installer is not that useful. I do a lot of testing for making guides and want to emulate the arm chips and use the right repo. Reasons for this are compilation testing and using mono or java apps that may behave differently on non-arm devices. It would also provide users a nice test environment they can easily restore to fresh when tinkering, saving more sd card flashes for added convenience.

     

    @zador, if you have any resources or how-tos for these that would be cool. I only recently started playing with docker. I'd like to do minimal nested virtualization if possible.

  4. Why should this image emulate a Raspberry Pi? It's a minimal x64 Jessie install containing the whole bunch of scripts that make DietPi somewhat special.

    I started looking at the DietPi VM in more depth and alas it does just seem to be minimal debian with the official repos.

     

    My original inquiry still stands then since I believe the armhf debian repo differs slightly from the non-arm one, it would be valuable for testing to build an armbian for qemu.

  5. I would love to see a guide on how to create a virtual machine for Armbian which would be great for testing in VMWare Workstation, Player or Virtualbox.

     

    It would be similar to the diet pi vm which autoboots into the qemu (I think) for the Raspberry Pi

     

    If someone has a rough guide on how to do it I can make something noob friendly.

     

    My guess is you need to install qemu, add some repositories and then get it to autoboot using rc.local or something like that. Any resources on how to get started would be much appreciated.

  6. Thank you tkaiser, glad to see you are still digging for this critical info about new arm boards. I had high hopes for the Guitar and its modular design.

     

    LeMaker sent me the Guitar test board for review and feedback. I listed many of my concerns which echo your own. None of them seem to have been implemented on updated revisions to the boards.

     

    I did my best to explain to them the common use cases for these boards which should be possible with any new boards they release, unless they are targeting a different market. More importantly any new LeMaker devices must be at least as capable as the Banana Pi since that was their own flagship device.

     

    My current concerns which need to be fixed before I can recommend this device to users:

    • Cannot power a 2.5" hard drive with a 5V 2A adapter. Nobody wants to have to search for obscure power adapters just to be able to power the board and a hard drive
    • USB 3 micro b makes no sense, I don't know anybody who flashes daily or would like to sacrifice throughput, why wouldn't flashing over USB 2 be sufficient?
    • Gigabit ethernet - because USB 3 makes no sense to me without a fat enough pipe to push it through
    • HDMI-CEC (less important) - supposed to be supported eventually
  7. I know what you mean. I have an OrangePi Plus as well and tried to build the source, but couldn't get it going. I just needed the cifs kernel module (I don't know why this isn't included in all images by default), but was not able to build it. If anyone manages to compile the module for 3.4.39 (or can tell me how to build it manually), please let me know.

     

    Thanks!

     

    Have you tried Loboris images? I have compiled a working Ubuntu 15.04 for the Orange Pi Plus here

  8. I have forked your repo to add a lot of media server stuff, I added syncthing too with the code below

     

    install_syncthing () {
    #--------------------------------------------------------------------------------------------------------------------------------
    # Install syncthing
    #--------------------------------------------------------------------------------------------------------------------------------
    SYNCTHINGUSER=$(whiptail --inputbox "Enter the user to run Syncthing as (usually pi)" 8 78 $SYNCTHINGUSER --title "$SECTION" 3>&1 1>&2 2>&3)
    exitstatus=$?; if [ $exitstatus = 1 ]; then exit 1; fi
    if ! getent passwd $SYNCTHINGUSER > /dev/null; then
    echo "User $SYNCTHINGUSER doesn't exist, exiting, restart the installer"
    exit
    fi
    if !(cat /etc/apt/sources.list.d/syncthing-release.list | grep -q Syncthing > /dev/null);then
    cat >> /etc/apt/sources.list.d/syncthing-release.list <<EOF
    # Syncthing
    deb http://apt.syncthing.net/ syncthing release
    EOF
    wget -O - https://syncthing.net/release-key.txt | apt-key add -
    
    
    debconf-apt-progress -- apt-get update
    debconf-apt-progress -- apt-get install syncthing -y
    sudo -u $SYNCTHINGUSER timeout 120s syncthing
    #Make syncthing webui remotely accessible
    sed -i "/ <address>127.0.0.1:8384/c\ \<address>0.0.0.0:8384\<\/address\>" /home/$SYNCTHINGUSER/.config/syncthing/config.xml
    cd /etc/init.d/
    wget https://raw.github.com/blindpet/MediaServerInstaller/usenet/scripts/syncthing
    sed -i "/DAEMON_USER=root/c\DAEMON_USER=$SYNCTHINGUSER" /etc/init.d/syncthing
    chmod +x /etc/init.d/syncthing
    cd /tmp
    update-rc.d syncthing defaults
    service syncthing start
    echo Syncthing is running on $showip:8384
    fi
    }

    I also changed btsync so it uses a repo and makes it much easier

     

    cd /tmp
    wget http://debian.yeasoft.net/add-btsync-repository.sh
    ( echo yes && \
    echo yes ) \
    | sh add-btsync-repository.sh
    apt-get update
    apt-get install btsync -y

    I haven't ever made a pull request but will try sometime next month

  9. You are typing patch instead of path. This works for me

    [TV] #This is the name of the share it will show up as when you browse
    comment = TV Folder
    path = /mnt/usbstorage/TV
    create mask = 0755
    directory mask = 0755
    read only = no
    browseable = yes
    public = yes
    force user = pi
    #force user = root
    only guest = no
  10. Some processes are not closed properly. I made some fixes for this but it doesn't help always. 

     

    In general the script needs some additional fine tuning.  :huh:

    OK, to be fair for a complicated script it has only ever failed me this once, you have done an excellent job. I am really enjoying the fork I made of your micro server too, great framework. Please respond about the DVB tuner if you are interested I would like to contribute to you getting one ;)

  11. Yes, this is also possible. I usually don't install much after base system so it's always around 1G ... don't know how much do you need for plexmediaserver ... Initial size of 1200 might not be enough, 1500-2000 should probably do.

    And one more think. If the script breaks in the middle is better to reboot before running script again. 

    Rebooting helped! What is that about?

  12. I added the image shrinking part not long ago and I also experience this problem.

     

    It could help if you enlarge this parameter:

    https://github.com/igorpecovnik/lib/blob/next/common.sh#L380

     

    from 1.2 to 1.5

     

    I need to take some more time here to fix properly.

    Thanks Igor, I tried that but same error, this part concerns me

    After this operation, 0 B of additional disk space will be used.

    It's like the problem is the current size of the working image it is using, if I change the size from 1200 to 1500 in build.sh do you think that would help?

    resize2fs 1.42.9 (4-Feb-2014)
    The containing partition (or device) is only 306944 (4k) blocks.
    You requested a new size of 406528 blocks.
    
    
    /home/htpcguides/BananaPI-Debian/lib/common.sh: line 385: *4096/1024: syntax error: operand expected (error token is "*4096/1024")
    
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines