A New Driver for Realtek RTL8111 Due to the lack of an OS X driver that makes use of the advanced features of the Realtek RTL series I started a new project with the aim to create a state of the art driver that gets the most out of those NICs which can be found on virtually any cheap board on the market today. Win8, Win8.1 and Server 2012 Auto Installation Program (SharedID:607557698 SId:627796460). #lspci -v 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02) Subsystem: ASUSTeK Computer Inc. #lspci -v 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02) Subsystem: ASUSTeK Computer Inc. M3A78-EH Motherboard Flags: bus master, fast devsel, latency 0, IRQ 28 I/O ports at d800 [size=256] Memory at feaff000 (64-bit, non-prefetchable) [size=4K] Memory at f8ef0000 (64-bit, prefetchable) [size=64K] Expansion ROM at feac0000 [disabled] [size=128K] Capabilities: Kernel driver in use: r8168 Kernel modules: r8169, r8168. #dmesg| grep 8168 [ 0.195647] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000 [ 3.109396] r8168 Gigabit Ethernet driver 8.039.00-NAPI loaded [ 3.109413] r8168 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control [ 3.110973] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. [ 3.110977] r8168 Copyright (C) 2014 Realtek NIC software team [ 3.166960] r8168 0000:02:00.0 enp2s0: renamed from eth0 [ 6.403816] r8168: enp2s0: link up As you can see I've tried replacing the driver (r8169) with the other one from the official repositories (r8168) but also with the one from the Realtek site. Dmesg seems to think the link is up, but ip link doesn't. Pinging obviously doesn't work without the live media. Any ideas on how to fix this? Kind regards, Japhir Last edited by Japhir (2015-04-07 07:28:51). Some other problems came up, because apparently my LiveMedium was a little outdated (couldn't verify the pacman key). ![]() I created a new one from my laptop and was able to do a clean install. This means that there are no longer any remnants of the 8168 driver. The static wired network connection still does not work. Can you help me with the manual setup of the network? This is the required information I believe Static IP address: 77.173.34.137 Subnet mask in CIDR notation: 255.255.128.0 (same as /17 if I understand correctly) Broadcast address: 77.173.127.255 (calculated with the help of Gateway's IP address: 77.173.127.254 Name server (DNS) IP addresses: 195.241.77.55 (secondary DNS: 195.241.77.58) Here's what I tried I've followed the link you posted, I created a /etc/conf.d/net-conf-enp2s0 file with the address, netmask, broadcast and gateway listed with the above values. Then created the /usr/local/bin/net-up.sh and /usr/local/bin/net-down.sh files exactly the same as in the guide and made them executable. Then created /etc/systemd/system/[email protected] also the same. I didn't know if i had to name the file like this or [email protected]. ![]() I then loaded the scripts with systemctl. Systemctl status [email protected] [email protected] - Network connectivity (enp2s0) Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: disabled) Active: failed (result: exit-code) since Sat 2015-04-04 13:19:18 CEST; 12s ago Process: 640 ExecStart-/usr/local/bin/net-up.sh%i (code=exited, status=2) Main PID: 640 (code=exited, status=2). It has more output but I'm typing all of this because getting files from that computer on the internet takes more effort than typing it over. If you need the enitire output I can provide it. Obviously it still doesn't work. My netmask is set to 24, I'm not sure how that compares to what you determined.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |