Hi everyone,
I'm fairly new to ClearOS. I have ClearOS Business Edition 7
running on a HP server in Gateway mode.
On many occasions, I have noticed that my Internet speeds drop down substantially. I live in malaysia, and my ISP is unifi.
When I configure the modem to be in bridge mode and connect it to my , ClearOS Business Edition 7 to dail my internet
my connection speeds drop drastically to the point where it's not acceptable. I have 800mbps speed
But on my ClearOS Business Edition 7 gateway mode i only can go up to 200mbps, Yes my NIC on server support up to 1Gbps and using cat7 Cable
However, when I use it as a regular modem From ISP and connect it to my PC, there are no issues with the speed.
Obviously, something is happening when I connect it to my ClearOS Business Edition 7
Can someone please help me figure out what the could be?
As I said, I'm new to ClearOS and not very strong in the networking area in general.
Thanks in advance for your help.
I'm fairly new to ClearOS. I have ClearOS Business Edition 7
running on a HP server in Gateway mode.
On many occasions, I have noticed that my Internet speeds drop down substantially. I live in malaysia, and my ISP is unifi.
When I configure the modem to be in bridge mode and connect it to my , ClearOS Business Edition 7 to dail my internet
my connection speeds drop drastically to the point where it's not acceptable. I have 800mbps speed
But on my ClearOS Business Edition 7 gateway mode i only can go up to 200mbps, Yes my NIC on server support up to 1Gbps and using cat7 Cable
However, when I use it as a regular modem From ISP and connect it to my PC, there are no issues with the speed.
Obviously, something is happening when I connect it to my ClearOS Business Edition 7
Can someone please help me figure out what the could be?
As I said, I'm new to ClearOS and not very strong in the networking area in general.
Thanks in advance for your help.
In Gateway
Share this post:
Accepted Answer
Check that you have version 2.7.3-1 of app-firewall:
Then in /usr/clearos/apps/network/libraries/Iface.php, add a line after line 1667:
To access the command line from Windows use PuTTY. You can copy from it by selecting text and paste into it by right-clicking. For file management and a basic text editor use WinSCP.
rpm -q app-firewall
If you don't, you need to do a "yum update".Then in /usr/clearos/apps/network/libraries/Iface.php, add a line after line 1667:
$info['LINUX_PLUGIN'] = '/usr/lib64/pppd/2.4.5/rp-pppoe.so';
Then edit and save your ppp1 interface.To access the command line from Windows use PuTTY. You can copy from it by selecting text and paste into it by right-clicking. For file management and a basic text editor use WinSCP.
Responses (19)
-
Accepted Answer
-
Accepted Answer
That is good that it is working and that you have your speed.
Can I suggest that, if you are completely new to ClearOS, that you consider a Business Gold subscription rather than rely on a Silver one which only has forum support? You then get the benefit of e-mail and remote login support. Once you are confident with ClearOS/Linux, you can then drop back to the lower level of support. -
Accepted Answer
-
Accepted Answer
I think a lot of manual tinkering has been done to get this going. Is you PPP line really connected to en01? If it is then do this:
1 - delete the ppp0 interface
2 - Add a VLAN interface to en01 with a VLAN tag of 500. Set it up as LAN/DHCP and save it (you can't initially set it as PPPoE).
3 - Edit the resulting en01.500 interface and change it to External/PPPoE and input your user/pass. Save it.
It should now connect. The problem is the current ppp0 interface is trying to attach itself to a non-existent eth0 interface. This is where I think there has been some manual fiddling in the past. -
Accepted Answer
-
Accepted Answer
You are having problems with your copy and paste where it is going to new lines and inserting a space in the string.
Your output looks like the contents of ifcfg-ppp0 and not ifcfg-eth0.500. Can you confirm with the command:
You would not expect to see the interface in the webconfig as it is overtaken by the ppp0 interface.cat /etc/sysconfig/network-scripts/ifcfg-eth0.500
Also are you running in a VM as you would not normally have eth named interfaces. They would normally start "en". -
Accepted Answer
[root@gateway ~]# ls -l /etc/sysconfig/network-scripts/ifcfg-*
-rw-r--r-- 1 root root 71 Mar 4 2019 /etc/sysconfig/network-scripts/ifcfg-eno 1
-rw-r--r-- 1 root root 138 Mar 4 2019 /etc/sysconfig/network-scripts/ifcfg-eno 2
-rw-r--r-- 1 root root 45 Oct 21 16:45 /etc/sysconfig/network-scripts/ifcfg-eth 0.500
-rw-r--r-- 1 root root 254 Aug 24 2018 /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r-- 1 root root 368 Mar 4 2019 /etc/sysconfig/network-scripts/ifcfg-ppp 0
ifcfg-eth0.500 file
DEVICE=ppp0
TYPE="xDSL"
USERCTL="no"
BOOTPROTO="dialup"
NAME="DSLppp0"
ONBOOT="yes"
PIDFILE="/var/run/pppoe-ppp0.pid"
FIREWALL="NONE"
PING="."
PPPOE_TIMEOUT="80"
LCP_FAILURE="5"
LCP_INTERVAL="20"
CLAMPMSS="1412"
CONNECT_POLL="6"
CONNECT_TIMEOUT="80"
DEFROUTE="yes"
SYNCHRONOUS="no"
ETH="eno1.500"
PROVIDER="DSLppp0"
PEERDNS="yes"
USER="ISP LOGIN"
MTU="1600"
chap-secrets Is same as the old backup
i think my vlan 500 is gone -
Accepted Answer
That is not right. It should give output like:
You should have an ifcfg-eth0.500 file. What is in it?[root@server ~]# ls -l /etc/sysconfig/network-scripts/ifcfg-*
-rw-r--r-- 1 root root 43 Jun 18 12:02 /etc/sysconfig/network-scripts/ifcfg-enp2s0
-rw-r--r-- 1 root root 119 Jun 11 18:00 /etc/sysconfig/network-scripts/ifcfg-enp5s0
-rw-r--r-- 1 root root 254 Aug 24 2018 /etc/sysconfig/network-scripts/ifcfg-lo
-rw-r--r-- 1 root root 421 Jun 18 12:02 /etc/sysconfig/network-scripts/ifcfg-ppp0
Also, from your configuration backup, can you compare your old ifcfg-ppp0 against what you have now and your old /etc/ppp/chap-secrets against what you have now. -
Accepted Answer
Nick Howitt wrote:
And "ls -l /etc/sysconfig/network-scripts/ifcfg-*"?
[root@gateway ~]# DEVICE=ppp0
[root@gateway ~]# TYPE="xDSL"
[root@gateway ~]# USERCTL="no"
[root@gateway ~]# BOOTPROTO="dialup"
[root@gateway ~]# NAME="DSLppp0"
[root@gateway ~]# ONBOOT="yes"no
[root@gateway ~]# PIDFILE="/var/run/pppoe-ppp0.pid"
[root@gateway ~]# FIREWALL="NONE"
[root@gateway ~]# PING="."
[root@gateway ~]# PPPOE_TIMEOUT="80"
[root@gateway ~]# LCP_FAILURE="5"
[root@gateway ~]# LCP_INTERVAL="20"
[root@gateway ~]# CLAMPMSS="1412"
[root@gateway ~]# CONNECT_POLL="6"
[root@gateway ~]# CONNECT_TIMEOUT="80"
[root@gateway ~]# DEFROUTE="yes"
[root@gateway ~]# SYNCHRONOUS="no"
[root@gateway ~]# ETH="eth0.500"
[root@gateway ~]# PROVIDER="DSLppp0"
[root@gateway ~]# PEERDNS="yes"
[root@gateway ~]# USER="myisp login" -
Accepted Answer
Nick Howitt wrote:
Restoring a backup won't help. My connection can take a couple of minutes to reconnect but it is the same with or without kernel mode.
You can reverse the change by undoing the edit to iface.php then editing the ppp0 interface in IP Settings. Are you sure you got the correct password?
Note that to get vlan500 someone would have needed to do a special set up. What is the output to:
What is the contents of /etc/sysconfig/network-scripts/ifcfg-ppp0?ls -l /etc/sysconfig/network-scripts/ifcfg-*
DEVICE=ppp0
TYPE="xDSL"
USERCTL="no"
BOOTPROTO="dialup"
NAME="DSLppp0"
ONBOOT="yes"
PIDFILE="/var/run/pppoe-ppp0.pid"
FIREWALL="NONE"
PING="."
PPPOE_TIMEOUT="80"
LCP_FAILURE="5"
LCP_INTERVAL="20"
CLAMPMSS="1412"
CONNECT_POLL="6"
CONNECT_TIMEOUT="80"
DEFROUTE="yes"
SYNCHRONOUS="no"
ETH="eth0.500"
PROVIDER="DSLppp0"
PEERDNS="yes"
USER="MYISP LOGIN"
LINUX_PLUGIN="/usr/lib64/pppd/2.4.5/rp-pppoe.so"
MTU="1600"
yes im sure about the password i get it from ISP
i think my setting has changed.
i really dont know what to do coz setting up this was my friend before
and i dint not quite get that how to set it up back
im screwed up! -
Accepted Answer
Restoring a backup won't help. My connection can take a couple of minutes to reconnect but it is the same with or without kernel mode.
You can reverse the change by undoing the edit to iface.php then editing the ppp0 interface in IP Settings. Are you sure you got the correct password?
Note that to get vlan500 someone would have needed to do a special set up. What is the output to:
What is the contents of /etc/sysconfig/network-scripts/ifcfg-ppp0?ls -l /etc/sysconfig/network-scripts/ifcfg-*
-
Accepted Answer
-
Accepted Answer
Yes, you have to do it every time you save it. In the future we hope to populate the password with the current password whenever you edit the interface. If you don't know it, it is in /etc/ppp/chap-secrets and is in the second quoted field.
will give it to you. You need the value between the quotes.awk '{print $3}' /etc/ppp/chap-secrets
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Hi
im not quite sure how to do. Yes my Line using VLAN.500
can you give me more info on this? thank you in advanceNick Howitt wrote:
If you are using PPPoE, you need to switch to kernel mode PPPoE. If you do not use VLAN's on your WAN you can install app-network from the updates-testing repo with:
Then, if you edit and save your ppp0 interface it will switch to kernel mode. If you use VLAN's on any external interface, you cannot use the updated app, but I can give you a one line change to one of the programs to enable kernel mode PPPoE.yum update app-network --enablerepo=clearos-updates-testing
-
Accepted Answer
If you are using PPPoE, you need to switch to kernel mode PPPoE. If you do not use VLAN's on your WAN you can install app-network from the updates-testing repo with:
Then, if you edit and save your ppp0 interface it will switch to kernel mode. If you use VLAN's on any external interface, you cannot use the updated app, but I can give you a one line change to one of the programs to enable kernel mode PPPoE.yum update app-network --enablerepo=clearos-updates-testing
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 »