【问题标题】:How to set up Wifi on Beaglebone black when it does not have a wifi example in etc/network/interfaces当 etc/network/interfaces 中没有 wifi 示例时,如何在 Beaglebone black 上设置 Wifi
【发布时间】:2017-04-30 01:28:55
【问题描述】:

接口中没有Wifi示例时如何设置wifi?我只有

connman: WiFi
#
#connmanctl
#connmanctl> tether wifi off
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services
connmanctl> agent on
connmanctl> connect wifi_*_managed_psk
#connmanctl> quit

当我尝试 conmanctl> enable wifi 我得到 wifi: not a shell builtin

【问题讨论】:

    标签: debian wifi beagleboneblack


    【解决方案1】:

    按此顺序键入此命令,以使您的 connmanctl 命令在 WiFi 上正常工作。

    wifi 启用

    wifi扫描

    服务

    代理

    连接 wifi___managed_psk

    那么……

    它应该会询问您的密码。输入路由器的密码。如果这不起作用,只需回复。我从 Freenode 上的 #beagle,IRC 频道中的一个人那里学到了这一点。哦,服务命令会向您显示大量的数字和字母,主要是您可以在其中使用连接命令输入您在输入服务命令时看到的内容。请务必在 connect 命令之前键入 agent on command。

    赛斯

    【讨论】:

    • root@beaglebone:/home/debian# sudo conmant| > enable wifi bash: enable: wifi: not a shell builtin sudo: conmant: command not found (这是我尝试时得到的)
    • 您好...您是否尝试过更新的内核版本或更新的映像,即 bbb.io 人员在其网站或 elinux.org/Beagleboard:BeagleBoneBlack_Debian#Privileged_echo 上列出的映像?
    • 我更新了我的图像并通过我的 BBB 上的 sudo apt-get update 进行了更新,我按照我从 #beagle 收到的指示进行了操作,然后所有的 WiFi 都开始工作了。哦,我通过 sudo apt-get upgrade 升级以跟上安全补丁等的速度。
    • 哦,约翰先生...您需要一个“Linux 认可”的 WiFi 适配器才能在 BBB 上体验 WiFi,也就是说,因为它不附带 WiFi。如果这些建议不起作用,您还可以使用其他项目,例如 BBBW 和 BBGW 来提供 WiFi 服务。告诉我,我会翻阅我的书,了解可用的 WiFi 加密狗的工作原理。
    • 您好 Seth,当我尝试连接 wifi___managed_psk 时,我收到此错误:错误 /net/connman/service/wifi_daly_managed_psk:方法“连接”与接口“net.connman.Service”上的签名“”不'不存在
    【解决方案2】:

    约翰,

    我刚刚在我的 WiFi 配置中添加了另一块板。这一次,我需要应用不同的更改,但我不知道每一个原因。

    首先,

    我必须这样做:

    connmanctl:服务

    然后,它告诉我我的 WiFi 可用网络。

    然后,在 connmanctl 命令下:

    connmanctl:代理开启

    connmanctl:连接“可用网络”

    connmanctl: passcode "路由器密码"

    赛斯

    附:让我知道您使用的是哪种类型的 WiFi 加密狗,我可以帮助您完成这部分任务。

    【讨论】:

    • 每个人|我使用的命令我只是得到 bash: conmant: command not found。我也在使用我们的链接,当我运行 iwconfig 时它会显示
    • 嘿 John...您使用的是什么类型的 WiFi 加密狗,例如edimax 还是其他?
    • elinux . org /Beagleboard:BeagleBoneBlack#WIFI_Adapters 是一个为您的 BBB 寻找可用 WiFi 适配器的好网站。哦,约翰先生,那个 adafruit 产品有信息。下面介绍如何设置 WiFi 加密狗。我只是不认为该版本可用于 BBB 和 Debian。让我知道你的想法。
    【解决方案3】:

    先生。戴利……试试这个。

    lsusb

    这应该会检测到您连接到 BBB 的 USB 客户端。

    让我知道这是否适合您。哦,然后更新您的 BBB,使用您的 cmd 行进行 apt-cache search 'your USB WiFi dongle',您可以使用 lsusb命令。

    如果可行,我们需要为您的 USB Wifi 加密狗更新固件。

    如果一切顺利,ifconfig -a 会将适配器(WiFi 加密狗)显示为 wlan0 或其他变体,如 wlanX 或其他东西。

    先生...让我知道您对这些描述的了解程度,我会返回服务。

    赛斯

    【讨论】:

    • 它变得更加复杂,但我相信我可以引导您完成它。我可能也会学到一些东西。
    【解决方案4】:

    请关注这里

    oot@beaglebone:~# ifconfig wlan0
    wlan0     Link encap:Ethernet  HWaddr ec:11:27:bf:fa:51
              UP BROADCAST MULTICAST DYNAMIC  MTU:1500  Metric:1
              RX packets:833 errors:0 dropped:0 overruns:0 frame:0
              TX packets:142 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:114829 (112.1 KiB)  TX bytes:26578 (25.9 KiB)
    
    
    
    
    
    root@beaglebone:~# connmanctl
    connmanctl> enable wifi
    Enabled wifi
    connmanctl> tether wifi disable
    Disabled tethering for wifi
    
    
    
    connmanctl> scan wifi
    Scan completed for wifi
    connmanctl> services
            wheelies2.4          wifi_ec1127bffa51_776865656c696573322e34_managed_psk
            ATT5363              wifi_ec1127bffa51_41545435333633_managed_psk
            2WIRE407             wifi_ec1127bffa51_3257495245343037_managed_psk
            ATT8fHHhfi           wifi_ec1127bffa51_41545438664848686669_managed_psk
    connmanctl>
    
    
    
    connmanctl> agent on
    Agent registered
    connmanctl>
    connmanctl> connect wifi_ec1127bffa51_776865656c696573322e34_managed_psk
    Agent RequestInput wifi_ec1127bffa51_776865656c696573322e34_managed_psk
      Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
      WPS = [ Type=wpspin, Requirement=alternate ]
    Passphrase? your_password
    connmanctl>
    Connected wifi_ec1127bffa51_776865656c696573322e34_managed_psk
    connmanctl>
    

    【讨论】:

      猜你喜欢
      • 2013-07-06
      • 1970-01-01
      • 2013-11-06
      • 1970-01-01
      • 2015-05-01
      • 1970-01-01
      • 2012-07-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多