Forums

Resolved
0 votes
ok I'm one of those horrible people which have an old version of of ClearOS 5.2 out in the wild.

Haven't touched it in ages just worked until I wanted to go mutli-WAN then I tried to chuck another NIC in and go from there. with enough google worked out it'll never work so question will the hardware work with the latest ClearOS or will have have to upgrade some hardware as well ?

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Device 7470:3468
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
Subsystem: Gigabyte Technology Co., Ltd Device e000
Kernel driver in use: atheros_eth
Kernel modules: atl1e
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
Kernel driver in use: r8169
Kernel modules: r8169


[root@clearos1 ~]# uname -a 
Linux clearos1.sneddonpartners.local 2.6.18-308.1.1.v5PAE #1 SMP Sun Mar 11 18:32:55 MDT 2012 i686 i686 i386 GNU/Linux


cat /proc/cpuinfo 
vendor_id : GenuineIntel
model name : Pentium(R) Dual-Core CPU E6600 @ 3.06GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 6133.43


[root@clearos1 ~]# free -m
total used free shared buffers cached
Mem: 4017 2021 1996 0 309 1198
-/+ buffers/cache: 513 3504
Swap: 3333 0 3333
Saturday, July 08 2017, 07:17 AM
Share this post:
Responses (4)
  • Accepted Answer

    Friday, January 05 2018, 09:33 PM - #Permalink
    Resolved
    0 votes
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    Subsystem: TP-LINK Technologies Co., Ltd. TG-3468 Gigabit PCI Express Network Adapter
    Kernel driver in use: r8168
    Kernel modules: r8168
    03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
    Subsystem: Gigabyte Technology Co., Ltd Device e000
    Kernel driver in use: atl1c
    Kernel modules: atl1c
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
    Kernel driver in use: r8169
    Kernel modules: r8169


    lspci looks better now and it's fixed my multiwan and firewall issues as well.

    Thanks for explaining the enpxs0 numbering oddly enough the pci-e card is first then the motherboard then the pci card.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 05 2018, 08:13 AM - #Permalink
    Resolved
    0 votes
    You have the RTL8111/8168/8411 and RTL8169 combination. I stopped providing the drivers in 7.4 because a technical issue virtually required ClearOS to provide them with a very minor tweak or the upgrade of Community and Business from 7.3 to 7.4 risked taking systems off-line. You can install them both with a:
    yum install kmod-r816*
    Then reboot.

    If you already have my r8169 driver it is no problem as it is the same as the ClearOS. It is the r8168 driver which ClearOS had to tweak.

    Please note this thread as it will affect you. The likelihood is that ClearOS will need to provide the drivers again, but it will give issues booting to older kernels.

    NIC naming changed in ClearOS6/Centos6/EL6 but could be overridden. The new naming means the interface name belongs to the slot the card is connected to. If you move slots, names change. Have a read of this article.

    I am not sure of the Multiwan issue for the moment, but let's get the NIC's working first.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 04 2018, 11:43 PM - #Permalink
    Resolved
    0 votes
    ok so used Christmas holidays to take time to rebuild the 5.2 as a 7.4

    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    Subsystem: TP-LINK Technologies Co., Ltd. TG-3468 Gigabit PCI Express Network Adapter
    Kernel driver in use: r8169
    Kernel modules: r8169
    03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
    Subsystem: Gigabyte Technology Co., Ltd Device e000
    Kernel driver in use: atl1c
    Kernel modules: atl1c
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
    Kernel driver in use: r8169
    Kernel modules: r8169

    ifconfig

    enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.1.1.33 netmask 255.255.255.0 broadcast 10.1.1.255
    inet6 2001:44b8:3156:a904:8616:f9ff:fe06:c150 prefixlen 64 scopeid 0x0<global>
    inet6 fe80::8616:f9ff:fe06:c150 prefixlen 64 scopeid 0x20<link>
    ether 84:16:f9:06:c1:50 txqueuelen 30 (Ethernet)
    RX packets 119677 bytes 92695295 (88.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 92754 bytes 29400004 (28.0 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255
    inet6 fe80::76ea:3aff:fe81:c947 prefixlen 64 scopeid 0x20<link>
    ether 74:ea:3a:81:c9:47 txqueuelen 1000 (Ethernet)
    RX packets 107201 bytes 22594030 (21.5 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 126421 bytes 69508080 (66.2 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    imq0: flags=193<UP,RUNNING,NOARP> mtu 16000
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 11000 (UNSPEC)
    RX packets 35846 bytes 14184264 (13.5 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 35846 bytes 14184264 (13.5 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1 (Local Loopback)
    RX packets 224446 bytes 99004672 (94.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 224446 bytes 99004672 (94.4 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



    they are working I can't find the drivers on the link you posted before have they been taken down ? and why are they named so funny enp4s0 ? instead of eth0 etc ?


    When i set up dual wan the firewall breaks (well the rule to allow remote webconfig on the 2nd dhcp external nic no longer works) well to me more precise turn the atheros to a pppoe connection and let it fail because I don't have adsl modem plug into it while letting the other nic be external DHCP
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 08 2017, 01:12 PM - #Permalink
    Resolved
    0 votes
    I'd have thought you'd be OK but there is one gotcha (as you had with older versions of ClearOS but you may not have noticed). The r8169 driver is not very good with r8111/r8168 NIC's and can lead to all sorts of issues. You can get round them is you load the kmod-r8168 and the kmod-r8169 driver from here. Even in ClearOS 5.x you should really use the r8168 driver with your r8111/r8168 NIC, but it is not supplied.

    The atl1e driver still appears in ClearOS7.x, your processor is 64-bit capable and you appear to have 4GB of RAM.
    The reply is currently minimized Show
Your Reply