Wifi Troublehsooting

From I Will Fear No Evil
Revision as of 20:57, 26 November 2026 by Chubbard (talk | contribs) (Created page with "= Asus RT-N66U Wi-Fi troubleshooting notes = == Radio interface mapping == <pre> nvram get wl0_ifname nvram get wl1_ifname </pre> On this router, these returned: * wl0 = eth1 (2.4 GHz) * wl1 = eth2 (5 GHz) Use the interface name with the <code>wl</code> commands below. == Radio status and channel == <pre> wl -i eth1 status wl -i eth1 channel wl -i eth1 noise </pre> <code>status</code> showed the radio's SSID, channel, and noise reading. Its RSSI and SNR fields wer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Asus RT-N66U Wi-Fi troubleshooting notes

Radio interface mapping

nvram get wl0_ifname
nvram get wl1_ifname

On this router, these returned:

  • wl0 = eth1 (2.4 GHz)
  • wl1 = eth2 (5 GHz)

Use the interface name with the wl commands below.

Radio status and channel

wl -i eth1 status
wl -i eth1 channel
wl -i eth1 noise

status showed the radio's SSID, channel, and noise reading. Its RSSI and SNR fields were 0, so they did not provide the Shield's signal level.

channel showed the current and target channel. Before changing the radio, it was on channel 3. It was later changed to channel 6.

noise returned changing readings. Before moving the AP, readings included -70 and -62 dBm. After moving it, they were -73 and -74 dBm. Treat these as approximate driver readings, not a precise SNR measurement.

Scan nearby Wi-Fi networks

wl -i eth1 scan
sleep 3
wl -i eth1 scanresults

The scan showed nearby networks on channels 2 and 10, plus a Wi-Fi Direct printer on channel 2. A scan lists visible Wi-Fi networks; it does not detect every possible source of radio interference.

Channel activity

wl -i eth1 chanim_stats
wl -i eth1 chanim_state 3

chanim_stats displays the driver's channel activity, error, and noise fields. Taking readings about 30 seconds apart can help show whether those values are changing.

chanim_state 3 returned 0 when checked on the old channel 3. That did not show a severe channel state at that moment, but it was only a point-in-time result.

Check a client's association and signal

wl -i eth1 assoclist
wl -i eth2 assoclist
wl -i eth1 sta_info 48:B0:2D:93:B3:B8
wl -i eth1 rssi 48:B0:2D:93:B3:B8

assoclist lists the clients associated with that radio. Check both radios to see where a client is connected.

sta_info shows the client's association state, idle time, packet counts, failures, and the rates of the last transmitted and received packets. The listed rates are not average throughput.

rssi reads the signal level the AP sees from that client. The Shield's RSSI was -66 dBm before the AP was moved and -58 dBm after it was moved.

While the Shield was active on eth1, sta_info showed it as associated and authorized, with one TX failure and zero decrypt failures in that output.

Ping the Shield from the AP

ping static-shield

After moving the AP, the AP received 25 of 25 replies:

  • Minimum: 0.388 ms
  • Average: 0.779 ms
  • Maximum: 6.805 ms

This checked the AP-to-Shield connection. The first reply was slower; the rest were below 1 ms.

Ping the Shield from the media server

ping -i 1 192.168.15.54

After moving the AP, the first shown reply was 1.48 ms and the remaining replies were about 0.4–0.7 ms. This checked the connection from the media server to the Shield.

Command that did not work

wl -i eth1 cca_stats -s 10

The router's driver rejected the -s 10 argument, so this form of cca_stats was not usable on this firmware.

Summary

The AP was moved after the Shield had been experiencing connection issues. The Shield's reported RSSI improved from -66 to -58 dBm, and both the AP-to-Shield and media-server-to-Shield pings became fast and steady.

YouTube still hung at times while pings were stable, and later began behaving normally. Stable pings indicate that basic connectivity was good during those tests; they do not measure the sustained video stream or prove that every external service path is healthy.