Я только что установил Arch Linux.
Я пытаюсь подключиться к своей локальной сети, но она не работает.
Вот мои данные:
lspci -v
...
3:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard
Flags: bus master, fast devsel, latency 0, IRQ 28
I/O ports at d000 [size=256]
Memory at f2104000 (64-bit, prefetchable) [size=4K]
Memory at f2100000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Kernel driver in use: r8169
Kernel modules: r8169
...
ip link show enp3s0
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Профиль netctl:
Interface=enp3s0
Connection=ethernet
IP=static
Address=('192.168.1.20/24')
Gateway='192.168.1.1'
DNS=('8.8.8.8' '8.8.4.4')
И я получаю эту ошибку:
--
-- Unit netctl@default_profile.service has begun starting up.
Jan 11 21:48:58 main network[496]: Starting network profile 'default_profile'...
Jan 11 21:48:58 main kernel: r8169 0000:03:00.0 enp3s0: link down
Jan 11 21:48:58 main kernel: r8169 0000:03:00.0 enp3s0: link down
Jan 11 21:48:58 main kernel: IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
Jan 11 21:49:03 main network[496]: No connection found on interface 'enp3s0' (timeout)
Jan 11 21:49:03 main network[496]: Failed to bring the network up for profile 'default_profile'
Jan 11 21:49:03 main systemd[1]: netctl@default_profile.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 21:49:03 main systemd[1]: Failed to start Networking for netctl profile default_profile.
-- Subject: Unit netctl@default_profile.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@default_profile.service has failed.
--
-- The result is failed.
Jan 11 21:49:03 main systemd[1]: netctl@default_profile.service: Unit entered failed state.
Jan 11 21:49:03 main systemd[1]: netctl@default_profile.service: Failed with result 'exit-code'.
Jan 11 21:49:03 main systemd[1]: Reached target Network.
-- Subject: Unit network.target has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit network.target has finished starting up.
--
-- The start-up result is done.
Если я пытаюсь подключиться с помощью:
dhcpcp enp3s0
это работает нормально, но я хочу подключиться с помощью netctl. Как мне это сделать?