You are not logged in.

#1 2017-03-21 15:52:36

philipW
Member
Registered: 2017-03-21
Posts: 145

[SOLVED] wifi not working

Hello,
I just installed i3 on my laptop because kde plasma was draining my battery to fast but now i cant connect to my colleges wifi.
When i start sudo wifi-menu i get this: scanning for networks... nl80211: could not set interface 'p2p-dev-wl2s0' up
                                                                                           p2p-dev-wl2s0: failed to initialize driver interface
Then the wifi menu starts and i try to connect but nothing happens.
My classmate who is a more experianced arch user said my intefaces where doing fine but he didnt know what to do.
The laptop in question is a msi gt72 6qd dominator g
I hope you guys can help me.

Last edited by philipW (2017-03-22 23:51:48)

Offline

#2 2017-03-21 16:00:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] wifi not working

What are the output of systemctl list-unit-files --state=enabled and ip addr
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2017-03-21 16:01:15

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

lemme check

Offline

#4 2017-03-21 16:34:34

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

systemctl list-unit-files --state=enabled 

says:

 UNIT FILE                                   STATE 
org.cups.cupsd.path                         enabled 
autovt@.service                             enabled 
avahi-daemon.service                        enabled 
bluetooth.service                           enabled 
dbus-org.bluez.service                      enabled 
dbus-org.freedesktop.Avahi.service          enabled 
dbus-org.freedesktop.ModemManager1.service  enabled 
dbus-org.freedesktop.NetworkManager.service enabled 
dbus-org.freedesktop.nm-dispatcher.service  enabled 
display-manager.service                     enabled 
getty@.service                              enabled 
haveged.service                             enabled 
lightdm.service                             enabled 
ModemManager.service                        enabled 
NetworkManager-dispatcher.service           enabled 
NetworkManager.service                      enabled 
org.cups.cupsd.service                      enabled 
ufw.service                                 enabled 
avahi-daemon.socket                         enabled 
org.cups.cupsd.socket                       enabled 
remote-fs.target                            enabled 

21 unit files listed.

and ip addr says:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether d8:cb:8a:f0:d1:62 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 9a:59:73:1d:bf:14 brd ff:ff:ff:ff:ff:ff 

Last edited by philipW (2017-03-21 17:58:24)

Offline

#5 2017-03-21 16:47:01

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

Re: [SOLVED] wifi not working

Don't do that. If someone who is trying to help asks for the output of a command, paste it. In code tags:
https://wiki.archlinux.org/index.php/Co … s_and_code



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-03-21 17:13:31

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

oops sorry

Offline

#7 2017-03-21 17:24:24

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] wifi not working

philipW wrote:
systemctl list-unit-files --state=enabled 

says everything is enabled

https://bbs.archlinux.org/viewtopic.php?id=57855
Please do not paraphrase the output of commands but post the output itself.  Without providing the output there is no way to know which specific units are enabled.
Edit:
Grammar change what to which.

Last edited by loqs (2017-03-21 17:25:06)

Offline

#8 2017-03-21 17:58:49

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

loqs wrote:
philipW wrote:
systemctl list-unit-files --state=enabled 

says everything is enabled

https://bbs.archlinux.org/viewtopic.php?id=57855
Please do not paraphrase the output of commands but post the output itself.  Without providing the output there is no way to know which specific units are enabled.
Edit:
Grammar change what to which.

fixed it

Offline

#9 2017-03-21 18:35:33

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] wifi not working

Stop / disable NetworkManager then please work through Wireless_network_configuration#Manual_setup
Edit:
To make sure that no network services are trying to control the interface I suggest rebooting the system and check the output of `$ ip address`

<NO-CARRIER,BROADCAST,MULTICAST,UP>

should change to

<NO-CARRIER,BROADCAST,MULTICAST>

Last edited by loqs (2017-03-21 18:45:18)

Offline

#10 2017-03-21 18:41:31

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

loqs wrote:

Stop / disable NetworkManager then please work through Wireless_network_configuration#Manual_setup

oke i will try that and report back when im done

Offline

#11 2017-03-22 00:56:44

nowakpawel
Member
From: Wroclaw, Poland
Registered: 2015-07-25
Posts: 12
Website

Re: [SOLVED] wifi not working

I also have i3wm and used NetworkManager for a while, but few minutes ago I configured netctl https://wiki.archlinux.org/index.php/netctl and seems to work fine. Maybe this may help You.

Offline

#12 2017-03-22 01:15:51

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: [SOLVED] wifi not working

nowakpawel wrote:

I also have i3wm and used NetworkManager for a while, but few minutes ago I configured netctl https://wiki.archlinux.org/index.php/netctl and seems to work fine. Maybe this may help You.

Too many medicines does more harm than good.
He is already have networkmanager and modemmanager working, adding netctl to the list won't help.

Offline

#13 2017-03-22 01:43:00

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] wifi not working

Docbroke wrote:
nowakpawel wrote:

I also have i3wm and used NetworkManager for a while, but few minutes ago I configured netctl https://wiki.archlinux.org/index.php/netctl and seems to work fine. Maybe this may help You.

Too many medicines does more harm than good.
He is already have networkmanager and modemmanager working, adding netctl to the list won't help.

Also this seems somewhat ironic to me as nowakpawel has an open issue which could very well be caused by exactly this but instead of answering jasonwryan's question makes this ill advised suggestion.
Edit:
remove superfluous instead

Last edited by loqs (2017-03-22 01:44:08)

Offline

#14 2017-03-22 09:58:10

nowakpawel
Member
From: Wroclaw, Poland
Registered: 2015-07-25
Posts: 12
Website

Re: [SOLVED] wifi not working

Just trying  to help. My previous post about netctl was written about half year ago from my previous Arch installation where I also had problems with UEFI partitions and something went wrong and I remove Arch for few months, now I decided to install it once again and learn as much as I can smile
Sorry for mess I really want to clean my profile and close old posts. This topic about netctl is probably solved now, but I want to test it for few days before I marked it as so.

Offline

#15 2017-03-22 13:46:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] wifi not working

Sorry for not getting back -- busy night.  The issue here is that you are using NetworkManager to control your WiFi.  That is fine, but wifi-menu is a GUI tool for netctl.   The two will fight with each other.
The appropriate tool for NetworkManager is nm-applet for a GUI interface, or nmcli or nmtui for a command line / curses interface.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#16 2017-03-22 15:12:19

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] wifi not working

ewaller wrote:

Sorry for not getting back -- busy night.  The issue here is that you are using NetworkManager to control your WiFi.  That is fine, but wifi-menu is a GUI tool for netctl.   The two will fight with each other.
The appropriate tool for NetworkManager is nm-applet for a GUI interface, or nmcli or nmtui for a command line / curses interface.

It worked!
I couldnt make much sense of nmcli but nmtui does the job.
thanks for the replies, people.
now i can finaly use i3.

Offline

#17 2017-03-22 21:22:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,892

Re: [SOLVED] wifi not working

Please always remember to mark the thread as [SOLVED] by editing your initial post - once it is ;-)

Offline

Board footer

Powered by FluxBB