Tuesday, July 11, 2017

Wireless Connection Wifi On My PC

I bought a wireless pcie or wifi card from Lazada the other week. It's an Ralink pcie card shown below.

My general notion in networking is that this card should work in my Arch linux GNOME setup. Well, yes and no. I installed the pcie card to my motherboard. My computer recognized the new hardware. I checked if the proper drivers are installed.

$ lspci -k
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
    Subsystem: ASUSTeK Computer Inc. Device 859e
    Kernel driver in use: r8169
    Kernel modules: r8169
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
system: Ralink corp. RT3062 Wireless 802.11n 2T/2R
    Kernel driver05:00.0 Network controller: Ralink corp. RT3062 Wireless 802.11n 2T/2R
    Sub in use: rt2800pci
    Kernel modules: rt2800pci

And they are being used, rt2800pci as shown.

But, when I tried activating the connection, it threw me a lot of error message. It went through the motion of trying to connect, and authenticating but it fails. I tried googling the problem. Oh and I also installed dnsmasq in the process of troubleshooting it. I don't have any idea why dnsmasq is needed here.

I was fiddling with netctl commands to no avail. I am running out of ideas.

After a day or two of leaving it to simmer for a while this greeted me today.

[donato@archdesktop ~]$ ip link
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 78:24:af:36:61:21 brd ff:ff:ff:ff:ff:ff
3: wlp5s0: BROADCAST,MULTICAST,UP,LOWER_UP  mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 28:f3:66:20:7a:1e brd ff:ff:ff:ff:ff:ff

# iw dev wlp5s0 scan | less
BSS b2:46:fc:95:f0:48(on wlp5s0) -- associated
        TSF: 205505554535 usec (2d, 09:05:05)
        freq: 2412
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime APSD (0x0c11)
        signal: -21.00 dBm
        last seen: 166 ms ago
        Information elements from Probe Response frame:
        SSID: PLDTHome_Roque
        Supported rates: 1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0
        DS Parameter set: channel 1
        ERP: Barker_Preamble_Mode
        Extended supported rates: 6.0 12.0 24.0 48.0
        WPA:     * Version: 1
                 * Group cipher: TKIP
                 * Pairwise ciphers: TKIP
                 * Authentication suites: PSK

        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 Load:
                 * station count: 4
                 * channel utilisation: 10/255
                 * available admission capacity: 31250 [*32us]
        Country: US     Environment: Indoor/Outdoor
                Channels [1 - 11] @ 16 dBm
        WPS:     * Version: 1.0
                 * Wi-Fi Protected Setup State: 2 (Configured)
                 * Response Type: 3 (AP)
                 * UUID: bc329e00-1dd8-11b2-8601-b246fc95f048
                 * Manufacturer: HW
                 * Model: B2268S
                 * Model Number: RT2860
                 * Serial Number: S140Y52094899
                 * Primary Device Type: 6-0050f204-1
                 * Device name: B2268S
                 * Config methods: Label, PBC
                 * RF Bands: 0x0

Success! I am now connected to the home wifi network.
Post a Comment


Guake is a drop-down terminal application in GNOME. Installing Guake is easy. Use your distribution's package manager, most distros hav...