/IoT-RaspiWiFi

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.

Primary LanguageRubyOtherNOASSERTION

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!