LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2014, 05:47 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Rep: Reputation: Disabled
no network on arch linux


hey guys I am new to setting up arch linux although not new to linux, I have worked with ubuntu, fedora, centos, manjaro, the list goes on. I have successfully installed Arch linux on my system and all I have is a bash terminal as of now. The method I would use to be able to connect to the internet is shown here in the wiki https://wiki.archlinux.org/index.php...27_guide#Wired but after I installed NetworkManager this method no longer seems to work. Now I do not have internet, I would like to know how I could setup networkmanager for static ip (I need static so please dont ask me to use dynamic) so I could continue configuring my arch system. Thanks.
 
Old 02-26-2014, 07:23 PM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,255

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
Well normally I would have said that NetworkManager would be for when you have a graphical interface up and running, however, it does appear on the wiki
that you can also run from the console. On further reading of this wiki it mentions the following:
Quote:
Note: You must ensure that no other service that wants to configure the network is running, in fact multiple networking services will conflict. You can find a list of the currently running services with systemctl --type=service and then stop them.
Did you follow this instruction?
 
Old 02-26-2014, 08:41 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
disable networkmanager with the command
Code:
systemctl stop NetworkManager.service
then type
Code:
wifi-menu
if you installed the wireless tools that should scan for available networks so you can connect.

you can check if you are connected by issuing the ping command
Code:
ping www.google.com
if you are connected then you can try to set up a graphical interface with pacman. install xorg, your graphical drive and a desktop manager depending on your choice.
 
Old 02-26-2014, 08:45 PM   #4
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TroN-0074 View Post
disable networkmanager with the command
Code:
systemctl stop NetworkManager.service
then type
Code:
wifi-menu
if you installed the wireless tools that should scan for available networks so you can connect.

you can check if you are connected by issuing the ping command
Code:
ping www.google.com
if you are connected then you can try to set up a graphical interface with pacman. install xorg, your graphical drive and a desktop manager depending on your choice.
The first command will work for me but I should have stated in OP that I am wired and do not have a wireless card.
 
Old 02-26-2014, 08:58 PM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
If you have no wireless card and your wired is static why do you want networkmanager?!
 
Old 02-26-2014, 09:11 PM   #6
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
If you have no wireless card and your wired is static why do you want networkmanager?!
To tell you the truth I wasn't entirely sure, although I did think xfce4 would require it, and when I looked up a youtube tutorial to install xfce the guy doing the video said to install some other packages beforehand and one of those was networkmanager so I sort of believed that to be the right thing to install.
 
Old 02-26-2014, 09:19 PM   #7
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
Well normally I would have said that NetworkManager would be for when you have a graphical interface up and running, however, it does appear on the wiki
that you can also run from the console. On further reading of this wiki it mentions the following:

Did you follow this instruction?
I ran that command and I see that dhcpcd.service and networkmanager.service are both running, I will try to go and disable dhcpcd
 
Old 02-26-2014, 09:20 PM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Considering your setup NetworkManager would only add bloat to your system.
 
Old 02-26-2014, 09:27 PM   #9
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Considering your setup NetworkManager would only add bloat to your system.
I would just prefer to have it if possible but my system has no network as of now, any ideas on what to do?
 
Old 02-26-2014, 09:30 PM   #10
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
https://wiki.archlinux.org/index.php..._configuration
 
Old 02-26-2014, 09:40 PM   #11
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Thanks but I tried this already as stated in OP. I have removed networkmanager and will try again now.
 
Old 02-26-2014, 09:41 PM   #12
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
find out the name of the network interface by issuing the command
Code:
ip link
or
Code:
ls /sys/class/net
once you know that, you can just issue the command

Code:
systemctl enable dhcpcd@eth0.service
replace the eth0 with the name of your device previously found

and type again
Code:
ping www.google.com
to make sure you got connected
 
Old 02-26-2014, 10:02 PM   #13
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,255

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
I am not sure I understand all the to-and-fro here as the wiki for Network manager seems quite straightforward and as the user has not followed it, the solution seems obvious
 
Old 02-26-2014, 10:13 PM   #14
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
The OP has no need for NetworkManager nor DHCP. Meaning these applications do not have to run and consume resources in vain. I do not know how to set up static connection in Arch, it's easy to set in Debian /etc/network/interfaces or Gentoo /etc/conf.d/net for instance.
 
Old 02-26-2014, 10:51 PM   #15
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,255

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
The config page he has listed shows him how
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect to wireless network Arch linux amilauduwerella Linux - Newbie 20 05-18-2011 01:17 AM
Unable to connect to wireless network Broadcom BMC3412(?) Arch linux phpeter Linux - Wireless Networking 14 01-03-2011 07:56 AM
not connecting to network in new Arch Linux 0.7.1 elgatofilo Arch 5 02-15-2006 03:04 AM
Network Connection Dying on Arch Linux isamoor Linux - Networking 0 02-09-2004 02:21 PM


All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration