[ubuntu server 22.04. 3 LTS (Jammy Jellyfish)] 노트북의 wifi 기능 살려보기

yes 2023.10.02 17:00:18

[ubuntu server 22.04. 3 LTS (Jammy Jellyfish)] 노트북의 wifi 기능 살려보기

 

 

현재 상태입니다.  유선 인터넷은 연결되어 있는데, 무선 wifi 는 연결되어 있지 않고, state down 입니다.

 

hs7@hcp:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp5s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:90:f5:d1:6d:46 brd ff:ff:ff:ff:ff:ff
    inet 192.168.219.150/24 brd 192.168.219.255 scope global enp5s0f2
       valid_lft forever preferred_lft forever
    inet6 fe80::290:f5ff:fed1:6d46/64 scope link
       valid_lft forever preferred_lft forever
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 44:6d:57:7a:11:8e brd ff:ff:ff:ff:ff:ff

4: br-395f4074e725: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:f3:70:19:c1 brd ff:ff:ff:ff:ff:ff
    inet 172.18.0.1/16 brd 172.18.255.255 scope global br-395f4074e725
       valid_lft forever preferred_lft forever
    inet6 fe80::42:f3ff:fe70:19c1/64 scope link
       valid_lft forever preferred_lft forever
5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:b6:c2:78:0a brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:b6ff:fec2:780a/64 scope link
       valid_lft forever preferred_lft forever
7: veth6369238@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 92:45:2d:da:c9:a8 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::9045:2dff:feda:c9a8/64 scope link
       valid_lft forever preferred_lft forever
9: veth8575884@if8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether a6:b8:c0:64:d7:8f brd ff:ff:ff:ff:ff:ff link-netnsid 3
    inet6 fe80::a4b8:c0ff:fe64:d78f/64 scope link
       valid_lft forever preferred_lft forever
11: veth7bb1a88@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether e2:58:b9:aa:af:bd brd ff:ff:ff:ff:ff:ff link-netnsid 6
    inet6 fe80::e058:b9ff:feaa:afbd/64 scope link
       valid_lft forever preferred_lft forever
13: veth51dc02e@if12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether c2:e7:9e:80:78:84 brd ff:ff:ff:ff:ff:ff link-netnsid 1
    inet6 fe80::c0e7:9eff:fe80:7884/64 scope link
       valid_lft forever preferred_lft forever
15: vetha032e99@if14: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether ea:2c:42:da:13:64 brd ff:ff:ff:ff:ff:ff link-netnsid 2
    inet6 fe80::e82c:42ff:feda:1364/64 scope link
       valid_lft forever preferred_lft forever
17: vethfdd9da3@if16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether ba:8d:18:9a:58:c1 brd ff:ff:ff:ff:ff:ff link-netnsid 5
    inet6 fe80::b88d:18ff:fe9a:58c1/64 scope link
       valid_lft forever preferred_lft forever
19: vetha15f68e@if18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether 3a:e4:e5:98:25:f6 brd ff:ff:ff:ff:ff:ff link-netnsid 7
    inet6 fe80::38e4:e5ff:fe98:25f6/64 scope link
       valid_lft forever preferred_lft forever
21: vethff392e9@if20: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 06:05:03:be:10:03 brd ff:ff:ff:ff:ff:ff link-netnsid 4
    inet6 fe80::405:3ff:febe:1003/64 scope link
       valid_lft forever preferred_lft forever
23: veth8b54956@if22: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether 9a:46:4a:b2:41:33 brd ff:ff:ff:ff:ff:ff link-netnsid 11
    inet6 fe80::9846:4aff:feb2:4133/64 scope link
       valid_lft forever preferred_lft forever
25: veth478afb6@if24: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 6a:2d:2a:97:2e:ca brd ff:ff:ff:ff:ff:ff link-netnsid 9
    inet6 fe80::682d:2aff:fe97:2eca/64 scope link
       valid_lft forever preferred_lft forever
27: veth91b12b1@if26: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether f6:f4:21:eb:d6:b1 brd ff:ff:ff:ff:ff:ff link-netnsid 10
    inet6 fe80::f4f4:21ff:feeb:d6b1/64 scope link
       valid_lft forever preferred_lft forever
29: veth24aa0af@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether d2:ea:b9:5e:ff:20 brd ff:ff:ff:ff:ff:ff link-netnsid 8
    inet6 fe80::d0ea:b9ff:fe5e:ff20/64 scope link
       valid_lft forever preferred_lft forever
31: veth2f0e36e@if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether f6:91:74:0f:48:25 brd ff:ff:ff:ff:ff:ff link-netnsid 12
    inet6 fe80::f491:74ff:fe0f:4825/64 scope link
       valid_lft forever preferred_lft forever
33: veth2b8f0c6@if32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-395f4074e725 state UP group default
    link/ether c2:b8:78:9b:ac:b1 brd ff:ff:ff:ff:ff:ff link-netnsid 13
    inet6 fe80::c0b8:78ff:fe9b:acb1/64 scope link
       valid_lft forever preferred_lft forever

 

 

 

wireless-tools 를 설치 합니다.

hs7@hcp:~$ sudo apt install wireless-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libiw30
The following NEW packages will be installed:
  libiw30 wireless-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 128 kB of archives.
After this operation, 373 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libiw30 amd64 30~pre9-13.1ubuntu4 [18.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 wireless-tools amd64 30~pre9-13.1ubuntu4 [110 kB]
Fetched 128 kB in 2s (83.4 kB/s)
Selecting previously unselected package libiw30:amd64.
(Reading database ... 127365 files and directories currently installed.)
Preparing to unpack .../libiw30_30~pre9-13.1ubuntu4_amd64.deb ...
Unpacking libiw30:amd64 (30~pre9-13.1ubuntu4) ...
Selecting previously unselected package wireless-tools.
Preparing to unpack .../wireless-tools_30~pre9-13.1ubuntu4_amd64.deb ...
Unpacking wireless-tools (30~pre9-13.1ubuntu4) ...
Setting up libiw30:amd64 (30~pre9-13.1ubuntu4) ...
Setting up wireless-tools (30~pre9-13.1ubuntu4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.3) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

 

이제 iwconfig 명령어를 실행할 수 있네요.

 

hs7@hcp:~$ iwconfig
lo        no wireless extensions.

enp5s0f2  no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on

br-395f4074e725  no wireless extensions.

docker0   no wireless extensions.

veth6369238  no wireless extensions.

veth8575884  no wireless extensions.

veth7bb1a88  no wireless extensions.

veth51dc02e  no wireless extensions.

vetha032e99  no wireless extensions.

vethfdd9da3  no wireless extensions.

vetha15f68e  no wireless extensions.

vethff392e9  no wireless extensions.

veth8b54956  no wireless extensions.

veth478afb6  no wireless extensions.

veth91b12b1  no wireless extensions.

veth24aa0af  no wireless extensions.

veth2f0e36e  no wireless extensions.

veth2b8f0c6  no wireless extensions.

 

 

 

주변 AP 를 찾아 봅니다.

hs7@hcp:~$ sudo iwlist wlp4s0 scan|more
wlp4s0    Scan completed :
          Cell 01 - Address: BC:96:80:C9:A2:50
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=34/70  Signal level=-76 dBm
                    Encryption key:on
                    ESSID:"\x00\x00\x00\x00\x00\x00x00\x00\x00\x00\x00\x00"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000013f7ffe1b4
                    Extra: Last beacon: 624ms ago
                    IE: Unknown: 00110000000000000000000000000000000000
                    IE: Unknown: 010882840B162430486C
                    IE: Unknown: 030105
                    IE: Unknown: 050402050000
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFE181BFFFF00000000000000000000000000000
                    IE: Unknown: 3D16050D1600000000000000000000000000
                    IE: Unknown: DD090010180208F0040000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101010027A4000042435E0062322F00
          Cell 02 - Address: BC:96:80:C9:A2:51
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=34/70  Signal level=-76 dBm
                    Encryption key:on
                    ESSID:"U+N3433A253"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=00000013f7ffc437
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 0009552B4E657441323533
                    IE: Unknown: 010882840B162430486C
                    IE: Unknown: 030105
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFE181BFFFF0000010000000000000000000000
                    IE: Unknown: 3D16050D16000000000000000000000000000
                    IE: Unknown: DD090010180208F0040000
                    IE: Unknown: DD180050F2020101010003A4000027A4000042422F00
          Cell 03 - Address: 8E:A9:82:E4:C7:94
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Quality=12/70  Signal level=-98 dBm
                    Encryption key:on
                    ESSID:"hshshs"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000016787121f
                    Extra: Last beacon: 684ms ago
                    IE: Unknown: 0006687368736873
                    IE: Unknown: 010882848B968C129824
                    IE: Unknown: 3204B048606C
                    IE: Unknown: 030105
                    IE: Unknown: 050402030000
                    IE: Unknown: 2A0100
                    IE: Unknown: 2D1AA50917FFFFFF00000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 3B025151
                    IE: Unknown: 3D16050803000000000000000000000000000000000
                    IE: Unknown: 7F0A04008000000000000000
                    IE: Unknown: DD180050F2020101000003A4000027A22F00
                    IE: Unknown: DD370050F204104A00011010440001025444503454
                    IE: Unknown: DD080050F21102000000
                    IE: Unknown: DD0E0050F2122B000600A200E117816D