Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


Wifi
raspi-config    

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

>>> go to "Interface Options"


wpa_supplicant.conf
pi@raspberrypi2:~ $ more /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
        ssid="wifi_ssid"
        psk="password"
        key_mgmt=WPA-PSK
}

change the configuration

sudo vi etc/wpa_supplicant/wpa_supplicant.conf

sudo wpa_cli -i wlan0 reconfigure

script to change the passwordhttps://weworkweplay.com/play/rebooting-the-raspberry-pi-when-it-loses-wireless-connection-wifi/
crontab ( repeat ) https://www.raspberrypi.org/documentation/linux/usage/cron.md


Wired Ethernet

/etc/network/interfaces


root@kali:~# vi /etc/dhcpcd.conf
# Example static IP configuration:
interface eth0
static ip_address=192.168.10.146/24
#static ip6_address=fd51:42f8:caae:d92e::ff/64
static routers=192.168.146.1
static domain_name_servers=8.8.8.8

ip link set down dev eth0
ip link set up dev eth0


or just reboot

  • No labels