You are not logged in.

#1 2015-04-01 17:16:10

natch
Member
From: France
Registered: 2015-04-01
Posts: 3

[solved] ip link set device up seems not working

Hi all,
It's my first Arch Linux installation, firstly I would to thanks the community, the wiki was really useful for me !

I'm trying to set up my wifi connection (rtl8723be device),
the driver seems to be OK
I've installed networkmanager

But I can't see any wifi device in networkmanager's GUI...

So I tried :

$ sudo ip link set wlp2s0 up

but wlp2s0 is not switching on :

3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether b0:10:41:df:66:23 brd ff:ff:ff:ff:ff:ff

What could I have missed ?

Last edited by natch (2015-04-02 09:29:39)

Offline

#2 2015-04-01 17:37:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,560
Website

Re: [solved] ip link set device up seems not working

The command in question did work:

ip wrote:

<NO-CARRIER,BROADCAST,MULTICAST,UP>

The bolded "up" in the angled brackets is what `ip link set` changes.  The DOWN after that indicates that even though the interface is up, there is no active connection.

As to what the problem is with network manager, I have no idea - I don't use it.  But the most likely suspect is almost always that there are multiple networking services competing.  So first, disable all networking services (check the output of `sysmtctl list-units`).  Then you can follow the remainer of the manual connection steps in the wiki.  If/when that is working, then we'll know your hardware and drivers are all set - then you can chose and configure a management service like networkmanager.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-04-01 19:20:35

natch
Member
From: France
Registered: 2015-04-01
Posts: 3

Re: [solved] ip link set device up seems not working

Thanks, I read that part too fast
So... I've removed network-manager properly with pacman

I'm now trying to configure my wifi connection with the "wifi-menu"
but I encountered an error... I'm searching what can be wrong...

● netctl@wlp2s0\x2dMYNETWORK.service - Networking for netctl profile wlp2s0-MYNETWORK
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since mer. 2015-04-01 23:15:18 CEST; 9s ago
     Docs: man:netctl.profile(5)
  Process: 1235 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 1235 (code=exited, status=1/FAILURE)

Offline

#4 2015-04-01 19:22:53

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,744
Website

Re: [solved] ip link set device up seems not working

Please post the output of:

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

Offline

#5 2015-04-01 19:31:18

robg
Member
Registered: 2015-03-05
Posts: 218

Re: [solved] ip link set device up seems not working

What steps did you take? It looks like you created a network profile with wifi-menu and enabled it for systemd. Disable the profile, delete the corresponding file and try connecting again with wifi-menu without enabling the new profile. Can you get a connection?

Offline

#6 2015-04-02 09:29:20

natch
Member
From: France
Registered: 2015-04-01
Posts: 3

Re: [solved] ip link set device up seems not working

network-manager was not totally removed, I did it
after rebooting, wifi-menu runs without problem
and I'm now connected using netctl

Thanks all
I think, this topic is the "all time noobies' noob topic" !

Offline

#7 2015-04-02 11:18:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,560
Website

Re: [solved] ip link set device up seems not working

I'm glad it's working natch.  You may want to read up on how to use systemctl to start/stop enable/disable services.  There was no need to uninstall network manager or anything else - you only had to stop/disable it.  I suspect you removed it with pacman, but since you never stopped the service, it was still running until you rebooted.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB