Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't get my wifi working.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gaurav712
n00b
n00b


Joined: 12 Jan 2019
Posts: 24
Location: India

PostPosted: Thu Feb 21, 2019 5:01 am    Post subject: [SOLVED] Can't get my wifi working. Reply with quote

My wifi device is Qualcomm Atheros QCA9377 . Networking works just fine when boot into live environment but after install, it just shows "lo" device. Ethernet doesn't work either but I just have access to wifi, so I don't care about that ( btw it's Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller ). I need help selecting kernel modules. I tried installing linux-firmware and compiling kernel with genkernel as well but neither of them worked. My wifi device uses ath10k driver. Here is my dmesg from arch, if you need it : https://gist.github.com/gaurav712/7508b81a6e1b329b376b806edd86f49a . Thanks for your kind help in advance.

Last edited by gaurav712 on Fri Mar 15, 2019 10:13 am; edited 1 time in total
Back to top
View user's profile Send private message
bec
Apprentice
Apprentice


Joined: 30 Sep 2004
Posts: 218
Location: Cali - Colombia

PostPosted: Thu Feb 21, 2019 4:57 pm    Post subject: Reply with quote

Hi,

For kernel config I have:
Code:

CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE="i915/bxt_dmc_ver1_07.bin ath10k/QCA9377/hw1.0/firmware-5.bin ath10k/QCA9377/hw1.0/board.bin intel-ucode/06-5c-09"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"


The intel-ucode is for intel firmware of my box and comes from the sys-firmware/
intel-microcode package

For USE flags:
Code:

sys-kernel/linux-firmware  savedconfig


And /etc/portage/savedconfig/sys-kernel/linux-firmware
Code:

# atheros wifi:
LICENCE.atheros_firmware
ath10k/QCA9377/hw1.0/firmware-5.bin
ath10k/QCA9377/hw1.0/board.bin



For handling wifi I have networkmanager and plasma-nm from KDE plasma working fine.
_________________
abe
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43186
Location: 56N 3W

PostPosted: Thu Feb 21, 2019 6:15 pm    Post subject: Reply with quote

gaurav712,

Genkernel usually does not configure Wifi. There are so many and they have conflicting kernel requirements and on top of that, need firmware. So its mostly not useful.

Your Wifi needs
Code:
 Symbol: ATH10K [=n]                                                                                                                                                │ 
  │ Type  : tristate                                                                                                                                                   │ 
  │ Prompt: Atheros 802.11ac wireless cards support                                                                                                                    │ 
  │   Location:                                                                                                                                                        │ 
  │     -> Device Drivers                                                                                                                                              │ 
  │       -> Network device support (NETDEVICES [=y])                                                                                                                  │ 
  │         -> Wireless LAN (WLAN [=y])                                                                                                                                │ 
  │ (1)       -> Atheros/Qualcomm devices (WLAN_VENDOR_ATH [=n])                                                                                                       │ 
  │   Defined at drivers/net/wireless/ath/ath10k/Kconfig:1                                                                                                             │ 
  │   Depends on: NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_ATH [=n] && MAC80211 [=y] && HAS_DMA [=y]                                                                │ 
  │   Selects: ATH_COMMON [=n] && CRC32 [=y] && WANT_DEV_COREDUMP [=n] && ATH10K_CE [=n]                                                                               │ 
  │                                                                                                                             


Run genkernel with the --menuconfig option and set ATH10K as a module.

Check the things that bec talked about too. You need all the bits.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gaurav712
n00b
n00b


Joined: 12 Jan 2019
Posts: 24
Location: India

PostPosted: Thu Feb 21, 2019 7:08 pm    Post subject: Reply with quote

bec wrote:
Hi,

For kernel config I have:
Code:

CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE="i915/bxt_dmc_ver1_07.bin ath10k/QCA9377/hw1.0/firmware-5.bin ath10k/QCA9377/hw1.0/board.bin intel-ucode/06-5c-09"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"


The intel-ucode is for intel firmware of my box and comes from the sys-firmware/
intel-microcode package

For USE flags:
Code:

sys-kernel/linux-firmware  savedconfig


And /etc/portage/savedconfig/sys-kernel/linux-firmware
Code:

# atheros wifi:
LICENCE.atheros_firmware
ath10k/QCA9377/hw1.0/firmware-5.bin
ath10k/QCA9377/hw1.0/board.bin



For handling wifi I have networkmanager and plasma-nm from KDE plasma working fine.


Thanks, will try that.
Back to top
View user's profile Send private message
gaurav712
n00b
n00b


Joined: 12 Jan 2019
Posts: 24
Location: India

PostPosted: Sat Feb 23, 2019 8:09 am    Post subject: Reply with quote

bec wrote:
Hi,

For kernel config I have:
Code:

CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE="i915/bxt_dmc_ver1_07.bin ath10k/QCA9377/hw1.0/firmware-5.bin ath10k/QCA9377/hw1.0/board.bin intel-ucode/06-5c-09"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"


The intel-ucode is for intel firmware of my box and comes from the sys-firmware/
intel-microcode package

For USE flags:
Code:

sys-kernel/linux-firmware  savedconfig


And /etc/portage/savedconfig/sys-kernel/linux-firmware
Code:

# atheros wifi:
LICENCE.atheros_firmware
ath10k/QCA9377/hw1.0/firmware-5.bin
ath10k/QCA9377/hw1.0/board.bin


Thanks mate, it's up and working but God! It's a hell compiling X and its deps on a pentium. :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43186
Location: 56N 3W

PostPosted: Sat Feb 23, 2019 10:09 am    Post subject: Reply with quote

gaurav712,

gaurav712 wrote:
Thanks mate, it's up and working but God! It's a hell compiling X and its deps on a pentium.


Don't do that. There are other ways.

1) Make a chroot on a more capable system. Configure the chroot to suit the Pentium and build binary packages. Install the binaries on the Pentium.
1a) Share the Pentium root filesystem over NFS. Chroot into it.
1b) Put the Pentium HDD into a more capable system. Build for a Pentium.

2) Play with distcc. The Pentium does the configure and link but the builds are offloaded over the network.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum