You are not logged in.
I have a laptop running Arch Linux. I recently purchased an O2 Joggler, and installed Ubuntu Netbook Remix on a USB drive for it (AWESOME, btw). My idea was to use the joggler as a remote control for my laptop, which is often running MPD to listen to my music collect (I'm also using it for light browser etc.)
However, my setup just now isn't allowing me this. Here are some configs that will hopefully help the diagnosis ![]()
mpd.conf:
music_directory "/home/iain/Music" # Your music dir.
playlist_directory "/home/iain/.mpd/playlists"
db_file "/home/iain/.mpd/db"
log_file "/home/iain/.mpd/mpd.log"
error_file "/home/iain/.mpd/mpd.error"
pid_file "/home/iain/.mpd/mpd.pid"
state_file "/home/iain/.mpd/mpdstate"
user "iain"
port "6666"
bind_to_address "any"
#password "mpd@read,add,control"
default_permissions "read,add,control"
log_level "verbose"
audio_output {
type "alsa"
name "Sound Card"
options "dev=dmixer"
device "plug:dmixer"
format "48000:16:2"
mixer_type "alsa"
# mixer_device "default"
# mixer_control "Alpha"
#auto_resample "no"
}/etc/hosts.allow:
#
# /etc/hosts.allow
#
#ALL:ALL:ALL
MPD: ALL
# End of file/etc/hosts.deny:
#
# /etc/hosts.deny
#
ALL: ALL: DENY
# End of fileI'm trying to connect FROM my joggler to my laptop which is running MPD. The laptop's local IP is 192.168.1.70.
I know how awesomely useful the Arch user on these forums are (I've need the help A LOT in the past), so I'm hoping one of you clever lot can help me holmes' this problem.
Thanks,
pritchard92
Last edited by pritchard92 (2010-05-25 14:35:16)
http://kneedeepinnix.wordpress.com - A linux blog
Offline
set up ssh or avahi to connect to your laptop to control the mpd. or use an mpd client.
Last edited by kgas (2010-05-23 00:36:12)
Offline
Well, I thought it was possible solely through MPD and a client on another device, such as Sonata or GMPC?
http://kneedeepinnix.wordpress.com - A linux blog
Offline
How are you connecting to your laptop from the other device? With sonata or similar, have you setup the connection preferences so that your host=192.168.1.70 and your port=6666?
Offline
I was using the IP and the port correctly. However, it seems that the problems is stupidly simple.. iptables was running on the laptop when I thought it wasnt :S Silly me! Can someone give me an indication of what to add my my iptables config file to allow access to MPD when the firewall is running?
http://kneedeepinnix.wordpress.com - A linux blog
Offline
A hint to open a port
iptables -A INPUT -p tcp -m tcp -s 0/0 --dport <portno> -j ACCEPT. with the port number for eg 8600 is used to open up the mpd streaming for me.(in arno firewall script you can set these in custom.rules. The rules may differ in your case. A search will give tons of options.
Offline
Ill give that a go next time I'm at my main machine - thank you ![]()
http://kneedeepinnix.wordpress.com - A linux blog
Offline
Worked a charm, thank you!
http://kneedeepinnix.wordpress.com - A linux blog
Offline