You are not logged in.
Pages: 1
Hi, Today I have installed arch for the first time. Everything seems to be ok, only networking always fail to start.
I have followed beginners manual.
ip link shows enp4s0
ip link set enp4s0 up
I have set ipaddr and route to enp4s0 and named servers to resolv.conf.
Now I have done:
cp examples/ethernet-static my-network
nano my-network
- edited interface from eth0 to enp4s0 and corrected ipaddress, gateway and dns.
netctl enable my-network
netctl status my-network shows:
-Starting network profile
-netctl@my\x2dnetwork,service: main proces exited, code=exited, status=1/FAILTURE
-Failed to start A basic static ethernet connection
-Unit netctl@my\x2dnetwork.service entered failed state.
-Dependency failed for A basic static ethernet connection
Do you know where is problem? Thanks for replies.
Offline
Hi, and welcome to Arch.
You don't give much specific information about your configuration, so there is not a lot to start on.
There are numerous posts here of people with the same problem. You can check the Networksection
for this.
A quick Google turned up some promising threads
https://bbs.archlinux.org/viewtopic.php?pid=1288275
https://bbs.archlinux.org/viewtopic.php?id=161263
Not wanting to be rude to someone on his first post, but this is something you could have done yourselfe, and it is something you as a Arch user will
have to do a lot: do some research on your own.
Offline
Please post your Ethernet profile (the file you edited), the output of ip link
and the output of lspci -nn
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
Thank you for replies. I have read a lot of smillar topics here, but it doesn't help.
Please post your Ethernet profile (the file you edited), the output of ip link
and the output of lspci -nn
Here is output:
my-network:
Description='A basic static ethernet connection'
Interface=enp4s0
Connection=ethernet
IP=static
Address=('192.168.1.13/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
lspci -nn:
00:00.0 Host bridge [0600]: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller [8086:29c0] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port [8086:29c1] (rev 02)
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02)
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02)
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 02)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02)
00:1d.3 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801IB (ICH9) LPC Interface Controller [8086:2918] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801IB (ICH9) 2 port SATA Controller [IDE mode] [8086:2921] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801I (ICH9 Family) 2 port SATA Controller [IDE mode] [8086:2926] (rev 02)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV770 [Radeon HD 4870] [1002:9440]
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV770 HDMI Audio [Radeon HD 4850/4870] [1002:aa30]
03:00.0 IDE interface [0101]: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller [11ab:6121] (rev b2)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
05:02.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0)
ip link:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
link/ether 00:21:85:11:d0:31 brd ff:ff:ff:ff:ff:ff
Offline
It looks like your device is not started:
2: enp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWNIt is not a must, but you could try ifplugd together with netctl. The way ifplugd works your device will be set up
immediately if the ethernet cable is plugged in.
If you want to try this:
--disable the other networking services
--edit /etc/ifplugd/ifplugd.conf to support your device name eth0--->enp4s0
Offline
Sorry, I've been of hacking most of the day. The NO-CARRIER is what I am concerned about. Without any services that control the Ethernet running, put the link up as follows:
sudo ip link set enp4s0 up
and recheck the output of ip link again ans see if it (a) stays up, and (b) if the NO-CARRIER goes away. If not, check your cable -- are the port activity lights at both ends (your computer and your host device (router, modem, hub) lit?
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
Thank you guys for help. I've been wathching my ethernet cable and you are right, it takes approximately 5-7 minutes when ethernet cable come to life. I tried to run ip link set enp4s0 up = it has no effect. So my conclusion is that something is wrong between NIC and EthCable. Strange is that Windows boot immediately and Arch or Ubuntu has a lot of time to alive cable or NIC.
Thank you for help, topic seems to be solved.
PS: Arch community seems to be friendly and fast, it's unusual in a lot of unix communities :-).
Last edited by MyKE (2013-07-28 11:17:46)
Offline
Pages: 1