2.4.1. Dialup

This subsection of the Dialup Administration Window (AW) is divided into five different editable sections and is only applicable if you are accessing the Internet using an analog modem, an ISDN device or a DSL connection.

Note that you cannot select or modify a profile while IPCop is online, or waiting to go online in Dial on Demand mode. Before using this page, go to the Home AW and if the status line reports Connected or Dial on Demand waiting then the click on the Disconnect button before returning to this Window. After setting up or selecting Profiles, remember to return to the Home AW and click the Connect button, if you want your IPCop to go back online.

Profiles This section provides the facilities to name and set up new Dialup Profiles (up to a total of five), or to rename existing Profiles and change their parameters.

Select a Profile to be created or modified from the drop-down list. Fill in or change the parameters for the profile (see below) and click on the Save button. To select the Profile to be used for future connections, use the drop-down list to make your choice and click the Select button at the bottom of the page. Use the Restore button while editing a Profile to reinstate the previous Profile settings.

Figure 2.14. Connection Profiles

Profiles section


Connection Select the appropriate Interface type for your Internet connection device from the drop down menu, and click the Refresh button to populate the Connection section with the content relevant to your device.

Figure 2.15. Connection Interface

Connection Interface section


  1. Interface. This will be either a Communications port (COM1-COM5, ttyUSB0-4, noz0-1, ttyHS0-3, or usb/ttyACM0-3) used mostly for modems and ISDN cards, or PPPoE which is used mostly for DSL connections.

  2. Select the appropriate Computer to modem rate. This will decide how quickly data is passed to and from your connection device. With older computer systems or modems, you may find it necessary to use one of the lower data rates to establish reliable computer/modem communications.

  3. Enter the correct Number to dial for your Internet connection. If connecting through the PPPoE interface then chances are you will probably be leaving this blank.

  4. Modem speaker on. Tick this checkbox if you want the modem speaker on. With the speaker on you to hear the connection taking place and this can be a useful diagnostic aid when troubleshooting. This option is only likely to be useful if you are connecting via an analog modem.

  5. Select your Dialing mode. Use Tone dialing unless your telephone connection only recognizes Pulse dialing. Pulse dialing is a lot slower than Tone dialing.

  6. ISP Requires Carriage Return. Some ISPs require that the modem sends a carriage return to signal that it has finished sending data. If your ISP requires this, then check this box. The default is unchecked.

  7. Modem INIT for this Profile - optional. This field is available in case you need to provide an INIT string to your modem for this particular profile, in addition to the modem's normal INIT string.

  8. Enter your Idle timeout. This will decide how IPCop handles your Internet connection when nothing is actually being sent or received via the Internet connection. The number you enter here indicates to IPCop how long it should wait after any Internet activity before it disconnects the modem link. If you set this parameter to 0 then IPCop, once connected, will not disconnect from the Internet of its own accord.

  9. Connect on IPCop Restart will make IPCop connect after booting, if Dial on Demand is not selected.

    You will probably want to set this option as active if you are also using Dial on Demand. This is because the combination of settings will automatically put IPCop into Dial on Demand waiting mode each time IPCop is switched on or rebooted.

  10. Connection debugging. Tick this checkbox to write extra log information in the RED category of the System Logs. This can be a very useful addition when troubleshooting failure to connect situations.

Figure 2.16. Connection/Reconnection

Connection Reconnection section


Reconnection You can reconnect in one of three ways: Manual, Persistent, and Dial on Demand.

  1. With the Manual connection method you will have to click the Connect button on the Homepage.

  2. The Persistent connection radiobutton is used to instruct IPCop to maintain the modem connection at all times, even in the absence of Internet activity.

    In this mode it will attempt to reconnect the Internet connection whenever the link fails for any reason, such as a connection time-out at the ISP end of the modem link.

    Use this mode with caution. If you have metered connection charges you probably will not want to use this feature. However, if you have unlimited service time (often called 'Flatrate') with your ISP, you may want to use this in order to keep the link connected as much as possible.

    Note that in Persistent mode, IPCop will cease reconnecting after more than the number of consecutive failed dial attempts set in Maximum Retries. In this event, you have to use the Connect button on the Homepage.

  3. Dial on Demand is available by selecting the appropriate radiobutton. Note that after enabling Dial on Demand, you still have to click the Connect button on the Homepage before IPCop will start connecting automatically when it detects Internet activity. The Dial on Demand option is not available for PPPoE connections.

  4. The In case reconnection fails, switch to profile drop down menu allows you to pick an alternative profile to automatically switch to if your main connection fails.

  5. The Dial on Demand for DNS option determines whether IPCop will connect automatically when it detects DNS requests. This will usually be what you want to happen.

  6. The Holdoff time is the period, in seconds, that IPCop should wait between retries. The default is thirty seconds.

  7. Enter your desired Maximum retries. This will decide how often IPCop attempts to connect to the Internet after a failed connection attempt.

ADSL settings If either PPPoE or USB ADSL is enabled, additional configuration options are available.

In this section you can select different protocols, encapsulation methods, or add optional parameters, such as a service name, or a concentrator name, which some ISPs require. If your ISP does not require them, or does not give you any, then you may leave these two fields blank.

Your ISP will give you two settings, VPI and VCI, which you must enter if you are using a USB ADSL connection.

Figure 2.17. Authentication

Authentication section


Authentication User Name and Password are the username and password that your ISP should have supplied to you when you opened your account with them.

There are several ways in which ISPs use this username and password to login to their systems. The most common methods are PAP or CHAP. Select this if your ISP uses either of those two.

In the rare event that your ISP uses a text-based login script, you will need to login to the IPCop box and create a file in the /etc/ppp/ folder/directory. This filename (without the /etc/ppp/ prefix) should be entered into the Script name field. The file should contain 'expect send' pairs, separated by a tab. Examine the file /etc/ppp/demonloginscript for an example of what should be in this file. USERNAME will be substituted for the username and PASSWORD for the password.

Figure 2.18. DNS

DNS section


DNS Select Automatic if your ISP supports automatic DNS server configuration, as is now usually the case. Alternatively, select Manual and put IP addresses in the Primary DNS and Secondary DNS fields. These IP addresses will generally be provided, where necessary, by your ISP.

Profile name.  To name, or re-name, a profile, enter it in this field.

Save.  To save your configuration, click the Save button.