personas:jero98772:antena-direcional-pringler:p-node-comandos
no way to compare when less than two revisions
Diferencias
Muestra las diferencias entre dos versiones de la página.
Revisión previaPróxima revisión | |||
— | personas:jero98772:antena-direcional-pringler:p-node-comandos [2021/09/11 17:39] – jero98772 | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
+ | ====== small docuemntation of p-node proyect====== https:// | ||
+ | |||
+ | upload image | ||
+ | |||
+ | ===== upload image to rapsberry pi ====== | ||
+ | |||
+ | image file in: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | next use etcher | ||
+ | ==== upload image on terminal ==== | ||
+ | see de devices coneted | ||
+ | |||
+ | < | ||
+ | |||
+ | upload iso(img) | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== manual configuration ===== | ||
+ | |||
+ | **connet via ssh** | ||
+ | |||
+ | < | ||
+ | **update** | ||
+ | < | ||
+ | cd pibox_V2 | ||
+ | git pull | ||
+ | </ | ||
+ | |||
+ | if ssh dont work plese use and habiliate in raspberry pi config with , you can configurate wifi onthere: | ||
+ | < | ||
+ | |||
+ | **change wifi (manual way)** | ||
+ | < | ||
+ | sudo nano / | ||
+ | </ | ||
+ | clear and preparete operating sistem | ||
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get upgrade | ||
+ | sudo apt-get install git sox libav-tools oggfwd python3-pip | ||
+ | sudo pip3 install bs4 | ||
+ | </ | ||
+ | install radio | ||
+ | cd | ||
+ | git clone http:// | ||
+ | |||
+ | install other things | ||
+ | sudo apt-get install hostapd dnsmasq | ||
+ | |||
+ | stop services | ||
+ | sudo systemctl stop dnsmasq | ||
+ | sudo systemctl stop hostapd | ||
+ | |||
+ | create this and put it | ||
+ | sudo nano / | ||
+ | | ||
+ | driver=nl80211 | ||
+ | ssid=myssid | ||
+ | hw_mode=g | ||
+ | channel=7 | ||
+ | wmm_enabled=0 | ||
+ | macaddr_acl=0 | ||
+ | auth_algs=1 | ||
+ | ignore_broadcast_ssid=0 | ||
+ | open and other file | ||
+ | sudo nano / | ||
+ | edit this # | ||
+ | DAEMON_CONF="/ | ||
+ | |||
+ | copy an file and edit | ||
+ | sudo cp / | ||
+ | echo "" | ||
+ | |||
+ | put this | ||
+ | sudo nano / | ||
+ | | ||
+ | # Use the require wireless interface - usually wlan0 | ||
+ | dhcp-range=192.168.100.2, | ||
+ | |||
+ | put this | ||
+ | sudo nano / | ||
+ | interface wlan0 | ||
+ | static ip_address=192.168.100.1/ | ||
+ | nohook wpa_supplicant | ||
+ | |||
+ | start services | ||
+ | sudo systemctl restart dhcpcd | ||
+ | sudo systemctl unmask hostapd | ||
+ | sudo systemctl start hostapd | ||
+ | sudo systemctl enable hostapd | ||
+ | sudo systemctl start dnsmasq | ||
+ | |||
+ | set name | ||
+ | sudo hostnamectl set-hostname " | ||
+ | |||
+ | put this after exit 0 | ||
+ | sudo nano / | ||
+ | like this | ||
+ | # | ||
+ | # | ||
+ | # rc.local | ||
+ | # | ||
+ | # This script is executed at the end of each multiuser runlevel. | ||
+ | # Make sure that the script will "exit 0" on success or any other | ||
+ | # value on error. | ||
+ | # | ||
+ | # In order to enable or disable this script just change the execution | ||
+ | # bits. | ||
+ | # | ||
+ | # By default this script does nothing. | ||
+ | |||
+ | # Print the IP address | ||
+ | _IP=$(hostname -I) || true | ||
+ | if [ " | ||
+ | printf "My IP address is %s\n" " | ||
+ | fi | ||
+ | |||
+ | this / | ||
+ | |||
+ | exit 0 | ||
+ | |||
+ | / | ||
+ | create rules | ||
+ | |||
+ | put this | ||
+ | sudo nano / | ||
+ | ACTION==" | ||
+ | |||
+ | shutdown | ||
+ | sudo halt | ||
+ | |||
+ | |||
+ | |||
+ | wifi | ||
+ | ssid pibox | ||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | en la ip 192.168.100.1 | ||
+ | |||
+ | |||
+ | https:// | ||
+ | https:// |
personas/jero98772/antena-direcional-pringler/p-node-comandos.txt · Última modificación: 2021/09/12 01:41 por jero98772