[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 and DNS davem 0 212 23-May-2024, 08:47 AM
Last Post: davem
  snakeoil always refuse connecting from vnc viewer clark8888 2 769 15-Oct-2023, 10:37 AM
Last Post: clark8888
  Rpi4+AlloDigiOne sig. Snakeoil os installation problem Luke 38 13 3,170 06-Sep-2023, 07:36 AM
Last Post: agent_kith
  [SOLVEDAdapting Snakeoil for general media streaming patricia1066 9 1,738 22-Jul-2023, 07:35 AM
Last Post: agent_kith
  Equalizer for LMS/Snakeoil Tecko 2 980 30-Apr-2023, 10:04 PM
Last Post: Tecko



Users browsing this thread:
9 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5799
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
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.