The question about WIFI Network

Hi,

Before I used the Intel 8265NGW WIFI card through M.2 interface on Nano.
It worked well without any setting.

Now I am using the same card through M.2 interface on TX2.
I can detect the card, but it shows “WI-FI is disabled by hardware switch” (Either Broadcom BCM4354 WLAN card or Intel Wireless 8265):

I use the command “rfkill list”, it shows:

0: bluedroid_pm: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: brcmfmac-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
4: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
5: hci1: Bluetooth
	Soft blocked: no
	Hard blocked: no

So how can I enable the card?

Thanks.

Please try to use command “rfkill unblock all”.

Hi WayneWWW,

I have tried.
But I got the same result.

Thanks.

Hi arknights,

I would like to check why bcm4354 is also blocked…

Are you using pure jetpack release? Could you share your dmesg?

Are you able to see wlan0 interface in ifconfig?

Hi WayneWWW,

Yes, we used pure jetpack release, the attachment is my dmesg.

ifconfig:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.4  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::650d:7a4c:d735:23c3  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:c5:4f:52  txqueuelen 1000  (Ethernet)
        RX packets 967  bytes 697985 (697.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1023  bytes 245179 (245.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 41 

l4tbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.55.1  netmask 255.255.255.0  broadcast 192.168.55.255
        inet6 fe80::1  prefixlen 128  scopeid 0x20<link>
        inet6 fe80::3439:56ff:fe82:6859  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:59  txqueuelen 1000  (Ethernet)
        RX packets 198  bytes 34336 (34.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 157  bytes 24426 (24.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 386  bytes 30903 (30.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 386  bytes 30903 (30.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

rndis0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::3439:56ff:fe82:6859  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:59  txqueuelen 1000  (Ethernet)
        RX packets 143  bytes 24637 (24.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 266  bytes 55895 (55.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::3439:56ff:fe82:685b  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:5b  txqueuelen 1000  (Ethernet)
        RX packets 85  bytes 13652 (13.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 215  bytes 28769 (28.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

If I take off the intel card, the bcm4354 work well.

Thanks.
tx2_dmesg.log (69.9 KB)

[    6.202764] Register interface [wlan0]  MAC: 00:04:4b:c5:4f:50

[    6.202769] dhd_prot_ioctl : bus is down. we have nothing to do
[    6.202900] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 65
[    6.203961] wifi_platform_set_power = 0

Somehow the wifi is getting down again. Are you able to enable it with sudo ifconfig wlan0 up?

I tried sudo ifconfig wlan0 up, I got the same result.
And the output of ifconfig:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.10  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::51a6:a109:947e:3846  prefixlen 64  scopeid 0x20<link>
        ether 00:04:4b:c5:4f:54  txqueuelen 1000  (Ethernet)
        RX packets 536  bytes 513715 (513.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 538  bytes 54700 (54.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 41 

l4tbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.55.1  netmask 255.255.255.0  broadcast 192.168.55.255
        inet6 fe80::1  prefixlen 128  scopeid 0x20<link>
        inet6 fe80::3439:56ff:fe82:6859  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:59  txqueuelen 1000  (Ethernet)
        RX packets 155  bytes 25405 (25.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 100  bytes 14334 (14.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 469  bytes 38079 (38.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 469  bytes 38079 (38.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

rndis0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::3439:56ff:fe82:6859  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:59  txqueuelen 1000  (Ethernet)
        RX packets 83  bytes 13362 (13.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 161  bytes 28013 (28.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::3439:56ff:fe82:685b  prefixlen 64  scopeid 0x20<link>
        ether 36:39:56:82:68:5b  txqueuelen 1000  (Ethernet)
        RX packets 106  bytes 16941 (16.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 194  bytes 30608 (30.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:04:4b:c5:4f:50  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Wlan0 appears, but it is still unusable.

Hi,

I don’t know where has error, before we used this card through M.2 interface on Nano. It worked well without any configuration.
I tried sudo ifconfig wlan0 up, wlan0 appeared in ifconfig, but WIFI is still disabled.

What should we do?

Thanks.

Could you also share the syslog under /var/log/? Maybe the userspace log could give more hints.

From kernel side, the wifi is just disabled somehow.

Of course, the attachment is the syslog.
tx2_syslog.log (400 KB)

If I take off the intel card, bcm4354 work well.
I don’t know why.
Are there something need to config or modify?
Does somebody have tried use Intel 8265NGW WIFI card?