[SOLVED] HQPlayer cannot find NAA on Snakeoil machine
#41
NAA was selected as the player in the software tab ever since the NAA completed installation.

Today I re-installed Snakeoil 0.1.5, activated, updated to the latest firmware, changed the kernel to x64-ipv6, then finally installed HQPlayer NAA again.  I'm getting the same issue where "Running: ERROR" appears under Player Status for NAA.  I did the same workaround: SSH into the system with my user account, and did a "sudo networkaudiod start".  This changes the Player Status to "Running: ok (pid:xxxx)", and HQPlayer can see my USB endpoint and play normally.

Thanks for any help to address this.  There's no hurry since the above workaround is effective, and I'm already enjoying the sound.
Reply

#42
(21-Feb-2017, 12:35 PM)scan80269 Wrote: NAA was selected as the player in the software tab ever since the NAA completed installation.

Today I re-installed Snakeoil 0.1.5, activated, updated to the latest firmware, changed the kernel to x64-ipv6, then finally installed HQPlayer NAA again.  I'm getting the same issue where "Running: ERROR" appears under Player Status for NAA.  I did the same workaround: SSH into the system with my user account, and did a "sudo networkaudiod start".  This changes the Player Status to "Running: ok (pid:xxxx)", and HQPlayer can see my USB endpoint and play normally.

Thanks for any help to address this.  There's no hurry since the above workaround is effective, and I'm already enjoying the sound.
I've created an issue to track this (link), more so that I wouldn't forget about this Blush. Hopefully will let you guys know what I find later this week.
Snakeoil Operating System - Music, your way!
Reply

#43
Thanks, Agent Kith!

One more data point: with the standard x64 kernel, "sudo NETWORKAUDIOD_IPV6=0 networkaudiod start" works, but "sudo networkaudiod start" does not.  After changing to x64-ipv6 kernel, "sudo networkaudiod start" works.
[-] The following 1 user Likes scan80269's post:
  • agent_kith
Reply

#44
(22-Feb-2017, 03:03 PM)scan80269 Wrote: Thanks, Agent Kith!

One more data point: with the standard x64 kernel, "sudo NETWORKAUDIOD_IPV6=0 networkaudiod start" works, but "sudo networkaudiod start" does not.  After changing to x64-ipv6 kernel, "sudo networkaudiod start" works.
Since you have everything installed and running, can you try this and see if it works?
 
Code:
sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart

Note the use of restart, and not start. Does that work? If not, try start and see if they work? If yes, I'd spin off a new firmware release with this update, which should alleviate the need for ipv6 kernel.
Snakeoil Operating System - Music, your way!
Reply

#45
Since my box is currently running the x64-ipv6 kernel, I just tried "sudo /usr/sbin/service networkaudiod restart" and it works!  Refreshing the Software tab of the Snakeoil webpage changes the Player Status for HQPlayer Network Audio Adapter from "Running: ERROR" to "Running: ok (PID:xxxx)".  Smile

I'm pretty sure "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" would also work with the standard x64 kernel.

Cheers!

I just tried "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" on another machine running standard x64 kernel, but HQPlayer failed to see the NAA.  Player Status was briefly OK but reverted to ERROR in about a minute.  I ran this command again but got the same result: HQPlayer could not play to the NAA.

I then tried "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart" and it worked.

Hope this helps!
Reply

#46
(22-Feb-2017, 09:49 PM)scan80269 Wrote: Since my box is currently running the x64-ipv6 kernel, I just tried "sudo /usr/sbin/service networkaudiod restart" and it works!  Refreshing the Software tab of the Snakeoil webpage changes the Player Status for HQPlayer Network Audio Adapter from "Running: ERROR" to "Running: ok (PID:xxxx)".  Smile

I'm pretty sure "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" would also work with the standard x64 kernel.

Cheers!

I just tried "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" on another machine running standard x64 kernel, but HQPlayer failed to see the NAA.  Player Status was briefly OK but reverted to ERROR in about a minute.  I ran this command again but got the same result: HQPlayer could not play to the NAA.

I then tried "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart" and it worked.

Hope this helps!
Thanks. That's very helpful.. Thumbs Up

Looks like I have to export NETWORKAUDIOD_IPV6 instead of embedding it in the command line now. Not entirely sure why the second method don't work now as it did before.  Think

Will play more around NAA later this weekend.
Snakeoil Operating System - Music, your way!
Reply

#47
Firmware 0.1.5b now exports the variable, hopefully this should work without a IPV6 enabled kernel in the future Thumbs Up
Snakeoil Operating System - Music, your way!
Reply

#48
Hi Agent Kith,

I just installed firmware 0.1.5b, but still encountering the same ERROR status of networkaudiod after bootup.  I also tried switching between x86-64 and x64-ipv6 kernels with the same results.  I'm not sure, but it looks to me there may be some strange execution permission issue with networkaudiod going on.  Is there a Linux command to check the running status of networkaudiod (via SSH)?

The NAA I've been using is networkaudiod_3.4.0-29_amd64.deb, under "Trusty" on Signalyst's site.

Thanks!
Reply

#49
Hi Agent Kith,

I just installed firmware 0.1.5b, but still encountering the same ERROR status of networkaudiod after bootup.  I also tried switching between x86-64 and x64-ipv6 kernels with the same results.  I'm not sure, but it looks to me there may be some strange execution permission issue with networkaudiod going on.  Is there a Linux command to check the running status of networkaudiod (via SSH)?
[/quote]
The software tab already provide that information, if you see a PID with a XXX number, that indicates NAA is running.
alternatively, you can SSH in and run:
Code:
ps aux |grep <program_name>

Where <program_name> is the process name of NAA (I can't remember this off the top of my head right now Big Grin)
(28-Feb-2017, 12:27 AM)scan80269 Wrote: The NAA I've been using is networkaudiod_3.4.0-29_amd64.deb, under "Trusty" on Signalyst's site.

Thanks!
Can you do me a favour? Edit the file /var/www/cgi/init by running this command:
Code:
sudo nano /var/www/cgi/init

Add the following line to the file:
Quote:export NETWORKAUDIOD_IPV6=0
Save the file and reboot the computer. Does it work now with the stock kernel?
Snakeoil Operating System - Music, your way!
Reply

#50
I added the export line to /var/www/cgi/init and rebooted, but there was no change: webpage Player Status still shows ERROR.  I believe the NAA process name is simply "networkaudiod".  I did "ps aux | grep networkaudiod" but no networkaudiod process showed up.  I did "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart", opened another SSH window and this time the "ps aux | grep networkaudiod" showed a running thread, and the webpage Player Status changes to ok with the same PID as with "ps aux | grep networkaudiod".  I did all this with the standard x64 kernel only.  Thanks.
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  snakeoil always refuse connecting from vnc viewer clark8888 2 462 15-Oct-2023, 10:37 AM
Last Post: clark8888
  Rpi4+AlloDigiOne sig. Snakeoil os installation problem Luke 38 13 2,152 06-Sep-2023, 07:36 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,130 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Equalizer for LMS/Snakeoil Tecko 2 623 30-Apr-2023, 10:04 PM
Last Post: Tecko
  SnakeOil OS to NAA Steely 1 463 04-Apr-2023, 05:11 AM
Last Post: Snoopy8



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Something seriously wrong with Squeezeli...
Last Post: Coacharnold
21-Apr-2024 08:28 PM
» Replies: 1
» Views: 24
MP3 Not Playing
Last Post: davem
21-Apr-2024 10:41 AM
» Replies: 4
» Views: 88
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4852
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 103
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 693
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 199
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 100
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 240
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 63
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 92

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.