Firstly I would like to thank jmn for providing the core information that I have used to provide this idiots (like me) guide.
You will need (google for the underlined)
1. WinSCP to access Ipcop box's files from another windows pc (1.58 MB)
2. EditPad Pro to change linux text files in windows
3. You must use the pppOE dialer in IpCop ... not the pppOE plugin for the mtu settings to work -this is a setting ... no downloads needed
Method
[edit thx 8321]
IPCop's SSH Server listens on port 222.
Make sure you enable it under System->SSH Access.
You don't need a rule to access this.
[/edit]
1. Login to Ipcop machine using your root user and password use port 222 and NOT the default port 22 in WinSCP
2. IMPORTANT: Make a copy of your existing rc.red
The best way to do this is to copy the file from /etc/rc.d to your pc's harddrive rename it to rc.red.bkup and then copy it back
Then you can restore with by reversing the procedure
3. Now copy the rc.red again onto your harddrive
4. Open it using edit pad
If you do not wish to access UTD skip steps 5 & 6
5. Find these lines (search for 1.1.1.1)
6. Change to (1.1.1.1 ->192.168.250.1 in one location)
7. FInd these lines (search for mtu)
8. change to (mtu&mru->1352)
9. save the rc.red file
10. copy over the rc.red file on the Ipcop box using WinSCP
11. You'll also have to unplug and plug in Iburst UTD to apply changes to Ip address for UTD access and will have to disconnect and reconnect only to change the mtu.
Other methods of changing mtu change the setting often on the nic rather than in the pppOE connection.
If I have stated anything incorrect or am incorrect in any way please inform me and I will change this post. This worked for me though.
You will need (google for the underlined)
1. WinSCP to access Ipcop box's files from another windows pc (1.58 MB)
2. EditPad Pro to change linux text files in windows
3. You must use the pppOE dialer in IpCop ... not the pppOE plugin for the mtu settings to work -this is a setting ... no downloads needed
Method
[edit thx 8321]
IPCop's SSH Server listens on port 222.
Make sure you enable it under System->SSH Access.
You don't need a rule to access this.
[/edit]
1. Login to Ipcop machine using your root user and password use port 222 and NOT the default port 22 in WinSCP
2. IMPORTANT: Make a copy of your existing rc.red
The best way to do this is to copy the file from /etc/rc.d to your pc's harddrive rename it to rc.red.bkup and then copy it back
Then you can restore with by reversing the procedure
3. Now copy the rc.red again onto your harddrive
4. Open it using edit pad
If you do not wish to access UTD skip steps 5 & 6
5. Find these lines (search for 1.1.1.1)
Code:
#system ("/sbin/ifconfig", $netsettings{'RED_DEV'}, "1.1.1.1",
system ("/sbin/ifconfig", $netsettings{'RED_DEV'}, "1.1.1.1",
#"netmask", "255.255.255.0", "broadcast", "1.1.1.255", "up");
"netmask", "255.255.255.0", "broadcast", "192.168.250.255", "up")
Code:
#system ("/sbin/ifconfig", $netsettings{'RED_DEV'}, "1.1.1.1",
system ("/sbin/ifconfig", $netsettings{'RED_DEV'}, "192.168.250.1",
#"netmask", "255.255.255.0", "broadcast", "1.1.1.255", "up");
"netmask", "255.255.255.0", "broadcast", "192.168.250.255", "up")
Code:
push(@pppcommand, ('noipdefault', 'default-asyncmap',
'defaultroute', 'hide-password', 'local',
'mtu', '1492', 'mru', '1492', 'noaccomp', 'noccp',
'nobsdcomp', 'nodeflate', 'nopcomp', 'novj', 'novjccomp',
'user', $pppsettings{'USERNAME'}, 'lcp-echo-interval', '20',
'lcp-echo-failure', '3', 'lcp-max-configure', '50',
8. change to (mtu&mru->1352)
Code:
push(@pppcommand, ('noipdefault', 'default-asyncmap',
'defaultroute', 'hide-password', 'local',
'mtu', '1352', 'mru', '1352', 'noaccomp', 'noccp',
'nobsdcomp', 'nodeflate', 'nopcomp', 'novj', 'novjccomp',
'user', $pppsettings{'USERNAME'}, 'lcp-echo-interval', '20',
'lcp-echo-failure', '3', 'lcp-max-configure', '50',
10. copy over the rc.red file on the Ipcop box using WinSCP
11. You'll also have to unplug and plug in Iburst UTD to apply changes to Ip address for UTD access and will have to disconnect and reconnect only to change the mtu.
Other methods of changing mtu change the setting often on the nic rather than in the pppOE connection.
If I have stated anything incorrect or am incorrect in any way please inform me and I will change this post. This worked for me though.
Last edited: