You are here: Home » Topic » NSLU2 and Firefly Setup Issuespage 2

NSLU2 and Firefly Setup Issues

Viewing 15 posts - 16 through 30 (of 40 total)
  • Author
    Posts
  • #6177
    fizze
    Participant

    do a

    ls /share/flash
    ls /share/flash/data/

    Where on the Harddrive is your music located ?
    And it is a Windows formatted drive ?

    #6178
    Sam1
    Participant

    Wow, I’ve learned a little about Linux commands in the last 24 hrs…
    I made the directories in the path share/hdd/data/public/mp3 I have put an album folder of mp3s into the mp3 folder through windows and can browse to it with the NSLU2 web interface. I have run the permissions script, restarted the mt-daapd server and run the log file…server aborted. All the mt-daapd files seem to be in the correct places. See this script.

    # chmod 777 /share/hdd/data/public/mp3
    # /opt/etc/init.d/S60mt-daapd
    # tail -f /var/log/messages
    <38>Sep 13 23:09:27 login[671]: root login on `ttyp0' from `192.168.1.100'
    <29>Sep 13 23:11:04 mt-daapd[677]: Starting rendezvous daemon
    <29>Sep 13 23:11:04 mt-daapd[679]: Starting signal handler
    <29>Sep 13 23:11:05 mt-daapd[679]: Loading playlists
    <29>Sep 13 23:11:05 mt-daapd[679]: Initializing database
    <29>Sep 13 23:11:05 mt-daapd[679]: Starting mp3 scan
    <29>Sep 13 23:11:05 mt-daapd[679]: Error scanning MP3 files: Permission denied
    <30>Sep 13 23:11:05 mt-daapd[679]: Aborting
    <29>Sep 13 23:11:05 mt-daapd[678]: Rendezvous socket closed (daap server crashed
    ?) Aborting.
    <30>Sep 13 23:11:05 mt-daapd[678]: Aborting

    So near…….

    #6179
    fizze
    Participant

    that

    /share/hdd/data/public/mp3

    wont use much if its not an ext2/3 fs.

    What filesystem is on the harddrive ?

    #6180
    Sam1
    Participant

    Sorry, I should have said in the last post. The drive was originally formatted NTFS but I formatted EXT3 with the web utility for the NSLU2.
    I suspect that there may be another partition on the drive as the full 320G does not appear. (only 302Gb) The USB Drive is plugged into the top usb connector on the slug and appears as USB Disk 2 on the web interface for the slug.
    I’m nearly at the stage of starting from scratch and re-flashing the unit with the Linksys firmware and unsling again from there after doing a low level format on the HDD.
    I also notice that when i copy an mp3 album from the PC into the network folder (mp3) it takes about 4 minutes to copy over…….very slow.
    When I did tests with the linksys software the copy over process was fast!
    What do you think?

    #6181
    fizze
    Participant

    do you use SMB (aka windows share) to copy ?
    or any other tools like winSCP, etc ?

    the chmod should work, alas.

    Are you sure your mp3-dir is /share/hdd/data/public/mp3 ?
    do a

    cat /opt/etc/mt-daapd/mt-daapd.conf|grep mp3

    or do a

    cat /opt/etc/mt-daapd/mt-daapd.conf|less

    to view the contents of the file.

    you might also try to install JOE (which i recommend)

    ipkg install joe

    which is a text editor, which is a little *cough* more user friendly than VI.
    in JOE you can exit with CTRL+C, and save files with CTRL+KX. that is CTRL+K shortly followed by CTRL+X, dont let go of CTRL.

    you’re almost there. I wouldnt want to go over unslinging again. Its just the mp3 dir thats faulty im certain. 🙂

    #6182
    Sam1
    Participant

    Yes it would be a pity to have to go through it all again.

    I just used windows copy/paste command from Windows explorer

    I will try as you suggest when I get home from work this evening and post the results.
    Thanks so far.

    #6183
    fizze
    Participant

    Yes, the NSLU2 doesnt break any speed records.
    I got my data on a NTFS drive, which slows it down even more.

    Im definetely going to switch to ext3 and probably debonaras too. somewhen. sigh. 🙄

    #6184
    Sam1
    Participant

    Wohooo.
    Got it working as last….but I started from scratch…flashed back to Linksys and then to Unslung…..on a newly formatted drive.
    I think that the problem may have been the legacy file format on some of the partitions on the usb drive.

    Thanks again for all the help. Linux rocks..I’m definitely going to do a bit more on this. 😉

    #6185
    Donald
    Guest

    @Sam1 wrote:

    Wohooo.

    Allright. This thread terminated too early for my problem. You were headed down the two drive solution and you didn’t specify how your setup ulimately ended.

    I had a single HDD installed on port two which was working great except that the NSLU2 was always accessing it so it wouldn’t spin down. So now I’m trying a flash drive on port one (root) and the HDD on port two both formatted by the NSLU2 to EXT3.

    Everthing works – the disks are fully recognized by FTP, explorer, and the web interface.

    My problem is Firefly. I can’t get it to see my ‘music’ folder on DISK 2 and I don’t know how to get it to see that folder. I can certainly get Firefly to see any ‘music’ folder anywhere I put it on DISK 1 but setting up DISK 2 completely eludes me.

    Thanks,

    Donald

    #6186
    cromei
    Participant

    one question
    which drive are you unslung to? the flash drive on port 2 or the HDD on disk 1?
    Craig

    #6187
    Donald
    Guest

    @cromei wrote:

    one question
    which drive are you unslung to?

    I’m unslung to the flash drive on port 1. HDD is on port 2.

    Donald

    #6188
    cromei
    Participant

    try /share/flash/data/public/

    unslung website advises you unsling flash on port 2 and have the HD on port 1, but I don’t thing this is a must as long as both are ext3.
    Craig

    #6189
    Donald
    Guest

    @cromei wrote:

    try /share/flash/data/public/
    Craig

    Dang:

    Error: 500general:mp3_dir

    Currently /public/ works – but only on anything I put on DISK 1 in the corresponding directory…

    Donald

    #6190
    cromei
    Participant

    2 questions…
    1. the HDD used to be unslung so check to see if it still has the .sda1root file, I recall seeing something that both drives having this can be bad.
    2. can you telnet in and cd to the public with your music on the HDD?
    Craig

    #6191
    Donald
    Guest

    @cromei wrote:

    1. the HDD used to be unslung so check to see if it still has the .sda1root file, I recall seeing something that both drives having this can be bad.

    I reformatted (quick) the previously unslung HDD as an NTFS volume before reformatting again in the NSLU2 web interface as an EXT3 volume. Using my feeble XP tools (telnet and FTP) I can’t find any instance of .sda1root.

    @cromei wrote:

    2. can you telnet in and cd to the public with your music on the HDD?
    Craig

    Yes. Yes I can.

    Donald

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