You are not logged in.
Hello,
I just installed Arch on my computer for the first time, and am having trouble connecting to the my network. I believe most of the problem lies with my motherboard, which is a Gigabyte 970A-D3P with a r8168 LAN controller. To get networking to work for the installer, I had to enable IOMMU through my bios (I have no idea what it is, but it seemed to work). However, with the installed system it gives me a "connect: Network is unreachable" error. I downloaded the driver from the Realtek site onto a usb drive, and installed it (I had to boot from my installer again and "pacstrap /mnt gcc make linux-headers"). Now "lsmod | grep r8168" shows that the driver is installed, but it doesn't seem to work. I can't run ifconfig, because it's not installed and pacstrap can't find the package for it.
I appreciate whatever help you guys could provide.
Thanks,
Twtduck
Offline
As a sanity check, what happens if you run dhcpcd as root? Post the output here (if you can).
ifconfig is deprecated. What are the output of ip link ?
Edit: Oh! Welcome to Arch Linux ![]()
Last edited by ewaller (2015-10-16 03:57:33)
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
[root@Thomas-Arch-Desktop ~]# dhcpcd
dev: loaded udev
enp2s0: adding address fe80::9c50:7ccc:6bf9:ef87
no interfaces have a carrier
forked to background, child pid 636
[root@Thomas-Arch-Desktop ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BREADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether fc:aa:14:c2:ae:6e brd ff:ff:ff:ff:ff:ff
I also should probably say that the network configuration guide said to set "iommu=soft" as a kernel param, which I did. (See https://wiki.archlinux.org/index.php/Ne … 68.2F8411)
Edit: On a side note, is there a way I should format terminal commands and output, or just leave it as plain text?
Last edited by Twtduck (2015-10-16 04:14:41)
Offline
On a side note, is there a way I should format terminal commands and output, or just leave it as plain text?
Please use BBCode code tags. That link also exists under the post boxes on the forum.
It appears that you have an interface and it is up based upon the output of IP link. dhcpcd claims there is no carrier. Are the link LEDs on on your computer? How about your router for the port you are plugged into (Assuming you have a router)
Recheck your cable. I assume this cable and router worked during the install.
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
There are LEDs on both the computer and router. They blink slowly, indicating that it's trying to establish a connection but can't. I have Ubuntu and Windows installed on my computer as well, and those both work fine. (Ubuntu needed the driver, and needs it reinstalled every time I update the kernel image, but it's a quick script that only takes a few seconds to run so I don't mind.) They both use DHCP, so trying a static IP for Arch doesn't make much sense. If I'd known the trouble this motherboard caused with Linux, I would have chosen a different one. ![]()
Offline
I downloaded the driver from the Realtek site onto a usb drive, and installed it (I had to boot from my installer again and "pacstrap /mnt gcc make linux-headers").
Did you install it using the following?
make installOr did you use the r8168 package?
Now "lsmod | grep r8168" shows that the driver is installed, but it doesn't seem to work.
Is the nic actually using that driver though or did you manually load it with modprobe?
lspci -vShould show the driver associated with the device.
Offline
I installed the driver found on this site. It doesn't say it supports 4.x kernels, but I don't think there were any huge changes since the 3.x kernels that would disallow the driver to work.
To install it, I installed the software mentioned above through my arch installer disc (
pacstrap /mnt gcc make linux-headers) and ran the autorun.sh script from the tarball that I'd downloaded onto a flash drive.
The output of lspci -v is pretty long, so I'll only include the section on my ethernet controller.
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at e000 [size=256]
Memory at fe100000 (64-bit, non-prefetchable) [size=4K]
Memory at d2100000 (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
Capabilities: [170] Latency Tolerance Reporting
Kernel driver in use: r8169
Kernel modules: r8169, r8168Offline
I installed the driver found on this site. It doesn't say it supports 4.x kernels, but I don't think there were any huge changes since the 3.x kernels that would disallow the driver to work.
To install it, I installed the software mentioned above through my arch installer disc (
pacstrap /mnt gcc make linux-headers) and ran the autorun.sh script from the tarball that I'd downloaded onto a flash drive.
This may block upgrades due to Conflicting_Files as pacman is not tracking those files but it is probably not related to the current issue.
The output of lspci -v is pretty long, so I'll only include the section on my ethernet controller.
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c) Subsystem: Gigabyte Technology Co., Ltd Motherboard Flags: bus master, fast devsel, latency 0, IRQ 29 I/O ports at e000 [size=256] Memory at fe100000 (64-bit, non-prefetchable) [size=4K] Memory at d2100000 (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 Capabilities: [170] Latency Tolerance Reporting Kernel driver in use: r8169 Kernel modules: r8169, r8168
That shows the r8169 driver in use instead of the r8168 Realtek_RTL8111.2F8168B covers forcing the use of the r8168 driver.
Offline