• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2 3 ... 10
1  Linux Stuff / General Linux questions / Re: USB flash drive and torrent on: May 21, 2009, 10:48:43 AM
FYI, I torrent 24/7 and my plug has been stable forever. I'm not dumping to flash; I have a terabyte of external disk on the USB connection.

Just a point of reference...
2  Linux Stuff / Kernel / Re: 2.6.30-rc6 new release on: May 21, 2009, 07:50:15 AM
Another flawless upgrade on my SheevaPlug. Thanks, cbxbiker61!
3  Linux Stuff / Kernel / Re: original sheeva kernel needs some work on: May 21, 2009, 07:40:09 AM
Because the Internet is a dangerous place.

I think it's not an unreasonable assumption that the plug would exist behind a dedicated firewall. Do people still put computers directly on the Internet? I don't think I've seen that done in over ten years.
4  Linux Stuff / General Linux questions / Re: Can't su to root on: May 09, 2009, 07:12:49 AM

Once again though, this is weird. The plug works fine, out of the box.

If I were you, I'd rewrite the root filesystem and start over. Seems like you're doing too much work.
5  Linux Stuff / General Linux questions / Re: Can't su to root on: May 07, 2009, 01:38:45 PM
Also, you may have more success with "putty" as your serial emulation program. Seems to do a pretty decent job.
6  Linux Stuff / General Linux questions / Re: Can't su to root on: May 07, 2009, 01:33:50 PM
Hard to tell, without knowing exactly what everything looks like.

As far as sudo goes, try something like this -- edit your sudoers file (by hand, it's OK), and make sure you have a line at the end that looks like this - at least for testing:

%sudo ALL=NOPASSWD: ALL

Then add yourself to the group like this:

usermod -a -G sudo sweber

Then at least you should be able to sudo...
7  Linux Stuff / General Linux questions / Re: Can't su to root on: May 07, 2009, 12:41:13 PM
Seems odd that issue hasn't come up before since su to root is a fundamental operation.

Yup, you're working much too hard - there's no need for chmod'ing or any such stuff with the default root filesystem. You should be able to put your username in the sudoers file and be good to go.

Something more fundamental seems to be amiss.
8  Linux Stuff / General Linux questions / Re: Can't su to root on: May 07, 2009, 08:03:23 AM
sudu -s, and then su -, if you want to have root's environment.
9  Linux Stuff / Linux distributions / Re: Clock working? on: May 06, 2009, 09:08:15 PM
I'd agree with that. I've never really cared about hardware clocks; one of the first thing I do when setting up a UNIX system is get time synchronization going.

Fortunately ntpd works perfectly on the plug!
10  General Category / Success stories / Re: Coherence + DLink DSM-750 on: May 05, 2009, 09:43:58 AM
And then I made an /etc/coherence.conf file:

# config file for coherence
#
# keywords are case-sensitive

logmode = warning                         # none, error, warning, info, debug, log
logfile = /var/log/coherence.log
#interface = eth0
serverport = 30020                       # if not specified or set to 0
                                          # coherence will let the OS choose the port

#controlpoint = yes                        # if set to yes coherence will activate its
                                          # internal ControlPoint

web-ui = no                               # set this to yes to enable some interactive
                                          # Web-UI

#use_dbus = yes                            # set this to yes to let Coherence signal
                                          # devices and services via dbus and provide
                                          # access to them
                                          # only useful when controlpoint is enabled too

[subsystem_log]
#coherence = info
#WebUI = info
#SSDP = info
#MSEARCH = info
#SOAP = info
#Action = info
#Variable = info
#Event = info
#Service_Server = info
#Service_Client = info
#Device = info
#Connection_Manager_Server = info
#MediaServer= info
#MediaRenderer= log
#ControlPoint = info
#MS_Client = info
#flickr_storage = info
#Buzztard=info


[plugins]
    [[FSStore]]
        content = /storage/media
    #    content = tests/content/audio,tests/content/video           # append more directories separated by commas
    #    version = 1
    #    #content = /data/audio/music
        name = Coherence - File System
    #    [[[icon]]]
    #        mimetype = image/png
    #        width = 120
    #        height = 106
    #        depth = 24
    #        url = file:///home/dev/Projects/Coherence/tests/coherence-icon.png

    [[YouTubeStore]]
        name = Coherence - YouTube
        #quality = hd
        proxy_mode = buffered
        #proxy_mode = proxy
11  General Category / Success stories / Re: Coherence + DLink DSM-750 on: May 05, 2009, 09:42:20 AM
You know, now I look at it, I did do a couple of things. Perhaps there is Wiki fodder here, after all.


I created a file calle /etc/default/coherence, and put this in it:

COHERENCE_OPTIONS="-c /etc/coherence.conf"

I also created an init script, /etc/init.d/coherence, which looks like this:

#!/bin/sh -e
#
# Coherence init script
#
### BEGIN INIT INFO
# Provides:          coherence
# Required-Start:    $local_fs $syslog $network
# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Coherence
# Description:       Coherence DLNA/UPnP Framework
#                    You should edit configuration in /etc/coherence.conf file
#                    See http://coherence.beebits.net for details
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/coherence
NAME=coherence
DESC="Coherence DLNA/UPnP Framework"
PIDFILE=/var/run/coherence.pid
CONFIGFILE=/etc/coherence.conf

# abort if no executable exists
[ -x $DAEMON ] || exit 0

# Get lsb functions
. /lib/lsb/init-functions
. /etc/default/rcS

[ -f /etc/default/coherence ] && . /etc/default/coherence

checkpid() {
  [ -e $PIDFILE ] || touch $PIDFILE
}

case "$1" in
  start)
    log_daemon_msg "Starting $DESC: $NAME"
    checkpid
    start-stop-daemon --start --quiet --background --oknodo \
      --make-pidfile --pidfile $PIDFILE \
      --exec $DAEMON -- $COHERENCE_OPTIONS
    log_end_msg $?
  ;;
  stop)
    log_daemon_msg "Stopping $DESC: $NAME"
    start-stop-daemon --stop --signal 2 --quiet --oknodo --pidfile $PIDFILE
    log_end_msg $?
  ;;
  reload|force-reload)
    log_daemon_msg "Reloading $DESC: $NAME"
    start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON
    log_end_msg $?
  ;;
  restart)
    $0 stop
    $0 start
  ;;
  *)
    N=/etc/init.d/$NAME
    log_success_msg "Usage: $N {start|stop|restart|reload|force-reload}"
    exit 1
  ;;
esac

exit 0

12  General Category / Success stories / Re: Coherence + DLink DSM-750 on: May 05, 2009, 09:33:05 AM
Thank you so much for taking the time to post all that information - I'll absolutely give this all a try after work today, and send you whatever information you require.

This really is too much fun. I wish I'd known about media extenders a couple of years ago, before I ended up with a stacks of unlabled DVDs all over the house...
13  General Category / Success stories / Re: Coherence + DLink DSM-750 on: May 05, 2009, 06:54:40 AM
I'm not sure what to add to the wiki -- really, all I did was one apt-get, and it was up and running. Let me know if I can elaborate, but it was really just too easy. Smiley

The version of python-gdata in the repository is 1.2.4, and I'm able to see the playlists and the titles of the videos on YouTube, but the DSM-750 doesn't think it can support the files.

Is is possible that it's a MIME-type issue? Some googling suggests that I may have luck with "video/MP4V-ES" rather than "video/mp4". Another site suggests calling them "video/avi", even though they're not. Guess I try editing the backend after work.

I'd be more than happy to help out testing any changes!
14  Hardware and U-Boot firmware / U-Boot stuff / Re: Booting from SD card on: May 03, 2009, 07:31:58 AM
I just sent a PM, asking for assistance. Thanks!
15  Linux Stuff / Kernel / Re: 2.6.30-rc4 new release on: May 02, 2009, 09:42:31 AM
I had the same issue with my 8 gig card. Seemed to work for one boot or two, then corrupted. Works flawlessly elsewhere.
Pages: [1] 2 3 ... 10