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/06 17:31] – 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. |
| < | < | ||
| - | apt install simple-cdd | + | dd if=debian......iso of=/dev/sdZ bs=4M status=progress |
| - | mkdir build_dir | + | |
| - | cd build_dir | + | |
| - | dpkg --get-selections > | + | |
| - | vim package-list | + | |
| - | mkdir profiles | + | |
| - | grep -e ' | + | |
| </ | </ | ||
| - | Update my-profile.downloads to include more packages if needed. | + | Add a 3rd partition for various uses on /dev/sdZ3 |
| - | Create | + | |
| + | == Install basic == | ||
| + | |||
| + | - Standard install on debian, add EFI partition (512M), and remaining in a btrfs partition mounted on / | ||
| + | |||
| + | - To install more packets from USB /dev/sda1: | ||
| < | < | ||
| - | debian_mirror=" | + | mount |
| - | mirror_components="main contrib non-free" | + | update / |
| - | profiles=" | + | deb [trusted=yes] file:/ |
| - | auto_profiles=" | + | apt update |
| + | apt install vim | ||
| </ | </ | ||
| - | Create the CD with : | + | |
| + | |||
| + | == Install networking == | ||
| + | |||
| + | First check that network is available | ||
| < | < | ||
| - | build-simple-cdd --conf ./ | + | ip a |
| - | dd bs=4M if=xxx.iso of=/ | + | |
| </ | </ | ||
| + | To get the type of wifi available : | ||
| + | < | ||
| + | lspci -nn | grep -i network | ||
| + | </ | ||
| - | == Standard install == | + | Find the " |
| - | - Standard install on debian, add EFI partition | + | < |
| + | dpkg -i firmware-xxx | ||
| + | </ | ||
| + | Get information | ||
| + | < | ||
| + | ip a | ||
| + | iwconfig | ||
| + | et si nécessaire : | ||
| + | ip link set dev wlan0 up | ||
| + | iwlist scan | ||
| + | </code> | ||
| - | - add the USB in /etc/fstab (here /dev/sda1, found with "fdisk -l") | + | |
| + | Install networking with creating | ||
| < | < | ||
| - | /dev/sda1 / | + | [Match] |
| + | Name=wlp1s0 | ||
| + | |||
| + | [Network] | ||
| + | DHCP=yes | ||
| </ | </ | ||
| + | then / | ||
| + | < | ||
| + | ctrl_interface=/ | ||
| - | - Use apt-cdrom | + | network={ |
| + | ssid="" | ||
| + | # | ||
| + | pririty=9 # necessary to force its use when | ||
| + | key_mgmt=NONE | ||
| + | } | ||
| + | ## generated by wpa_passphrase [ ssid ] [ passphrase ] >> / | ||
| + | network={ | ||
| + | ssid=" | ||
| + | # | ||
| + | psk=c157baf19d12458176ced86fcb08fbe7c3704ef8ac3a4782392cae3b19cdf365 | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | If a default domain is needed (" | ||
| < | < | ||
| - | apt-cdrom -d=/ | + | [Resolve] |
| - | apt update | + | #DNS= |
| - | apt install vim... | + | # |
| + | Domains=couderc.eu | ||
| </ | </ | ||
| - | - Install | + | 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.1530898310.txt.gz · Dernière modification : de pcouderc
