I've been running Alpha 5 for some time now and I've never had the opportunity to tackle airplay with my iphone 5. Currently airplay is turned on on the XBMC xbian, the iphone 5 is on wifi (as well as controlling the remote for xbmc) but no icon. I'm not sure how to approach this as my airfoil on my mac can't pick up the airplay from XBMC either.
What's the next approach?
dbus and avahi-daemon are running on the system ?
service dbus status ; service avahi-daemon status
I'm going to look up how to tell if those are on... Wouldn't they be on automatically if airplay is turned on in XMBC?
(16th Apr, 2013 10:21 PM)demarco Wrote: [ -> ]I'm going to look up how to tell if those are on... Wouldn't they be on automatically if airplay is turned on in XMBC?
should be.
just ssh to console and ps aux and lookup for avahi-daemon and dbus-daemon
important is, these needs to be up and running BEFORE xbmc starts. xbmc will not recheck and if they are not running, xbmc will turn off the features.
mk
Ok, so i did ps aux, and by the looks of this... neither are running, unless I should've done something more after typing ps aux. I'm having trouble understanding if I'm doing this right... What should I do next?
Terminal
xbian@xbian ~ $ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 2100 712 ? Ss 11:21 0:01 init [2]
root 2 0.0 0.0 0 0 ? S 11:21 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 11:21 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 11:21 0:00 [kworker/0:0H]
root 6 0.0 0.0 0 0 ? S 11:21 0:00 [kworker/u:0]
root 7 0.0 0.0 0 0 ? S< 11:21 0:00 [kworker/u:0H]
root 8 0.0 0.0 0 0 ? S< 11:21 0:00 [khelper]
root 9 0.0 0.0 0 0 ? S 11:21 0:00 [kdevtmpfs]
root 10 0.0 0.0 0 0 ? S< 11:21 0:00 [netns]
root 11 0.0 0.0 0 0 ? S 11:21 0:00 [bdi-default]
root 12 0.0 0.0 0 0 ? S< 11:21 0:00 [kblockd]
root 13 0.0 0.0 0 0 ? S 11:21 0:00 [khubd]
root 14 0.0 0.0 0 0 ? S< 11:21 0:00 [rpciod]
root 16 0.0 0.0 0 0 ? S 11:21 0:00 [khungtaskd]
root 17 0.0 0.0 0 0 ? S 11:21 0:00 [kswapd0]
root 18 0.0 0.0 0 0 ? S 11:21 0:00 [fsnotify_mark]
root 19 0.0 0.0 0 0 ? S< 11:21 0:00 [nfsiod]
root 20 0.0 0.0 0 0 ? S< 11:21 0:00 [crypto]
root 28 0.0 0.0 0 0 ? S< 11:21 0:00 [kthrotld]
root 29 0.3 0.0 0 0 ? S< 11:21 0:05 [VCHIQ-0]
root 30 0.0 0.0 0 0 ? S< 11:21 0:00 [VCHIQr-0]
root 31 0.0 0.0 0 0 ? S< 11:21 0:00 [VCHIQs-0]
root 32 0.0 0.0 0 0 ? S< 11:21 0:00 [dwc_otg]
root 33 0.0 0.0 0 0 ? S< 11:21 0:00 [DWC Notificati
root 35 0.0 0.0 0 0 ? S< 11:21 0:00 [deferwq]
root 36 0.0 0.0 0 0 ? S 11:21 0:00 [kworker/u:2]
root 41 2.4 0.0 0 0 ? S 11:21 0:38 [mmcqd/0]
root 43 0.0 0.0 0 0 ? S< 11:21 0:00 [kworker/0:1H]
root 141 0.0 0.0 0 0 ? S 11:21 0:01 [jbd2/mmcblk0p2
root 142 0.0 0.0 0 0 ? S< 11:21 0:00 [ext4-dio-unwri
root 143 0.0 0.0 0 0 ? S 11:21 0:00 [scsi_eh_0]
root 144 0.0 0.0 0 0 ? S 11:21 0:00 [usb-storage]
root 185 0.0 0.0 0 0 ? S 11:21 0:00 [kworker/0:2]
root 186 0.1 0.3 3556 1416 ? Ss 11:21 0:02 /rootfs/usr/bin
root 299 0.0 0.3 2952 1228 ? Ss 11:21 0:00 udevd --daemon
root 326 0.0 0.0 0 0 ? S 11:21 0:00 [flush-179:0]
root 1708 0.0 0.1 1704 500 ? S 11:21 0:00 /usr/sbin/ifplu
root 1766 0.0 0.1 1704 492 ? S 11:21 0:00 /usr/sbin/ifplu
root 1768 0.0 0.2 2300 780 ? Ss 11:21 0:00 /sbin/rpcbind -
statd 1806 0.0 0.3 2620 1212 ? Ss 11:21 0:00 /sbin/rpc.statd
root 1822 0.0 0.1 2740 588 ? Ss 11:21 0:00 /usr/sbin/rpc.i
root 1999 0.0 0.5 4852 1976 ? Ss 11:21 0:00 dhclient -1 -v
root 2096 0.5 0.2 3748 768 ? Ss 11:21 0:07 /usr/sbin/cron
104 2154 0.0 0.3 3268 1256 ? Ss 11:21 0:00 /usr/bin/dbus-d
root 2259 0.0 0.1 2016 608 ? Ss 11:21 0:00 /usr/local/sbin
root 2288 0.0 1.2 17992 4728 ? Ssl 11:21 0:00 /usr/sbin/Netwo
root 2303 0.0 0.8 23756 3412 ? Sl 11:21 0:00 /usr/lib/policy
root 2321 0.0 0.6 7064 2660 ? S 11:21 0:00 /usr/sbin/modem
ntp 2363 0.0 0.4 5508 1716 ? Ss 11:21 0:00 /usr/sbin/ntpd
root 2437 0.0 0.2 6168 1056 ? Ss 11:21 0:00 /usr/sbin/sshd
root 2485 0.0 0.1 2836 620 ? S 11:21 0:00 /bin/bash /etc/
root 2486 0.0 0.1 1652 540 ? Ss 11:21 0:00 startpar -f --
root 2488 0.0 0.1 2836 664 ? S 11:21 0:00 /bin/bash /etc/
xbian 2489 18.5 13.0 353596 50112 ? SLl 11:21 4:47 /usr/local/lib/
root 2516 0.0 0.9 26480 3716 ? Sl 11:21 0:00 /usr/sbin/conso
root 2605 0.0 0.4 1692 1660 ? SLs 11:22 0:00 /usr/sbin/watch
root 2623 0.0 0.2 3700 792 tty1 Ss+ 11:22 0:00 /sbin/getty 384
root 2624 0.0 0.2 3700 792 tty2 Ss+ 11:22 0:00 /sbin/getty 384
root 2625 0.0 0.2 3700 792 tty3 Ss+ 11:22 0:00 /sbin/getty 384
root 2626 0.0 0.2 3700 792 tty4 Ss+ 11:22 0:00 /sbin/getty 384
root 2627 0.0 0.2 3700 792 tty5 Ss+ 11:22 0:00 /sbin/getty 384
root 2628 0.0 0.2 3700 792 tty6 Ss+ 11:22 0:00 /sbin/getty 384
root 2629 0.0 0.1 2020 724 ? Ss+ 11:22 0:00 /sbin/getty -L
root 2630 0.0 0.2 2948 932 ? S 11:22 0:00 udevd --daemon
root 2631 0.0 0.2 2948 932 ? S 11:22 0:00 udevd --daemon
root 2632 0.0 0.0 0 0 ? S 11:22 0:00 [VCHIQka-0]
root 2637 0.0 0.9 22788 3480 ? Sl 11:22 0:00 /usr/lib/udisks
root 2638 0.0 0.2 6140 784 ? S 11:22 0:00 udisks-daemon:
root 6628 0.1 0.8 9844 3184 ? Ss 11:40 0:00 sshd: xbian [pr
xbian 6635 0.0 0.4 9844 1636 ? S 11:41 0:00 sshd: xbian@pts
xbian 6636 0.2 0.8 7816 3384 pts/0 Ss 11:41 0:00 -bash
root 7198 0.0 0.0 0 0 ? S 11:41 0:00 [kworker/0:0]
xbian 7438 0.0 0.2 6064 1136 pts/0 R+ 11:47 0:00 ps aux
looks like dbus is running, but avahi-daemon not. avahi is the one, who is providing the info to network, that you have airplay available on the host.
do a "service avahi-daemon start"
what you get ?
I have the same problem on 2 similar Pi, XBMC 12.2 and 1.0.5 alpha
Can't do a "service avahi-daemon start" get a "-bash: service: command not found"
Airplay start first time I boot a new system an then never re-appears..... i a ps aux but my screen looks entirely ifferent.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.5 0.1 2100 712 ? Ss 20:02 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 20:02 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 20:02 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/0:0]
root 5 0.0 0.0 0 0 ? S< 20:02 0:00 [kworker/0:0H]
root 6 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/u:0]
root 7 0.0 0.0 0 0 ? S< 20:02 0:00 [kworker/u:0H]
root 8 0.0 0.0 0 0 ? S< 20:02 0:00 [khelper]
root 9 0.0 0.0 0 0 ? S 20:02 0:00 [kdevtmpfs]
root 10 0.0 0.0 0 0 ? S< 20:02 0:00 [netns]
root 11 0.0 0.0 0 0 ? S 20:02 0:00 [bdi-default]
root 12 0.0 0.0 0 0 ? S< 20:02 0:00 [kblockd]
root 13 0.0 0.0 0 0 ? S 20:02 0:00 [khubd]
root 14 0.0 0.0 0 0 ? S< 20:02 0:00 [rpciod]
root 15 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/0:1]
root 16 0.0 0.0 0 0 ? S 20:02 0:00 [khungtaskd]
root 17 0.0 0.0 0 0 ? S 20:02 0:00 [kswapd0]
root 18 0.0 0.0 0 0 ? S 20:02 0:00 [fsnotify_mark]
root 19 0.0 0.0 0 0 ? S< 20:02 0:00 [nfsiod]
root 20 0.0 0.0 0 0 ? S< 20:02 0:00 [crypto]
root 28 0.0 0.0 0 0 ? S< 20:02 0:00 [kthrotld]
root 29 0.1 0.0 0 0 ? S< 20:02 0:00 [VCHIQ-0]
root 30 0.0 0.0 0 0 ? S< 20:02 0:00 [VCHIQr-0]
root 31 0.0 0.0 0 0 ? S< 20:02 0:00 [VCHIQs-0]
root 32 0.0 0.0 0 0 ? S< 20:02 0:00 [dwc_otg]
root 33 0.0 0.0 0 0 ? S< 20:02 0:00 [DWC Notificati
root 34 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/u:1]
root 35 0.0 0.0 0 0 ? S< 20:02 0:00 [deferwq]
root 36 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/u:2]
root 42 0.8 0.0 0 0 ? S 20:02 0:01 [mmcqd/0]
root 43 0.0 0.0 0 0 ? S< 20:02 0:00 [kworker/0:1H]
root 141 0.0 0.0 0 0 ? S 20:02 0:00 [jbd2/mmcblk0p2
root 142 0.0 0.0 0 0 ? S< 20:02 0:00 [ext4-dio-unwri
root 183 0.9 0.3 3556 1416 ? Ss 20:02 0:01 /rootfs/usr/bin
root 296 0.1 0.2 2736 1092 ? Ss 20:02 0:00 udevd --daemon
root 427 0.0 0.2 2732 824 ? S 20:02 0:00 udevd --daemon
root 432 0.0 0.0 0 0 ? S 20:02 0:00 [flush-179:0]
root 1510 0.1 0.1 1704 508 ? S 20:02 0:00 /usr/sbin/ifplu
root 1542 0.0 0.1 1704 492 ? S 20:02 0:00 /usr/sbin/ifplu
root 1543 0.1 0.0 0 0 ? S 20:02 0:00 [RTKTHREAD]
root 1544 0.0 0.0 0 0 ? S 20:02 0:00 [kworker/0:2]
root 1559 0.1 0.3 5588 1248 ? Ss 20:02 0:00 /sbin/wpa_suppl
root 1592 0.0 0.1 1704 484 ? S 20:02 0:00 /usr/sbin/ifplu
root 1613 0.0 0.2 2300 780 ? Ss 20:02 0:00 /sbin/rpcbind -
statd 1650 0.0 0.3 2620 1208 ? Ss 20:02 0:00 /sbin/rpc.statd
root 1674 0.0 0.1 2740 588 ? Ss 20:02 0:00 /usr/sbin/rpc.i
root 1863 0.0 0.1 3748 764 ? Ss 20:02 0:00 /usr/sbin/cron
104 1933 0.0 0.3 3268 1212 ? Ss 20:02 0:00 /usr/bin/dbus-d
ntp 2071 0.0 0.5 5548 1976 ? Ss 20:02 0:00 /usr/sbin/ntpd
root 2110 0.0 0.1 2016 608 ? Ss 20:02 0:00 /usr/local/sbin
root 2230 0.0 0.1 2836 624 ? S 20:02 0:00 /bin/bash /etc/
root 2231 0.0 0.1 1652 540 ? Ss 20:02 0:00 startpar -f --
root 2233 0.0 0.1 2836 668 ? S 20:02 0:00 /bin/bash /etc/
xbian 2234 21.5 7.3 252152 28244 ? S<l 20:02 0:31 /usr/local/lib/
root 2261 0.1 0.9 27484 3712 ? Sl 20:03 0:00 /usr/sbin/conso
root 2328 0.1 0.8 22600 3312 ? Sl 20:03 0:00 /usr/lib/policy
root 2341 0.0 0.5 4852 1972 ? Ss 20:03 0:00 dhclient -1 -v
root 2366 0.0 0.0 0 0 ? S 20:03 0:00 [VCHIQka-0]
root 2372 0.1 0.8 14492 3180 ? Sl 20:03 0:00 /usr/lib/udisks
root 2373 0.0 0.2 6140 784 ? S 20:03 0:00 udisks-daemon:
root 2428 0.0 0.4 1692 1660 ? SLs 20:03 0:00 /usr/sbin/watch
root 2488 0.0 0.2 6168 1048 ? Ss 20:03 0:00 /usr/sbin/sshd
root 2500 0.0 0.2 3700 792 tty1 Ss+ 20:03 0:00 /sbin/getty 384
root 2501 0.0 0.2 3700 792 tty2 Ss+ 20:03 0:00 /sbin/getty 384
root 2502 0.0 0.2 3700 792 tty3 Ss+ 20:03 0:00 /sbin/getty 384
root 2503 0.0 0.2 3700 792 tty4 Ss+ 20:03 0:00 /sbin/getty 384
root 2504 0.0 0.2 3700 792 tty5 Ss+ 20:03 0:00 /sbin/getty 384
root 2505 0.0 0.2 3700 792 tty6 Ss+ 20:03 0:00 /sbin/getty 384
root 2506 0.0 0.1 2020 724 ? Ss+ 20:03 0:00 /sbin/getty -L
root 2507 0.0 0.2 2732 796 ? S 20:03 0:00 udevd --daemon
root 2529 0.3 0.8 9804 3180 ? Ss 20:03 0:00 sshd: xbian [pr
xbian 2536 0.1 0.4 9804 1624 ? S 20:03 0:00 sshd: xbian@pts
xbian 2537 0.8 0.8 7820 3396 pts/0 Ss 20:03 0:00 -bash
xbian 2810 0.0 0.2 6064 1136 pts/0 R+ 20:05 0:00 ps aux
This issue started recently, 2 weeks ago until that time it worked perfectly :-(
Besides that Xbian works great... thanks for a great product
Jan
>Can't do a "service avahi-daemon start" get a "-bash: service: command not found"
you have to run in sudo :
sudo service avahi-daemon start
pwd : raspberry
Sorry off course
This is what I get
^[[M#M0xbian@xbian ~ $ sudo service avahi-daemon start
[sudo] password for xbian:
[....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon[....] avahi-daemon disabl [warncause there is a unicast .local domain ... (warning).
Still no airplay :-(
JanDane,
this is as well fixed in beta1, to solve it manually, open terminal, start
"sudo nano /etc/default/avahi-daemon"
change AVAHI_DAEMON_DETECT_LOCAL=1 to AVAHI_DAEMON_DETECT_LOCAL=0
save the file with ctrl+x, confirm and start again with known " sudo service avahi-daemon start"
mk
Thanks :-) but it seems I am doing something wrong. I will just hold my impatience until beta1
Cheers
(10th May, 2013 12:51 AM)JanDane Wrote: [ -> ]Thanks :-) but it seems I am doing something wrong. I will just hold my impatience until beta1
Cheers
ok.
log into RPi.
run:
sudo -i
echo "AVAHI_DAEMON_DETECT_LOCAL=0" > /etc/default/avahi-daemon
service avahi-daemon start
I also have issues with airplay. dbus is running, so is avahi. Upnp works. reinstalled xbian twice and updated it. tried removing the switch and connecting it straight to the router. i also activated multicast streams and opened all airplay related ports. what also doesnt work is the "find xbmc" feature in the xbmcRemote iOS app. this also uses zeroconf.
install "nmap" to a remote machine (any linux, macos) and do "nmap ip_of_xbian -p 1-10000" and post
Nmap scan report for 192.168.0.103
Host is up (0.0052s latency).
Not shown: 9996 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
1850/tcp open unknown
8080/tcp open http-proxy
MAC Address: