Firewall issues?

Firewall issues are fairly uncommon with the Raspberry Shake since the requirement is only to allow out-going traffic. This is because the Shake is responsible for initiating communications with the Raspberry Shake community’s server, not the other way around, where it then pushes the data to the server. But sometimes users have super-closed firewalls that prohibit any and all communication with the outside world. So, if you do not see your station appearing on the StationView map and suspect this is because of firewall permission issues, inform your system administrator of these details:

  1. Raspberry Shake community server IP: raspberryshakedata.com
  2. NTP program requires port 123 (UDP)
  3. Meta-Data is sent to the Raspberry Shake community server through port 55556 (TCP), once at system start-up
  4. Continuous seismic data is sent to the Raspberry Shake community server through port 55555 (TCP), in one second packets over a continuously open socket with the server
  5. And, if you want to be able to use Swarm to see data from other Raspberry Shakes on the AM network, you will need access to port 16032 (TCP) to successfully communicate with the Raspberry Shake community server.

How to manually change DNS

(Only necessary for really restricted networks - like those that will only allow you to use their DNS server)

  1. Edit /etc/resolvconf.conf and specify your name_server explicitly. For example,

    # Configuration for resolvconf(8)
    # See resolvconf.conf(5) for details
    
    resolv_conf=/etc/resolv.conf
    # If you run a local name server, you should uncomment the below line and
    # configure your subscribers configuration files below.
    #name_servers=127.0.0.1
    name_server=myawesome.dns.server
    
    # Mirror the Debian package defaults for the below resolvers
    # so that resolvconf integrates seemlessly.
    dnsmasq_resolv=/var/run/dnsmasq/resolv.conf
    pdnsd_conf=/etc/pdnsd.conf
    unbound_conf=/var/cache/unbound/resolvconf_resolvers.conf
    
  2. Reboot,

    $ sudo reboot
    
  3. Check that the new nameserver appears at /etc/resolv.conf

Warning

At /etc/resolvconf.conf the DNS is denoted by “name_server”, at /etc/resolv.conf is appears as “nameserver”

How to manually change NTP Server

(Only necessary for really restricted networks - like those that will only allow you to use their NTP server)

You can set the NTP server(s) to use in the file /etc/ntp.conf, in the section specifying “server ...” List them in order of preference to use. You generally want more than one.