AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-804359

NickG's questions

Martin Hope
NickG
Asked: 2018-03-11 06:33:48 +0800 CST

BeagleBone Black Wireless 与 Ubuntu Xenial 16.04 Wifi 不工作

  • 3

我有 BeagleBone Black Wireless,并且我已经将Ubuntu 16.04 刷到了它。我正在尝试使 WiFi 正常工作,但到目前为止都失败了。我已经尝试/etc/network/interfaces通过添加以下命令来修改文件wlan0,但没有任何运气:

auto wlan0
   iface wlan0 inet static
   address 192.168.1.2
   netmask 255.255.255.0
   gateway 192.168.1.1
   wireless-mode ad-hoc
   wireless-essid BBB

在一些论坛中,人们建议使用connmanctl,但是在 Ubuntu 中没有这样的预安装包。我也不能把它下载到 BBBw,因为它的 WiFi 不工作。我尝试通过与 PC 的 USB 连接将 BBBw 连接到互联网,我将此连接编辑为“与其他计算机共享”,但同样,我没有与 BBBw 的互联网连接。

总而言之,我的问题是:有没有一种简单的方法可以使 BBBw(使用 Ubuntu)的 WiFi 工作,而无需使用connmanctl?

如果没有,任何有关如何安装的详细信息connmanctl将不胜感激。

我包括了整个/etc/network/interfaces文件,以及我添加的部分,它出现在注释“以下行wlan0由我添加”之后。

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

# The following lines for the wlan0 were added by me
# Ad-Hoc wifi
auto wlan0
   iface wlan0 inet static
   address 192.168.1.2
   netmask 255.255.25a5.0
   gateway 192.168.1.1
   wireless-mode ad-hoc
   wireless-essid BBB

##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP address for that service:
#sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server>

##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

# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.252
    network 192.168.7.0
    gateway 192.168.7.1
  • 网络诊断结果
wireless 16.04 beagleboard
  • 1 个回答
  • 1170 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve