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 17:46] – 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 84: | Línea 84: | ||
</ | </ | ||
- | close and save | + | save and close |
**configurate next file** | **configurate next file** | ||
Línea 114: | 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 | ||
- | start services | + | </ |
+ | now can start services | ||
+ | < | ||
sudo systemctl restart dhcpcd | sudo systemctl restart dhcpcd | ||
sudo systemctl unmask hostapd | sudo systemctl unmask hostapd | ||
Línea 131: | 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 163: | 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.1631382412.txt.gz · Última modificación: 2021/09/11 17:46 por jero98772