LoginSignup
4

More than 5 years have passed since last update.

BeagleBoneBlackでWi-Fi接続する

Posted at

久々にBBBを使おうと思いガラクタの中から引っ張り出して最新のdebian imageを焼いてみたらWi-Fi接続がうまくできなかったという話。

Imageは下記を使用。
* Debian 8.7 2017-03-19 4GB SD LXQT image

Wi-Fiドングルは下記を使用。
* PLANEX GW-USValue-EZ 802.11n Wireless Adapter [Realtek RTL8188CUS]

かつてのようにwpa_supplicant.confを作成してもうまく行かず、調べていたらconnmanというのに変わっていたんですね。
もしや昔から?

以下、connmanctlを使って接続の手順。

sudo connmanctl
connmanctl> enable wifi 
Enabled wifi 

connmanctl> scan wifi 
Scan completed for wifi 

connmanctl> services 
    <SSID>              wifi_XXXXXXXXXXXX_XXXXXXXXXXXXXX_managed_psk 

connmanctl> agent on 
Agent registered 

connmanctl> connect wifi_XXXXXXXXXXXX_XXXXXXXXXXXXXX_managed_psk 
Agent RequestInput wifi_XXXXXXXXXXXX_XXXXXXXXXXXXXX_managed_psk 
Passphrase? <パスフレーズを入力> 
Connected wifi_XXXXXXXXXXXX_XXXXXXXXXXXXXX_managed_psk 

connmanctl> quit 

ifconfigで確認してIPアドレス取れていれば成功

ifconfig

参考記事
https://groups.google.com/d/msg/beagleboard/v4_A2x1I5gs/FiAJM0MOAwAJ

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4