Configurar Internet Wifi na raspberry

13 de maio de 2020   |   by administrador

 

By: https://astroprint.zendesk.com/hc/en-us/articles/207866186-Can-I-configure-the-Raspberry-Pi-network-myself-

However, this is pretty advanced and you should know what you’re doing. If you’re good with Linux and have done it before, go ahead and connect your Raspberry Pi to you network using whatever methods you’re familiar with.

Once done, you need one more change to the AstroBox settings to let the softwareastroprint.zendesk.com/…/207866186-Can-I-configure-the-Raspberry-Pi-network-myself- know that you have manually connected the box to the internet. You can do this by adding the following lines to /etc/astrobox/config.yaml  (Note the indentation, exactly 2 spaces before manager):

network:
   manager: manual

then restart your astrobox and that should be it!

$ sudo service astrobox restart

———————————–

For those wanting to config your own wifi connection, login to your pi using ssh or keyboard and monitor. Edit the network interfaces files by typing:

$ sudo nano /etc/network/interfaces

Edit the file by adding: (Leave the “” around the ssid and password)

allow-hotplug wlan0
auto wlan0
 
iface wlan0 inet dhcp
        wpa-ssid "YOUR-WIFI-NAME"
        wpa-psk "PASSWORD-TO-WIFI"

Save the file

  • Hit Ctrl + X (to exit)
  • It will ask if you want to save Hit Y
  • Then hit ENTER

Reboot the pi

$ sudo reboot
Tags: , ,