OLD: mpdPup - Simplified MPD Music Server/Jukebox - v0.9.2
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
After all this bad luck I tried now to connect via Gnome from a Windows PC.
error code 13 or error code 12. No connection poosible.
So, I GUESS...I need to do something about the IP-Adress and / or the Router-setting. Any hints are highly welcome.
On The IP...I believe that it should got its IP from the DHCP-Server in the router...nevertheless I read that 127.0.0.1 is the default config ?
error code 13 or error code 12. No connection poosible.
So, I GUESS...I need to do something about the IP-Adress and / or the Router-setting. Any hints are highly welcome.
On The IP...I believe that it should got its IP from the DHCP-Server in the router...nevertheless I read that 127.0.0.1 is the default config ?
It seems that your machine doesn't have IP address yet as 127.0.0.1 is normally a local loopback address.multiblitz wrote:After all this bad luck I tried now to connect via Gnome from a Windows PC.
error code 13 or error code 12. No connection poosible.
So, I GUESS...I need to do something about the IP-Adress and / or the Router-setting. Any hints are highly welcome.
On The IP...I believe that it should got its IP from the DHCP-Server in the router...nevertheless I read that 127.0.0.1 is the default config ?
Can you check the output of "ifconfig" command ? or try ping to your router ?
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
Ok...a little progress report:
- I configured a NAS and tried to connect to the NAS during setup. No success.
- I was near to give up, rebooted...clicked around and somehow saw a short window of Winx which offered general help.
Clicked on this, got a white Window with some topics like internet connection...clicked there and saw that the ip adress is still indeed 127.0.0.1
Clicked the setup wizard for ethernet, got ip adress from DHCP Server...
...and AFTER all of that started the MPD-Setup-Dialogue with all the nice windows which ask you to give ip-adress and user of the server.
This time: Success !!! It saw the directories, could connect to the WHS2011 Server.
Rest of the config worked smoothly.
Saved & Rebooted.
CLI comes up, says that i am logged in, but nothing more...nothing about MPD has started or anything.
PC has now a DHCP-Adress from the router. Checked that.
Tried to connect with Gnome. Nothing. Tunes, Tunes.Local nor actual Ip-adress worked.
- I configured a NAS and tried to connect to the NAS during setup. No success.
- I was near to give up, rebooted...clicked around and somehow saw a short window of Winx which offered general help.
Clicked on this, got a white Window with some topics like internet connection...clicked there and saw that the ip adress is still indeed 127.0.0.1
Clicked the setup wizard for ethernet, got ip adress from DHCP Server...
...and AFTER all of that started the MPD-Setup-Dialogue with all the nice windows which ask you to give ip-adress and user of the server.
This time: Success !!! It saw the directories, could connect to the WHS2011 Server.
Rest of the config worked smoothly.
Saved & Rebooted.
CLI comes up, says that i am logged in, but nothing more...nothing about MPD has started or anything.
PC has now a DHCP-Adress from the router. Checked that.
Tried to connect with Gnome. Nothing. Tunes, Tunes.Local nor actual Ip-adress worked.
Glad we're making progress, but that's really weird that DHCP didn't automatically work for you, first time I've seen that. Glad that was also the root cause for Windows 7 not working. Was the machine not plugged into the network during bootup?
By 'Gnome' I assume you mean GMPC - be careful how you use that word in the Linux world, there are a million applications named 'Gnome something or other'.
127.0.0.1 would make it connect to the same PC GMPC is running on - you want it to connect to the mpdPup machine.
tunes.local will only work if you've installed bonjour on your Windows system - it automatically installs with iTunes and some other Apple software (there is a link to it in the first post). Otherwise you need to use the IP address - you can get that by typing 'ifconfig' on mpdPup as i2k noted, it will be buried in the output so you'll need to dig a bit. It might be pretty easy to find from your router as well, depending on how many machines are on your network.
edit - I see you're saying the actual IP didn't work in gmpc - not sure what's going on with that, possibly the windows firewall?
By 'Gnome' I assume you mean GMPC - be careful how you use that word in the Linux world, there are a million applications named 'Gnome something or other'.
127.0.0.1 would make it connect to the same PC GMPC is running on - you want it to connect to the mpdPup machine.
tunes.local will only work if you've installed bonjour on your Windows system - it automatically installs with iTunes and some other Apple software (there is a link to it in the first post). Otherwise you need to use the IP address - you can get that by typing 'ifconfig' on mpdPup as i2k noted, it will be buried in the output so you'll need to dig a bit. It might be pretty easy to find from your router as well, depending on how many machines are on your network.
edit - I see you're saying the actual IP didn't work in gmpc - not sure what's going on with that, possibly the windows firewall?
@multiblitz
So now you're sure that your mpd is properly conencted to LAN. I suspect that WHS share is not properly mounted to "/mnt/music" directory, so mpd failed to start as it cannot find the music directory.
First, check if mpd started and load it's library with your songs. Type "mpc listall", you should see the list of your songs.
Otherwise, check if the your WHS share folder properly mounted or not by typing "ls /mnt/music". If it's OK you should see the folders/files on that WHS share.
If the above is not OK, something is wrong with fstab file so your WHS share is not mounted properly, so you need to check the content of that particular file. Now download putty program and install it on your Windows machine. Use it to open SSH connection to your mpd server by using the mpd's IP address.
After entering the user name (root) and password, run this command "cat /etc/fstab"on the command prompt. Capture the output and post it here so we can help to troubleshoot.
good luck
@idolse : the DHCP problem as mentioned by multiblitz is happened to me once. I need to start the network wizard before it got the DHCP address. I done other installation with fresh USB / CF (don't remember which one) and never experience it again.
So now you're sure that your mpd is properly conencted to LAN. I suspect that WHS share is not properly mounted to "/mnt/music" directory, so mpd failed to start as it cannot find the music directory.
First, check if mpd started and load it's library with your songs. Type "mpc listall", you should see the list of your songs.
Otherwise, check if the your WHS share folder properly mounted or not by typing "ls /mnt/music". If it's OK you should see the folders/files on that WHS share.
If the above is not OK, something is wrong with fstab file so your WHS share is not mounted properly, so you need to check the content of that particular file. Now download putty program and install it on your Windows machine. Use it to open SSH connection to your mpd server by using the mpd's IP address.
After entering the user name (root) and password, run this command "cat /etc/fstab"on the command prompt. Capture the output and post it here so we can help to troubleshoot.
good luck
@idolse : the DHCP problem as mentioned by multiblitz is happened to me once. I need to start the network wizard before it got the DHCP address. I done other installation with fresh USB / CF (don't remember which one) and never experience it again.
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
Guys, your support is highly appreciated, thanks a lot.
I feel really lost.
To answer your questions: The PC had its LAN-Connection during setup. Nothing has change.
I put the IP-Adress into GMPC manually. Nothing, eventhough I can see the PC with this Ip-Adress in the Router.
i2k:
Thanks for the hints. Tried that with no success:
- mpc listall: Connection Refused.
- ls /mnt/music: Nothing comes back
- Putty: Screen opens, no reaction on anything, after 5 -10 sec: Cennection terminated.
I feel really lost.
To answer your questions: The PC had its LAN-Connection during setup. Nothing has change.
I put the IP-Adress into GMPC manually. Nothing, eventhough I can see the PC with this Ip-Adress in the Router.
i2k:
Thanks for the hints. Tried that with no success:
- mpc listall: Connection Refused.
- ls /mnt/music: Nothing comes back
- Putty: Screen opens, no reaction on anything, after 5 -10 sec: Cennection terminated.
Just to confirm, you have a windows pc and a separate "pc" that has mpdpup installed or booting from USB? Both with separate LAN connections etc?
Apologies for the silly question but just following along and getting a touch confused.
For clarity can we call the windows machine the main pc and the Linux mpdpup machine something other than pc please? The WHS 2011 is self explanatory. And I have one. Not setup for music though. Mebbe I should try!
Apologies for the silly question but just following along and getting a touch confused.
For clarity can we call the windows machine the main pc and the Linux mpdpup machine something other than pc please? The WHS 2011 is self explanatory. And I have one. Not setup for music though. Mebbe I should try!
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
i2k's guess is right - mpd isn't starting because the WHS server share isn't being mounted - if it was you would show something under /mnt/music and mpd would be starting.
You need to figure out what's causing the mount to fail - you could tell us what you see on the last line if you type:
Also the results of this command:
Odds are something there was defined incorrectly.
Either that or DHCP is failing for you every time, and if it's not joining the network then it definitely won't be able to mount the share. I'd set up a static IP when the setup wizard asks you whether you want to do that, it would at least eliminate that variable.
Edit - after re-reading your last post where you collected stats for i2k, I'm 90% sure that DHCP is failing every time for you. Wish I knew what the cause was, but the most reliable fix will be to set a static IP, which the setup wizard will allow you to do. If you're at the cli just type 'startx' and the GUI wizard will launch automatically with Xwindows.
You need to figure out what's causing the mount to fail - you could tell us what you see on the last line if you type:
Code: Select all
cat /etc/fstab
Code: Select all
mount -a
Either that or DHCP is failing for you every time, and if it's not joining the network then it definitely won't be able to mount the share. I'd set up a static IP when the setup wizard asks you whether you want to do that, it would at least eliminate that variable.
Edit - after re-reading your last post where you collected stats for i2k, I'm 90% sure that DHCP is failing every time for you. Wish I knew what the cause was, but the most reliable fix will be to set a static IP, which the setup wizard will allow you to do. If you're at the cli just type 'startx' and the GUI wizard will launch automatically with Xwindows.
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
I am back at home and want to try to get it to work this weekend...so, started to enter the static Ip as suggested.
in MPDwizard"save and exit"
under winx, told him to reboot
After reboot: No connection, static IP-Adressed NOT saved...so, how do I get him to remember ?
After reboot:
mount - a: network not reachable
After I manually entered the ip-adress /(which will get loss after next reboot): no return.
in MPDwizard"save and exit"
under winx, told him to reboot
After reboot: No connection, static IP-Adressed NOT saved...so, how do I get him to remember ?
After reboot:
mount - a: network not reachable
After I manually entered the ip-adress /(which will get loss after next reboot): no return.
The static IP address is saved in a text file. It's stored under /etc/network/interfaces/<mac address>.conf.
At this point all I can assume is you have a motherboard with very poor Linux support. What specific board are you using? Your first post mentioned the chipset and the CPU, but not the actual board...
At this point all I can assume is you have a motherboard with very poor Linux support. What specific board are you using? Your first post mentioned the chipset and the CPU, but not the actual board...
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
This is a Asrock Z68 Pro3 Gen3 Board...updated the bios...no success...
So, I finally took an old Via Board out of the shelf....no problems ! Even MPad works nicely. Wow.
Only thing: No music yet...I think there was something written about that it is by defoult muted ? Not sure what to do, need to search again...Input is intp xmos with BIII-DAC behind it....cant wait to listen to it and see how it perfroms against W7/jriver...
So, I finally took an old Via Board out of the shelf....no problems ! Even MPad works nicely. Wow.
Only thing: No music yet...I think there was something written about that it is by defoult muted ? Not sure what to do, need to search again...Input is intp xmos with BIII-DAC behind it....cant wait to listen to it and see how it perfroms against W7/jriver...
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
Found the unmute Avise...Post nö 2...Shame on me....
everything Works like a Charme...
Sound...Just the first initial impression....very natural, but a bit less transparent than what i am used to....some air is missing...i guess i need to go immediately into the tweaker corner and start to work on the tweaks you guys mentioned.
Besides that, the sound is very natural, very organic....the opposite of technical...some would say analogue I guess...but for tht I need more air and more attack....so let get into tuning tomorrow....
I am using an old cmp via board with an old dual core and the sotm usb card...normal silent psu from silverstone, which will be removed tomorrow against a lt1084 plus miniitx psu...
which board works best with a modern i5 cpu ?
everything Works like a Charme...
Sound...Just the first initial impression....very natural, but a bit less transparent than what i am used to....some air is missing...i guess i need to go immediately into the tweaker corner and start to work on the tweaks you guys mentioned.
Besides that, the sound is very natural, very organic....the opposite of technical...some would say analogue I guess...but for tht I need more air and more attack....so let get into tuning tomorrow....
I am using an old cmp via board with an old dual core and the sotm usb card...normal silent psu from silverstone, which will be removed tomorrow against a lt1084 plus miniitx psu...
which board works best with a modern i5 cpu ?
@RayCTech, good stuff - that seems to corroborate some of the work phofman was doing on one of the other boards - curious to hear how things go if you build the kernel to support larger numbers - still debating whether I should make that level of kernel tweaking a priority.
@multiblitz, glad the older board is working better. Not sure what to tell you in terms of board recommendations - if you read back through the thread a couple different boards are mentioned. The most popular board is the Alix, but that's an entirely different class of CPU vs. what you seem to be after.
Regarding tweaks, there are really only three that have been discussed that multiple users have gotten behind. Tweaking the buffer time and period time in mpd and changing the usb audio nrpacks setting. Add these two lines to the mpd.conf sound output configuration for buffer & period (at the end of the file)
You can change nrpacks by issuing the following commands:
But to make that permanent you need to add the following to /etc/modprobe.d/alsa-base.conf
@multiblitz, glad the older board is working better. Not sure what to tell you in terms of board recommendations - if you read back through the thread a couple different boards are mentioned. The most popular board is the Alix, but that's an entirely different class of CPU vs. what you seem to be after.
Regarding tweaks, there are really only three that have been discussed that multiple users have gotten behind. Tweaking the buffer time and period time in mpd and changing the usb audio nrpacks setting. Add these two lines to the mpd.conf sound output configuration for buffer & period (at the end of the file)
Code: Select all
period_time "8192"
buffer_time "131072"
Code: Select all
modprobe -r snd-usb-audio
modprobe snd-usb-audio nrpacks=20
Code: Select all
options snd-usb-audio nrpacks=20
-
- Posts: 33
- Joined: Sat 28 Jul 2012, 17:52
I have modded the mpd.conf and alsa-base.conf as described here (THANKS A LOT Guys !!!!)...
Everything worked with nano like a charme. Result: Air, Power, Precison and Naturalness. The OS seems to disappear...each little Bios-Change becomes visible / audible...Each little characteristic of the recording is sudenly there and presented, there is no signature added...one rcording is warm and full and the next analytic etcetc.
So....mission achieved ?
Not yet. Now the hardware is on review. Currently am am running a Biostar's P4M900-M7 with an old Dual Core @ 1 ghz. Need to tune the memory which is running at 400 mhz, but the timings I have to look into.
On this board I see a couple of electrolytics which you be exchanged against Oscons...not sure If this board is worth the hassle.
On the Bench: The Z68, which is not working....wondering which I5 Boards you guys are using (RayCtech ?)...
An Intel 2550cc-Board is sitting and waiting to get tested...wondering if the here mentioned Asrock 525 is an older, but better alternative...
...and the Alix as well, which I will Mod, but where I am searching (not yet found) for a MINIPCI to PCI Adapter to use the fabulous sounding SOTM USB-Card which is powered directly by a discrete PSU....here I need to learn what the SSH-stuff is all about
PSU...today I will build my discrete 12V-PSU and will combine this with Minit-Itx...
Thanks a lot for this great work again ! Wich the right motherboard it is working like a dream !!! Would be good to get some of the after-glive-mods in the next release (like the unmute-thing, the performance-tweaks etc)
By the way: I assume a lot of you work with a NAS / Network...has anyone played around with the buffers of the network-card ?
Update:
I Started to install to the Intel 2500cc....Big Problems. Winx does not start...dhcp does not work...no mounting etc.
so, i guess, it would be the right thing to start to list the motherboards which really work with mpdpup and which dont...I tried now three and only one which you cant buy anymore works...
Everything worked with nano like a charme. Result: Air, Power, Precison and Naturalness. The OS seems to disappear...each little Bios-Change becomes visible / audible...Each little characteristic of the recording is sudenly there and presented, there is no signature added...one rcording is warm and full and the next analytic etcetc.
So....mission achieved ?
Not yet. Now the hardware is on review. Currently am am running a Biostar's P4M900-M7 with an old Dual Core @ 1 ghz. Need to tune the memory which is running at 400 mhz, but the timings I have to look into.
On this board I see a couple of electrolytics which you be exchanged against Oscons...not sure If this board is worth the hassle.
On the Bench: The Z68, which is not working....wondering which I5 Boards you guys are using (RayCtech ?)...
An Intel 2550cc-Board is sitting and waiting to get tested...wondering if the here mentioned Asrock 525 is an older, but better alternative...
...and the Alix as well, which I will Mod, but where I am searching (not yet found) for a MINIPCI to PCI Adapter to use the fabulous sounding SOTM USB-Card which is powered directly by a discrete PSU....here I need to learn what the SSH-stuff is all about
PSU...today I will build my discrete 12V-PSU and will combine this with Minit-Itx...
Thanks a lot for this great work again ! Wich the right motherboard it is working like a dream !!! Would be good to get some of the after-glive-mods in the next release (like the unmute-thing, the performance-tweaks etc)
By the way: I assume a lot of you work with a NAS / Network...has anyone played around with the buffers of the network-card ?
Update:
I Started to install to the Intel 2500cc....Big Problems. Winx does not start...dhcp does not work...no mounting etc.
so, i guess, it would be the right thing to start to list the motherboards which really work with mpdpup and which dont...I tried now three and only one which you cant buy anymore works...
It seems that a lot of hardware vendors don't spend much time on Linux compatibility, so choosing brand new boards with cutting edge chipsets can often bite you. Choosing boards based on older chipsets that are on long term support roadmaps is generally the safest route. Since MPD's hardware requirements are negligible there's nothing wrong with choosing tried & true older hardware.
I'm not sure if moving to a 3.0 kernel from 2.6.39 would help a lot with this situation, but it may since that's where new driver development is happening now.
The next release will have the latest Intel Graphics drivers, and the wizards will be able to do the tweaks mentioned earlier along with mpd buffer configuration. Beyond that there are a lot of bug fixes and the ability to install some php clients and GMPC. It looks like I'll still be defaulting to mpd 0.16.x though - I was just trialing 0.17.1 on my main system and I'm not very happy with it - lots of drop-outs and one or two instances where the audio devolved into static. I guess 0.17.x isn't quite ready for prime time. I might include an option where a user can swap between them though.
I'm not sure if moving to a 3.0 kernel from 2.6.39 would help a lot with this situation, but it may since that's where new driver development is happening now.
The next release will have the latest Intel Graphics drivers, and the wizards will be able to do the tweaks mentioned earlier along with mpd buffer configuration. Beyond that there are a lot of bug fixes and the ability to install some php clients and GMPC. It looks like I'll still be defaulting to mpd 0.16.x though - I was just trialing 0.17.1 on my main system and I'm not very happy with it - lots of drop-outs and one or two instances where the audio devolved into static. I guess 0.17.x isn't quite ready for prime time. I might include an option where a user can swap between them though.
For your reference, the boards I've tested :
Intel D410
MSI E350IA-E45
JW 2500
Issues discovered :
Intel D410
MSI E350IA-E45
JW 2500
Issues discovered :
- Graphic driver problem on the JW as mentioned by Idolse, not an issue for me as mostly I use CLI.
On one of them I had a problem with DHCP (between the Intel & MSI, I don't remember which one) and it only happened once and I was not able to reproduce the problem. The solution was to start the network config wizard.
On the MSI, I cannot use the CF-SATA adapter but booting from USB works just fine.
Last (?) Hardware Question
@idolse I saw that the motherboard you mentioned earlier in this thread: Intel D945GSEJT, is still for sale in my town. Is it a faster and or better alternative for the alix board? And do you know weither or not there are problems with saving playlists with this version of mpdpup or mpd? Kind regards: Toine