You are not logged in.
I've been running arch all summer and just recently my pc is having connection issues that I can't figure out. Sometimes when I use
systemctl start dhcpcd@enp6s0
systemctl enable dhcpcd@enp6s0
systemctl restart dhcpcd@enp6s0I get a connection for a few minutes, then it drops out. I have been using the network Configuration wiki page, and I have tried and re-tried steps 1-6. I don't feel like a I have enough experience to debug this on my own and would appreciate the help.
Offline
Welcome to Arch. Could you link to the steps you said you tried? I'm not sure what you are referring to on https://wiki.archlinux.org/index.php/Network so it is a bit hard to guess what you might have tried.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Welcome to Arch. Could you link to the steps you said you tried? I'm not sure what you are referring to on https://wiki.archlinux.org/index.php/Network so it is a bit hard to guess what you might have tried.
no problem.
1. I first pinged google, and 8.8.8.8, and got "unknown host error".
2. I have set a hostname, I think i did this when I first installed the os, i called it arch.
3. I then checked the driver status with
$ lspci -vand
$ dmesg | grep atl1c4. skipped this section because I don't get errors with step 3
5. next I found the device names, my ethernet connection is called enp6s0. Then I use
# ip link set enp6s0 upthen
$ ip link show dev enp6s0which says
2: enp6s0: <NO-CARRIER<BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
link/ether bc:ae:c5:10:b3:5a brd ff:ff:ff:ff:ff:ffI'm guessing this is where the problem lays because when I try to configure the IP address it gives me errors, which are
Job for dhcpcd@enp6s0.service failed. see 'systemctl status dhcpcd@enp6s0.serice' and 'journalctl -xn' for detailsOffline
I'm guessing this is where the problem lays because when I try to configure the IP address it gives me errors, which are
Job for dhcpcd@enp6s0.service failed. see 'systemctl status dhcpcd@enp6s0.serice' and 'journalctl -xn' for details
So? Did you take that advice?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
felixnigh7 wrote:I'm guessing this is where the problem lays because when I try to configure the IP address it gives me errors, which are
Job for dhcpcd@enp6s0.service failed. see 'systemctl status dhcpcd@enp6s0.serice' and 'journalctl -xn' for detailsSo? Did you take that advice?
Yup, i did
systemctl status dhcpcd@enp6s0.serviceand got
dhcpcd@enp6s0.service - dhcpcd on enp6s0
Loaded: loaded )/usr/lib/systemd/system/dhcpcd@.service; enabled)
Active: inactive (dead)
Jul 15 15:17:29 arch systemd[1]: Starting dhcpcd on enp6s0...
Jul 15 15:17:29 arch systemd[1]:PID file /run/dhcpcd-enp6s0.pid not readable (yet?) after start.
Jul 15 15:17:29 arch systemd[1]:Failed to start dhcpcd on enp6s0and with
journalctl -xnI get
--Logs begin at tue 2013-06-04, end at Mon 2013-07-15 --
Jul 15 arch NetworkManager[290]: <info> (eth0): deactivating device (reason 'none')[0]
Jul 15 arch dhcpcd[301]: eth0: removing ip address 192.168.1.110/24
Jul 15 arch kernal: hid-generic 0003:1532:0111.0002 can't reset device, 0000:00:1d.0-1.1/input1, status -32i do not know what to do with this information.
Last edited by felixnigh7 (2013-07-16 02:26:04)
Offline
I see two serious problems.
2: enp6s0: <NO-CARRIER<BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000Does the "NO-CARRIER" go away after you place the card up? A lack of carrier is usually an indication of a hardware issue (bad cable, bad switch or hub, or your NIC)
The second issue is that you seem to be trying to run NetworkManager concurrently with the dhcpcd systemd service. If you are using Network Manager, let it handle dhcpcd.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I see two serious problems.
2: enp6s0: <NO-CARRIER<BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000Does the "NO-CARRIER" go away after you place the card up? A lack of carrier is usually an indication of a hardware issue (bad cable, bad switch or hub, or your NIC)
I've tested it on windows 8 and it can connect to the internet, thank god it's not a hardware issue.
The second issue is that you seem to be trying to run NetworkManager concurrently with the dhcpcd systemd service. If you are using Network Manager, let it handle dhcpcd.
I uninstalled network manager, and nm-applet, and it works now! although this is a temporary solution, it is a step in the right direction.
thanks
Offline
Why is that only temporary? Would you prefer to use network manager?
If so, you should be able to reinstall it and just disable any other services you have trying to connect. Having multiple services trying to manage connectivity is a very common (the most common?) problem leading to sporadic disconnections.
Last edited by Trilby (2013-07-16 03:29:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Beware that if you didn't disable the service before uninstalling, there is the possibility that reinstalling will rebreak your system since "enable" simply creates a symlink that points to the service file. Reinstall networkmanager, and that symlink will no longer be dangling...
Offline