You are not logged in.

#1 2017-05-23 17:52:34

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

[SOLVED]problem with netctl and networkmanager

Hello
I've been using ubuntu for 2 years
i tried to install networkmanager everything went wrong
it doesn't work when I try to start it I found it masked and I'm unable to unmask it

sudo pacman -S networkmanager output

and when I try to unmask it

➜  ~ sudo systemctl unmask NetworkManager
➜  ~ sudo systemctl start NetworkManager
Failed to start NetworkManager.service: Unit NetworkManager.service is masked.
ifound netctl working so i tried to connect using wifi-menu but it failed and when i opened journalctl i found

The interface of network profile 'wlp9s0b1-home' is already up

any help? I'm a new arch Linux user

my systemctl list-unit-files --state enabled

https://ptpb.pw/qA8u

my pacman log
https://ptpb.pw/bF0Q

Last edited by muhammednagy (2017-05-24 14:02:22)

Offline

#2 2017-05-23 18:42:50

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED]problem with netctl and networkmanager

Welcome to the forums. Please edit your post and put your terminal output inside code tags https://wiki.archlinux.org/index.php/Co … s_and_code.

How did you install arch and how long ago have you installed it? The output you show seems to indicate there might be some problem with the pacman database.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2017-05-23 20:14:29

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

I installed it using the wiki
and I installed gnome-extra and networkmanager nm-applet  too

Offline

#4 2017-05-23 20:38:04

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

Re: [SOLVED]problem with netctl and networkmanager

Please paste your full pacman log and the output of `systemctl list-unit-files --state enabled`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-05-23 21:43:13

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

dhcpcd.service          enabled

Choose nm, netctl, dhcpd, wicd, connman, ... but *one* service to configure your network.

Offline

#6 2017-05-23 21:49:57

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

Re: [SOLVED]problem with netctl and networkmanager

jasonwryan wrote:

Please paste your full pacman log


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-05-23 22:37:12

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

seth wrote:
dhcpcd.service          enabled

Choose nm, netctl, dhcpd, wicd, connman, ... but *one* service to configure your network.

can you help me to delete all of them and install networkmanager

i'm unable to remove netctl or networkmanager

didn't try to remove dhcpd because it makes me able to connect using my mobile

Offline

#8 2017-05-23 22:44:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]problem with netctl and networkmanager

You don't need to remove anything, just disable and stop the dhcpcd service.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2017-05-23 23:03:07

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

i disabled dhcpd and removed netctl using pacman but i still can't install networkmanager using pacman
it gives me the same error

Offline

#10 2017-05-24 05:39:09

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

jasonwryan wrote:
jasonwryan wrote:

Please paste your full pacman log

Offline

#11 2017-05-24 09:35:50

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED]problem with netctl and networkmanager

He's already posted it in the edited 1st post.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#12 2017-05-24 10:57:55

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED]problem with netctl and networkmanager

Your pacman log is full of complaints from ldconfig about empty .so files, I suspect something is broken in your system. Just to be on the safe side backup everything important.

Post the output of 'smartctl -a /dev/sda' (if sda is your hdd/sdd). Also boot from the install iso and do an 'fsck -f' of your partitions. It might not hurt to also run memtest too just to rule out broken ram.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#13 2017-05-24 13:52:12

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

Indeed (sorry, didn't see the updated OP)

In this light, the reason is likely that the NM service is just a garbage file as well:

file /usr/lib/systemd/system/NetworkManager*
cat /usr/lib/systemd/system/NetworkManager*

Offline

#14 2017-05-24 14:01:53

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

that's correct
I installed wicd now and it worked !!!

I will mark this thread as solved

Offline

#15 2017-05-24 14:07:34

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

You're aware that you got more problems than this? You end up with garbage on your disk - you need to figure why and fix that.
Otherwise not only will you run in such kind of trouble over and over again, but might also jeopardize your private data.

Offline

#16 2017-05-24 14:38:33

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

Can you help me to delete this garbage?

Offline

#17 2017-05-24 14:46:19

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

This is not like "garbage" that you got to bring out. It's like "garbage" where your food should be stored.
Deleting it won't help you anything. You install packages and end up with empty files - so either your hardware, your installation process or your repo mirror is broken.

See comment #12 for inspecting your hardware, post your pacman.d/mirrorlist for inspecting your mirror and pay attention to any kind of error messages during package installation/updates.

Offline

#18 2017-05-24 14:53:59

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

My pacman.d/mirrorlist
https://ptpb.pw/Wz7n

Offline

#19 2017-05-24 14:55:02

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

I had problems with  mk repo so i commented it out

Offline

#20 2017-05-24 14:57:08

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

my smart report
https://ptpb.pw/Oq4g

Offline

#21 2017-05-24 15:31:52

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

Where and how did you obtain that mirrorlist?

Offline

#22 2017-05-24 15:33:50

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

tutorials online
i have been trying to make the internet works for 2 days

Offline

#23 2017-05-24 15:39:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED]problem with netctl and networkmanager

muhammednagy wrote:

tutorials online

*Headdesk*

Unsupported, random on line tutorials are usually wrong and often out of date.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#24 2017-05-24 15:40:39

muhammednagy
Member
Registered: 2017-05-23
Posts: 17

Re: [SOLVED]problem with netctl and networkmanager

i updated my mirrorlist with this
https://ptpb.pw/1zAT

Offline

#25 2017-05-24 15:41:00

seth
Member
Registered: 2012-09-03
Posts: 50,000

Re: [SOLVED]problem with netctl and networkmanager

tutorials online

you mean you copied a mirrorlist from some obscure source?
=> https://wiki.archlinux.org/index.php/Reflector
or
https://www.archlinux.org/mirrorlist/?u … ocol=https

The nm packages in the top two mirrors seem sane, though (looked at x64)

=> your /etc/pacman.conf?

Offline

Board footer

Powered by FluxBB