您尚未登录。

楼主 #1 2019-11-11 12:03:57

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

无法安装模块

# insmod esp8089.ko
[ 4442.485946] esp8089: version magic '4.15.0-rc8-licheepi-nano+ mod_unload ARMv7 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
[ 4442.505252] esp8089: version magic '4.15.0-rc8-licheepi-nano+ mod_unload ARMv7 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
insmod: can't insert 'esp8089.ko': invalid module format

这是怎么回事,ARMv7 和 ARMv5 是哪里决定的

离线

#2 2019-11-11 12:17:17

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 849
积分: 710

Re: 无法安装模块

esp8089.ko驱动下载错了吧,估计你平台是nano,应改用nano版的驱动

离线

楼主 #3 2019-11-11 12:26:11

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

有可能,我再试试

离线

楼主 #4 2019-11-11 12:36:23

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

我是下载 https://github.com/Lichee-Pi/esp8089.git 源码编译的

离线

#5 2019-11-11 13:08:05

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 849
积分: 710

Re: 无法安装模块

为什么自己编译,是要研究源码吗? 管网下载地址:http://dl.sipeed.com/LICHEE/Nano/Image/wifi%20image

离线

楼主 #6 2019-11-11 13:41:48

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

官网下载的也不行
# insmod esp8089.ko
[   40.658175] esp8089: version magic '4.15.0-next-20180202-licheepi-nano+ mod_unload ARMv5 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
[   40.687681] esp8089: version magic '4.15.0-next-20180202-licheepi-nano+ mod_unload ARMv5 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
insmod: can't insert 'esp8089.ko': invalid module format

离线

#7 2019-11-11 14:07:17

kekemuyu
会员
注册时间: 2018-12-13
已发帖子: 849
积分: 710

Re: 无法安装模块

cris8259 说:

官网下载的也不行
# insmod esp8089.ko
[   40.658175] esp8089: version magic '4.15.0-next-20180202-licheepi-nano+ mod_unload ARMv5 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
[   40.687681] esp8089: version magic '4.15.0-next-20180202-licheepi-nano+ mod_unload ARMv5 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 '
insmod: can't insert 'esp8089.ko': invalid module format

驱动和内核必须一致,需要把esp8089源码放进内核重新编译,具体操作我也不太懂。还有一种办法时修改linux内核版本号,重新编译内核版本为esp8089驱动的版本。只要两个名字一样就可以了。

离线

楼主 #8 2019-11-11 15:47:50

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

Starting syslogd: OK
Starting klogd: OK
Starting mdev...
modprobe: can't change directory to '4.15.0-rc8-licheepi-nano+': No such file or directory
Initializing random number generator... done.
Starting network: OK

目录4.15.0-rc8-licheepi-nano+是什么意思,为什么要有这个目录

离线

楼主 #9 2019-11-11 21:46:38

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

现在变这样了

Starting syslogd: OK
Starting klogd: OK
Starting mdev...
[    7.996061] esp8089: module is already loaded
[    8.011213] esp8089: module is already loaded
modprobe: can't load module esp8089 (kernel/drivers/net/wireless/esp8089/esp8089.ko): Invalid argument
Initializing random number generator... done.
Starting network: OK

离线

#10 2019-11-11 22:24:14

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 无法安装模块

https://whycan.cn/t_2996.html#p24793

用这个命令吧:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=/opt/buildroot-2018.08.2/output/target/

根据实际情况调整参数。





离线

楼主 #11 2019-11-12 14:37:38

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

按照坛子里找葫芦画瓢,无法联网
# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.7
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
ap_scan=1
Priority group 5
   id=0 ssid='makecool'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xb6c407c0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=040a
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 04 0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=040b
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 04 0b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=040c
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 04 0c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=040d
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 04 0d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=090a
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 09 0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=090b
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 09 0b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=090c
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 09 0c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=090d
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 09 0d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0409506f9a09
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=6): 04 09 50 6f 9a 09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=7f506f9a09
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=5): 7f 50 6f 9a 09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0801
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 08 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=06
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0a07
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0a11
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=1101
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=1102
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0505
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c407c0 match=0500
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 05 00
nl80211: Failed to register Action frame processing - ignore for now
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: ac:d0:74:1b:8d:f3
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 95c55a43-c537-5b49-bee3-37dfa4fe11de
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Using existing control interface directory.
ctrl_interface_group=10 (from group name 'wheel')
ctrl_iface bind(PF_UNIX) failed: Address in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

Failed to add interface wlan0
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=DISCONNECTED
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wlan0: WPA: Clear old PMK and PTK
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
Off-channel: Clear pending Action frame TX (pending_action_tx=0
Remove interface wlan0 from radio phy0
Remove radio phy0
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Unsubscribe mgmt frames handle 0x3e4c8f49 (mode change)
# udhcpc -i wlan0
udhcpc: started, v1.29.3
udhcpc: sending discover
^C
# ^C
#

离线

#12 2019-11-12 14:51:58

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 无法安装模块

/etc/wpa_supplicant.conf 这个文件怎么配置的





离线

楼主 #13 2019-11-12 14:57:12

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

这是文件内容

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
  ssid="makecool"
  scan_ssid=1
  key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
  pairwise=TKIP CCMP
  group=CCMP TKIP WEP104 WEP40
  psk="makecool"
  priority=5
}

离线

楼主 #14 2019-11-12 16:16:40

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

另外一个问题,为啥一开机模块就自动加载了,还没有执行insmod 或 modprobe

[    3.071688] gs_console_connect: port num [0] is not support console
Starting syslogd: OK
Starting klogd: OK
Starting mdev...
[    8.563000] mmc0: card 0001 removed
Initializing random number generator... [    8.688207] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[    8.718713] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[    8.734048] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[    8.749245] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[    8.759284] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
done.
[    8.773712] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[    8.791094] mmc0: new high speed SDIO card at address 0001
Starting network: OK

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
Password:
#
# lsmod
Module                  Size  Used by    Not tainted
esp8089                61440  0
#

离线

#15 2019-11-12 16:24:55

我思故我在
会员
注册时间: 2019-09-03
已发帖子: 244
积分: 243.5

Re: 无法安装模块

wpa_supplicant  -Dnl80211 -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant  -Dwext  -B -d -i wlan0 -c /etc/wpa_supplicant.conf

再试一下这两个命令?

离线

楼主 #16 2019-11-12 16:51:09

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

我思故我在 说:

wpa_supplicant  -Dnl80211 -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant  -Dwext  -B -d -i wlan0 -c /etc/wpa_supplicant.conf

再试一下这两个命令?

第一条的效果

# wpa_supplicant  -Dnl80211 -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.7
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
ap_scan=1
Priority group 5
   id=0 ssid='makecool'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0xb6c777c0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0xb6c777c0 match=0500
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: ac:d0:74:1b:8d:f3
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 95c55a43-c537-5b49-bee3-37dfa4fe11de
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
P2P: Add operating class 81
P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
P2P: Own listen channel: 81:11
P2P: Random operating channel: 81:1
P2P: initialized
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
P2P: cli_channels:
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# udhcpc -i wlan0
udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
# ^C
#

离线

楼主 #17 2019-11-12 16:53:08

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

第二条的效果

# wpa_supplicant  -Dwext  -B -d -i wlan0 -c /etc/wpa_supplicant.conf

wpa_supplicant v2.7
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel'
ap_scan=1
Priority group 5
   id=0 ssid='makecool'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0x1f flags 0x0
WEXT: Driver: eagle_sdio
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
wlan0: Own MAC address: ac:d0:74:1b:8d:f3
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 95c55a43-c537-5b49-bee3-37dfa4fe11de
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
#
# udhcpc -i wlan0
udhcpc: started, v1.29.3
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
# ^C
# ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:1B:8D:F3 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#

离线

楼主 #18 2019-11-13 17:06:59

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

大神们,破一下僵局

离线

#19 2019-11-13 17:15:14

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

离线

楼主 #20 2019-11-13 17:25:50

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

坛子都翻遍了,模块加载了,wlan0也有,就是连不了网啊

离线

#21 2019-11-13 17:29:22

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: 无法安装模块

那手动设置 ip 地址,替代前面 udhcp 动态获取, 然后再ping试一试。





离线

楼主 #22 2019-11-13 23:44:03

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

晕哥 说:

那手动设置 ip 地址,替代前面 udhcp 动态获取, 然后再ping试一试。

先不管IP地址,扫描不到wifi热点
# ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1408 (1.3 KiB)  TX bytes:1408 (1.3 KiB)

usb0      Link encap:Ethernet  HWaddr AE:3B:CC:4F:66:BA 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr AC:D0:74:1B:8D:F3 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# iw dev wlan0 scan
#

用rtl8723bs就能扫描到
# ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1704 (1.6 KiB)  TX bytes:1704 (1.6 KiB)

usb0      Link encap:Ethernet  HWaddr AE:3B:CC:4F:66:BA 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr CC:D2:9B:4B:8C:CD 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# iw dev wlan0 scan | grep SSID
        SSID: MERCURY_56C9C2
        SSID: TP-LINK_B105A9
        SSID: makecool
        SSID: WWW
        SSID: ChinaNet-iRwn
        SSID: ChinaNGB-1309
        SSID: chuanchuan
        SSID: ChinaNGB-lj1Ety
#

离线

楼主 #23 2019-11-13 23:46:51

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

有没有可能是编译出来的esp8089.ko的问题,官网http://dl.sipeed.com/LICHEE/Nano/Image/wifi%20image的用不了,显示esp8089: version magic '4.15.0-next-20180202-licheepi-nano+ mod_unload ARMv5 p2v8 ' should be '4.15.0-rc8-licheepi-nano+ mod_unload ARMv5 p2v8 ' , 谁能提供一个4.15.0-rc8-licheepi-nano+的esp8089.ko给我试一下

离线

楼主 #24 2019-11-17 17:38:13

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

大神们,帮忙看下,esp8089还是用不了

# modprobe esp8089.ko config=crystal_26M_en=2
[  122.207413] Set sdio block size 512 failed: -110)
[  122.222972] first error exit
[  122.236528] eagle_sdio: probe of mmc0:0001:1 failed with error -110

离线

#25 2019-11-17 18:23:30

awfans
会员
注册时间: 2018-04-03
已发帖子: 264
积分: 264

Re: 无法安装模块

我以前按照网站那个帖子, 主线Linux的ESP8089驱动能折腾跑起来, 也一会挂了,后来就没玩了.

离线

楼主 #26 2019-11-17 18:27:54

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

awfans 说:

我以前按照网站那个帖子, 主线Linux的ESP8089驱动能折腾跑起来, 也一会挂了,后来就没玩了.

我就没跑起来过

离线

楼主 #27 2019-11-17 20:04:35

cris8259
会员
注册时间: 2019-09-25
已发帖子: 273
积分: 77

Re: 无法安装模块

大神们, usb wifi rtl8188CUS  稳定吗

离线

#28 2020-06-30 09:27:59

路人甲
会员
注册时间: 2017-09-07
已发帖子: 202
积分: 199.5

Re: 无法安装模块

cris8259 说:

大神们,帮忙看下,esp8089还是用不了

# modprobe esp8089.ko config=crystal_26M_en=2
[  122.207413] Set sdio block size 512 failed: -110)
[  122.222972] first error exit
[  122.236528] eagle_sdio: probe of mmc0:0001:1 failed with error -110

我用这个驱动: https://github.com/al177/esp8089

一样的错误

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn