Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Junior Member fbachofner's Avatar
    Join Date
    Nov 2016
    Location
    Seaside, CA
    Posts
    26
    Quote Originally Posted by bpa View Post
    I have a copy of Net::UDAP 1.0_01 on a Ubuntu system and it works OK.
    Thanks for letting me know! This is good news.

    What version o Ubuntu (Mint 18 is based on Ubuntu 16.04)?

    How do you invoke Net-UDAP? I am issuing
    Code:
    perl udap_shell.pl
    at the prompt. I am running from a USB stick without administrator rights (although I have tried
    Code:
    sudo perl udap_shell.pl
    as well with same error message)
    -------------------------------------------------
    I help administer various Squeezeboxes
    (mostly Classic / SB3 and Touch)
    typically running against LMS 7.9x on LinuxMint 18 or Ubuntu 16.04

  2. #22
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    20,429
    Quote Originally Posted by fbachofner View Post
    Thanks for letting me know! This is good news.

    What version o Ubuntu (Mint 18 is based on Ubuntu 16.04)?

    How do you invoke Net-UDAP?
    Ubuntu 14.04 Perl 5.18

    to run
    perl scripts/udap_shell.pl

  3. #23
    Junior Member fbachofner's Avatar
    Join Date
    Nov 2016
    Location
    Seaside, CA
    Posts
    26
    Quote Originally Posted by fbachofner View Post
    I am issuing
    Code:
    perl udap_shell.pl
    at the prompt.
    D'Oh!!

    I just noticed the various .pl files I downloaded were somehow not Perl files. They were HTML files with a .pl extension. I made some sort of newbie GitHub mistake.

    I have now downloaded the real .pl files and am getting a logging error, but at least Net-UDAP seems to work. This will require some further effort and I am unfortunately a few minutes away from being completely out of time for this this afternoon.
    -------------------------------------------------
    I help administer various Squeezeboxes
    (mostly Classic / SB3 and Touch)
    typically running against LMS 7.9x on LinuxMint 18 or Ubuntu 16.04

  4. #24
    Senior Member
    Join Date
    May 2005
    Location
    Huby, York, UK
    Posts
    222
    I just tested this on a Ubuntu 16.04 box, specifically:

    Code:
    vagrant init ubuntu/xenial64
    vagrant up
    I then ran:

    Code:
    $ git clone https://github.com/robinbowes/net-udap.git
    $ cd net-udap
    $ cpan Log::StdLog Term::Shell Class::Accessor IO::Interface::Simple
    $ ./scripts/udap_shell.pl
    UDAP> discover
    info: <<< Broadcasting adv_discovery message to MAC address 00:00:00:00:00:00 on 255.255.255.255
    R.
    Net-UDAP is free software - you do not have to pay for it.
    However, if you found it useful, please consider donating:
    https://paypal.me/RobinBowes

  5. #25
    Junior Member fbachofner's Avatar
    Join Date
    Nov 2016
    Location
    Seaside, CA
    Posts
    26
    Quote Originally Posted by bpa View Post
    Ubuntu 14.04 Perl 5.18

    to run
    perl scripts/udap_shell.pl
    So you have them in a "scripts" folder (i.e. /scripts ?)

    Is this a perl convention? [ as I recall, one can run perl scripts from just about anywhere, so this shouldn't be a requirement . . . ]


    I do see that placing it in /scripts is how Robin distributed the script (I was drilled down into it), so maybe I'll follow his directory structure when I come back to this.

    Curious: what is the chown and chmod of your /scripts folder?
    -------------------------------------------------
    I help administer various Squeezeboxes
    (mostly Classic / SB3 and Touch)
    typically running against LMS 7.9x on LinuxMint 18 or Ubuntu 16.04

  6. #26
    Junior Member fbachofner's Avatar
    Join Date
    Nov 2016
    Location
    Seaside, CA
    Posts
    26
    Hi Robin:

    Quote Originally Posted by robinbowes View Post
    I just tested this on a Ubuntu 16.04 box, specifically:
    Thanks!

    As you can see further up in the thread, I somehow screwed up downloading the .pl files.

    I've fixed that and will run through your example (pulling it from GitHub via terminal) if my manually downloaded attempt doesn't work.

    I'm out of time today and will report back when I can next attempt.
    -------------------------------------------------
    I help administer various Squeezeboxes
    (mostly Classic / SB3 and Touch)
    typically running against LMS 7.9x on LinuxMint 18 or Ubuntu 16.04

Tags for this Thread

Posting Permissions

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