iwdの資料 を参考にしつつ...
# loadkeys jp106 (日本語キーボードにする) # systemctl enable NetworkManager # systemctl start NetworkManager # systemctl enable iwd # systemctl start iwd # iwctl [iwd]# device list [iwd]# station wlan0 get-networks [iwd]# station wlan0 connect SSID [iwd]# quit # ping www.google.co.jp (ping 確認) # ip addr (IPアドレス確認)
IP アドレスが拾えていない場合
# nano /etc/iwd/main.conf [General] EnableNetworkConfiguration=True
# nano /etc/systemd/network/all.network [Match] Name=* [Network] DHCP=ipv4
$ sudo systemctl disable systemd-resolved.service $ sudo systemctl stop systemd-resolved.service $ sudo mv /etc/resolv.conf /etc/resolv.conf.org $ sudo nano /etc/resolv.conf nameserver 8.8.8.8 $ sudo chmod u-w /etc/resolv.conf $ ping www.google.co.jp $ sudo systemctl enable systemd-resolved.service $ sudo systemctl start systemd-resolved.service # iwctl [iwd]# station wlan0 connect SSID [iwd]# quit
# useradd -m -g users -s /bin/bash arqtan # passwd arqtan # groupadd sudo # usermod -G sudo arqtan # visudo ( %sudo ALL=(ALL) ALL が # でコメントアウトされてるので有効にする)
# systemctl enable sshd # systemctl start sshd
$ cd ~/ $ sudo pacman -S base-devel linux-headers git (開発ツール類とgitを投入) $ git clone https://aur.archlinux.org/yay.git $ cd yay $ makepkg -si $ cd ../ $ rm -r yay
$ sudo pacman -S xorg-xinit xorg-server xorg-apps xorg-twm xterm $ nano ~/.xinitrc なかみは次の一行だけ : exec twm $ startx
$ lspci | grep VGA AMD/ATi とでてくる $ sudo pacman -S xf86-video-amdgpu xf86-video-ati グラフィックドライバ投入 $ sudo pacman -S xf86-input-evdev タッチスクリーンのドライバ投入
$ sudo pacman -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra ttf-dejavu gnome pulseaudio pavucontrol gvfs network-manager-applet gnome-keyring 必要なのをまとめていれる $ sudo pacman -S lightdm lightdm-gtk-greeter lightdm もいれる $ sudo systemctl enable lightdm 有効化 $ sudo nano /etc/X11/xorg.conf.d/10-keyboard.conf Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "on" Option "XkbLayout" "jp" Option "XkbModel" "pc104" EndSection (日本語キー設定) $
GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx
# hostnamectl set-hostname myhostname
myhostname のところを任意のホスト名にする。