Git Product home page Git Product logo

openwrt_1900ac's Introduction

#OpenWrt_1900AC ##Setting up coovachilli in openwrt for Captive portal application

Instalación de firmware

https://downloads.openwrt.org/chaos_calmer/15.05/mvebu/generic/openwrt-15.05-mvebu-armada-xp-linksys-mamba-squashfs-factory.img

  • ir a 192.168.1.1 y terminar wizard
  • conectividad
  • actualización del firmware del router
  • manual < openwrt-15.05-mvebu-armada-xp-linksys-mamba-squashfs-factory.img

Instalación de librerías de openwrt

ir a http://192.168.1.1

  • cambiar password
  • acceder ssh
  • opkg update
  • opkg install librt
  • opkg install libpthread
  • opkg install kmod-tun
  • opkg install coova-chilli
  • opkg install haserl
  • opkg install iwinfo

Replicar configuraciones

https://github.com/lbriones/OpenWrt_1900AC/blob/master/etc/chilli/config https://github.com/lbriones/OpenWrt_1900AC/blob/master/etc/chilli/www/coova.html https://github.com/lbriones/OpenWrt_1900AC/blob/master/etc/init.d/chilli https://github.com/lbriones/OpenWrt_1900AC/blob/master/etc/rc.local https://github.com/lbriones/OpenWrt_1900AC/blob/master/etc/crontabs/root https://github.com/lbriones/OpenWrt_1900AC/tree/master/root

  • chmod +x sendData.sh
  • chmod +x startSendData
  • chmod +x updateRouter.sh
  • chmod +x /etc/init.d/chilli
  • mv config /etc/chilli/config
  • mv coova.html /etc/chilli/www/
  • mv chilli /etc/init.d/
  • mv rc.local /etc/
  • mv root /etc/crontabs/
  • /etc/init.d/chilli restart
  • /etc/init.d/chilli enable
  • reboot

Ajustes de red

  • section=$(uci add network interface)
  • uci rename network."$section"='chilli'
  • uci set network.chilli.type=bridge
  • uci set network.chilli.proto=static
  • uci set network.chilli.ipaddr='192.168.100.1'
  • uci set network.chilli.netmask='255.255.255.0'
  • uci commit network
  • uci add wireless wifi-iface >/dev/null
  • uci set wireless.@wifi-iface[0].ssid='Admin WiFi'
  • uci set wireless.@wifi-iface[0].encryption=psk
  • uci set wireless.@wifi-iface[0].key="123456789"
  • uci set wireless.@wifi-iface[1].device=radio0
  • uci set wireless.@wifi-iface[1].mode=ap
  • uci set wireless.@wifi-iface[1].encryption=none
  • uci set wireless.@wifi-iface[1].network=chilli
  • uci set wireless.@wifi-iface[1].ssid='WifiGratis'
  • uci commit wireless
  • uci set wireless.@wifi-device[0].disabled=0
  • uci commit wireless
  • wifi

Redireccionar ambientes

  • find ./ -type f -exec sed -i -e 's/domain_from/domain_to/g' {} ;

openwrt_1900ac's People

Contributors

lbriones avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.