【问题标题】:code to display set of avaliable wifi(SSID) in python在python中显示一组可用wifi(SSID)的代码
【发布时间】:2019-07-29 14:15:43
【问题描述】:

我一直在使用 python 来显示一组可用的 wifi(SSID),但我收到错误,因为“接口不支持扫描”.. 我该怎么办?

from wifi import Cell, Scheme
Cell.all('wlan0')
cell = Cell.all('wlan0')[0]
scheme = Scheme.for_cell('wlan0', 'home', cell, passkey)
scheme.save()
scheme.activate()

scheme = Scheme.find('wlan0', 'home')
scheme.activate()

【问题讨论】:

标签: python wifi cell


【解决方案1】:

ifconfig eth1 up

iwlist eth1 s

试试这个,错误可能会得到解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-10-03
    • 1970-01-01
    • 1970-01-01
    • 2015-08-31
    • 1970-01-01
    • 2021-02-05
    • 2014-10-06
    相关资源
    最近更新 更多