"Updates"
This commit is contained in:
@@ -95,76 +95,8 @@ sudo vim /etc/update-motd.d/01-cowsay
|
||||
sudo chmod +x /etc/update-motd.d/01-cowsay
|
||||
```
|
||||
|
||||
#### Wifi
|
||||
#### Networking
|
||||
|
||||
Réf. : [https://wiki.debian.org/WiFi/HowToUse](https://wiki.debian.org/WiFi/HowToUse)
|
||||
|
||||
```
|
||||
cd /lib/firmware/brcm/
|
||||
ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.0.txt
|
||||
ln -s brcmfmac43455-sdio.AW-CM256SM.txt brcmfmac43455-sdio.pine64,rockpro64-v2.1.txt
|
||||
|
||||
sudo rmmod brcmfmac
|
||||
sudo modprobe brcmfmac
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo vim /etc/systemd/network/25-wlan.network
|
||||
```
|
||||
|
||||
```
|
||||
[Match]
|
||||
Name=wlan0
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
|
||||
[DHCP]
|
||||
UseDNS=yes
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo vim /etc/network/interfaces.d/local
|
||||
```
|
||||
|
||||
```
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# The primary network interface
|
||||
# allow-hotplug end0
|
||||
auto wlan0
|
||||
iface wlan0 inet static
|
||||
address 192.168.1.xx
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.1.254
|
||||
dns-nameservers 1.1.1.1
|
||||
dns-nameservers 1.0.0.1
|
||||
# This is an autoconfigured IPv6 interface
|
||||
# iface end0 inet6 auto
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo vim /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
|
||||
```
|
||||
|
||||
```
|
||||
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
|
||||
update_config=1
|
||||
|
||||
network={
|
||||
ssid="BikiniBottom"
|
||||
#psk="transatlantique"
|
||||
psk=e5b692f43ab186494b7f37949d9084e1c0e97fd74d8f14a6325be2e62309067e
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo systemctl enable --now wpa_supplicant@wlan0.service
|
||||
|
||||
sudo su -l -c "systemctl enable --now systemd-networkd"
|
||||
```
|
||||
|
||||
#### Sensors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user