personas:jero98772:antena-direcional-pringler:p-node-comandos
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| personas:jero98772:antena-direcional-pringler:p-node-comandos [2021/09/11 18:16] – jero98772 | personas:jero98772:antena-direcional-pringler:p-node-comandos [2021/09/12 01:41] (actual) – jero98772 | ||
|---|---|---|---|
| Línea 25: | Línea 25: | ||
| **connet via ssh** | **connet via ssh** | ||
| - | < | + | < |
| **update** | **update** | ||
| < | < | ||
| Línea 33: | Línea 33: | ||
| if ssh dont work plese use and habiliate in raspberry pi config with , you can configurate wifi onthere: | if ssh dont work plese use and habiliate in raspberry pi config with , you can configurate wifi onthere: | ||
| - | < | + | < |
| **change wifi (manual way)** | **change wifi (manual way)** | ||
| Línea 115: | Línea 115: | ||
| < | < | ||
| | | ||
| - | # Use the require wireless interface - usually wlan0 | ||
| dhcp-range=192.168.100.2, | dhcp-range=192.168.100.2, | ||
| </ | </ | ||
| save and close | save and close | ||
| - | put this | + | |
| - | sudo nano / | + | **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 | ||
| + | </ | ||
| now can start services | now can start services | ||
| < | < | ||
| Línea 133: | Línea 137: | ||
| sudo systemctl enable hostapd | sudo systemctl enable hostapd | ||
| sudo systemctl start dnsmasq | sudo systemctl start dnsmasq | ||
| - | < | + | </code> |
| - | set name | + | ** set hospot |
| - | 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 165: | 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==== | ||
| - | wifi | + | **ssid** pibox |
| - | ssid pibox | + | |
| - | + | **password** pnodeaccesspass | |
| - | password pnodeaccesspass | + | |
| - | en la ip 192.168.100.1 | + | **ip** 192.168.100.1 |
| + | (copy and paste < | ||
| + | ====== more documentation in ====== | ||
| https:// | https:// | ||
| https:// | https:// | ||
personas/jero98772/antena-direcional-pringler/p-node-comandos.1631384172.txt.gz · Última modificación: por jero98772
