You are not logged in.

#1 2017-04-09 12:08:49

carru93
Member
Registered: 2017-04-09
Posts: 13

[Solved]There isn't internet connection...

I'm new on arch, I use to use ubuntu, I've installed it without many problem and I installed gnome as Desktop, but I can't connect to internet, it says me that "NetworManager must be active" but whene i run the command "systemctl enable NetworkManager" it give me error "no such fille or directory", how can i fix it? I tried to connecto with ethernet too, but it doesn't work

Last edited by carru93 (2017-04-10 15:32:47)


The best way to write a random string is by asking a noob to exit from vim.

Offline

#2 2017-04-09 12:29:09

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

Re: [Solved]There isn't internet connection...

Please post exact commands and full output.

Do you have network manager installed?

If you have an ethernet connection, you can just run dhcpcd.

Then, for a long term solution, see the Networking page which is linked from the installation guide:
https://wiki.archlinux.org/index.php/Ne … figuration


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

Offline

#3 2017-04-09 13:41:49

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

i have connected my pc to internet with ethenet and dhcpcd, but i want to use wifi, but whene i run the command "wifi-menu -o" it returns me that error:

Invalid interface specification
Usage: wifi-menu [-h | --help] [-o | --obscure] [INTERFACE]

Interactively connect to a wireless network on INTERFACE using netctl.
If only one wireless interface is available, INTERFACE can be omitted.

Arguments:
  -h, --help     Show this help
  -o, --obscure  Show asterisks for the characters of the password
                 and store the password as a hexadecimal string

so I tried to connect to internet by the settings but whene I open the settings->network, the window is all grey with a text that says "NetworkManager must be in esecution", I don't know the correct translation because i have it in another language.

if I type the command

systemctl enable NetworkManager

it gives me this:

Failed to enable unit: File NetworkManager.service: No such file or directory

The best way to write a random string is by asking a noob to exit from vim.

Offline

#4 2017-04-09 13:47:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: [Solved]There isn't internet connection...

So install NetworkManager...

Offline

#5 2017-04-09 13:59:47

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

whene i try to install it with the command "sudo pacman -S networkmanager" it gives me this huge error:

risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (9) bluez-libs-5.44-1  libndp-1.6-1  libnewt-0.52.19-3
              libpgm-5.2.122-2  libsodium-1.0.12-1  libteam-1.26-1
              slang-2.3.1a-1  zeromq-4.2.1-1  networkmanager-1.6.2-3

Dimensione totale dei pacchetti da scaricare:    3,96 MiB
Dimensione totale dei pacchetti da installare:  18,96 MiB

:: Vuoi procedere con l'installazione? [S/n] S
:: Download dei pacchetti in corso...
errore: impossibile scaricare il pacchetto 'slang-2.3.1a-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'slang-2.3.1a-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'slang-2.3.1a-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'slang-2.3.1a-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'libndp-1.6-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'libndp-1.6-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'libndp-1.6-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'libndp-1.6-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'libteam-1.26-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'libteam-1.26-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'libteam-1.26-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'libteam-1.26-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'bluez-libs-5.44-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'bluez-libs-5.44-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'bluez-libs-5.44-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'bluez-libs-5.44-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'networkmanager-1.6.2-3-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'networkmanager-1.6.2-3-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'networkmanager-1.6.2-3-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'networkmanager-1.6.2-3-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'libnewt-0.52.19-3-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'libnewt-0.52.19-3-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'libnewt-0.52.19-3-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'libnewt-0.52.19-3-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'libsodium-1.0.12-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'libsodium-1.0.12-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'libsodium-1.0.12-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'libsodium-1.0.12-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'libpgm-5.2.122-2-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'libpgm-5.2.122-2-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'libpgm-5.2.122-2-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'libpgm-5.2.122-2-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile scaricare il pacchetto 'zeromq-4.2.1-1-x86_64.pkg.tar.xz' da archlinux.students.cs.unibo.it : Could not resolve host: archlinux.students.cs.unibo.it
errore: impossibile scaricare il pacchetto 'zeromq-4.2.1-1-x86_64.pkg.tar.xz' da mi.mirror.garr.it : Could not resolve host: mi.mirror.garr.it
errore: impossibile scaricare il pacchetto 'zeromq-4.2.1-1-x86_64.pkg.tar.xz' da mirrors.prometeus.net : Could not resolve host: mirrors.prometeus.net
errore: impossibile scaricare il pacchetto 'zeromq-4.2.1-1-x86_64.pkg.tar.xz' da archlinux.prometeolibero.eu : Could not resolve host: archlinux.prometeolibero.eu
attenzione: impossibile scaricare alcuni file
errore: impossibile eseguire l'operazione richiesta (si è verificato un errore della libreria di download)
Si sono verificati degli errori, nessun pacchetto è stato aggiornato.

sorry for the italian lenguage, whene I resolve this problem I'll change it


The best way to write a random string is by asking a noob to exit from vim.

Offline

#6 2017-04-09 14:08:43

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

ok sorry i'm stupid and tired, I forgotten to switch on the dhcpcd so I hadn't internet connection, now the window of settings works but I still can't connect to my wifi, if I try to run "wifi-menu -o" it still doesn't work


The best way to write a random string is by asking a noob to exit from vim.

Offline

#7 2017-04-09 14:09:46

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: [Solved]There isn't internet connection...

Edit: Too late with my reply, Scimmia is more experienced, anyway.

Last edited by Texbrew (2017-04-09 14:14:03)

Offline

#8 2017-04-09 14:15:07

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

no, i've checked, networkmanager is installed


The best way to write a random string is by asking a noob to exit from vim.

Offline

#9 2017-04-09 15:28:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: [Solved]There isn't internet connection...

It was having to download it and it's dependencies, so obviously it wasn't.

Offline

#10 2017-04-09 15:31:16

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

Re: [Solved]There isn't internet connection...

carru93, it looks like NetworkManager was not installed.  But if I'm reading post #6 correctly, you have now installed NetworkManager, but you still are not having success.

If that's the case please again (as I noted in post #2) post your exact commands and full output.  Saying "it doesn't work" doesn't give us anything to work with.


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

Offline

#11 2017-04-10 13:05:57

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

Now that i've installed NetworkManager the only problem that I have is that I don't know how to connect my pc to wifi, I use GNOME, so whene I go to the settings -> Network it doesn't show me all the possible wifi connection, but only my lan connection. I think arch can't find my wireles card, but it doesn't give me any error (if it can be useful I have an HP Pavillion 15 p040nl)

I've also try to use network-manager-applet, but if I try to start it with

sudo nm-applet

it returns me this

No protocol specified
Unable to init server: Impossibile connettersi: Connessione rifiutata

(nm-applet:1732): Gtk-WARNING **: cannot open display: :0

if I run

ip link

it returns

 1: lo: <LOOPBACK,UP,LOWER_UP> 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: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 6c:c2:17:66:f6:fa brd ff:ff:ff:ff:ff:ff

and if I run

iwlist eno1 scanning

it gives

eno1      Interface doesn't support scanning.

Last edited by carru93 (2017-04-10 13:16:59)


The best way to write a random string is by asking a noob to exit from vim.

Offline

#12 2017-04-10 13:48:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: [Solved]There isn't internet connection...

What wireless card do you have?

Offline

#13 2017-04-10 14:09:42

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

Re: [Solved]There isn't internet connection...

Thanks carru93, this is much more useful.  And your assessment here is correct:

carru93 wrote:

I think arch can't find my wireles card

This is confirmed by your `ip link` output - eno1 is your ethernet.  A wireless interface will (almost) always start with a "w" like wlp3s0 in my case.

Please see the wireless networking page of the wiki which will walk you though identifying your card (to answer Scimmia's question) to identifying and installing the driver you will need.  We can help with that as needed, but providing the step you may be stuck on from that wiki page with the output it guided you to collect will best enable us to help.


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

Offline

#14 2017-04-10 14:14:20

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

my wireless card are:
Broadcom BCM43142 802.11 bgn Wi-Fi Adapter

And

Realtek PCIe FE Family Controller

i've just reinstalled the Realtek drivers thinking that was the wireless, now I try with the Broadcom's drivers


The best way to write a random string is by asking a noob to exit from vim.

Offline

#15 2017-04-10 14:25:27

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

Re: [Solved]There isn't internet connection...


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

Offline

#16 2017-04-10 14:34:57

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [Solved]There isn't internet connection...

You could first try the community package broadcom-wl-dkms
Otherwise the aur package b43-firmware is what you are looking for.

EDIT: sry Trilby you were faster.
EDIT2: sry² you are right, looked it up.
EDIT3: since the TO does not know how to use the AUR, suggesting a dkms package is actually bad advice. I revert that too.

Last edited by svnset (2017-04-10 15:25:53)


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#17 2017-04-10 14:37:51

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

Re: [Solved]There isn't internet connection...

svnset, BCM43142 is not supported by b43.  If it was, that'd be preferable to wl.  Broadom-wl is the only driver for that card.


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

Offline

#18 2017-04-10 14:55:45

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

from where can I install broadcom-wl? with

sudo pacman -S broadcom-wl

says that this package doesn't exist


The best way to write a random string is by asking a noob to exit from vim.

Offline

#19 2017-04-10 14:57:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: [Solved]There isn't internet connection...

Did you bother to read the link Trilby gave you?

Offline

#20 2017-04-10 15:04:31

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

yes, but it explain only the offine installation, and says that it's better if you use the online instalation, so i tried to use this lat one


The best way to write a random string is by asking a noob to exit from vim.

Offline

#21 2017-04-10 15:08:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,839
Website

Re: [Solved]There isn't internet connection...

broadcom-wl is in the AUR, which is why you can't install it with pacman -S.

You have some more reading to do: https://wiki.archlinux.org/index.php/Ar … Repository


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#22 2017-04-10 15:11:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: [Solved]There isn't internet connection...

carru93 wrote:

yes, but it explain only the offine installation, and says that it's better if you use the online instalation, so i tried to use this lat one

It does not. Offline installation is the section AFTER the one he linked to.

Offline

#23 2017-04-10 15:32:20

carru93
Member
Registered: 2017-04-09
Posts: 13

Re: [Solved]There isn't internet connection...

ok, it works, my main problem with the broadcom-wl installation was that I didn't understood what was the difference between aur and pacman, thanks to all who don't kill me for my stupidity smile


The best way to write a random string is by asking a noob to exit from vim.

Offline

#24 2017-04-10 16:09:26

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

Re: [Solved]There isn't internet connection...

Broadcom-wl-dkms is now in the main repos.  I've not used it myself, but in many respects that seems like it'd be easier (and that is in the wiki).


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

Offline

#25 2017-04-10 17:11:23

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [Solved]There isn't internet connection...

Trilby wrote:

Broadcom-wl-dkms is now in the main repos.  I've not used it myself, but in many respects that seems like it'd be easier (and that is in the wiki).

I reverted my dkms recommendation in my post. To be honest he would've to install  dkms (which is nice) , the linux-headers and one should know how to use dkms (rebuild modules if necessary). So keeping track of one aur package is easier in this case and he has to learn it anyways. smile


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

Board footer

Powered by FluxBB