Difference between revisions of "Database/Map/Server"

From Open Maps wiki
Jump to: navigation, search
(RPi side)
(RPi side)
Line 21: Line 21:
 
# [http://www.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!]
 
# [http://www.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!]
 
# '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]'''
 
# '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]'''
 
+
# dnsmarsq script logging...
 +
[[File:logging_dhcp.png]]
 
ended up using dnsmasq for DNS and DHCP.  Setting DNS forward IP to local for captive portal setup
 
ended up using dnsmasq for DNS and DHCP.  Setting DNS forward IP to local for captive portal setup
  

Revision as of 10:50, 11 February 2015

Client Side

extract the location client-side with EXIF-JS

RPi side

Tutorial for mapserver hosting OSM

RPi Mapserver Setup

works great. Then

  1. uninstall apache
  2. install Nginx instead
  3. now set up PHP with fastCGI
  4. set up mapserv
  5. add mapserv to cache
  6. set up AP with udhcpd
  7. edimax version of hostapd
  8. captive portal setup!!
  9. but with iptables command from here, since the others are broken
  10. dnsmarsq script logging...

Logging dhcp.png ended up using dnsmasq for DNS and DHCP. Setting DNS forward IP to local for captive portal setup


some popup mehods

For Online

beautiful Stamen Design map that can be used

Map example1.png
Map example2.png