Coder Social home page Coder Social logo

luizjr / iot-raspiwifi Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 379 KB

O RaspiWiFi é um programa para configurar sem problemas uma conexão Wi-Fi do Raspberry Pi usando qualquer outro dispositivo habilitado para WiFi (da mesma forma que um Chromecast ou dispositivo similar pode ser configurado). O RaspiWiFi foi testado com o Raspberry Pi B +, o Raspberry Pi 3 e o Raspberry Pi Zero W.

Home Page: https://raspiwifi.luiz.io/

License: Other

Ruby 50.92% JavaScript 1.19% CoffeeScript 0.38% CSS 4.64% HTML 22.04% Python 14.38% Shell 6.46%
raspberry-pi-3 raspberrypi wifi-configuration headless-wifi headless-raspberry wifi-setup setup-via-apmode

iot-raspiwifi's Introduction

Headless WiFi Setup for Raspberry Pi : IoT Type Projects

RaspiWiFi: From Guided WiFi configuration software for the Raspberry Pi, Copyright (C) 2018 LUIZ.IO with modifications from Luiz Jr.

O RaspiWiFi é um programa para configurar sem problemas uma conexão Wi-Fi do Raspberry Pi usando qualquer outro dispositivo habilitado para WiFi (da mesma forma que um Chromecast ou dispositivo similar pode ser configurado). O RaspiWiFi foi testado com o Raspberry Pi B +, o Raspberry Pi 3 e o Raspberry Pi Zero W.

Raspbian Headless WiFi   Raspbian Stretch

  • Esta versão foi atualizada para uso no Stretch Raspbian (a partir de junho de 2018).
  • Esta versão não afeta mais /etc/network/interfaces. Agora configura via /etc/dhcpcd.conf e roda dnsmasq para servidor DNS em vez de isc-dhcp-server.

INSTRUÇÕES PARA INSTALAÇÃO:

Para instalar:

bash <(curl -s https://raw.githubusercontent.com/luizjrdeveloper/IoT-RaspiWiFi/master/install.sh)

Esse script instalará todos os pré-requisitos necessários, copiará os arquivos de configuração e reinicializará. Quando termina a inicialização deve apresentar-se em "Modo de Configuração" como um ponto de acesso WiFi com o SSID IoT RaspiWiFi.

Ou para instalar manualmente:

git clone https://github.com/luizjrdeveloper/IoT-RaspiWiFi.git
cd IoT-RaspiWiFi
sudo sh start.sh

OBSERVAÇÕES:

  • If you run a non-stock /etc/rc.local, modify rc.local.apclient and rc.local.apclient.template in /usr/share/configure_wifi/Reset_Device/static_files/
  • /etc/rc.local will be overwritten everytime the system configured to act as a wifi access point for setting up a new network.
  • If you happen to need a non-stock rc.local during the short time when the system is in the "Configure WiFi" configuration, modify rc.local.aphost and rc.local.aphost.template.
  • su -c "cd /usr/share/configure_wifi/Configuration_App/ && rails s -b 10.0.0.1 -e production -p 10 -d" & if you need to start the rails web server on IP and port.

USO:

  • Connect to the IoT RaspiWiFi SSID Open Access Point using any other WiFi enabled device.
  • Navigate to http://10.0.0.1 (Port:80 IP:10.0.0.1) using any web browser on the device you connected with. It may take several seconds (or a minute) before the server is ready to accept requests.
  • If you're connected to the RasPi via WiFi, it will give you an IP in its network but the web page is timing out (web server still not loaded), then just wait a couple seconds till it appears (patiently)...
  • Select the WiFi SSID connection you'd like your Raspberry Pi to connect to from the drop down list and enter its wireless password on the page provided. If no encryption is enabled, leave the password box blank.
  • Click the Connect button.
  • At this point your Raspberry Pi will reboot and connect to the access point specified.

The files for this process are stored in /usr/share/configure_wifi

RESETANDO O DISPOSITIVO:

  • Se o GPIO 4 for pressionado por 10 segundos ou mais, o Raspberry Pi irá redefinir todas as configurações, reiniciar e entrar no "Modo de Configuração" novamente. É útil ter um simples botão conectado ao GPIO 4 para redefinir facilmente se mudar para um novo local ou se informações de conexão incorretas forem inseridas. Apenas pressione e segure por 10 segundos ou mais.
  • Você também pode redefinir o dispositivo executando manualmente: sudo python3 /usr/share/configure_wifi/Reset_Device/manual-reset.py

Divirta-se!

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.