{"id":145,"date":"2021-09-05T07:22:02","date_gmt":"2021-09-04T22:22:02","guid":{"rendered":"https:\/\/www.spacek.xyz\/mle\/?p=145"},"modified":"2021-09-05T07:22:02","modified_gmt":"2021-09-04T22:22:02","slug":"ubuntu-20-04-raspberry-pi2-%ec%97%90-wifi-%ec%84%a4%ec%b9%98%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.spacek.xyz\/mle\/?p=145","title":{"rendered":"Ubuntu 20.04 raspberry pi2 \uc5d0 wifi \uc124\uce58\ud558\uae30"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\ub77c\uc988\ubca0\ub9ac\ud30c\uc774 \uad6c\ubc84\uc804\uc774 \uc788\uc5b4\uc11c \uac04\ub2e8\ud55c \uc6a9\ub3c4\ub85c \uc0ac\uc6a9\ud558\ub824\uace0 \uc6b0\ubd84\ud22c\ub97c \uc124\uce58\ud558\uace0 \uc900\ube44\uac00 \ub9c8\ubb34\ub9ac\ub420 \ubb34\ub835 \uc0ac\uc6a9\ud658\uacbd\uc774 \ub79c\uc774 \uc5c6\uc5b4\uc11c wifi \ub97c \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4. \uadf8\ub7f0\ub370 \ub9c8\uce68 \uc9d1\uc5d0 \uc5ed\uc2dc\ub098 \uc608\uc804\uc5d0 \uad6c\uc785\ud588\ub358 IPTIME N100mini \uac00 \uc788\uc5b4\uc11c \uc774\uac78 \uc0ac\uc6a9\ud558\uae30\ub85c \ud558\uace0 USB \uc5d0 \uaf42\uc544 \ubcf4\uc558\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc5ed\uc2dc \uc6b0\ubd84\ud22c\ub3c4 \ubc84\uc804\uc774 \uc62c\ub77c\uac00\ub2c8 \uae30\ubcf8\uc73c\ub85c \ub79c\uce74\ub4dc\ub97c \uc778\uc2dd\ud574 \uc900\ub2e4. \ud558\uc9c0\ub9cc wifi\ub294 \uc7a1\ud788\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc544\ub798\uc640 \uac19\uc774 \uc0ac\uc6a9\uc124\uc815\uc744 \ud574\uc8fc\uc5b4\uc57c \ud55c\ub2e4. \uad6c\uae00\ub9c1\ud574\ubcf4\uba74 \ub4dc\ub77c\uc774\ubc84\ub97c \uc124\uce58\ud558\ub77c\uac70\ub098 \ubcf5\uc7a1\ud55c \uacfc\uc815\ub4e4\uc774 \ub098\uc5f4\ub418\uc9c0\ub9cc \uadf8\uac83\ub4e4\uc740 \ub2e4 \uc608\uc804 \ubc84\uc804\uc758 \uc6b0\ubd84\ud22c\uc5d0\uc11c \ud544\uc694\ud588\ub358 \uac83 \uac19\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ifconfig -a \ub85c \ud655\uc778\ud574\ubcf4\uba74 \ubb34\uc120\ub79c\uc740 \uc778\uc2dd\uc774 \ub418\uace0 \uc788\ub2e4. \uc544\ub798\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc73c\ub85c \ubb34\uc120\ub79c\uc744 \ud655\uc778\ud55c \ub0b4\uc6a9\uc774\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/etc\/network\/interfaces \ub97c \uc218\uc815\ud558\ub294 \ubc29\ubc95\ub3c4 \ub3d9\uc791\uc774 \ub418\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ubuntu:~$ ifconfig -a\neth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.3.45  netmask 255.255.255.0  broadcast 192.168.3.255\n        inet6 fe80::ba27:ebff:feb8:f4fe  prefixlen 64  scopeid 0x20&lt;link>\n        ether b8:27:eb:b8:f4:fe  txqueuelen 1000  (Ethernet)\n        RX packets 2112  bytes 2744366 (2.7 MB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 1127  bytes 105436 (105.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73&lt;UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10&lt;host>\n        loop  txqueuelen 1000  (Local Loopback)\n        RX packets 110  bytes 8688 (8.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 110  bytes 8688 (8.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4098&lt;BROADCAST,MULTICAST>  mtu 1500\n        ether 90:9f:33:e9:eb:71  txqueuelen 1000  (Ethernet)\n        RX packets 0  bytes 0 (0.0 B)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 0  bytes 0 (0.0 B)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nubuntu@ubuntu:~$ lsusb\nBus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter\nBus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512\/9514 Fast Ethernet Adapter\nBus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub\nBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\n\nubuntu@ubuntu:~$ sudo lshw -C network\n  *-usb:0\n       description: Ethernet interface\n       product: SMSC9512\/9514 Fast Ethernet Adapter\n       vendor: Microchip Technology, Inc. (formerly SMSC)\n       physical id: 1\n       bus info: usb@1:1.1\n       logical name: eth0\n       version: 2.00\n       serial: b8:27:eb:b8:f4:fe\n       size: 100Mbit\/s\n       capacity: 100Mbit\/s\n       capabilities: usb-2.00 ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation\n       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.3.45 link=yes maxpower=2mA multicast=yes port=MII speed=100Mbit\/s\n  *-network DISABLED\n       description: Wireless interface\n       physical id: 2\n       bus info: usb@1:1.5\n       logical name: wlan0\n       serial: 90:9f:33:e9:eb:71\n       capabilities: ethernet physical wireless\n       configuration: broadcast=yes driver=rtl8192cu driverversion=5.4.0-1042-raspi firmware=N\/A link=no multicast=yes wireless=IEEE 802.11\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ucd5c\uc885\uc801\uc73c\ub85c \uc131\uacf5\ud55c \ubc29\ubc95\uc740 NetPlan\uc744 \uc0ac\uc6a9\ud55c \ubc29\ubc95\uc774\ub2e4. \ub2e8\uc21c\ud788 \uc124\uc815 \ud30c\uc77c\uc744 \uc218\uc815\ud558\uace0 \ub2e4\uc2dc \uc801\uc6a9\ud558\uba74 \ub41c\ub2e4. \ud55c\ubc88 rebooting \uc774 \ud544\uc694\ud558\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uba3c\uc804 \uc544\ub798\uc640 \uac19\uc774 \ud658\uacbd \ud30c\uc77c\uc744 \uc218\uc815\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ubuntu:~$ vi \/etc\/netplan\/50-cloud-init.yaml\n# This file is generated from information provided by the datasource.  Changes\n# to it will not persist across an instance reboot.  To disable cloud-init's\n# network configuration capabilities, write a file\n# \/etc\/cloud\/cloud.cfg.d\/99-disable-network-config.cfg with the following:\n# network: {config: disabled}\nnetwork:\n    ethernets:\n        eth0:\n            dhcp4: true\n            optional: true\n    version: 2\n    wifis:\n        wlan0:\n            optional: true\n            access-points:\n                \"SSID\ub97c \uae30\ub85d\":\n                  password: \"\ube44\ubc88\uc744 \uae30\ub85d\"\n            dhcp4: true\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc5ec\uae30\uc11c \uc911\uc694\ud55c \uac83\uc740 \ub4e4\uc5ec \uc4f0\uae30\uc774\ub2e4. \ub4e4\uc5ec\uc4f0\uae30\uac00 \uc798\ubabb\ub418\uba74 apply \ub97c \ud560 \ub54c \uc5d0\ub7ec\uac00 \ud45c\uc2dc\ub41c\ub2e4. \ud2b9\ud788 password\ub294 SSID \ubcf4\ub2e4 \ub354 \ub4e4\uc5ec \uc4f0\uae30\ub97c \ud574\uc57c \ud55c\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\uc81c \uc218\uc815\ud55c \ub0b4\uc6a9\uc744 \uc801\uc6a9\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo netplan apply<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\uc81c \uc7ac\uae30\ub3d9 \ud55c\ubc88 \ud558\uba74 \uc790\ub3d9\uc73c\ub85c wifi \uac00 \uc5f0\uacb0\ub41c\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ubuntu@ubuntu:~$ ifconfig -a\neth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.3.45  netmask 255.255.255.0  broadcast 192.168.3.255\n        inet6 fe80::ba27:ebff:feb8:f4fe  prefixlen 64  scopeid 0x20&lt;link>\n        ether b8:27:eb:b8:f4:fe  txqueuelen 1000  (Ethernet)\n        RX packets 97  bytes 10966 (10.9 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 71  bytes 12322 (12.3 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nlo: flags=73&lt;UP,LOOPBACK,RUNNING>  mtu 65536\n        inet 127.0.0.1  netmask 255.0.0.0\n        inet6 ::1  prefixlen 128  scopeid 0x10&lt;host>\n        loop  txqueuelen 1000  (Local Loopback)\n        RX packets 88  bytes 6664 (6.6 KB)\n        RX errors 0  dropped 0  overruns 0  frame 0\n        TX packets 88  bytes 6664 (6.6 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n\nwlan0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\n        inet 192.168.3.46  netmask 255.255.255.0  broadcast 192.168.3.255\n        inet6 fe80::929f:33ff:fee9:eb71  prefixlen 64  scopeid 0x20&lt;link>\n        ether 90:9f:33:e9:eb:71  txqueuelen 1000  (Ethernet)\n        RX packets 50  bytes 15038 (15.0 KB)\n        RX errors 0  dropped 1  overruns 0  frame 0\n        TX packets 17  bytes 2478 (2.4 KB)\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\ub77c\uc988\ubca0\ub9ac\ud30c\uc774 \uad6c\ubc84\uc804\uc774 \uc788\uc5b4\uc11c \uac04\ub2e8\ud55c \uc6a9\ub3c4\ub85c \uc0ac\uc6a9\ud558\ub824\uace0 \uc6b0\ubd84\ud22c\ub97c \uc124\uce58\ud558\uace0 \uc900\ube44\uac00 \ub9c8\ubb34\ub9ac\ub420 \ubb34\ub835 \uc0ac\uc6a9\ud658\uacbd\uc774 \ub79c\uc774 \uc5c6\uc5b4\uc11c wifi \ub97c \uc0ac\uc6a9\ud574\uc57c \ud55c\ub2e4. \uadf8\ub7f0\ub370 \ub9c8\uce68 \uc9d1\uc5d0 \uc5ed\uc2dc\ub098 \uc608\uc804\uc5d0 \uad6c\uc785\ud588\ub358 IPTIME N100mini \uac00 \uc788\uc5b4\uc11c \uc774\uac78 \uc0ac\uc6a9\ud558\uae30\ub85c \ud558\uace0 USB \uc5d0 \uaf42\uc544 \ubcf4\uc558\ub2e4. \uc5ed\uc2dc \uc6b0\ubd84\ud22c\ub3c4 \ubc84\uc804\uc774 \uc62c\ub77c\uac00\ub2c8 \uae30\ubcf8\uc73c\ub85c &hellip; <a href=\"https:\/\/www.spacek.xyz\/mle\/?p=145\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[5,37,35,9,36,34],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-6","tag-iptime","tag-n100mini","tag-raspberry-pi","tag-ubuntu","tag-wifi","tag-34"],"views":847,"_links":{"self":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=145"}],"version-history":[{"count":1,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":146,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=\/wp\/v2\/posts\/145\/revisions\/146"}],"wp:attachment":[{"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spacek.xyz\/mle\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}