About This mod is for ISDN based
IPCops. With it, it is possible to connect or disconnect the second ISDN channel on the fly (multilink). Adding and removing the second channel is done via IPCop's dial screen and does not require an existing connection to be disconnected.
This mod is for
IPCop v1.4.1, v1.4.2 and v1.4.4
Usage notes IPCop's ISDN dialup settings 'single' and 'dual' will be changed to the following behavior:
- Configured as 'single', will only connect the first channel by default. The second channel can be added by selecting "Add ISDN-Channel" from the dial screen (or removed). If the connection is disconnected, it will always default to single channel, even if both channels were previously active.
- Configured as 'dual', will always connect both channels by default. The second channel can be removed by selecting "Remove ISDN-Channel" from the dial screen (or added). If the connection is disconnected, it will always default to dual channel, even if only one channel was previously active. (This is only valid if iBOD is not enabled, see notes below.)
- In both 'single' and 'dual' mode, the second channel can always be added or removed without affecting the first channel.
- Selecting "Add ISDN-Channel" or "Remove ISDN-Channel" from the dial screen, only takes effect if at least one channel is connected.
To use the manual add/remove channel features of this mod, you must disable IPCop's iBOD feature (Bandwidth on Demand for dual ISDN). iBOD will interfere with your manual channel selections if it is enabled.
Installation Use this mod at your own risk. This mod has been tested with a simple ISDN setup. Make a backup of your IPCop's settings before you install. Be prepared to reinstall IPCop. If something goes wrong, your IPCop may lose the ability to connect. You have been warned.
- Backup your IPCop's settings.
- Download the mod archive file to your PC, get it here.
- Enable SSH access to IPCop. (Web interface, System->SSH Access, activate the 'enabled' option)
- Copy the archive to the folder "/root" on your IPCop box. (WinSCP walkthrough)
- Connect via SSH client as user 'root'. (PuTTY walkthrough)
- The following bold commands are console commands, you can copy and paste them into your SSH client (PuTTY).
- change folder to "/root"
cd /root
- extract archive
tar -xvvzf ipcop-dualisdn-mod_v0.2.tar.gz
- change to newly created folder "isdndualmod"
cd isdndualmod
- run setup to install (use "-u" to uninstall)
./setup -i
- You should see setup's output "installing..." etc.
- The mod should now be installed. (You can close PuTTY now.)
- Goto 'System->Home' on IPCop's web interface.
- You should now see the new buttons 'Add ISDN-Channel' and 'Remove ISDN-Channel'.
- Disconnect and reconnect IPCop to complete the install.
- Remember to disable IPCop's SSH access when you are finished.
WinSCP Walkthrough WinSCP is like an FTP client, it allows you to copy files to your IPCop via SSH.
- Check that IPCop's SSH access is enabled.
- Install and run WinSCP, get it here.
- WinSCP's 'Login' screen:
- For 'Host name' enter your IPCop's IP.
- For 'Port number' enter: 222
- For 'User name' enter: root
- For 'Protocol' select 'SFTP'
- Select 'Login'
- For password, enter IPCop's root password.
- After Logging in:
- You should see your IPCop's folders on the right side.
- You should be in the "/root" folder. If not, navigate to it.
- On the left side you should see your PC's folders.
- Navigate to the folder on your PC where you downloaded the mod file.
- Copy the mod file to IPCop. (Drag & Drop from the left to right side).
- Check that the archive file is now located in the "/root" folder on IPCop.
- You can quit WinSCP now.
PuTTY-SSH Walkthrough PuTTY-SSH will open a terminal window so you can execute console commands on your IPCop.
- Check that IPCop's SSH access is enabled.
- Run PuTTY, get it here.
- PuTTY's 'Configuration' screen:
- For 'Host Name' enter your IPCop's IP.
- For 'Port' enter: 222
- For 'Protocol' select: SSH
- Select 'Open'
- For 'login as:' enter: root
- For password, enter IPCop's root password.
- After Logging in you should now see a terminal window with something like "root@ipcop:~ #", waiting for input.
- You are now ready to continue with the rest of the installation.
- To execute a command, paste it to PuTTY's screen and hit Enter.