Issue
upload speeds are slow
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.
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.
In IP Settings
Share this post:
Responses (5)
-
Accepted Answer
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:
Saving the file will force the interface reset and start with the new configuration. If that works, to make it permanent, add a lineLINUX_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['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so'
The line can be put just about anywhere in the block.$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;
-
Accepted Answer
-
Accepted Answer
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. -
Accepted Answer
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. -
Accepted Answer
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:
Saving the file will force the interface reset and start with the new configuration. If that works, to make it permanent, add a lineLINUX_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['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so'
The line can be put just about anywhere in the block.$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;
This solved my situation too Nick.
Had 900mbps Fibre installed yesterday and was only getting 250ih through ClearOS. With your fix now at 840ish
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »