Page 7 of 23 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 224

Thread: SheevaPlug

  1. #61
    Join Date
    Jan 2008
    Location
    Kennewick, WA, USA
    Beans
    26

    Re: SheevaPlug

    To everyone that got theirs already: when did you order? I placed an order on March 4th, and no sign of it yet. I just called them. The lady apologized, referring to unforeseen demand. She said she'd have them ship mine Monday.

    What's the performance like via VNC? You should be able to get better graphical performance by connecting to the xwindows server on the plug from an xwindows client on your local machine. There would be less processing overhead involved in that than VNC.

    Does anyone have an SDIO wifi card to try in the thing? Something like this could be useful if there are drivers:
    http://tinyurl.com/dbcw2j
    Last edited by djpandemonium; April 11th, 2009 at 12:05 AM.

  2. #62
    Join Date
    Nov 2006
    Beans
    2

    Re: SheevaPlug

    I just ran a read/write test on my SheevaPlug to an 2Gig OCZ 150X SD card. The bad news is that it's not very fast writing (~700K/sec). The good news is that it's acceptably fast for reading (~9.6M/sec). The actual numbers might be a little slower due to caching.

    root@debian:/tmp# cat TestXferWrite.sh
    #! /bin/bash

    ((meg = 1024*1024))
    dd if=/dev/zero of=/mnt/sdcard/test.out bs=1024 count=$meg
    sync

    root@debian:/tmp# cat TestXferWrite.sh
    #! /bin/bash

    ((meg = 1024*1024))
    dd if=/dev/zero of=/mnt/sdcard/test.out bs=1024 count=$meg
    sync
    root@debian:/tmp# cat TestXferRead.sh
    #! /bin/bash

    ((meg = 1024*1024))
    dd if=/mnt/sdcard/test.out of=/dev/null bs=1024 count=$meg
    sync

    root@debian:/tmp# ./TestXferWrite.sh
    1048576+0 records in
    1048576+0 records out
    1073741824 bytes (1.1 GB) copied, 1486.38 s, 722 kB/s
    root@debian:/tmp# ./TestXferRead.sh
    1048576+0 records in
    1048576+0 records out
    1073741824 bytes (1.1 GB) copied, 111.928 s, 9.6 MB/s

  3. #63
    Join Date
    Nov 2006
    Beans
    2

    Re: SheevaPlug

    Following up my test of read/write performance on SD here's the same test(more flexible scripts) using 16 Gig Patriot XPorter XT USB sticks. Here the read/write performance is VERY good (~22M/sec write, ~32M/sec read).

    cat TestXferWrite.sh
    #! /bin/bash

    if [[ $# != 1 ]]; then
    echo "usage: $0 testdirectory"
    exit 1
    fi
    testdirectory=$1
    ((meg = 1024*1024))
    dd if=/dev/zero of=$testdirectory/test.out bs=1024 count=$meg
    sync

    cat TestXferRead.sh
    #! /bin/bash

    if [[ $# != 1 ]]; then
    echo "usage: $0 testdirectory"
    exit 1
    fi
    testdirectory=$1
    ((meg = 1024*1024))
    dd if=$testdirectory/test.out of=/dev/null bs=1024 count=$meg
    sync

    root@debian:/tmp# ./TestXferWrite.sh /mnt/usbstick
    1048576+0 records in
    1048576+0 records out
    1073741824 bytes (1.1 GB) copied, 48.3956 s, 22.2 MB/s

    root@debian:/tmp# ./TestXferRead.sh /mnt/usbstick
    1048576+0 records in
    1048576+0 records out
    1073741824 bytes (1.1 GB) copied, 33.577 s, 32.0 MB/s

  4. #64
    Join Date
    Apr 2009
    Beans
    8

    Re: SheevaPlug

    I will be trying wireless tonight so I will let all know. Now that I think about it, wired connection would have been a ton easier to set up. Gotta be able to route through it to give it that extra selling point.

    Found a "ports" page for Debian's port to the ARM processor. They have mailing lists that might be useful to ask questions to. Might save a bit 'o trial and error. Maybe everyone hear knows the site already

    http://www.debian.org/ports/arm/
    Debian GNU/Linux on ARM
    ...
    # orion5x: we support Marvell's new Orion platform and we have specific support for a number of devices, including the QNAP Turbo Station (TS-109, TS-209, TS-409) and HP mv2120.

  5. #65
    Join Date
    Apr 2009
    Beans
    8

    Re: SheevaPlug

    Here are some notes on things I edited/changed to secure the server as much as I know how to and get it ready to put on the net. Use what makes sense and let me know of any glaring errors.

    o uncomment # %sudo group in visudo to enable group sudo
    o change (NOPASSWD) to (ALL) in visudo so that sudo requires password - security
    o add users to the sudo group in /etc/group
    o edit /etc/network/insterfaces to make IP static
    auto eth0
    iface eth0 inet static
    address 75.146.60.202
    netmask 255.255.255.248
    gateway 75.146.60.206

    o set root password
    o in /etc/sshd_config edit PermitRootLogin - security
    #PermitRootLogin yes
    PermitRootLogin no

    o edit /etc/hosts.deny and block sshd - security
    All:All

    o edit /etc/hosts.allow and add friendly ip addys to the sshd daemon
    sshd:75.146.60.201, etc

    o edit /etc/hosts
    75.146.60.202 greenmachine.igroklinux.com greenmachine

    o add the tcp_timeout_time = 60 to the end of /etc/rc.local - keep ssh alive over the internet (change this to 60 if idle connections timeout after 5 minutes or so)
    echo 60 > /proc/sys/net/ipv4/tcp_keepalive_time

    o edit /etc/resolv.conf to change/add nameservers
    domain pirk.net
    search pirk.net
    #nameserver 127.0.0.1
    nameserver 75.146.60.201
    nameserver 68.183.140.225
    nameserver 66.218.33.210

    o set the date
    date MMDDhhmm[CCYY][.ss]
    o set the timezone
    vi /etc/timezone - does not work as others have pointed out.

  6. #66
    Join Date
    Apr 2009
    Beans
    0

    Re: SheevaPlug

    Bit of a PIA, but the standard X apps (xterm, etc.) now work - but to do this I had to build the libXt library from source and replace the existing one. Hopefully this will be fixed in the standard Ubuntu package feed, but until then this works:

    modify /etc/apt/sources.list to include the source repositories: add the line
    deb-src http://ports.ubuntu.com jaunty main restricted universe multiverse

    update apt so it knows about the source stuff:
    apt-get update

    get basic build tools and headers
    apt-get install build-essential

    get headers for other X library stuff that libXt references
    apt-get install xorg-dev

    get source for libXt; this will be downloaded to the current directory
    apt-get source libxt

    untar the libXt source
    tar xvfz libxt_1.0.5.orig.tar.gz

    cd into the libxt_1.0.5 directory, configure, and build
    cd libxt_1.0.5
    ./configure
    make

    copy the newly build library to the system location - but first save the old one in case something goes wrong
    mv /usr/lib/libXt.so.6.0.0 /usr/lib/libXt.so.6.0.0.bak
    cp src/.libs/libXt.so.6.0.0 /usr/lib/libXt.so.6.0.0
    (In place of the "cp" line you could just do
    make install
    but I wanted to have control over exactly what went where...)

    The X apps now start correctly using the new libXt library (don't even have to restart the VNC server, though that doesn't hurt). Hope the standard libXt gets fixed soon in the Ubuntu package repository!

    Jon

  7. #67
    Join Date
    Apr 2009
    Beans
    0

    Re: SheevaPlug

    Oh, as a last step for the libXt fix, you should make sure the links in /usr/lib point to the new libXt library:
    cd /usr/lib
    rm libXt.so
    rm libXt.so.6
    ln -s /usr/libXt.so.6.0.0 libXt.so.6
    ln -s /usr/libXt.so.6.0.0 libXt.so
    Interestingly, when I did the moving and copy of the old and new libs, one of the links was still pointing to the old lib and that caused some of the X apps to still fail while others worked.

    Jon

  8. #68
    Join Date
    Apr 2009
    Beans
    19

    Re: SheevaPlug

    Thanks for the pointers, folks! Great stuff!

    I am having trouble with my /etc/resolv.conf getting reset at each boot. The parameters are getting saved incorrectly, setting my nameserver to 127.0.0.1 instead of the values my other Ubuntu (hardy) installations get from my router. I can change it manually, and they take until the next boot.

    Thanks in advance. Ideas are welcome.

  9. #69
    Join Date
    Apr 2009
    Beans
    0

    Re: SheevaPlug

    The SheevaPlug is my first foray into embedded computing and I have a question.

    When I make a change to the Ubuntu filesystem and then reboot, the changes "survive" a power off/reboot.

    If the file system is being loaded from a .jffs2 image, how are the changes saved? Is an updated .jffs2 image saved?

    Any education on this would be appreciated.

  10. #70
    Join Date
    Apr 2009
    Beans
    19

    Re: SheevaPlug

    Quote Originally Posted by jdonth View Post
    When I make a change to the Ubuntu filesystem and then reboot, the changes "survive" a power off/reboot.

    If the file system is being loaded from a .jffs2 image, how are the changes saved? Is an updated .jffs2 image saved?
    The internal storage is on embedded flash memory, much like an embedded version of the card from your digital camera. JFFS mounts that as a Unix filesystem. Any changes you make will be saved on the flash memory, via JFFS. Think of it is a 512M disk drive, since that is exactly how it behaves.

    Let us know if you need additional details.

Page 7 of 23 FirstFirst ... 5678917 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •