You are not logged in.

#1 2015-06-01 05:45:15

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

[SOLVED] Can't get my WiFi to work

Hi there.

I've installed Arch Linux on my HP Probook by following the archwiki and this guide on lifehacker: http://lifehacker.com/5680453/build-a-k … he-process

I've been trying to get my WiFi to work but it doesn't seem to want to. If I run 'sudo wifi-menu' then it scans and shows me my router but if I select it and enter the password it says "Connection failed. Would you still like to save the profile?"

Any and all help is appreciated.

Manu.

Last edited by supergreatawesome (2015-06-01 12:22:51)

Offline

#2 2015-06-01 05:51:25

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

Another interesting thing is that when I do try to connect using wifi-menu it shows two options even though I have only one connection available.

http://i.imgur.com/D7bTEU7.png?1

Does this mean something?


-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#3 2015-06-01 06:00:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't get my WiFi to work

That Lifehacker guide is worse than useless, just use the official documentation and the wiki wireless page.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-06-01 06:11:31

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

I've been through the official wiki and especially the wireless page. I still can't get it to work.

Offline

#5 2015-06-01 06:16:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't get my WiFi to work

"I can't get it to work" is not an error message: https://bbs.archlinux.org/viewtopic.php?id=57855


Post details of your card and driver and what you have done to set it up. Check that you ony have one service managing your connection otherwise it will fail...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-06-01 06:40:41

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

lspci -k gives

09:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
    DeviceName: WLAN
    Subsystem: Intel Corporation Dual Band Wireless-AC 3160
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

ip link gives

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 14:58:d0:0a:59:a0 brd ff:ff:ff:ff:ff:ff
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 30:3a:64:4c:23:13 brd ff:ff:ff:ff:ff:ff

Please let me know if you require any other details. I really need help sad

Offline

#7 2015-06-01 06:43:47

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

It turns out that I have both network-manager as well as netctl.
'sudo pacman -Rns network-manager' can't remove network manager because it's a part of the cinnamon desktop.

Offline

#8 2015-06-01 06:51:09

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

[manujnaik@dhcppc2 ~]$ iw dev wlo1 link

Not connected.

[manujnaik@dhcppc2 ~]$ sudo iw dev wlo1 scan
[sudo] password for manujnaik:

BSS 0c:d2:b5:26:43:08(on wlo1)
    TSF: 86351922068 usec (0d, 23:59:11)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortSlotTime (0x0411)
    signal: -19.00 dBm
    last seen: 0 ms ago
    SSID: NAIK
    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
    HT capabilities:
        Capabilities: 0x116e
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            RX STBC 1-stream
            Max AMSDU length: 3839 bytes
            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-7, 32
        HT TX MCS rate indexes are undefined
    HT operation:
         * primary channel: 1
         * secondary channel offset: above
         * STA channel width: any
         * RIFS: 0
         * HT protection: 20 MHz
         * 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
    Secondary Channel Offset: no secondary (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)
    WMM:     * Parameter version 1
         * 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
    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 %
    Country: PA    Environment: bogus
        Channels [1 - 11] @ 16 dBm

Offline

#9 2015-06-01 06:53:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't get my WiFi to work

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

If your DE depends on NM, then just remove netctl...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2015-06-01 07:12:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Can't get my WiFi to work

The utterly useless, 3-year old (!) lifehacker "guide" you have linked recommends enabling "net-auto-wireless.service" (whatever that is) -- did you do this?

Post the output of:

ls -l /etc/systemd/system/multi-user.target.wants

Jin, Jîyan, Azadî

Offline

#11 2015-06-01 07:15:51

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

I think I tried doing that but I don't think it worked.

Here's the output you were asking for:

total 0
lrwxrwxrwx 1 root root 39 May 31 22:17 dhcpcd@enp8s0.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 39 May 31 21:34 dhcpcd@eth0.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 38 May 31 22:15 dhcpcd.service -> /usr/lib/systemd/system/dhcpcd.service
lrwxrwxrwx 1 root root 47 Jun  1 10:59 netctl@wlo1\x2dNAIK.service -> /etc/systemd/system/netctl@wlo1\x2dNAIK.service
lrwxrwxrwx 1 root root 40 May 31 20:55 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target 

Offline

#12 2015-06-01 07:27:30

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Can't get my WiFi to work

# systemctl disable dhcpcd.service
# systemctl disable netctl@wlo1\x2dNAIK.service

Then reboot and use:

# netctl start NAIK
# netctl enable NAIK

(Presuming your profile is called "NAIK")
https://wiki.archlinux.org/index.php/Ne … sic_method

If you're still having trouble, just disable netctl and use NetworkManager instead, as JWR suggests.


Jin, Jîyan, Azadî

Offline

#13 2015-06-01 11:00:42

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

I ran the first two lines. After rebooting and running netctl start I got

[manujnaik@dhcppc2 ~]$ netctl list
  wlo1-NAIK.wifi-menu
  wlo1-NAIK
[manujnaik@dhcppc2 ~]$ netctl start wlo1-NAIK
Job for netctl@wlo1\x2dNAIK.service failed. See "systemctl status 'netctl@wlo1\x2dNAIK.service'" and "journalctl -xe" for details.

Any ideas?

Offline

#14 2015-06-01 12:19:19

supergreatawesome
Member
Registered: 2015-06-01
Posts: 9

Re: [SOLVED] Can't get my WiFi to work

I started the NetworkManager service using systemctl and everything started working properly after I rebooted. Thanks for all your help smile

Offline

#15 2015-06-01 18:17:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Can't get my WiFi to work

I'm glad you got it working but for future reference:

supergreatawesome wrote:
Job for netctl@wlo1\x2dNAIK.service failed. See "systemctl status 'netctl@wlo1\x2dNAIK.service'" and "journalctl -xe" for details.

Always a good idea to do what is suggested...

systemctl status 'netctl@wlo1\x2dNAIK.service'
journalctl -xe

Too late now, of course, but it would have been nice to know.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB