Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wifi install - ATH10K
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 14, 2017 4:36 am    Post subject: Reply with quote

OK, will do; I know it works because it's fine in my Mint install (and as posted above Mint dmesg complains that the firmware-5.bin is missing too!)
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 14, 2017 4:41 am    Post subject: Reply with quote

OK, one thing I notice on my lspci after doing all the kernel config steps:

the Wiki says:
Code:
root #lspci -nnkv

02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
        Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
        Flags: bus master, fast devsel, latency 0, IRQ 141
        Memory at ed200000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=8/8 Maskable+ 64bit-
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Virtual Channel
        Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [178] Latency Tolerance Reporting
        Capabilities: [180] L1 PM Substates
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci


my output misses many capabilities - I'm guessing because of missing firmware?
Code:
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
        Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
        Flags: bus master, fast devsel, latency 0, IRQ 133
        Memory at ed200000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/8 Maskable+ 64bit-
        Capabilities: [70] Express Endpoint, MSI 00
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci


tree shows the card now at least

Code:
xps15 /home/will # tree /sys/class/net
/sys/class/net
├── bond0 -> ../../devices/virtual/net/bond0
├── bonding_masters
├── dummy0 -> ../../devices/virtual/net/dummy0
├── enp10s0u1u4 -> ../../devices/pci0000:00/0000:00:1d.6/0000:06:00.0/0000:07:02.0/0000:0a:00.0/usb4/4-1/4-1.4/4-1.4:1.0/net/enp10s0u1u4
├── eql -> ../../devices/virtual/net/eql
├── gre0 -> ../../devices/virtual/net/gre0
├── gretap0 -> ../../devices/virtual/net/gretap0
├── lo -> ../../devices/virtual/net/lo
├── tunl0 -> ../../devices/virtual/net/tunl0
└── wlp2s0 -> ../../devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/wlp2s0

_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 14, 2017 4:46 am    Post subject: Reply with quote

Indeed it may actually be working anyway!
Code:

xps15 /home/will # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether d6:6b:74:62:fc:01 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether ee:7e:42:86:32:09 brd ff:ff:ff:ff:ff:ff
4: eql: <MASTER> mtu 576 qdisc noop state DOWN group default qlen 5
    link/slip
5: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/ipip 0.0.0.0 brd 0.0.0.0
6: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1
    link/gre 0.0.0.0 brd 0.0.0.0
7: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
8: enp10s0u1u4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether d4:81:d7:38:33:0c brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.24/24 brd 192.168.0.255 scope global enp10s0u1u4
       valid_lft forever preferred_lft forever
9: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 9c:b6:d0:de:75:a3 brd ff:ff:ff:ff:ff:ff
xps15 /home/will # ifconfig -a
bond0: flags=5122<BROADCAST,MASTER,MULTICAST>  mtu 1500
        ether d6:6b:74:62:fc:01  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

dummy0: flags=130<BROADCAST,NOARP>  mtu 1500
        ether ee:7e:42:86:32:09  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

enp10s0u1u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.24  netmask 255.255.255.0  broadcast 192.168.0.255
        ether d4:81:d7:38:33:0c  txqueuelen 1000  (Ethernet)
        RX packets 96821  bytes 142796927 (136.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48566  bytes 3613965 (3.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eql: flags=1024<MASTER>  mtu 576
        slip  txqueuelen 5  (Serial Line IP)
        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

gre0: flags=128<NOARP>  mtu 1476
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1  (UNSPEC)
        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

gretap0: flags=4098<BROADCAST,MULTICAST>  mtu 1462
        ether 00:00:00:00:00:00  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

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Local Loopback)
        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

tunl0: flags=128<NOARP>  mtu 1480
        tunnel   txqueuelen 1  (IPIP Tunnel)
        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

wlp2s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 9c:b6:d0:de:75:a3  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

xps15 /home/will # ifconfig -v wlp2s0 up
xps15 /home/will # ifconfig
enp10s0u1u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.24  netmask 255.255.255.0  broadcast 192.168.0.255
        ether d4:81:d7:38:33:0c  txqueuelen 1000  (Ethernet)
        RX packets 96838  bytes 142798907 (136.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48579  bytes 3616443 (3.4 MiB)
        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
        loop  txqueuelen 1  (Local Loopback)
        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

wlp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 9c:b6:d0:de:75:a3  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

xps15 /home/will #

_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Fri Jul 14, 2017 5:27 am    Post subject: Reply with quote

But your UP,BROADCAST,RUNNING,MULTICAST is from enp10s0u1u4, not from wlp2s0.
You might check the rfkill state, see https://wiki.gentoo.org/wiki/Dell_Latitude_E6430_%28CYRTRY1%29#rfkill.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 14, 2017 7:53 am    Post subject: Reply with quote

Yes I know it's not actually working but it is recognised which I don't think it ever was before - last time I produced the Tree command it was absent.
_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Fri Jul 14, 2017 8:06 am    Post subject: Reply with quote

stardotstar wrote:
Yes I know it's not actually working but it is recognised which I don't think it ever was before - last time I produced the Tree command it was absent.

If you really want to make it work, be aware there are two pieces that need to co-operate: Driver and firmware.
Firmware version should be compatible with driver version. The driver is from your kernel (4.9.34 ?).

Have you thought of contacting the developer of https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174 and asking for clarification?
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Fri Jul 14, 2017 8:15 am    Post subject: Reply with quote

OK, no I hadn't - having such a basic understanding of all this I felt that it was something daft I've done that is constraining me.
_________________
]8P
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Jul 14, 2017 12:22 pm    Post subject: Reply with quote

IIRC kernel output messages used to report successful and unsuccessful firmware loads. now they only report unsuccessful attempts. It looks as though the mint dmesg lines
Quote:
[ 7.859740] ath10k_pci 0000:02:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 7.859752] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 7.930117] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
are the equivalent of a success report.
Does your current gentoo dmesg have a similar set of lines?
It looks, to me, as though the NIC has firmware and driver and is ready to go, but wifi networking has not been setup.
Check kernel config has:
Quote:
[*] Networking support --->
-*- Wireless --->
<M> cfg80211 - wireless configuration API
[*] cfg80211 wireless extensions compatibility
<M> Generic IEEE 802.11 Networking Stack (mac80211)

<M> RF switch subsystem support ----

https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Wireless
Recommend emerge rfkill dhcpcd wpa_supplement netifrc net-tools bind-tools iw
One and only one of the following protocols is recommended (they can interfere with each other):
https://wiki.gentoo.org/wiki/Netifrc
https://wiki.gentoo.org/wiki/Network_management_using_DHCPCD
https://wiki.gentoo.org/wiki/Wicd
https://wiki.gentoo.org/wiki/NetworkManager
_________________
Defund the FCC.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Fri Jul 14, 2017 2:03 pm    Post subject: Reply with quote

DONAHUE wrote:
IIRC kernel output messages used to report successful and unsuccessful firmware loads. now they only report unsuccessful attempts.

At least for iwlwifi and kernel version 4.9.34 the successful loaded firmware version 18.168.6.1 op_mode iwldwm is still there.
https://bugzilla.kernel.org/show_bug.cgi?id=191641 may change this for ath10k.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Jul 14, 2017 5:03 pm    Post subject: Reply with quote

Thanks, charles17. I watched the 'loaded firmware' messages for radeon vga cards and broadcom and realtek NIC's disappear from my machines' dmesg's and overgeneralized.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Fri Jul 14, 2017 5:30 pm    Post subject: Reply with quote

DONAHUE, do you think the workaround in https://wiki.gentoo.org/wiki/Qualcomm_Atheros_QCA6174#Firmware could already be obsolete?
It's hard to advise when not having that piece of hardware
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Fri Jul 14, 2017 7:09 pm    Post subject: Reply with quote

I'm guessing that when Star went to sys-kernel/linux-firmware-20170622 and observed ifconfig -a and ifconfig showing an interface that the linux-firmware-20170622 was good without the workaround.
The 20170622 version should include an update to the git source that added firmware6.bin a month ago but not a subsequent update of 8 days ago.
I don't have his NIC either ..
_________________
Defund the FCC.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 1:19 am    Post subject: Reply with quote

My head is still spinning a bit with all this - I know I've not got wifi networking working yet - been working on that when I borked the system by fooling with my static-libs. A whole different can of worms I'm looking into on that side.
Thanks for the discussion - I'm slowly starting to see the wood for the trees.
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 1:53 am    Post subject: Reply with quote

So the current state of play is that I can now see the interface in ifconfig and it is stated as UP, BROADCASE, MULTICAST but not Running and NetworkManager in KDE doesn't 'see' it.

Code:
xps15 /home/will # ifconfig
enp10s0u1u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.24  netmask 255.255.255.0  broadcast 192.168.0.255
        ether d4:81:d7:38:33:0c  txqueuelen 1000  (Ethernet)
        RX packets 2400  bytes 1579243 (1.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2196  bytes 362712 (354.2 KiB)
        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
        loop  txqueuelen 1  (Local Loopback)
        RX packets 48  bytes 3120 (3.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 48  bytes 3120 (3.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether aa:ce:7e:34:c2:ce  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


I have tried to thoroughly step through the Wifi and NetworkManager wiki pages.
_________________
]8P
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sat Jul 15, 2017 2:47 am    Post subject: Reply with quote

What does running iwlist wlp2s0 scan produce?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 3:16 am    Post subject: Reply with quote

OK I was missing wireless-tools and iw from the recommended packages. I have decided on wpa_supplicant and networkmanager with plasma-nm.

iwlist does not happy with the wlp2s0

Code:
xps15 /home/will # iwlist wlp2s0 scan
wlp2s0    Interface doesn't support scanning.



Current dmesg state for the ath10k seems to indicate that although the desired firmware-5 is not found there is some firmware working:

Code:
[    8.328144] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[    8.329191] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    8.541616] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[    8.541625] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[    8.542221] random: crng init done
[    8.542650] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[    8.542652] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[    8.544415] ath10k_pci 0000:02:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[    8.544416] ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
[    8.544910] ath10k_pci 0000:02:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5


do I need to configure the interface when it is brought up? I'll go back to the wiki. thanks in appreciation of your assistance.

[update]
iwconfig suggests more to be done for the interface for it to be ready

Code:
xps15 /home/will # iwconfig
wlp2s0    no wireless extensions.

tunl0     no wireless extensions.

bond0     no wireless extensions.

eql       no wireless extensions.

lo        no wireless extensions.

enp10s0u1u4  no wireless extensions.

gretap0   no wireless extensions.

gre0      no wireless extensions.

dummy0    no wireless extensions.



This looks more promising - iw wlp2s0 scan shows all the current aps

Code:
xps15 /home/will # iw wlp2s0 scan
BSS 10:0d:7f:e3:8d:6a(on wlp2s0)
        TSF: 1001354543055 usec (11d, 14:09:14)
        freq: 2412
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -74.00 dBm
        last seen: 4462 ms ago
        Information elements from Probe Response frame:
        SSID: disARRAY
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 1
        ERP: <no flags>
        ERP D4.0: <no flags>
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        HT capabilities:
                Capabilities: 0x18bd
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        TX STBC
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 1
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: a2a74702-b645-5e69-3f52-c9662f38c709
                 * Manufacturer: Netgear
                 * Model: Netgear
                 * Model Number: 123456
                 * Serial Number: 0000001
                 * Primary Device Type: 6-0050f204-1
                 * Device name: NetgearAP
                 * Config methods: Display
                 * RF Bands: 0x1
                 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 20:4e:7f:70:2b:20(on wlp2s0)
        TSF: 193222897356 usec (2d, 05:40:22)
        freq: 2437
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
        signal: -72.00 dBm
        last seen: 4189 ms ago
        Information elements from Probe Response frame:
        SSID: GuessWorks
        Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0
        DS Parameter set: channel 6
        Country: AU     Environment: Indoor only
                Channels [1 - 13] @ 20 dBm
        ERP: <no flags>
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
        Extended supported rates: 24.0 36.0 48.0 54.0
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        HT capabilities:
                Capabilities: 0x104c
                        HT20
                        SM Power Save disabled
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 6
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 0
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
BSS 58:6d:8f:7a:0d:38(on wlp2s0)
        TSF: 228453926215 usec (2d, 15:27:33)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -61.00 dBm
        last seen: 3883 ms ago
        Information elements from Probe Response frame:
        SSID: Zorin Industries
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: <no flags>
        ERP D4.0: <no flags>
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        HT capabilities:
                Capabilities: 0x18fc
                        HT20
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Overlapping BSS scan params:
                 * passive dwell: 20 TUs
                 * active dwell: 10 TUs
                 * channel width trigger scan interval: 300 s
                 * scan passive total per channel: 200 TUs
                 * scan active total per channel: 20 TUs
                 * BSS width channel transition delay factor: 5
                 * OBSS Scan Activity Threshold: 0.25 %
        Extended capabilities: HT Information Exchange Supported
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: dc41f09d-dddf-7a5b-8c12-629bb29be1cf
                 * Manufacturer: Cisco
                 * Model: E1500
                 * Model Number: 123456
                 * Serial Number: 42
                 * Primary Device Type: 6-0050f204-1
                 * Device name: E1500
                 * Config methods: Label, PBC
                 * RF Bands: 0x1
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 20:4e:7f:70:2b:30(on wlp2s0)
        TSF: 418625900019 usec (4d, 20:17:05)
        freq: 5200
        beacon interval: 100 TUs
        capability: ESS Privacy SpectrumMgmt ShortSlotTime (0x0511)
        signal: -70.00 dBm
        last seen: 3521 ms ago
        Information elements from Probe Response frame:
        SSID: MinMinLights
        Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
        DS Parameter set: channel 40
        Country: AU     Environment: Indoor only
                Channels [36 - 36] @ 23 dBm
                Channels [40 - 40] @ 23 dBm
                Channels [44 - 44] @ 23 dBm
                Channels [48 - 48] @ 23 dBm
                Channels [52 - 52] @ 23 dBm
                Channels [56 - 56] @ 23 dBm
                Channels [60 - 60] @ 23 dBm
                Channels [64 - 64] @ 23 dBm
                Channels [100 - 100] @ 23 dBm
                Channels [104 - 104] @ 23 dBm
                Channels [108 - 108] @ 23 dBm
                Channels [112 - 112] @ 23 dBm
                Channels [116 - 116] @ 23 dBm
                Channels [132 - 132] @ 23 dBm
                Channels [136 - 136] @ 23 dBm
                Channels [140 - 140] @ 23 dBm
                Channels [149 - 149] @ 30 dBm
                Channels [153 - 153] @ 30 dBm
                Channels [157 - 157] @ 30 dBm
                Channels [161 - 161] @ 30 dBm
                Channels [165 - 165] @ 30 dBm
        Power constraint: 0 dB
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        HT capabilities:
                Capabilities: 0x4e
                        HT20/HT40
                        SM Power Save disabled
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 40
                 * secondary channel offset: below
                 * STA channel width: any
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 0
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Secondary Channel Offset: no secondary (0)
BSS a0:63:91:cd:b6:cb(on wlp2s0)
        TSF: 269447421929 usec (3d, 02:50:47)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime APSD (0x0c11)
        signal: -80.00 dBm
        last seen: 3878 ms ago
        Information elements from Probe Response frame:
        SSID: OPTUSVD3C6AC48_2GEXT
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: Barker_Preamble_Mode
        Extended supported rates: 6.0 12.0 24.0 48.0
        HT capabilities:
                Capabilities: 0x1ec
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT RX MCS rate indexes supported: 0-15
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP CCMP
                 * Authentication suites: PSK
                 * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
        Extended capabilities: HT Information Exchange Supported
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
        Extended capabilities: HT Information Exchange Supported
        Country: AU     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 16 dBm
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: f5791a48-c9fd-af30-3951-c70361357cc4
                 * Manufacturer: NETGEAR, Inc.
                 * Model: EX3700
                 * Model Number: EX3700
                 * Serial Number: 47H15574A001B
                 * Primary Device Type: 6-0050f204-1
                 * Device name: EX3700
                 * Config methods: Label, Display, PBC, Keypad
                 * RF Bands: 0x1
                 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
BSS 10:0d:7f:e5:b2:3b(on wlp2s0)
        TSF: 920007384526 usec (10d, 15:33:27)
        freq: 2462
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -86.00 dBm
        last seen: 4046 ms ago
        Information elements from Probe Response frame:
        SSID: OPTUSVD3C6AC48
        Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
        DS Parameter set: channel 11
        ERP: Barker_Preamble_Mode
        ERP D4.0: Barker_Preamble_Mode
        RSN:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        Extended supported rates: 6.0 9.0 12.0 48.0
        HT capabilities:
                Capabilities: 0x18bd
                        RX LDPC
                        HT20
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        TX STBC
                        No RX STBC
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        HT operation:
                 * primary channel: 11
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 1
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: b3c33309-f67d-6db6-cb99-d3c25468841b
                 * Manufacturer: Netgear
                 * Model: Netgear
                 * Model Number: 123456
                 * Serial Number: 0000001
                 * Primary Device Type: 6-0050f204-1
                 * Device name: NetgearAP
                 * Config methods: Display
                 * RF Bands: 0x1
                 * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: CCMP TKIP
                 * Authentication suites: PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
xps15 /home/will #


Code:
xps15 /home/will # iwspy
wlp2s0    Interface doesn't support wireless statistic collection


Code:
xps15 /home/will # iwconfig wlp2s0 essid any
Cannot read /proc/net/wireless
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlp2s0 ; Invalid argument.
xps15 /home/will # man iwconfig
xps15 /home/will # iwconfig wlp2s0 mode managed
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlp2s0 ; Invalid argument.

_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sat Jul 15, 2017 5:07 am    Post subject: Reply with quote

stardotstar wrote:
[update]
iwconfig suggests more to be done for the interface for it to be ready

iwconfig and WEXT are deprecated.

Can you get wpa_gui started? It should display "Manage Networks" entries for all your six BSS ... (on wlp2s0)
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 5:29 am    Post subject: Reply with quote

wpa_gui starts but shows no adapters or networks

"could not get status from wpa_supplicant"

this was done running it sudo wpa_gui
_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sat Jul 15, 2017 5:36 am    Post subject: Reply with quote

stardotstar wrote:
this was done running it sudo wpa_gui
Bad idea. There should be an icon in the menu.
But maybe NetworkManager has its own way to handle it. I have no experience with NetworkManger.

Search the internet for "could not get status from wpa_supplicant"
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 6:28 am    Post subject: Reply with quote

Massive embarrasment-

Code:
xps15 /home/will # chmod 4755 /usr/bin/wpa_gui
xps15 /home/will # rc-service wpa-supplicant start
 * rc-service: service `wpa-supplicant' does not exist
xps15 /home/will # rc-service wpa_supplicant start
 * Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/wpa_supplicant start
 * Starting WPA Supplicant Daemon ...
 * Detaching to start `/usr/sbin/wpa_supplicant' ...
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device                                         [ ok ]
xps15 /home/will #


I am now able to start configuring and working with the interface. Excellent! Excellent.

One of the steps I followed you can see above is the suid for wpa_gui - that was a suggestion from a forum around root privs:
http://www.linuxquestions.org/questions/slackware-14/wpa_gui-could-not-get-status-from-wpa_supplicant-850609/#post4193617

how can I "undo" this step - I don't know what the permissions were previously what command will safely disarm the suid and restore perms?

it was unhappy with this approach when I launched it from the consiole as regular user

Code:
will@xps15 ~ $ wpa_gui
FATAL: The application binary appears to be running setuid, this is a security hole.
Aborted


sudo wpa_gui works as described above but I have no icon anywhere I can see - the plasma menu search does not produce anything on wpa_

correction - since it is running I have a system tray icon for wpa_gui

Will
_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sat Jul 15, 2017 6:38 am    Post subject: Reply with quote

stardotstar wrote:
Massive embarrasment-

Code:
xps15 /home/will # chmod 4755 /usr/bin/wpa_gui

Bad idea. See the wheel and update_config lines in https://wiki.gentoo.org/wiki/Wpa_supplicant#Global

Edit
For re doing your chmod edits, simply remove those files from /usr/bin/ and again emerge wpa_supplicant.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 6:43 am    Post subject: Reply with quote

Really homing in now I am able to associate with the two aps but they do not get IP address - would that be something to do with the dhcpcd? that is different from the wired ethernet client daemon?
_________________
]8P
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sat Jul 15, 2017 6:46 am    Post subject: Reply with quote

stardotstar wrote:
Really homing in now I am able to associate with the two aps but they do not get IP address - would that be something to do with the dhcpcd? that is different from the wired ethernet client daemon?
What is in ifconfig -a?
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 6:55 am    Post subject: Reply with quote

OK, I think I'm mostly there now - I've tried to ensure that conf.d/net and /etc/wpa_supplicant/wpa_supplicant.conf are sorted but still not kicking off the dhcp

Code:
xps15 /etc/wpa_supplicant # cat wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ctrl_interface_group=0
update_config=1

network={
        ssid="disARRAY"
        psk="live2fly"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        auth_alg=OPEN
}

network={
        ssid="Zorin Industries"
        psk="bubbajunk"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        auth_alg=OPEN
}

network={
        ssid="MinMinLights"
        psk="live2fly"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        auth_alg=OPEN
}

network={
        ssid="GuessWorks"
        psk="live2fly"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        auth_alg=OPEN
}

all these ssid associate fine but don't get IP

Code:
xps15 /etc/conf.d # cat wpa_supplicant
# conf.d file for wpa_supplicant
#
# Please check man 8 wpa_supplicant for more information about the options
# wpa_supplicant accepts.
#
wpa_supplicant_args="-B -M -c/etc/wpa_supplicant/wpa_supplicant.conf"


Code:
xps15 /etc/conf.d # cat  net
config_enp10s0u1u4="dhcp"
# Prefer wpa_supplicant over wireless-tools
modules_wlp2s0="wpa_supplicant"
wpa_supplicant_wlp2s0="-Dnl80211"
config_wlp2s0="dhcp"


doo I have it right to put my wifi interface name in the above net - the wiki talks about wlan0 and wpa_supplicant_eth0="-Dnl80211"
_________________
]8P
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 6:57 am    Post subject: Reply with quote

Sorted - had to add my dhcpcd to the service and rc run level - getting the hang of things now I think :)
W
_________________
]8P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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