Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
World of Warcraft

Novinky: Školení nejen k OS Ubuntu pro širokou veřejnost, více informací zde.

Autor Téma: Výpadky wifi sítě - Qualcomm Atheros Device 0042 (rev 30) ubuntu x64 16.04  (Přečteno 530 krát)

Lord SMRTKA

  • Návštěvník
  • *
  • Příspěvků: 65
  • Karma: +6/-5
    • Zobrazit profil
Při připojení přes wifi mám dlouhé výpadky v řádek sekund.
Kód: [Vybrat]
--- www.google.com ping statistics ---
200 packets transmitted, 194 received, 3% packet loss, time 199250ms
rtt min/avg/max/mdev = 14.437/95.168/1835.112/231.037 ms, pipe 2

Při připojení přes eth
Kód: [Vybrat]
--- www.google.com ping statistics ---
200 packets transmitted, 200 received, 0% packet loss, time 199294ms
rtt min/avg/max/mdev = 13.211/24.292/63.923/8.194 ms

Zkoušel jsem postupovat podle tohoto návodu:
Kód: [Vybrat]
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.5_all.deb
sudo dpkg -i linux-firmware_1.157.5_all.deb

to nepomohlo, tak jsem zkoušel tohle:
Kód: [Vybrat]
sudo apt-get install build-essential linux-headers-$(uname -r) git
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
tar zxvf backports-20151120.tar.gz
cd backports-20151120
make defconfig-wifi
make
sudo make install
git clone https://github.com/kvalo/ath10k-firmware.git
sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

ale při příkazu sudo make install mi to hodilu tuto chybu
Kód: [Vybrat]
longin@sprichutipizza:~/backports-20151120$ sudo apt-get install build-essential linux-headers-$(uname -r) git
Načítají se seznamy balíků… Hotovo
Vytváří se strom závislostí       
Načítají se stavové informace… Hotovo
build-essential je již nejnovější verze (12.1ubuntu2).
git je již nejnovější verze (1:2.7.4-0ubuntu1).
linux-headers-4.4.0-57-generic je již nejnovější verze (4.4.0-57.78).
Následující balíky byly nainstalovány automaticky a již nejsou potřeba:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic
  linux-image-extra-4.4.0-21-generic
Pro jejich odstranění použijte „sudo apt autoremove“.
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
longin@sprichutipizza:~/backports-20151120$ echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
options ath10k_core skip_otp=y
longin@sprichutipizza:~/backports-20151120$ wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
--2016-12-29 13:38:13--  https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz
Překládám www.kernel.org (www.kernel.org)… 149.20.4.69, 199.204.44.194, 198.145.20.140, ...
Navazuje se spojení s www.kernel.org (www.kernel.org)|149.20.4.69|:443… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 15505007 (15M) [application/x-gzip]
Ukládám do: „backports-20151120.tar.gz“

backports-20151120.tar 100%[=========================>]  14,79M  1018KB/s    in 14s     

2016-12-29 13:38:29 (1,04 MB/s) – „backports-20151120.tar.gz“ uloženo [15505007/15505007]

longin@sprichutipizza:~/backports-20151120$ tar zxvf backports-20151120.tar.gz
backports-20151120/
backports-20151120/Kconfig.sources
backports-20151120/versions
...
...
...
backports-20151120/compat/backport-4.0.c
backports-20151120/compat/compat-3.7.c
backports-20151120/compat/mm-frame_vector.c
longin@sprichutipizza:~/backports-20151120$ cd backports-20151120
longin@sprichutipizza:~/backports-20151120/backports-20151120$ make defconfig-wifi
Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o conf.o conf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer   -c -o zconf.tab.o zconf.tab.c
cc   conf.o zconf.tab.o   -o conf
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
longin@sprichutipizza:~/backports-20151120/backports-20151120$ make
make[5]: „conf“ je aktuální.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
  CC [M]  /home/longin/backports-20151120/backports-20151120/compat/main.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/compat/backport-4.5.o
  LD [M]  /home/longin/backports-20151120/backports-20151120/compat/compat.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/compat/lib-cordic.o
  LD [M]  /home/longin/backports-20151120/backports-20151120/compat/cordic.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/main.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/scan.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/core.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/sprom.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_chipcommon.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_chipcommon_pmu.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_chipcommon_b.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_pci.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_pcie2.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/driver_gpio.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/host_pci.o
  LD [M]  /home/longin/backports-20151120/backports-20151120/drivers/bcma/bcma.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/usb/cdc_ether.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/usb/rndis_host.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/usb/usbnet.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/usb/cdc_ncm.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/airo.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/airo_cs.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/atmel.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/atmel_pci.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/atmel_cs.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/at76c50x-usb.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/rndis_wlan.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/zd1201.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/adm8211.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mwl8k.o
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o
In file included from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:0:
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c: In function ‘hwsim_mcast_config_msg’:
/home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:150:26: warning: passing argument 3 of ‘genl_notify’ from incompatible pointer type [-Wincompatible-pointer-types]
  genl_notify(_fam, _skb, genl_info_net(_info),   \
                          ^
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:2193:3: note: in expansion of macro ‘genl_notify’
   genl_notify(&hwsim_genl_family, mcast_skb, info,
   ^
In file included from /home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:3:0,
                 from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:
include/net/genetlink.h:186:6: note: expected ‘struct genl_info *’ but argument is of type ‘struct net *’
 void genl_notify(struct genl_family *family, struct sk_buff *skb,
      ^
In file included from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:0:
/home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:150:2: error: too many arguments to function ‘genl_notify’
  genl_notify(_fam, _skb, genl_info_net(_info),   \
  ^
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:2193:3: note: in expansion of macro ‘genl_notify’
   genl_notify(&hwsim_genl_family, mcast_skb, info,
   ^
In file included from /home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:3:0,
                 from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:
include/net/genetlink.h:186:6: note: declared here
 void genl_notify(struct genl_family *family, struct sk_buff *skb,
      ^
scripts/Makefile.build:264: návod pro cíl „/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o“ selhal
make[6]: *** [/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o] Chyba 1
scripts/Makefile.build:403: návod pro cíl „/home/longin/backports-20151120/backports-20151120/drivers/net/wireless“ selhal
make[5]: *** [/home/longin/backports-20151120/backports-20151120/drivers/net/wireless] Chyba 2
Makefile:1420: návod pro cíl „_module_/home/longin/backports-20151120/backports-20151120“ selhal
make[4]: *** [_module_/home/longin/backports-20151120/backports-20151120] Chyba 2
Makefile.build:6: návod pro cíl „modules“ selhal
make[3]: *** [modules] Chyba 2
Makefile.real:88: návod pro cíl „modules“ selhal
make[2]: *** [modules] Chyba 2
Makefile:40: návod pro cíl „modules“ selhal
make[1]: *** [modules] Chyba 2
Makefile:30: návod pro cíl „default“ selhal
make: *** [default] Chyba 2
longin@sprichutipizza:~/backports-20151120/backports-20151120$ sudo make install
  CC [M]  /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o
In file included from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:0:
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c: In function ‘hwsim_mcast_config_msg’:
/home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:150:26: warning: passing argument 3 of ‘genl_notify’ from incompatible pointer type [-Wincompatible-pointer-types]
  genl_notify(_fam, _skb, genl_info_net(_info),   \
                          ^
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:2193:3: note: in expansion of macro ‘genl_notify’
   genl_notify(&hwsim_genl_family, mcast_skb, info,
   ^
In file included from /home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:3:0,
                 from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:
include/net/genetlink.h:186:6: note: expected ‘struct genl_info *’ but argument is of type ‘struct net *’
 void genl_notify(struct genl_family *family, struct sk_buff *skb,
      ^
In file included from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:0:
/home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:150:2: error: too many arguments to function ‘genl_notify’
  genl_notify(_fam, _skb, genl_info_net(_info),   \
  ^
/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:2193:3: note: in expansion of macro ‘genl_notify’
   genl_notify(&hwsim_genl_family, mcast_skb, info,
   ^
In file included from /home/longin/backports-20151120/backports-20151120/backport-include/net/genetlink.h:3:0,
                 from /home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.c:32:
include/net/genetlink.h:186:6: note: declared here
 void genl_notify(struct genl_family *family, struct sk_buff *skb,
      ^
scripts/Makefile.build:264: návod pro cíl „/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o“ selhal
make[5]: *** [/home/longin/backports-20151120/backports-20151120/drivers/net/wireless/mac80211_hwsim.o] Chyba 1
scripts/Makefile.build:403: návod pro cíl „/home/longin/backports-20151120/backports-20151120/drivers/net/wireless“ selhal
make[4]: *** [/home/longin/backports-20151120/backports-20151120/drivers/net/wireless] Chyba 2
Makefile:1420: návod pro cíl „_module_/home/longin/backports-20151120/backports-20151120“ selhal
make[3]: *** [_module_/home/longin/backports-20151120/backports-20151120] Chyba 2
Makefile.build:6: návod pro cíl „modules“ selhal
make[2]: *** [modules] Chyba 2
Makefile.real:88: návod pro cíl „modules“ selhal
make[1]: *** [modules] Chyba 2
Makefile:40: návod pro cíl „install“ selhal
make: *** [install] Chyba 2
longin@sprichutipizza:~/backports-20151120/backports-20151120$

Neřešil jste někdo stejný problém?

petertomasy

  • Stálý člen
  • ***
  • Příspěvků: 753
  • Karma: +87/-8
    • Zobrazit profil
ak máš jadro 4.4.x , tak použi
Citace
https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
postup je rovnaký :
Citace
Qualcomm Atheros Device 0042 (rev 30)

sudo apt-get install build-essential linux-headers-$(uname -r) git

echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf

wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz

tar -zxvf backports-4.4.2-1.tar.gz

cd backport-4.4.2-1

make defconfig-wifi

make

sudo make install

git clone https://github.com/kvalo/ath10k-firmware.git

sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/

sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

Lord SMRTKA

  • Návštěvník
  • *
  • Příspěvků: 65
  • Karma: +6/-5
    • Zobrazit profil
Děkuji moc, funguje to :)
Mám ještě otázku. Když přijde aktualizace na jádro, tak mám provést novou instalaci ovladače na wifi a nebo to bude fungovat i s nový jádrem?

juwa2

  • Stálý člen
  • ***
  • Příspěvků: 879
  • Karma: +66/-19
    • Zobrazit profil
Klidně jádro aktualizuj, ovladač zůstane funkční...
« Poslední změna: 11 Leden 2017, 10:52:41 od juwa2 »

Lord SMRTKA

  • Návštěvník
  • *
  • Příspěvků: 65
  • Karma: +6/-5
    • Zobrazit profil
Děkuji. Já jen, že u nějakého ntb, jsem musel po instalaci nového jádra přeinstalovávat ovladač.