Networkmanager changed to NetworkManager mit iwd-Backend
This commit is contained in:
parent
2ef80981f2
commit
02b2209ad2
1 changed files with 59 additions and 53 deletions
110
base.sh
110
base.sh
|
@ -7,8 +7,8 @@ sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||||
locale-gen
|
locale-gen
|
||||||
|
|
||||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
echo "KEYMAP=de-latin1-nodeadkeys" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
#echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||||
echo "arch" >> /etc/hostname
|
echo "arch" >> /etc/hostname
|
||||||
# vim /etc/hosts
|
# vim /etc/hosts
|
||||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||||
|
@ -16,29 +16,32 @@ echo "::1 localhost" >> /etc/hosts
|
||||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||||
echo root:test | chpasswd
|
echo root:test | chpasswd
|
||||||
|
|
||||||
pacman -S base-devel linux-headers linux-lts-headers
|
pacman -S base-devel linux-zen-headers linux-lts-headers
|
||||||
|
|
||||||
pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils ldns bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils ldns bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||||
|
|
||||||
|
pacman -S networkmanager
|
||||||
|
|
||||||
pacman -S efibootmgr mtools dosfstools
|
pacman -S efibootmgr mtools dosfstools
|
||||||
|
|
||||||
pacman -S --noconfirm xf86-video-amdgpu
|
pacman -S --noconfirm xf86-video-amdgpu
|
||||||
# pacman -S --noconfirm nvidia nvidia-utils nvidia-settings
|
# pacman -S --noconfirm nvidia nvidia-utils nvidia-settings
|
||||||
|
|
||||||
systemctl enable systemd-networkd
|
#systemctl enable systemd-networkd
|
||||||
systemctl enable systemd-resolved
|
systemctl enable systemd-resolved
|
||||||
systemctl enable systemd-timesyncd
|
systemctl enable systemd-timesyncd
|
||||||
systemctl enable sshd
|
systemctl enable sshd
|
||||||
systemctl enable reflector.timer
|
systemctl enable reflector.timer
|
||||||
systemctl enable firewalld
|
systemctl enable firewalld
|
||||||
systemctl enable fstrim.timer
|
systemctl enable fstrim.timer
|
||||||
systemctl enable iwd
|
#systemctl enable iwd
|
||||||
|
systemctl enable NetworkManager
|
||||||
|
|
||||||
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf #AMD
|
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf #AMD
|
||||||
# sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
|
# sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
|
||||||
# sed -i 's/MODULES=()/MODULES=(i915)/' /etc/mkinitcpio.conf #Intel
|
# sed -i 's/MODULES=()/MODULES=(i915)/' /etc/mkinitcpio.conf #Intel
|
||||||
|
|
||||||
mkinitcpio -p linux
|
mkinitcpio -p linux-zen
|
||||||
mkinitcpio -p linux-lts
|
mkinitcpio -p linux-lts
|
||||||
|
|
||||||
bootctl install
|
bootctl install
|
||||||
|
@ -50,13 +53,14 @@ echo "default arch.conf" >> /boot/loader/loader.conf
|
||||||
|
|
||||||
# Entry Arch
|
# Entry Arch
|
||||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
echo "linux /vmlinuz-linux-zen" >> /boot/loader/entries/arch.conf
|
||||||
# AMD
|
# AMD
|
||||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||||
# Intel
|
# Intel
|
||||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
echo "initrd /initramfs-linux-zen.img" >> /boot/loader/entries/arch.conf
|
||||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||||
|
|
||||||
# Entry Arch LTS
|
# Entry Arch LTS
|
||||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||||
|
@ -66,15 +70,17 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||||
|
|
||||||
# Entry Arch Fallback
|
# Entry Arch Fallback
|
||||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
echo "linux /vmlinuz-linux-zen" >> /boot/loader/entries/arch-fallback.conf
|
||||||
# AMD
|
# AMD
|
||||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||||
# Intel
|
# Intel
|
||||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
echo "initrd /initramfs-linux-zen-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||||
|
|
||||||
# Entry Arch LTS Fallback
|
# Entry Arch LTS Fallback
|
||||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||||
|
@ -87,45 +93,50 @@ echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch
|
||||||
|
|
||||||
# Netzwerk
|
# Netzwerk
|
||||||
# Ethernet
|
# Ethernet
|
||||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
#echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
#echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
#echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
#echo "" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
#echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
#echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
#echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
#echo "" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
#echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
#echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
#echo "" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
#echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
#echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||||
|
|
||||||
# Wlan
|
# Wlan
|
||||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
#echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
#echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "" >> /etc/systemd/network/20-wlan.network
|
#echo "" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
#echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
#echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
#echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "" >> /etc/systemd/network/20-wlan.network
|
#echo "" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
#echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
#echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "" >> /etc/systemd/network/20-wlan.network
|
#echo "" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
#echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
#echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||||
|
|
||||||
# Wwan (Mobilefunk)
|
# Wwan (Mobilefunk)
|
||||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
#echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
#echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "" >> /etc/systemd/network/20-wwan.network
|
#echo "" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
#echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
#echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
#echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "" >> /etc/systemd/network/20-wwan.network
|
#echo "" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
#echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
#echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "" >> /etc/systemd/network/20-wwan.network
|
#echo "" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
#echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
#echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||||
|
|
||||||
|
echo "[device]" >>/etc/NetworkManager/conf.d/wifi_backend.conf
|
||||||
|
echo "wifi.backend=iwd" >>/etc/NetworkManager/conf.d/wifi_backend.conf
|
||||||
|
|
||||||
useradd -mG wheel eichehome
|
useradd -mG wheel eichehome
|
||||||
echo eichehome:testen | chpasswd
|
echo eichehome:testen | chpasswd
|
||||||
|
@ -136,8 +147,3 @@ sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||||
# Umbruch notwendug
|
# Umbruch notwendug
|
||||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||||
ILoveCandy/' /etc/pacman.conf
|
ILoveCandy/' /etc/pacman.conf
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/paru-bin
|
|
||||||
cd paru-bin
|
|
||||||
makepkg -si
|
|
||||||
cd ..
|
|
Loading…
Reference in a new issue