LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2016, 05:15 PM   #1
WarTurkey
Member
 
Registered: Jun 2009
Posts: 67

Rep: Reputation: 16
Arch - Interface is down at boot


Hello, all,

I have a new installation of Arch Linux in a VirtualBox guest under a Windows 10 host. The only problem I've noticed so far since the installation is that the interface is down at boot. I have to issue an ip link set enp0s3 up command at boot and then I can run systemctl start dhcpcd@enp0s3 to get access to the Internet. I have a handful of other Arch Linux systems and none of their network interfaces are down at boot. What did I miss during the installation and what do I have to do now to make the enp0s3 interface up so that my dhcpcd@enp0s3 service can get an IP address at boot?

I've tried Googling for some answers and I am directed here and here, but I have not been able to scan / search my way through those pages to find (or recognize) what I'm looking for.

So far, I've tried creating an ip-link-set-up@enp0s3 service that is configured with ExecStart=/usr/bin/ip link set %I up and set to run Before=dhcpcd@%i.service but that has not helped.

Last edited by WarTurkey; 06-08-2016 at 05:28 PM. Reason: Documenting additional troubleshooting steps taken
 
Old 06-08-2016, 06:18 PM   #2
WarTurkey
Member
 
Registered: Jun 2009
Posts: 67

Original Poster
Rep: Reputation: 16
I am not sure what caused the issue but shortly after posting, I realized that I could actually no longer get the interface to obtain an IP address by issuing the dhcpcd command anymore. I tried manually specifying an IP address with ip addr but I could not ping any nodes on the network and nothing could ping my VM. I ended up powering the VM off and changing the emulated adapter to the "virtio" para-virtualized adapter and rebooting. This allowed me to manually set the link up and then use dhcpcd to obtain an address. I then enabled dhcpcd@enp0s3 and rebooted and the interface came back up and worked.
 
  


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
[Arch] Network interface down... hshin23 Linux - Newbie 1 05-09-2016 01:22 AM
Installing arch from usb drive, cannot find wifi interface remn Arch 4 10-04-2015 04:37 PM
[SOLVED] Looking for distro with Arch Like features but with ready to go desktop interface AdityaPatil Linux - General 4 07-19-2015 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:33 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
Open Source Consulting | Domain Registration