Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,234

    pCP player shows No mac address in LMS

    I have seen this a couple of times with different Pi's

    Type: squeezelite
    Firmware: v1.9.9-1386-pCP
    IP: 192.168.128.42
    MAC Address: 00:00:00:00:00:00

    It hasn't bothered me before but I want to control this particular one via JSON commands to the MAC address

    Material has no issue controlling it even with the 00 address

    Any suggestions people?
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

  2. #2
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,491
    That is likely the case where squeezelite starts before the network device is initialized...... which should not happen, since we wait for network before starting anything.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #3
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,234
    Quote Originally Posted by paul- View Post
    That is likely the case where squeezelite starts before the network device is initialized...... which should not happen, since we wait for network before starting anything.
    Interesting. Iíve discovered that programming commands against the 00:00:00:00:00 address actually works. Will it break if suddenly LMS sees a MAC address post a Pi reboot? [Rhetorical question]

    BTW. A number of people using pCP 8 have said that they canít access the pCP web interface. I have a theory as to why this might be as it happened to me but I resolved with an httpd restart. I built the Pi in one location and it connected to my local LMS fine. I moved it to a new network and obviously the LMS was no longer there moreover auto discovery wasnít available on the network anymore (firewall) so Squeezelite couldnít start but was trying to. Might this also effect the web server starting. Unfortunately Iím not in a position to test this theory further as the second network is miles away.
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

  4. #4
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,380
    I think you have network problems.

    Are you monitoring how long it takes pCP to boot?

    Check [Main Page] > [Diagnostics] > [Logs] > "dmesg" > [Show]

    For example, a RPi4 on wifi will take 15 seconds.

    Code:
    [   15.311867] Finished piCorePlayer v8.1.0-b2 startup.
    While we check for a network before starting some processes, after 20 or 30 seconds pCP gives up and continues.

    Check [Main Page] > [Diagnostics] > [Logs] > "boot" > [Show]

    I can't remember seeing httpd not starting on pCP.

  5. #5
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    6,234
    Quote Originally Posted by Greg Erskine View Post
    I think you have network problems.

    Are you monitoring how long it takes pCP to boot?

    Check [Main Page] > [Diagnostics] > [Logs] > "dmesg" > [Show]

    For example, a RPi4 on wifi will take 15 seconds.

    Code:
    [   15.311867] Finished piCorePlayer v8.1.0-b2 startup.
    While we check for a network before starting some processes, after 20 or 30 seconds pCP gives up and continues.

    Check [Main Page] > [Diagnostics] > [Logs] > "boot" > [Show]

    I can't remember seeing httpd not starting on pCP.
    Thanks Greg
    Not a network issue. Its a very esoteric setup where the Pi in question is on an internal DHCP Reserved IP but connects to an LMS on a public IP which is very heavily firewalled - hence no autodiscovery. Not worth you worrying about this. It works fine with the zero mac. (This Pi is part of my Juke Radio implementation).

    That said I have seen a zero mac from a pCP on my bog standard internal LMS once or twice. I think it may be an ARP cache issue
    Last edited by d6jg; 2021-10-22 at 03:24. Reason: Worng name
    Jim
    https://jukeradio.double6.net


    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Radio
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

  6. #6
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,380
    There is a "MAC address" field in the [Squeezelite Settings]. You can find your MAC address under the More> help.

    AFAIK, the MAC address is used to identify Squeezelite to LMS session, so using zero MAC address on more than one pCP may cause an issue.

  7. #7
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,491
    AFAIK, squeezelite will pickup the local hardware address(or what is set by the user). And reports that to LMS. The LMS info page reports what squeezelite tells it, it does not care where it actually came from.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

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