Slug Has Arrived! …

Viewing 10 posts - 21 through 30 (of 30 total)
  • Author
    Posts
  • #12320
    rpedde
    Participant

    @Kato wrote:

    I tried the ipkg update again and no errors…everything else is still the same

    The paths are different on some versions of the unslung firmware. Your path might be /share/flash/data/public/mp3, rather than /share/hdd/data/public.

    You can find out by telnetting in and using some unix commands to find the path. Here’s one way to do that.


    # mount
    /dev/sdb1 on /initrd type jffs2 (rw)
    /dev/sdb1 on / type ext3 (rw,noatime)
    /proc on /proc type proc (rw)
    usbdevfs on /proc/bus/usb type usbdevfs (rw)
    /dev/sdb1 on /share/hdd/data type ext3 (rw,noatime)
    /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync,noatime)
    /dev/sda1 on /share/flash/data type ext3 (rw)
    /dev/sda2 on /share/flash/conf type ext3 (rw,sync)
    #

    On mine, you can see that there are two drives: sda, and sdb. Those correspond to the two slots on the slug (although on mine, sdb is slot1, while sda is slot2, strangely). They each have two partitions (sda1 and sda2, as well as sdb1 and sdb2). The “1” partition is the data partition, and the “2” partition is the conf partition. The slot-1 drive is mounted at /share/flash/data, while the slot-2 drive is mounted at /share/hdd/data.

    I can verify that by using the ls command (like dir):


    # ls /share/flash/data/public
    mp3
    #

    There is my mp3 directory that I made in public.


    # ls /share/hdd/data/public
    #

    Nothing there. Although you might get something like


    ls: /share/hdd/data/public: No such file or directory

    if you don’t have a drive mounted there.

    So once you figure out what the “right” path to your music is, then you need to change the configuration file.

    I’d do something like “ipkg install nano”, and then (as root) “nano /opt/etc/mt-daapd/mt-daapd.conf” to edit the config file. Change the path to the mp3_dir to point to the right place and try starting it again.

    One thing you can do to help yourself would be to copy the config file before you start messing with it. You can do that with something like:


    # cp /opt/etc/mt-daapd/mt-daapd.conf /opt/etc/mt-daapd/mt-daapd.conf.original

    Then if you mess up, you can go back to the original config by copying the old one back:


    # cp /opt/etc/mt-daapd/mt-daapd.conf.original /opt/etc/mt-daapd/mt-daapd.conf

    When you are in nano editing, you can always hit “ctrl-x” and exit without saving if you mess something up too badly.

    Also, I think the windows telnet doesn’t do good terminal emulation, so before you try and edit stuff with nano, you might want to download “putty”, a better telnet client and use that to telnet into the slug.

    Yell if this doesn’t get you anywhere.

    — Ron

    #12321
    Kato
    Participant

    Thanks Ron … will give it a go. Hopefully soon.

    Do you know why I can’t modify the config file from Windows Explorer?

    #12322
    Kato
    Participant
    rpedde wrote:

    # mount
    /dev/sdb1 on /initrd type jffs2 (rw)
    /dev/sdb1 on / type ext3 (rw,noatime)
    /proc on /proc type proc (rw)
    usbdevfs on /proc/bus/usb type usbdevfs (rw)
    /dev/sdb1 on /share/hdd/data type ext3 (rw,noatime)
    /dev/sdb2 on /share/hdd/conf type ext3 (rw,sync,noatime)
    /dev/sda1 on /share/flash/data type ext3 (rw)
    /dev/sda2 on /share/flash/conf type ext3 (rw,sync)
    #

    My ‘mount’ is almost like yours:


    # mount
    /dev/sda1 on /initrd type jffs2 (rw)
    /dev/sda1 on / type ext3 (rw)
    /proc on /proc type proc (rw)
    usbdevfs on /proc/bus/usb type usbdevfs (rw)
    /dev/sda1 on /share/flash/data type ext3 (rw)
    /dev/sda2 on /share/flash/conf type ext3 (rw,sync)
    #

    So it seems I must change the config file to point to my mp3 directory.

    #12323
    Kato
    Participant

    Success!!!!!! I got it working!!!!!

    I couldn’t get ‘nano’ editor working properly so I thought that there has to be a way to edit this file in Windows Notepad and somehow copy it to the admin partition (Windows would not let me modify anything in the admin partition).

    So …

    1) I copied mt-daapd.conf to my local HDD from the admin drive
    2) Edited the path in the .conf file to point to my .mp3’s using notepad
    3) Dragged the new .conf file into the ‘mp3’ directory I created in the public drive
    4) Telnetted into the slug
    5) put in the code to copy the modified .conf file to the admin drive at /opt/etc/mt-daapd


    # cp /share/flash/data/public/mp3/mt-daapd.conf /opt/etc/mt-daapd

    6) then ran firefly


    # opt/etc/init.d/S60mt-daapd

    7) Checked status by logging into firefly using web browser and also listened on my Roku
    #8 Very happy!!!! πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€

    Thanks so much for the help everyone. Hopefully I won’t have to add too much more to this thread.

    I’m uploading my collection now (probably will take 4 hours or so)

    Cheers,
    Kato

    #12324
    rpedde
    Participant

    @Kato wrote:

    Success!!!!!! I got it working!!!!!

    I couldn’t get ‘nano’ editor working properly so I thought that there has to be a way to edit this file in Windows Notepad and somehow copy it to the admin partition (Windows would not let me modify anything in the admin partition).

    So …

    1) I copied mt-daapd.conf to my local HDD from the admin drive
    2) Edited the path in the .conf file to point to my .mp3’s using notepad
    3) Dragged the new .conf file into the ‘mp3’ directory I created in the public drive
    4) Telnetted into the slug
    5) put in the code to copy the modified .conf file to the admin drive at /opt/etc/mt-daapd


    # cp /share/flash/data/public/mp3/mt-daapd.conf /opt/etc/mt-daapd

    6) then ran firefly


    # opt/etc/init.d/S60mt-daapd

    7) Checked status by logging into firefly using web browser and also listened on my Roku
    #8 Very happy!!!! πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€ πŸ˜€

    Thanks so much for the help everyone. Hopefully I won’t have to add too much more to this thread.

    I’m uploading my collection now (probably will take 4 hours or so)

    Cheers,
    Kato

    Congratulations. Next you’ll be tackling the nightlies… πŸ™‚

    — Ron

    #12325
    Dave.B
    Participant

    @Kato wrote:

    I couldn’t get ‘nano’ editor working properly

    Me neither. I still can’t, but scroll down to the bottom of this thread:
    http://forums.fireflymediaserver.org/viewtopic.php?t=5253&highlight=nano

    …that may help you out.
    FWIW I find editing in vi to be VASTLY harder than copying the conf file to the Windows side and using Notepad – although you rarely need to edit it directly.

    #12326
    fizze
    Participant

    Use “joe”. it has very nice bindings. (ipkg install joe)

    To save and quit, press CTRL+K followed by CTRL+X. aka CTRL+KX.
    To quit without sacing press CTRL+C.

    Oh, and you can actually use the cursor keys to navigate πŸ˜‰

    #12327
    rpedde
    Participant

    @fizze wrote:

    Use “joe”. it has very nice bindings. (ipkg install joe)

    To save and quit, press CTRL+K followed by CTRL+X. aka CTRL+KX.
    To quit without sacing press CTRL+C.

    Oh, and you can actually use the cursor keys to navigate πŸ˜‰

    If we are casting votes for text editors, count mine for emacs. πŸ™‚

    Although I find myself using textmate on osx almost as much. If it got split-windows and smarter C indention, I’d probably be using it exclusively.

    #12328
    Kato
    Participant

    @rpedde wrote:

    ……

    Congratulations. Next you’ll be tackling the nightlies… πŸ™‚

    — Ron

    Perhaps.

    Thanks for everyone’s help. I’m now up and running.

    I do find that the slug is much slower when processing the large number of mp3’s I have so I’ve decided to keep firefly running on my PC as well. I connect to it if it’s running – if not – I use the slug…

    #12329
    rpedde
    Participant

    @Kato wrote:

    @rpedde wrote:

    ……

    Congratulations. Next you’ll be tackling the nightlies… πŸ™‚

    — Ron

    Perhaps.

    Thanks for everyone’s help. I’m now up and running.

    I do find that the slug is much slower when processing the large number of mp3’s I have so I’ve decided to keep firefly running on my PC as well. I connect to it if it’s running – if not – I use the slug…

    Nightlies are *a lot* faster than 0.2.4. πŸ™‚

Viewing 10 posts - 21 through 30 (of 30 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.