라즈베리파이에 USB 무선랜을 끼우고 와이파이를 잡아봤습니다.

OS는 CentOS Linux release 7.6.1810 (AltArch) ARM 버전용이 설치되어 있습니다.

[root@localhost ~]# nmcli d
DEVICE  TYPE      STATE         CONNECTION
eth0    ethernet  connected     Wired connection 1
wlan0   wifi      disconnected  --
lo      loopback  unmanaged     --

[root@localhost ~]# nmcli d wifi list
IN-USE  SSID                              MODE   CHAN  RATE        SIGNAL  BARS
        iptime-2.4                        Infra  7     270 Mbit/s  100     ▂▄▆█
        SK_WiFiGIGAA254                   Infra  4     130 Mbit/s  84      ▂▄▆█
        --                                Infra  1     130 Mbit/s  70      ▂▄▆_
        U+NetF634                         Infra  1     130 Mbit/s  64      ▂▄▆_
        HelloWireless731D                 Infra  11    130 Mbit/s  27      ▂___

[root@localhost ~]# nmcli d wifi connect SSID password 비밀번호
Device 'wlan0' successfully activated with '2f438da0-4131-7bc5-937a-8e3f614692e3'.
[root@localhost ~]# nmcli d
DEVICE  TYPE      STATE      CONNECTION
eth0    ethernet  connected  Wired connection 1
wlan0   wifi      connected  iptime-2.4
lo      loopback  unmanaged  --

[root@localhost ~]# ifconfig
...
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.111  netmask 255.255.255.0  broadcast 192.168.100.255
        inet6 fe80::3d35:2457:16f3:437b  prefixlen 64  scopeid 0x20<link>
        ether 00:08:4f:f4:be:a1  txqueuelen 1000  (Ethernet)
        RX packets 59  bytes 12099 (11.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 16  bytes 2164 (2.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

위의 과정을 보시고 자신의 환경에 맞게 설정하시면 됩니다.

[root@localhost ~]# nmcli d
DEVICE  TYPE      STATE        CONNECTION
wlan0   wifi      connected    iptime-2.4
eth0    ethernet  unavailable  --
lo      loopback  unmanaged    --

유선랜을 빼고 무선랜만 남겨둔 상태에서 재부팅해도 인터넷이 잘 되는군요~

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,