"Updates"

This commit is contained in:
2025-10-20 14:21:43 +02:00
parent d11f4a81e6
commit 33d77d76e7
2 changed files with 78 additions and 72 deletions

View File

@@ -6,7 +6,7 @@
sudo vim /etc/hosts
```
```bash
```conf
127.0.0.1 localhost
127.0.1.1 <hostname>.local <hostname>
@@ -42,6 +42,79 @@ ff02::3 ip6-allhosts
```
### Broadcom (WiFi)
Réf. : [https://wiki.debian.org/WiFi/HowToUse](https://wiki.debian.org/WiFi/HowToUse)
```bash
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
```
```systemd
[Match]
Name=wlan0
[Network]
DHCP=ipv4
[DHCP]
UseDNS=yes
```
```bash
sudo vim /etc/network/interfaces.d/local
```
```conf
# 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
```
```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"
```
### Ethernet
#### Debian
```bash
@@ -59,7 +132,7 @@ source /etc/network/interfaces.d/*
sudo vim /etc/network/interfaces.d/local
```
```bash
```conf
# The loopback network interface
auto lo
iface lo inet loopback
@@ -73,8 +146,9 @@ iface end0 inet static
    gateway 192.168.1.254
    dns-nameservers 45.90.28.0
    dns-nameservers 45.90.30.0
# This is an autoconfigured IPv6 interface
# iface end0 inet6 auto
iface end0 inet6 auto
```
```bash