>>>>> Steinar Bang <[email protected]>:

> I will read the Net::UDAP documentation more closely to see if there was
> a step I've missed.

Ok, I did that, and now it's working! :-)

I reconnected the Duet receiver to the cabled network, disconnected and
reconnected the power plug, pressed the button on the front panel until
the light started blinking rapidly red, and then followed the
instructions on the "getting started" page
 http://projects.robinbowes.com/Net-UDAP/trac/wiki/GettingStarted
with the actual "set" command picked from
 http://projects.robinbowes.com/Net-UDAP/trac/wiki/SampleUsage#WirelessWPA1DHCP
(using my own values for wireless_SSID, wireless_wpa_psk, and 
squeezecenter_address)

Thanks! :-)

To summarize what I did to get things working, with Net::UDAP running on a 
debian "jessie" computer (for someone discovering this while googling for a 
solution):

 1. Get the Net::UDAP source on the "jessie" computer:
     mkdir -p ~/git
     cd ~/git
     git clone https://github.com/robinbowes/net-udap.git

 2. Get the missing debian-provided perl modules, as root do the following 
commands:
     apt-get install libterm-shell-perl libio-interface-perl

 3. Manually install the Log::StdLog perl module (not provided by debian as far 
as I could tell):
     1. Download and unpack the Log-StdLog-v0.0.3.tar.gz file from 
http://search.cpan.org/~dconway/Log-StdLog-v0.0.3/lib/Log/StdLog.pm
         cd /tmp
         wget 
http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Log-StdLog-v0.0.3.tar.gz
         tar zxf Log-StdLog-v0.0.3.tar.gz
     2. As root, build and install the Log::StdLog perl module:
         cd /tmp/Log-StdLog-v0.0.3
         perl Build.PL
         ./Build
         ./Build test
         ./Build install

  4. Connect the Duet receiver to the same ethernet segment as the debian 
computer, using a cabled network connection

  5. Power on the Duet receiver with the cabled connector plugged in

  6. Press the button on the front of the Duet receiver until the light starts 
blinking _rapidly_ red (it blinks slowly red at first, but keep the button 
pressed a little longer)

  7. Follow the instructions on the Net::UDAP Getting Started page: 
http://projects.robinbowes.com/Net-UDAP/trac/wiki/GettingStarted
     Replace the "set " command with the desired network configuration fetched 
from this page: http://projects.robinbowes.com/Net-UDAP/trac/wiki/SampleUsage
     (See the "Complete Examples" section for something that fits)

And that's it.  After this the Duet receiver will connect to the Wi-Fi
network, request and get a DHCP lease and connect to the SqueezeCenter.

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to