Let me start by saying this isn’t the first time I’ve run into this problem.
My older post initially described the issues I was having with it:
https://devtalk.nvidia.com/default/topic/1027414/jetson-tx2/cannot-setup-wlan0/post/5267974/
I’ve also read all related posts I could find here on devtalk:
https://devtalk.nvidia.com/default/topic/1026996/jetson-tx2/setting-up-wi-fi-acess-point-on-tx2-/
https://devtalk.nvidia.com/default/topic/1031924/jetson-tx2/how-to-set-up-wifi-during-jetpack-installation-on-a-headless-tx2-/
https://devtalk.nvidia.com/default/topic/910608/setting-up-wifi-access-point-on-tx1
And I’ve followed the instructions to the letter, but to no avail.
This is from the boot-up sequence (before I even log in to try bringing up the AP):
[ +0.001066] Firmware up: op_mode=0x0002, MAC=00:04:4b:8c:5c:52
[ +0.005692] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
[ +0.003400] Firmware version = wl0: May 4 2017 13:48:00 version 7.35.221.21 (r697384) FWID 01-58d9d0b3
[ +0.002355] dhd_interworking_enable: failed to set WNM info, ret=-23
[ +0.000194] tegra_sysfs_on
[ +0.051496] gpio tegra-gpio wake18 for gpio=101(M:5)
[ +0.003649] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : ff:ff:ff:ff:ff:ff scb_val.val 3
[ +0.044550] CFG80211-ERROR) wl_cfg80211_set_channel : netdev_ifidx(5), chan_type(1) target channel(36)
[ +0.004481] CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon
[ +0.000004] CFG80211-ERROR) wl_cfg80211_parse_ies : No WPSIE in beacon
[ +0.040213] _dhd_wlfc_mac_entry_update():1732, entry(32)
I’ve setup hostapd
and interfaces
as well as enable the bcmdhd module:
$ lsmod
Module Size Used by
fuse 89008 3
ipt_MASQUERADE 2351 1
nf_nat_masquerade_ipv4 3174 1 ipt_MASQUERADE
iptable_nat 2582 1
nf_nat_ipv4 6851 1 iptable_nat
nf_nat 18527 2 nf_nat_ipv4,nf_nat_masquerade_ipv4
ip_tables 19781 1 iptable_nat
uvcvideo 86213 0
videobuf2_vmalloc 6326 1 uvcvideo
bcmdhd 7626587 0
pci_tegra 74819 0
bluedroid_pm 13564 0
$ iwconfig wlan0
wlan0 no wireless extensions.
$ sudo iw dev wlan0 scan
command failed: Invalid argument (-22)
sudo hostapd -B /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
The annoying thing is that NetworkManager under Gnome seems to be able to bring the Wifi up, but since I only use SSH, this is turning into a big problem.
I’ve setup a new hotspot connection via NetworkManager and it doesn’t complain at all.
Problem is, I don’t see the network and any attempt to connect to it fails.
Turning it off from Gnome/NetworkManager produces:
[Oct 4 18:50] unity-control-c[2659]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x92000006
[ +0.009631] pgd = ffffffc1b38ac000
[ +0.003779] [00000008] *pgd=000000023c032003, *pud=000000023c032003, *pmd=0000000000000000
[ +0.009872] CPU: 5 PID: 2659 Comm: unity-control-c Not tainted 4.4.38+ #7
[ +0.006938] Hardware name: quill (DT)
[ +0.003682] task: ffffffc1980ca580 ti: ffffffc19f938000 task.ti: ffffffc19f938000
[ +0.007535] PC is at 0x7f7c9df234
[ +0.003324] LR is at 0x7f7c9df230
[ +0.003326] pc : [<0000007f7c9df234>] lr : [<0000007f7c9df230>] pstate: 60000000
[ +0.007400] sp : 0000007fcf013740
[ +0.003380] x29: 0000007fcf013740 x28: 0000000000fd5500
[ +0.005355] x27: 0000000000fd5500 x26: 0000000000739340
[ +0.005334] x25: 0000000000e92340 x24: 0000000000e70b70
[ +0.005387] x23: 0000000000eef280 x22: 0000000000000002
[ +0.005350] x21: 0000000000000000 x20: 0000000000000000
[ +0.005334] x19: 0000000000000000 x18: 000000000420003f
[ +0.005383] x17: 0000007f955c3420 x16: 0000007f7c992728
[ +0.005345] x15: 0000007f960ec000 x14: 0000000000000000
[ +0.005335] x13: 0000000000000000 x12: 0000000000000000
[ +0.005383] x11: 0000000000000001 x10: 0101010101010101
[ +0.005343] x9 : 00000000ffffffe0 x8 : 0000000000e8d860
[ +0.005336] x7 : 0000000000ec0e20 x6 : 8080808080808080
[ +0.005378] x5 : 0000000000e8d860 x4 : 0000000000000001
[ +0.005349] x3 : 0000000000ec0e20 x2 : 0000000000e8d9b0
[ +0.005333] x1 : 0000000000000000 x0 : 0000000000000000
[ +0.006882] vdso base = 0x7f960eb000
Turning it back on again (after allowing NetworkManager to manage eth0 and wlan0) produces a similar error:
[ +0.004964] Firmware up: op_mode=0x0002, MAC=00:04:4b:8c:5c:52
[ +0.011754] dhd_preinit_ioctls pspretend_threshold for HostAPD failed -23
[ +0.010903] Firmware version = wl0: May 4 2017 13:48:00 version 7.35.221.21 (r697384) FWID 01-58d9d0b3
[ +0.012104] dhd_interworking_enable: failed to set WNM info, ret=-23
[ +0.006632] tegra_sysfs_on
[ +0.215098] CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
[ +0.007782] CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
[ +1.021947] CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
[ +0.008082] CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
[Oct 4 18:53] CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
[ +0.008039] CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
Can anybody please help?
Please don’t tell me to flash the newest JetPack, this is part of a prototype to be trial-tested and we cannot afford the time to set-it up again on the premise it might work with a newer JetPack.