Turris (1) WiFi problems after upgrade to 3.3

Hi,

I’ve upgraded turris to 3.3 and my WiFi is not working very well now… Internet access is slow, mqtt protocol fails in few minutes and the reason is probably very bad latency. Below is ping from turris to any Android device with screen ON (not sleeping). Notebook works fine. I tried 2.4/5 GHz, legacy/n, 20MHz/40MHz and more without any impovement. Does someone know how to fix it?

Current firmware seems to be 2,5 years old (if this is right path)
-rw-r--r-- 1 root root 13904 Apr 10 2014 /lib/firmware/rtlwifi/rtl8188eufw.bin

64 bytes from 10.20.30.8: seq=105 ttl=64 time=2.304 ms
64 bytes from 10.20.30.8: seq=106 ttl=64 time=1.308 ms
64 bytes from 10.20.30.8: seq=107 ttl=64 time=1.267 ms
64 bytes from 10.20.30.8: seq=108 ttl=64 time=1.264 ms
64 bytes from 10.20.30.8: seq=109 ttl=64 time=1.283 ms
64 bytes from 10.20.30.8: seq=110 ttl=64 time=4.695 ms
64 bytes from 10.20.30.8: seq=111 ttl=64 time=1.185 ms
64 bytes from 10.20.30.8: seq=112 ttl=64 time=1.254 ms
64 bytes from 10.20.30.8: seq=113 ttl=64 time=8.745 ms
64 bytes from 10.20.30.8: seq=114 ttl=64 time=1.276 ms
64 bytes from 10.20.30.8: seq=115 ttl=64 time=1.263 ms
64 bytes from 10.20.30.8: seq=116 ttl=64 time=3350.862 ms
64 bytes from 10.20.30.8: seq=117 ttl=64 time=2350.830 ms
64 bytes from 10.20.30.8: seq=118 ttl=64 time=1351.614 ms
64 bytes from 10.20.30.8: seq=119 ttl=64 time=352.576 ms
64 bytes from 10.20.30.8: seq=120 ttl=64 time=1195.572 ms
64 bytes from 10.20.30.8: seq=121 ttl=64 time=195.506 ms
64 bytes from 10.20.30.8: seq=122 ttl=64 time=2.040 ms
64 bytes from 10.20.30.8: seq=123 ttl=64 time=8.932 ms
64 bytes from 10.20.30.8: seq=124 ttl=64 time=5348.970 ms
64 bytes from 10.20.30.8: seq=125 ttl=64 time=4348.944 ms
64 bytes from 10.20.30.8: seq=126 ttl=64 time=3349.663 ms
64 bytes from 10.20.30.8: seq=127 ttl=64 time=2350.718 ms
64 bytes from 10.20.30.8: seq=128 ttl=64 time=1350.985 ms
64 bytes from 10.20.30.8: seq=129 ttl=64 time=350.903 ms
64 bytes from 10.20.30.8: seq=130 ttl=64 time=1193.213 ms
64 bytes from 10.20.30.8: seq=131 ttl=64 time=193.144 ms
64 bytes from 10.20.30.8: seq=132 ttl=64 time=1.303 ms
64 bytes from 10.20.30.8: seq=133 ttl=64 time=1.328 ms

Thanks

This is a known issue, 3.3 brings a new driver that breaks the the Qualcomm Atheros QCA9880 802.11bgnac card. You can use the other wifi card without problems until cz.nic releases a new update that fixes the error.

That’s quite a big issue that QA should have picked up…

1 Like

Thank you, but I don’t have second wireless card in turris.

Current firmware seems to be 2,5 years old (if this is right path)
-rw-r--r-- 1 root root 13904 Apr 10 2014 /lib/firmware/rtlwifi/rtl8188eufw.bin

Where I can watch this issue? I haven’t found anything anywhere, so I wrote a post here… light_smile:

I actually discovered yesterday that I have the same problem, ping is really inconsistent for the 2,4GHz only card up to hundreds. So +1 from me on this issue

The firmware you mentioned should not play any role here if you have only the WiFi card that was supplied with the router - it is an Atheros AR9300 card, so it obviously does not use Realtek firmware.

Cards in the “old Turris” use ath9k driver which does not use any firmware at all. We are currently trying to reproduce the issue, however without any success at all. At least in freshly installed Turris 3.3 - also it has not surfaced on testing devices during the staging process. It might help us if you provide us with more information about your setup - i.e. whether you has Turris 1.x or Omnia and on which WiFi clients are you experiencing these problems (device model, WiFi card, operating system, …). The more information we gather, the faster we can find the root cause of the problem.

I have old turris (1.x). The worst problem (connected to wifi, but internet is not working) is with Nexus 5X (android 7.0 and 7.1). But other android devices have the same ping problem. I can provide any output from turris you need.

uname -a

Linux turris 3.18.44-93291736f4d5145ea9d62e8746031bf1-15 #1 SMP Wed Nov 30 15:33:28 CET 2016 ppc GNU/Linux

lsmod

act_ipt                 2992  0 
act_mirred              2768  0 
act_police              3444  0 
act_skbedit             1956  0 
aead                    4508  0 
af_rxrpc               79598  4 rxkad
async_memcpy             634  1 raid456
async_pq                1646  1 raid456
async_raid6_recov       1013  1 raid456
async_tx                1105  5 raid456
async_xor               1097  2 raid456
ath                    18221  3 ath9k
ath9k                  92061  0 
ath9k_common           19302  1 ath9k
ath9k_hw              339889  2 ath9k
atm                    33594  2 pppoatm
autofs4                21231  0 
br2684                  7388  0 
btrfs                 869974  0 
button_hotplug          3084  0 
cdc_ether               3932  1 rndis_host
cfg80211              243362  4 ath9k
cifs                  215354  0 
cls_basic               3364  0 
cls_flow                5548  0 
cls_fw                  3692  0 
cls_route               4772  0 
cls_tcindex             4576  0 
cls_u32                 6588  0 
compat                 18122  4 ath9k
configfs               19500  0 
cp210x                  7560  0 
cramfs                 38826  0 
crc32c_generic           944  2 
crc_ccitt                995  1 ppp_async
crc_itu_t               1003  1 udf
crypto_hash            10362 11 cifs
des_generic            16507  0 
dns_resolver            3842  1 kafs
ecb                     1452  0 
ehci_hcd               39813  1 ehci_platform
ehci_platform           3908  0 
em_cmp                   720  0 
em_meta                 4740  0 
em_nbyte                 768  0 
em_text                 1424  0 
em_u32                   576  0 
exfat                  95919  0 
ext4                  316079  1 
f2fs                  139829  0 
fat                    47519  2 msdos
fcrypt                  7724  1 
fscache                41824  1 kafs
fsl_mph_dr_of           3196  0 
fuse                   69165  0 
gpio_keys               6920  0 
grace                   1357  1 lockd
gre                     3423  1 ip_gre
hfs                    47003  0 
hfsplus                94255  0 
hmac                    2296  0 
hwmon                   2184  1 lm90
input_core             25710  3 gpio_keys
ip6_tables              9945  4 ip6table_nat
ip6_tunnel             18585  0 
ip6t_MASQUERADE          584  0 
ip6t_NPT                1556  0 
ip6t_REJECT             1236  2 
ip6table_filter          860  1 
ip6table_mangle         1416  1 
ip6table_nat            1028  1 
ip6table_raw             800  1 
ip_gre                  7516  0 
ip_set                 22476 16 xt_set
ip_set_bitmap_ip        6632  0 
ip_set_bitmap_ipmac     6584  0 
ip_set_bitmap_port      5928  0 
ip_set_hash_ip         16424  0 
ip_set_hash_ipmark     16704  0 
ip_set_hash_ipport     17264  0 
ip_set_hash_ipportip   18096  2 
ip_set_hash_ipportnet   23304  0 
ip_set_hash_mac         8572  0 
ip_set_hash_net        20464 16 
ip_set_hash_netiface   22280  0 
ip_set_hash_netnet     23224  0 
ip_set_hash_netport    22048  2 
ip_set_hash_netportnet   24336  0 
ip_set_list_set         7352  0 
ip_tables               9765  4 iptable_nat
ip_tunnel              11859  2 ip_gre
ipt_MASQUERADE           664  1 
ipt_REJECT               960  2 
iptable_filter           916  1 
iptable_mangle          1096  1 
iptable_nat             1028  1 
iptable_raw              856  1 
isofs                  20987  0 
jbd2                   55154  1 ext4
jfs                   147580  0 
kafs                   81422  0 
leds_gpio               3140  0 
libcrc32c                619  1 xfs
linear                  3500  0 
lm90                   10460  0 
lockd                  51367  3 nfsd
mac80211              426511  1 ath9k
mbcache                 7233  1 ext4
md4                     3040  0 
md5                     1600  0 
md_mod                 96253  6 multipath
mii                     3648  1 usbnet
minix                  26490  0 
mmc_block              22565  1 
mmc_core               78076  3 mmc_block
msdos                   5832  0 
multipath               5580  0 
nf_conntrack           61072 30 nf_nat_pptp
nf_conntrack_amanda     1900  1 nf_nat_amanda
nf_conntrack_broadcast     885  1 nf_conntrack_snmp
nf_conntrack_ftp        5436  1 nf_nat_ftp
nf_conntrack_h323      33839  1 nf_nat_h323
nf_conntrack_ipv4       5652 10 
nf_conntrack_ipv6       6864 10 
nf_conntrack_irc        2980  1 nf_nat_irc
nf_conntrack_netlink   19856  0 
nf_conntrack_pptp       3464  1 nf_nat_pptp
nf_conntrack_proto_gre    3346  1 nf_conntrack_pptp
nf_conntrack_rtcache    2724  0 
nf_conntrack_sip       17225  1 nf_nat_sip
nf_conntrack_snmp        752  1 nf_nat_snmp_basic
nf_conntrack_tftp       2864  1 nf_nat_tftp
nf_defrag_ipv4           942  3 nf_conntrack_ipv4
nf_defrag_ipv6         13739  3 nf_conntrack_ipv6
nf_log_common           2603  2 nf_log_ipv4
nf_log_ipv4             3288 53 
nf_log_ipv6             3468  5 
nf_nat                 10616 14 nf_nat_pptp
nf_nat_amanda            904  0 
nf_nat_ftp              1308  0 
nf_nat_h323             4788  0 
nf_nat_ipv4             4089  1 iptable_nat
nf_nat_ipv6             4475  1 ip6table_nat
nf_nat_irc              1104  0 
nf_nat_masquerade_ipv4    1568  1 ipt_MASQUERADE
nf_nat_masquerade_ipv6    1448  1 ip6t_MASQUERADE
nf_nat_pptp             1740  0 
nf_nat_proto_gre         852  1 nf_nat_pptp
nf_nat_sip              6808  0 
nf_nat_snmp_basic       7140  0 
nf_nat_tftp              644  0 
nf_reject_ipv4          1971  1 ipt_REJECT
nf_reject_ipv6          2299  1 ip6t_REJECT
nfnetlink               4447  5 nfnetlink_acct
nfnetlink_acct          4370  1 xt_nfacct
nfnetlink_log           6946  2 xt_NFLOG
nfs                   109714  1 nfsv3
nfsd                   75953  0 
nfsv3                  15584  0 
nls_base                5224 29 vfat
nls_cp1250              3908  0 
nls_cp1251              3652  0 
nls_cp1255              4176  0 
nls_cp437               4420  0 
nls_cp775               3908  0 
nls_cp850               3652  0 
nls_cp852               3652  0 
nls_cp862               4676  0 
nls_cp864               4164  0 
nls_cp866               3908  0 
nls_cp932              76804  0 
nls_iso8859_1           2888  0 
nls_iso8859_13          3400  0 
nls_iso8859_15          3400  0 
nls_iso8859_2           3400  0 
nls_iso8859_6           3144  0 
nls_koi8_r              3908  0 
nls_utf8                 908  0 
ntfs                   99791  0 
option                 30900  0 
pcbc                    2032  1 
ppp_async               7240  0 
ppp_generic            21794  5 pppoe
ppp_mppe                5144  0 
pppoatm                 3436  0 
pppoe                   9904  0 
pppox                   1430  1 pppoe
raid0                   7160  0 
raid1                  27483  0 
raid10                 39036  0 
raid456                61944  0 
raid6_pq               82736  3 async_raid6_recov
reiserfs              226866  0 
rndis_host              5889  0 
rxkad                   7836  0 
sch_codel               4552  0 
sch_dsmark              4100  0 
sch_fq                  6368  0 
sch_gred                6692  0 
sch_hfsc               13732  0 
sch_htb                13220  0 
sch_ingress             1152  0 
sch_netem               7916  0 
sch_pie                 4592  0 
sch_prio                3756  0 
sch_red                 5104  0 
sch_sfq                 8944  0 
sch_tbf                 5864  0 
sch_teql                4132  0 
scsi_mod               88447  3 ums_cypress
sd_mod                 25980  0 
sdhci                  27307  2 sdhci_of_esdhc
sdhci_of_esdhc          3656  0 
sdhci_pltfm             3505  1 sdhci_of_esdhc
sha1_generic            1519  0 
sha256_generic          9089  0 
sit                    15196  0 
slhc                    4987  1 ppp_generic
snd                    46625  8 snd_compress
snd_compress            6511  0 
snd_hwdep               5058  0 
snd_mixer_oss          12561  1 snd_pcm_oss
snd_pcm                64242  1 snd_pcm_oss
snd_pcm_oss            33729  0 
snd_rawmidi            16306  0 
snd_seq_device          4449  1 snd_rawmidi
snd_timer              16306  1 snd_pcm
soundcore               4048  1 snd
spidev                  4940  0 
sunrpc                155314  4 nfsd
ts_bm                   1388  0 
ts_fsm                  2572  0 
ts_kmp                  1276  5 
tun                    16627  2 
tunnel4                 1854  1 sit
tunnel6                 1726  1 ip6_tunnel
udf                    84500  0 
uhci_hcd               21928  0 
ums_alauda              8016  0 
ums_cypress             2372  0 
ums_datafab             5280  0 
ums_freecom             2232  0 
ums_isd200              5612  0 
ums_jumpshot            4144  0 
ums_karma               1652  0 
ums_sddr09              8956  0 
ums_sddr55              5296  0 
ums_usbat               7124  0 
usb_common              1780  1 usbcore
usb_storage            40702 10 ums_usbat
usb_wwan                5412  1 option
usbcore               132495 24 option
usbnet                 17822  2 rndis_host
usbserial              19703  3 option
vfat                    8268  0 
x_tables               11614 34 ipt_REJECT
xfs                   464522  0 
xhci_hcd               88274  2 xhci_plat_hcd
xhci_pci                3104  0 
xhci_plat_hcd           3600  0 
xor                     5903  2 async_xor
xt_CT                   2876  0 
xt_LOG                   808 58 
xt_NFLOG                 660  0 
xt_REDIRECT             1128  6 
xt_TCPMSS               2668  2 
xt_TPROXY               3796  0 
xt_comment               492 86 
xt_conntrack            2216 18 
xt_id                    492  0 
xt_limit                1064 78 
xt_mac                   628  0 
xt_mark                  708 40 
xt_multiport            1188  0 
xt_nat                  1172  5 
xt_nfacct                812  0 
xt_set                  5848 80 
xt_socket               2964  2 
xt_state                 764  0 
xt_tcpudp               1700 33 
xt_time                 1688  0

Hi,

same here (Turris 1, Turris OS 3.3, Nexus 5X).

24 packets transmitted, 19 packets received, 20% packet loss
round-trip min/avg/max = 91.876/3589.626/9315.294 ms

Feel free to contact me directly for more information.

K

This thread is about previous Turris. About Omnia and ATH10K issue is this thread: Ath10k (5GHz card) after upgrade to 3.3

Hello, I have same issues connecting to Turris 1.0 on 5GHz internal wifi from Macbook with broadcom wifi card. Since upgrade i experience connection outage even macbook wifi is associated but no network connection at all. Solution is disconnect wifi and reconnect but then the issue rise again after some time. I can help test but not sure which linux commands output will help you. Also can try install patched kmods but how to get them ?

I am also having large packet loss (20+%). I am not sure if it is due to the turris fw upgrade as I have also wifi-ed in my desktop (had to switch from wire due to move) this weekend. however no new changes to turris sw config and judging from this forum, it probably is from same cathegory.
i am using wifi 2.4, no second wifi card. PC connected over wifi doesnt have the best signal, SNR 15-20
to me it seems that issue appears if I copy few GB of data to hdd attached to turris shared via samba.
during this cppy, ping jumps from 10 to 150ms. then keeps steadily growing up to thousand. Then i assume ping just timeouts and I get lost packets. Interesting thing is that this is point of no return. reboot of PC doesnt help. other devices on the network (phone) get also large packetloss (internet unusable). Rebooting turris fixes the prpblem immediately

The same issue - Turris 1.0, default 2.4GHz wifi card, big packet loss around 20%. It happened after update to 3.3.

I have noticed the same problem. 5G network disappears and can only be found again if I restart the router. I’ve a new router, I don’t know if you call it Turris2?

Device Turris Omnia - RTROM01
Turris OS version 3.3
Kernel version 4.4.35-34abcd5e548fc8ed5390269f3a31d173-15

I have noticed also the same problem after upgrade to 3.3 - Turris 1.0 only 2.4GHz - network connected but big packet loss

Regarding this commit: https://github.com/CZ-NIC/turris-os/commit/0dfab73a55120bc13b9bbab81768fc1022d140bf , when we can expect new update? Hope before Christmas…

It reverts commit, which was released 21h.
It’s not related to us. It was in nightly branch for testing.

And also ath10k is related to Qualcom Atheros QCA988x family drivers, which support 802.11ac (= 5 GHz)

About ath9k could be this commit: https://github.com/CZ-NIC/turris-os/commit/fc78e61444ca9aa645d3d0d2b4593cec78ea21b0

What @miska told me yesterday he hope that he can push another update this week regarding wifi issues.

Update! great packet loss here as well. Streaming from wireless is not very good :frowning:

It’s incredible that QA has not found massive showstoppers like this. I have a Turris 1 and an Omnia. They are configured almost as they arrived (nothing unusual running on them) and they both have been crippled by this update. Over $500 of hardware now unusable.

1 Like

You can do a rollback to the time before the update. For example

https://www.turris.cz/doc/en/howto/omnia_factory_reset

How to prevent a new post-upgrade?