You are not logged in.

#1 2017-04-26 01:20:07

Noircir
Member
Registered: 2016-09-21
Posts: 2

Can't get an internet connection using WiFi or Ethernet

I've recently put an SSD in a laptop that I've installed Arch Linux on before. When trying to install Arch this time I can't establish an internet connection via ethernet or wifi. I've noticed when booting the USB ISO it gets stuck for a bit on

  [*** ] A start job is running for dhcpcd on enp3s0.

I've made sure the modules drivers were present

 Kernel driver in use: r8169
           kernel modules: r8169

It is also the same for my wifi network controller, iwlwifi is in use.

For wifi, it fails to connect after using wifi-menu -o, and then after using netctl start <myprofile> it exited with an error code. I entered systemctl status netctl@<myprofile>.service

What I got back is:

archiso dhcpcd[968]: wlp2s0: soliciting a DHCP lease
          archiso dhcpcd[968]: timed out
          archiso network[853]: DHCP IPv4 lease attempt failed on interface 'wlp2s0'
          archiso network[853]: Failed to bring the network up for profile '<MyProfile>'

I thought it was due to faulty hardware but other Linux distrobutions detected the wifi, and worked with an ethernet cord. So, I am not sure what is happening here. I've installed Arch on this laptop before with no problems. Any help would be appreciated.

Offline

#2 2017-04-26 01:22:09

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Can't get an internet connection using WiFi or Ethernet

Please post the output of "ip a"

Offline

#3 2017-04-26 01:31:11

Noircir
Member
Registered: 2016-09-21
Posts: 2

Re: Can't get an internet connection using WiFi or Ethernet

2ManyDogs wrote:

Please post the output of "ip a"

 lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                  link/loopback 00::00::00::00::00::00 brd 00:00:00:00:00:00
                   inet 127.0.0.1/8 scope host lo
                         valid_lft forever preferred_lft forever
                   inet6 ::1/128 scope host
                         valid_ldft forever preferred_lft forever
 2: enp3s0: <NO-CARRIER, BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
                link/ether  54:ee:75:38:35:4a brd ff:ff:ff:ff:ff:ff
 3. wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
               link/ether d0:7e:35:2e:3e:2f brd ff:ff:ff:ff:ff:ff:ff

Last edited by Noircir (2017-04-26 01:32:37)

Offline

#4 2017-04-28 21:20:23

Askr9
Member
From: Midgard
Registered: 2017-02-24
Posts: 1

Re: Can't get an internet connection using WiFi or Ethernet

Looks like there is a problem with either your DHCP server or dhcpcd.

Have you tried to set the IP address manually?

ip addr add <local_ip>/<subnet_mask> broadcast <broadcast_address> dev enp3s0
ip route add default via <gateway_ip> dev enp3s0

Offline

#5 2017-04-28 22:54:57

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

Re: Can't get an internet connection using WiFi or Ethernet

What is the output of systemctl list-unit-files --state=enabled    ?


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

Board footer

Powered by FluxBB