Skip to content

Instantly share code, notes, and snippets.

@nagolove
Created July 17, 2019 13:33
Show Gist options
  • Save nagolove/96b45db3139c7a0390aa4577210c7e7d to your computer and use it in GitHub Desktop.
Save nagolove/96b45db3139c7a0390aa4577210c7e7d to your computer and use it in GitHub Desktop.
$ lspci | grep Network
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ lspci -knn | grep Net -A3; rfkill list
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
Subsystem: Lenovo RTL8822BE 802.11a/b/g/n/ac WiFi adapter [17aa:b023]
Kernel driver in use: r8822be
Kernel modules: r8822be, rtl8822be
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ cat /etc/lsb-release
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ lsusb
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b604 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 0bda:b023 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ sudo lshw -C network
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
*-network DISABLED
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:07:00.0
logical name: wlp7s0
version: 00
serial: 80:2b:f9:d9:e6:75
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=r8822be driverversion=5.0.0-20-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: iomemory:ffffffff0-fffffffef irq:143 ioport:4000(size=256) memory:a4300000-a430ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 15
serial: e8:6a:64:49:a5:37
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ lsmod
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Module Size Used by
rfcomm 77824 4
pci_stub 16384 1
vboxpci 24576 0
vboxnetadp 28672 0
vboxnetflt 28672 0
vboxdrv 483328 3 vboxpci,vboxnetadp,vboxnetflt
cmac 16384 0
bnep 24576 2
binfmt_misc 24576 1
snd_hda_codec_hdmi 53248 1
snd_hda_codec_realtek 114688 1
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
nls_iso8859_1 16384 1
joydev 24576 0
intel_rapl 24576 0
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
coretemp 20480 0
kvm_intel 241664 0
snd_soc_skl 106496 0
snd_soc_hdac_hda 24576 1 snd_soc_skl
snd_hda_ext_core 28672 2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_skl_ipc 65536 1 snd_soc_skl
snd_soc_sst_ipc 20480 1 snd_soc_skl_ipc
snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc
snd_soc_acpi_intel_match 28672 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_soc_core 233472 2 snd_soc_hdac_hda,snd_soc_skl
nvidia_uvm 831488 0
nvidia_drm 45056 6
snd_compress 24576 1 snd_soc_core
nvidia_modeset 1085440 1 nvidia_drm
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
rtl_pci 32768 0
rtlwifi 167936 1 rtl_pci
arc4 16384 2
snd_hda_intel 40960 3
snd_hda_codec 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core 86016 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 102400 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
i915 1814528 3
kvmgt 28672 0
vfio_mdev 16384 0
crct10dif_pclmul 16384 1
mdev 24576 2 kvmgt,vfio_mdev
snd_seq_midi 20480 0
crc32_pclmul 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
vfio_iommu_type1 28672 0
ghash_clmulni_intel 16384 0
nvidia 17604608 410 nvidia_uvm,nvidia_modeset
snd_rawmidi 36864 1 snd_seq_midi
r8822be 692224 0
vfio 32768 3 kvmgt,vfio_mdev,vfio_iommu_type1
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
kvm 626688 2 kvmgt,kvm_intel
mac80211 806912 3 rtl_pci,rtlwifi,r8822be
uvcvideo 98304 0
btusb 49152 0
btrtl 20480 1 btusb
btbcm 16384 1 btusb
irqbypass 16384 1 kvm
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
aesni_intel 372736 0
snd_timer 36864 2 snd_seq,snd_pcm
btintel 24576 1 btusb
drm_kms_helper 180224 2 nvidia_drm,i915
videobuf2_vmalloc 20480 1 uvcvideo
bluetooth 557056 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
videobuf2_memops 20480 1 videobuf2_vmalloc
aes_x86_64 20480 1 aesni_intel
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
videobuf2_v4l2 24576 1 uvcvideo
crypto_simd 16384 1 aesni_intel
drm 475136 9 drm_kms_helper,nvidia_drm,i915
videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper 16384 1 aesni_intel
ipmi_devintf 20480 0
videodev 200704 3 videobuf2_v4l2,uvcvideo,videobuf2_common
ipmi_msghandler 102400 2 ipmi_devintf,nvidia
intel_cstate 20480 0
i2c_algo_bit 16384 1 i915
fb_sys_fops 16384 1 drm_kms_helper
input_leds 16384 0
mei_me 40960 0
syscopyarea 16384 1 drm_kms_helper
media 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
ecdh_generic 28672 1 bluetooth
intel_rapl_perf 16384 0
cfg80211 671744 3 rtlwifi,mac80211,r8822be
intel_wmi_thunderbolt 20480 0
wmi_bmof 16384 0
serio_raw 20480 0
sysfillrect 16384 1 drm_kms_helper
soundcore 16384 1 snd
8250_dw 20480 0
hid_multitouch 24576 0
sysimgblt 16384 1 drm_kms_helper
mei 102400 1 mei_me
ucsi_acpi 16384 0
typec_ucsi 32768 1 ucsi_acpi
idma64 20480 0
virt_dma 20480 1 idma64
typec 45056 1 typec_ucsi
processor_thermal_device 16384 0
mac_hid 16384 0
intel_pch_thermal 16384 0
intel_soc_dts_iosf 20480 1 processor_thermal_device
int3403_thermal 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
int3400_thermal 20480 0
acpi_thermal_rel 16384 1 int3400_thermal
acpi_pad 184320 0
sch_fq_codel 20480 2
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 53248 3 parport_pc,lp,ppdev
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 45056 2
hid_generic 16384 0
nvme 40960 2
r8169 81920 0
ahci 40960 2
i2c_i801 32768 0
nvme_core 94208 4 nvme
i2c_hid 28672 0
intel_lpss_pci 20480 0
realtek 20480 0
libahci 32768 1 ahci
intel_lpss 16384 1 intel_lpss_pci
hid 126976 3 i2c_hid,hid_multitouch,hid_generic
pinctrl_cannonlake 36864 0
wmi 28672 2 intel_wmi_thunderbolt,wmi_bmof
video 45056 1 i915
pinctrl_intel 28672 1 pinctrl_cannonlake
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ iwconfig 2>&1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
enp8s0 no wireless extensions.
lo no wireless extensions.
wlp7s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ ip link
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether e8:6a:64:49:a5:37 brd ff:ff:ff:ff:ff:ff
3: wlp7s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 80:2b:f9:d9:e6:75 brd ff:ff:ff:ff:ff:ff
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment