1stConfig for Arch / NotePC実機

無線LANの設定を覚えさせる

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

ユーザーをつくり、sudo できるようにする

# useradd -m -g users -s /bin/bash arqtan
# passwd arqtan
# groupadd sudo
# usermod -G sudo arqtan
# visudo
( %sudo ALL=(ALL) ALL  が # でコメントアウトされてるので有効にする)

SSHd 立ち上げ

# systemctl enable sshd
# systemctl start sshd

yay 環境投入

$ 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

X.org 環境投入

$ 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
タッチスクリーンのドライバ投入

フォント、GNOME、ログインスクリーンの投入

$ 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

(日本語キー設定)
$

トップ   一覧 検索 最終更新   ヘルプ   最終更新のRSS