id: 12784    nodeId: 12784    type: General    point: 42.0    linkPoint: .0    maker: cella    permission: linkable    made at: 2020.03.24 05:09    edited at: 2024.09.22 05:13
install PCI-e card ipTIME A2000PX-MU in Asus board with Ubuntu Server 22.04 LTS
This card uses RTL8822be driver.

$ lshw -C network
*-network
description: Wireless interface
product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlp4s0
version: 00
serial: 58:86:94:f8:dc:d1
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_8822be driverversion=5.15.0-79-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:125 ioport:e000(size=256) memory:f7700000-f770ffff
...

$ lsmod | grep rtw
rtw88_8822be 16384 0
rtw88_8822b 237568 1 rtw88_8822be
rtw88_pci 32768 1 rtw88_8822be
rtw88_core 258048 2 rtw88_pci,rtw88_8822b
mac80211 1249280 2 rtw88_pci,rtw88_core
cfg80211 974848 2 rtw88_core,mac80211

# RTL8822BE driver is already loaded.

# If the driver is not there, cf.
https://fostips.com/realtek-wifi-drivers-ubuntu-linux-mint/
# now add config for netplan
$ sudo vi /etc/netplan/00-installer-config.yaml

network:
ethernets:
enp5s0:
dhcp4: true
dhcp6: true
wifis:
wlp4s0:
dhcp4: true
dhcp6: true
access-points:
"KT_GiGA_5G_B448":
password: "123456"
version: 2

$ sudo netplan generate
$ sudo netplan apply

# reboot may be needed once or strangely a few times.

# check state UP with "ip l show"
# check IP address with ifconfig



Strangely, root file system changes to Read-only mode abruptly sometimes.
I suspect this is due to this WiFi card installation.
So I disable it now. (2024.09.22)

First connect through cable and find wlp4s0 is UP.
$ ip l show
...
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether 58:86:94:f8:dc:d1 brd ff:ff:ff:ff:ff:ff

Now change its state to DOWN.
$ sudo ip link set wlp4s0 down
$ ip l show
...
3: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
link/ether 58:86:94:f8:dc:d1 brd ff:ff:ff:ff:ff:ff


Return to Pattern Classification, 2nd ed. or install PCI-e card ipTIME A2000PX-MU in Asus board with Ubuntu Server 22.04 LTS