배우고픈 공돌이

2. WIFI 사용 본문

ARM/BBBW

2. WIFI 사용

내 마음 아홉수 2017. 10. 15. 00:21

ssh 프롬프트에서 connmanctl 명령어를 사용. 아래와 같이 설정한다.


debian@beaglebone:/storage/eMMC$ sudo connmanctl

Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> enable wifi

Error wifi: Already enabled

connmanctl> scan wifi

Scan completed for wifi

connmanctl> services

    iptime               wifi_506583e91ce7_697074696d65_managed_none

    selpman              wifi_506583e91ce7_73656c706d616e_managed_psk

connmanctl> agent on

Agent registered

connmanctl> connect wifi_506583e91ce7_73656c706d616e_managed_psk

Agent RequestInput wifi_506583e91ce7_73656c706d616e_managed_psk

  Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]

  WPS = [ Type=wpspin, Requirement=alternate ]

Passphrase? selpman123

Connected wifi_506583e91ce7_73656c706d616e_managed_psk

connmanctl> quit


debian@beaglebone:/storage/eMMC$ iwconfig

usb0      no wireless extensions.


usb1      no wireless extensions.


SoftAp0   IEEE 802.11  Mode:Master  Tx-Power=20 dBm

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:on


wlan0     IEEE 802.11  ESSID:"selpman"

          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:08:9F:12:CB:93

          Bit Rate=18 Mb/s   Tx-Power=20 dBm

          Retry short limit:7   RTS thr:off   Fragment thr:off

          Power Management:on

          Link Quality=34/70  Signal level=-76 dBm

          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


lo        no wireless extensions.


can0      no wireless extensions.


can1      no wireless extensions.


debian@beaglebone:/storage/eMMC$ ifconfig

SoftAp0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.8.1  netmask 255.255.255.0  broadcast 192.168.8.255

        inet6 fe80::5265:83ff:fee9:1cea  prefixlen 64  scopeid 0x20<link>

        ether 50:65:83:e9:1c:ea  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 33  bytes 6430 (6.2 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1  (Local Loopback)

        RX packets 3041  bytes 208236 (203.3 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 3041  bytes 208236 (203.3 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.7.2  netmask 255.255.255.252  broadcast 192.168.7.3

        inet6 fe80::5265:83ff:fee9:1ce9  prefixlen 64  scopeid 0x20<link>

        ether 50:65:83:e9:1c:e9  txqueuelen 1000  (Ethernet)

        RX packets 2167  bytes 170246 (166.2 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 1057  bytes 206134 (201.3 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.6.2  netmask 255.255.255.252  broadcast 192.168.6.3

        ether 50:65:83:e9:1c:ec  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500

        inet 192.168.0.8  netmask 255.255.255.0  broadcast 192.168.0.255

        inet6 fe80::5265:83ff:fee9:1ce7  prefixlen 64  scopeid 0x20<link>

        ether 50:65:83:e9:1c:e7  txqueuelen 1000  (Ethernet)

        RX packets 28  bytes 3918 (3.8 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 55  bytes 11987 (11.7 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



'ARM > BBBW' 카테고리의 다른 글

java FX 개발 환경 구축  (0) 2017.11.28
JAVA 개발 환경 구축  (0) 2017.11.13
3. 모니터 사용하기  (0) 2017.10.16
1-1. eMMC로 부팅하기.  (0) 2017.10.14
1. 커널 이미지 올리기 + fdisk로 파일시스템 확장하기  (1) 2017.10.14
Comments