public:install_debian_pc_wihout_ethernet
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
public:install_debian_pc_wihout_ethernet [2018/07/08 17:45] – pcouderc | public:install_debian_pc_wihout_ethernet [2020/03/31 17:41] (Version actuelle) – pcouderc | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
=== Install debian PC without ethernet === | === Install debian PC without ethernet === | ||
+ | |||
+ | Slim laptops arrive now without ethernet but only wifi, so that internet may not be initially available... | ||
== Create an USB debian install disk == | == Create an USB debian install disk == | ||
Create a USB debian install disk with main packets in it, that is not the internet version, as internet will not be initially available. | Create a USB debian install disk with main packets in it, that is not the internet version, as internet will not be initially available. | ||
+ | < | ||
+ | dd if=debian......iso of=/dev/sdZ bs=4M status=progress | ||
+ | </ | ||
+ | Add a 3rd partition for various uses on /dev/sdZ3 | ||
- | == Install == | + | == Install |
- Standard install on debian, add EFI partition (512M), and remaining in a btrfs partition mounted on / | - Standard install on debian, add EFI partition (512M), and remaining in a btrfs partition mounted on / | ||
+ | - To install more packets from USB /dev/sda1: | ||
+ | < | ||
+ | mount /dev/sda1 / | ||
+ | update / | ||
+ | deb [trusted=yes] file:/ | ||
+ | apt update | ||
+ | apt install vim | ||
+ | </ | ||
- | - Install networking | + | |
+ | == Install networking | ||
First check that network is available with : | First check that network is available with : | ||
Ligne 33: | Ligne 48: | ||
ip a | ip a | ||
iwconfig | iwconfig | ||
+ | et si nécessaire : | ||
+ | ip link set dev wlan0 up | ||
+ | iwlist scan | ||
</ | </ | ||
- | If not in use, try reboot. If needed, find its name : | + | |
+ | |||
+ | Install networking with creating etc/ | ||
< | < | ||
- | modprobe -c | grep xxx | + | [Match] |
+ | Name=wlp1s0 | ||
+ | |||
+ | [Network] | ||
+ | DHCP=yes | ||
</ | </ | ||
- | and reload it with : | + | then / |
< | < | ||
- | modprobe | + | ctrl_interface=/ |
- | modprobe | + | |
+ | network={ | ||
+ | ssid="" | ||
+ | # | ||
+ | | ||
+ | key_mgmt=NONE | ||
+ | } | ||
+ | ## generated by wpa_passphrase [ ssid ] [ passphrase ] >> / | ||
+ | network={ | ||
+ | ssid=" | ||
+ | # | ||
+ | psk=c157baf19d12458176ced86fcb08fbe7c3704ef8ac3a4782392cae3b19cdf365 | ||
+ | } | ||
</ | </ | ||
- | Now, start interface | + | If a default domain is needed (" |
< | < | ||
- | ifconfig wlan0 up | + | [Resolve] |
- | iwconfig wlan0 essid dlink | + | #DNS= |
- | dhclient wlan0 | + | # |
- | ldconfig | + | Domains=couderc.eu |
</ | </ | ||
+ | |||
+ | Then : | ||
+ | < | ||
+ | systemctl stop networking.service | ||
+ | systemctl disable networking.service | ||
+ | systemctl enable systemd-networkd | ||
+ | systemctl enable wpa_supplicant@wlp1s0 | ||
+ | systemctl enable systemd-resolved | ||
+ | systemctl start systemd-networkd | ||
+ | systemctl start wpa_supplicant@wlp1s0 | ||
+ | systemctl start systemd-resolved | ||
+ | ln -s / | ||
+ | </ | ||
+ | |||
+ | |||
public/install_debian_pc_wihout_ethernet.1531071924.txt.gz · Dernière modification : 2018/07/08 17:45 de pcouderc