Error message

  • Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in include_once() (line 1389 of /Library/Server/Web/Data/Sites/Documents/jonathansblog/includes/bootstrap.inc).
  • Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in require_once() (line 341 of /Library/Server/Web/Data/Sites/Documents/jonathansblog/includes/module.inc).

Warning message

The service having id "facebook_widget" is missing, reactivate its module or save again the list of services.

networking

Networking with the Raspberry Pi - Apple File Protocol changing its name

When I installed my first Raspberry Pi and enabled the Apple File Protocol (AFP) so that I could connect to its file system from my Mac, all was well. It defaulted to using it's own name "raspberrypi"

However, with two Raspberry Pi's on the same network, I needed to identify them individually.

All that is required is a file to be added to the file:

/etc/avahi/services/afpd.service

If you don't have one of those, simply create it:

sudo pico /etc/avahi/services/afpd.service

and copy and paste the following:

 



   RPi-0
   
      _afpovertcp._tcp
     
548    

 

In the line beginning:   <name replace-wildcards="yes">%h</name>
replace the %h with the unique name you have decided upon:
 
<name replace-wildcards="yes">RPi-0</name>
 
 
Subscribe to RSS - networking