Forums

Jason R
Jason R
Offline
Resolved
0 votes
I had posted this issue a few years ago. I am trying to see if the issue has been resolved. I have ATT fiber 1G. I use Proxmox with IPFire and I get up and down traffic of 949 both ways with IPS running.

When I setup ClearOS (doesn't matter what NIC I select) I get 569.9 Mbps download and 309.7 Mbps upload up at best. I have played with all settings I can think of. I verified the NIC is using 1000 full. I tried to even define the speed. New install and I can't seem to get clearOS to use the full 949 (1G). If IPFire has the same setup and had the same issue I would know it was hardware or Proxmox. But I don't have any issues with IPFire and speeds. I left due to this issue a few years ago. I have a client that has dual 1G WAN setup and IPFire doesn't support multi wan configurations. So I need to find out if we can get ClearOS to work correctly.

Proxmox 7 has options of VirtIO, e1000, and and old Realtek RTL8139. With IPFire I can use VirtIO for all interfaces and I have no issues. I have other OS images on the same box and they function great. This has been the only VM I have had issues with speeds,

Thanks in advance.
Wednesday, January 19 2022, 03:36 PM
Share this post:
Responses (5)
  • Accepted Answer

    Tuesday, October 18 2022, 01:47 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    I am assuming you have a PPPoE connection? If so, please try adding the following line to /etc/sysconfig/network-scripts/ifcfg-ppp0 and any other ifcfg-pppX files:
    LINUX_PLUGIN=/usr/lib64/pppd/2.4.5/rp-pppoe.so
    Saving the file will force the interface reset and start with the new configuration. If that works, to make it permanent, add a line
    $info['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so'
    somewhere between line 1646 and 1668 to /usr/clearos/apps/network/libraries/Iface.php so the section reads something like:
    $info = array();
    $info['DEVICE'] = $eth;
    $info['TYPE'] = self::TYPE_PPPOE;
    $info['USERCTL'] = 'no';
    $info['BOOTPROTO'] = 'dialup';
    $info['NAME'] = 'DSL' . $eth;
    $info['ONBOOT'] = 'yes';
    $info['PIDFILE'] = '/var/run/pppoe-' . $eth . '.pid';
    $info['FIREWALL'] = 'NONE';
    $info['PING'] = '.';
    $info['PPPOE_TIMEOUT'] = '80';
    $info['LCP_FAILURE'] = '5';
    $info['LCP_INTERVAL'] = '20';
    $info['CLAMPMSS'] = '1412';
    $info['CONNECT_POLL'] = '6';
    $info['CONNECT_TIMEOUT'] = '80';
    $info['DEFROUTE'] = 'yes';
    $info['SYNCHRONOUS'] = 'no';
    $info['ETH'] = $physdev;
    $info['PROVIDER'] = 'DSL' . $eth;
    $info['PEERDNS'] = ($peerdns) ? 'yes' : 'no';
    $info['USER'] = $username;
    $info['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so';

    if (!empty($mtu))
    $info['MTU'] = $mtu;
    The line can be put just about anywhere in the block.


    This solved my situation too Nick.

    Had 900mbps Fibre installed yesterday and was only getting 250ih through ClearOS. With your fix now at 840ish :D
    The reply is currently minimized Show
  • Accepted Answer

    Jason R
    Jason R
    Offline
    Wednesday, January 19 2022, 05:20 PM - #Permalink
    Resolved
    0 votes
    Yeah, I don't have PPPoE on my fiber. I install OPNsense and I get great speeds there too. Using the same VM. I just backed up the VM and reinstalled to the same disk. I am using speed test from the APP on windows. I can switch between IPFire and OPNsense and speeds are 949 up and down.

    What else would cause the speeds to be slow? I am at the point I will just have to use OPNsense since it supports multi-wan. I do have a day or so before I must install the firewall. The client had no issues paying the annual fees you charge, but unless I can get the full speed it is a no go.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 19 2022, 04:30 PM - #Permalink
    Resolved
    0 votes
    Believe me you get PPPoE on some fIbre - VDSL. If you don't have PPPoE then there is no reason that you won't get Gb speeds. You can use a VirtIO NIC as it is the best performer, but e1000 should be OK if it is still supported.

    I have found that the ClearOS speed test and many other browser based ones don't work at that sort of speed and I was in the process of complaining to my ISP when I found that if you install the Ookla Speed Test app in Windows on the ClearOS LAN, that works best.
    The reply is currently minimized Show
  • Accepted Answer

    Jason R
    Jason R
    Offline
    Wednesday, January 19 2022, 04:08 PM - #Permalink
    Resolved
    0 votes
    Why would I have a PPPoE connection? I am on Fiber. I don't use PPPoE on any other Firewall or servers I have.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 19 2022, 03:54 PM - #Permalink
    Resolved
    1 votes
    I am assuming you have a PPPoE connection? If so, please try adding the following line to /etc/sysconfig/network-scripts/ifcfg-ppp0 and any other ifcfg-pppX files:
    LINUX_PLUGIN=/usr/lib64/pppd/2.4.5/rp-pppoe.so
    Saving the file will force the interface reset and start with the new configuration. If that works, to make it permanent, add a line
    $info['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so'
    somewhere between line 1646 and 1668 to /usr/clearos/apps/network/libraries/Iface.php so the section reads something like:
    $info = array();
    $info['DEVICE'] = $eth;
    $info['TYPE'] = self::TYPE_PPPOE;
    $info['USERCTL'] = 'no';
    $info['BOOTPROTO'] = 'dialup';
    $info['NAME'] = 'DSL' . $eth;
    $info['ONBOOT'] = 'yes';
    $info['PIDFILE'] = '/var/run/pppoe-' . $eth . '.pid';
    $info['FIREWALL'] = 'NONE';
    $info['PING'] = '.';
    $info['PPPOE_TIMEOUT'] = '80';
    $info['LCP_FAILURE'] = '5';
    $info['LCP_INTERVAL'] = '20';
    $info['CLAMPMSS'] = '1412';
    $info['CONNECT_POLL'] = '6';
    $info['CONNECT_TIMEOUT'] = '80';
    $info['DEFROUTE'] = 'yes';
    $info['SYNCHRONOUS'] = 'no';
    $info['ETH'] = $physdev;
    $info['PROVIDER'] = 'DSL' . $eth;
    $info['PEERDNS'] = ($peerdns) ? 'yes' : 'no';
    $info['USER'] = $username;
    $info['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so';

    if (!empty($mtu))
    $info['MTU'] = $mtu;
    The line can be put just about anywhere in the block.
    Like
    1
    The reply is currently minimized Show
Your Reply