personas:jero98772:antena-direcional-pringler:p-node-comandos
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
| personas:jero98772:antena-direcional-pringler:p-node-comandos [2020/02/08 01:20] – creado jero98772 | personas:jero98772:antena-direcional-pringler:p-node-comandos [2021/09/12 01:41] (actual) – jero98772 | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| - | link of proyect https:// | + | ====== small docuemntation |
| - | upload | + | https:// |
| + | |||
| + | |||
| + | upload | ||
| + | |||
| + | ===== upload image to rapsberry pi ====== | ||
| + | |||
| + | image file in: | ||
| http:// | http:// | ||
| - | or | + | |
| + | next use etcher | ||
| + | ==== upload image on terminal ==== | ||
| see de devices coneted | see de devices coneted | ||
| - | df -h | + | |
| + | < | ||
| upload iso(img) | upload iso(img) | ||
| - | sudo dd if=2018-04-18-raspbian-stretch.img of=/dev/sdb status=progress bs=1M | + | |
| - | when finish | + | < |
| - | sudo sync | + | |
| - | ssh pi@< | + | ===== manual configuration ===== |
| + | |||
| + | **connet via ssh** | ||
| + | |||
| + | < | ||
| + | **update** | ||
| + | <code> | ||
| cd pibox_V2 | cd pibox_V2 | ||
| git pull | git pull | ||
| + | </ | ||
| - | opcional | + | if ssh dont work plese use and habiliate in raspberry pi config with , you can configurate wifi onthere: |
| - | expand file system | + | < |
| - | sudo raspi-config | + | |
| - | change wifi | + | **change wifi (manual way)** |
| + | < | ||
| sudo nano / | sudo nano / | ||
| - | upadate | + | </ |
| + | clear and preparete operating sistem | ||
| + | < | ||
| sudo apt-get update | sudo apt-get update | ||
| sudo apt-get upgrade | sudo apt-get upgrade | ||
| - | |||
| sudo apt-get install git sox libav-tools oggfwd python3-pip | sudo apt-get install git sox libav-tools oggfwd python3-pip | ||
| sudo pip3 install bs4 | sudo pip3 install bs4 | ||
| + | </ | ||
| - | install radio | + | **install radio on rybn repo** |
| + | |||
| + | < | ||
| cd | cd | ||
| git clone http:// | git clone http:// | ||
| + | </ | ||
| + | |||
| + | install dependencies | ||
| + | |||
| + | < | ||
| - | install other things | + | **stop services to configurate them** |
| - | sudo apt-get install hostapd dnsmasq | + | < |
| - | stop services | ||
| sudo systemctl stop dnsmasq | sudo systemctl stop dnsmasq | ||
| sudo systemctl stop hostapd | sudo systemctl stop hostapd | ||
| + | </ | ||
| - | create this and put it | + | **crete file to configurate hospot** |
| - | sudo nano / | + | |
| + | < | ||
| + | |||
| + | **configurate network** | ||
| + | |||
| + | < | ||
| | | ||
| driver=nl80211 | driver=nl80211 | ||
| Línea 48: | Línea 81: | ||
| auth_algs=1 | auth_algs=1 | ||
| ignore_broadcast_ssid=0 | ignore_broadcast_ssid=0 | ||
| - | open and other file | + | |
| + | </ | ||
| + | |||
| + | save and close | ||
| + | |||
| + | **configurate next file** | ||
| + | |||
| + | < | ||
| sudo nano / | sudo nano / | ||
| + | </ | ||
| + | |||
| + | **edit file** | ||
| + | |||
| + | < | ||
| edit this # | edit this # | ||
| DAEMON_CONF="/ | DAEMON_CONF="/ | ||
| - | |||
| - | copy an file and edit | ||
| sudo cp / | sudo cp / | ||
| echo "" | echo "" | ||
| - | put this | + | </ |
| + | |||
| + | save and close | ||
| + | |||
| + | |||
| + | **create file for configurate hospot network** | ||
| + | |||
| + | < | ||
| sudo nano / | sudo nano / | ||
| + | </ | ||
| + | |||
| + | copy and paste in file | ||
| + | |||
| + | < | ||
| | | ||
| - | # Use the require wireless interface - usually wlan0 | ||
| dhcp-range=192.168.100.2, | dhcp-range=192.168.100.2, | ||
| - | put this | + | </ |
| - | sudo nano / | + | save and close |
| + | |||
| + | **edit dhcpcd.conf** | ||
| + | < | ||
| + | **copy and paste this configuration** | ||
| + | |||
| + | < | ||
| interface wlan0 | interface wlan0 | ||
| static ip_address=192.168.100.1/ | static ip_address=192.168.100.1/ | ||
| nohook wpa_supplicant | nohook wpa_supplicant | ||
| - | start services | + | </ |
| + | now can start services | ||
| + | < | ||
| sudo systemctl restart dhcpcd | sudo systemctl restart dhcpcd | ||
| sudo systemctl unmask hostapd | sudo systemctl unmask hostapd | ||
| Línea 75: | Línea 137: | ||
| sudo systemctl enable hostapd | sudo systemctl enable hostapd | ||
| sudo systemctl start dnsmasq | sudo systemctl start dnsmasq | ||
| + | </ | ||
| + | ** set hospot name ** | ||
| - | set name | + | < |
| - | sudo hostnamectl set-hostname " | + | |
| - | put this after exit 0 | + | **reboot** |
| + | |||
| + | when you reboot , edit rc.local | ||
| + | < | ||
| sudo nano / | sudo nano / | ||
| - | | + | </ |
| + | copy and paste this in rc.local | ||
| + | < | ||
| # | # | ||
| # | # | ||
| Línea 107: | Línea 175: | ||
| / | / | ||
| create rules | create rules | ||
| + | </ | ||
| - | put this | + | **edit network rules** |
| + | < | ||
| sudo nano / | sudo nano / | ||
| + | </ | ||
| + | |||
| + | add this | ||
| + | < | ||
| ACTION==" | ACTION==" | ||
| - | shutdown | + | </ |
| - | sudo halt | + | **shutdown** |
| + | |||
| + | < | ||
| + | </ | ||
| + | ====== now you can test it ====== | ||
| + | |||
| + | ====wifi==== | ||
| + | |||
| + | **ssid** pibox | ||
| + | |||
| + | **password** pnodeaccesspass | ||
| + | **ip** 192.168.100.1 | ||
| + | (copy and paste < | ||
| + | ====== more documentation in ====== | ||
| - | wifi | ||
| - | ssid pibox | ||
| - | | ||
| https:// | https:// | ||
| https:// | https:// | ||
personas/jero98772/antena-direcional-pringler/p-node-comandos.1581124856.txt.gz · Última modificación: por jero98772
