public:install_debian_pc_wihout_ethernet
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
public:install_debian_pc_wihout_ethernet [2018/07/06 08:21] – créée pcouderc | public:install_debian_pc_wihout_ethernet [2020/03/31 17:41] (Version actuelle) – pcouderc | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | - Create a USB disk with main packets in it, that is not the internet version, as internet will not be initially available. | + | === Install debian PC without ethernet === |
- | - Standard | + | Slim laptops arrive now without ethernet but only wifi, so that internet may not be initially available... |
+ | |||
+ | == Create an USB debian | ||
+ | Create a USB debian | ||
- | - add the USB in /etc/fstab (here /dev/sda1, found with "fdisk -l") | ||
< | < | ||
- | /dev/sda1 / | + | dd if=debian......iso of=/dev/sdZ bs=4M status=progress |
</ | </ | ||
+ | Add a 3rd partition for various uses on /dev/sdZ3 | ||
- | - Use apt-cdrom | + | |
+ | == 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: | ||
< | < | ||
- | apt-cdrom -d=/aptoncd-mountpoint add | + | mount /dev/sda1 /media/cdrom/ |
+ | update / | ||
+ | deb [trusted=yes] file:/ | ||
apt update | apt update | ||
- | apt install vim... | + | apt install vim |
</ | </ | ||
- | - Install networking | + | |
+ | == Install networking == | ||
+ | |||
+ | First check that network is available with : | ||
+ | |||
+ | < | ||
+ | ip a | ||
+ | </ | ||
+ | |||
+ | To get the type of wifi available : | ||
+ | |||
+ | < | ||
+ | lspci -nn | grep -i network | ||
+ | </ | ||
+ | |||
+ | Find the " | ||
+ | < | ||
+ | dpkg -i firmware-xxx | ||
+ | </ | ||
+ | Get information and check it is in use with : | ||
+ | < | ||
+ | ip a | ||
+ | iwconfig | ||
+ | et si nécessaire : | ||
+ | ip link set dev wlan0 up | ||
+ | iwlist scan | ||
+ | </ | ||
+ | |||
+ | |||
+ | Install networking | ||
+ | < | ||
+ | [Match] | ||
+ | Name=wlp1s0 | ||
+ | |||
+ | [Network] | ||
+ | DHCP=yes | ||
+ | </ | ||
+ | then / | ||
+ | < | ||
+ | ctrl_interface=/ | ||
+ | |||
+ | 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 (" | ||
+ | < | ||
+ | [Resolve] | ||
+ | #DNS= | ||
+ | # | ||
+ | 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.1530865267.txt.gz · Dernière modification : 2018/07/06 08:21 de pcouderc