Depending on your version of Linux, the setup may be slightly different than described here.
Choose a connection type
A. Red Hat Linux:
Using RP3 to connect. RP3, the Red Hat PPP Dialer utility is available on any RedHat Linux install of version 6.2 or later. It is an easy dialer to install and is highly recommended. You can use RP3 to connect your modem to a PPP account, and then you can view statistics about the connection, such as the time, speed and cost of the current connection
RP3's Dialup Configuration Tool dialog (see image below) allows you to easily configure your system for an Internet dialup connection, helping you to locate your modem, enter the account information, and connect.

Click on Dialup Configuration Tool to create a new connection
Click Next
Your system will try to find your modem. If it can't, it will ask you to configure a new one. If rp3 can't find a modem, it will try to configure one. Select your modem from the list it provides and click NEXT. If successful you will see an account name screen. If not then your modem is not configured or installed properly. Please refer to your modem vendor documentation.
Enter 5StarNet for the account name and then enter the primary number you will dial to connect to 5StarNet 086 717171
Click Next
Enter yourusername and password in lower case (ie. no capital letters)
Click NEXT.
When the system asks if your ISP is named in a list select no or select NORMAL ISP
Click NEXT
Hit the FINISH button. Setup is completed.
To dial into our network, visit the GNOME menu and look under Internet for RH PPP DIALER. Click on it. Then select interface PPP0. A terminal window should launch.
On the new window RIGHT CLICK and select CONNECT TO PPP0. The modem should start dialling 5StarNet..
There is a very good user document on the Red Hat Website RedHat6.2 RedHat 7.1
B. netcfg setup in Xwindows:
The ‘netcfg’ interface is a feature of Redhat Linux 5 and above
Start Xwindows with the startx command and login as root
Open a Console and type netcfg to start the network configuration manager

Enter 5star.net.nz in the domain field under the Names tab
Add 202.189.160.1 and 202.189.160.2 in the Nameserver section
Click on the Interfaces tab and click on Add button. Netcfg will ask for type of connection, choose PPP
Click OK
Enter the following information in the appropriate fields
- Phone number
(086 717171)
- Login name
- Password
Click on done and save the interface
To Connect and disconnect:
Select the PPP interface in Net configuration
Click on Activate and
the modem should start dialing and connect you to 5StarNet
Disconnect by selecting the PPP interface and choosing Deactivate
C: KDE Desktop
If you use KDE as your desktop and you only want to connect while using the KDE desktop, then use the network tool "kppp" to configure your dialup connection.
Procedure>>>
- Start kppp and click on Setup and then Add (for new connection).
- At the Dial tab, enter:
- Connection Name = 5StarNet
- Phone Number = 086717171
- Authentication = PAP
- Check Yes to store password
- At the IP tab:
- Check Yes for Dynamic IP address
- Check Yes for auto-configure host name from this IP
- At the DNS tab:
- Domain = 5star.net.nz
- Check Configuration: Automatic
- Check Yes to Disable existing DNS servers
- At the Gateway tab:
- Check Yes for Default Gateway
- Check Yes to Assign the default Route to this Gateway
- The Login Script can be left alone
- Ignore Accounting
Enter your name and password, optionally check Show Log window and hit the Connect button. To disconnect, simply click on the disconnect button.
D: Plain old ppp at command line
This requires editing the /etc/ppp-on shell script.
Procedure>>>
- Make sure the permissions on /usr/sbin/pppd are: -rwsr-xr-x If not, as root, try chmod u+s /usr/sbin/pppd
- Edit /etc/ppp/ppp-on so it looks something like the following. The comment lines (beginning with #) are eliminated here for brevity.
----< /etc/ppp/ppp-on >----
TELEPHONE=086-717171
ACCOUNT=username
PASSWORD=password
export TELEPHONE ACCOUNT PASSWORD
exec /usr/sbin/pppd lock modem \
/dev/ttyS0 115200 crtscts \
asyncmap 200A0000 escape ff \
0.0.0.0:0.0.0.0 noipdefault \
defaultroute \
connect /etc/ppp/dial-5starnet
---------------------------------
You may need to change the CPU to modem speed.
- Create a file /etc/ppp/dial-5starnet by copying /etc/ppp/ppp-on-dialer.
Edit /etc/ppp/dial-5starnet to look as follows. (You can just use ppp-on-dialer if you wish - change ppp-on accordingly).
---< /etc/ppp/dial-5starnet >---
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 120 \
OK ATDT$TELEPHONE \
CONNECT ''
---------------------------------
The backslashes are important. They are line-continuation characters. Remove two obsolete lines if any:
ogin:--ogin: $ACCOUNT \
word:-- $PASSWORD
All authentication information will be requested at PPP handshaking via PAP.
- For authentiacation via PAP create or edit file /etc/ppp/pap-secrets to look as follows.
----< /etc/ppp/pap-secrets >-----
username * password
---------------------------------
It has to contain only one meaningful line
- If you are not already in the directory /etc/ppp, move there. Enter the command:
./ppp-on &
This should cause the pppd (ppp daemon) to start and use chat to establish a connection through the script in dial-5starnet
- To see if you are up, run as root:
ifconfig
It should report a ppp0 interface.
- To bring this interface down:
/etc/ppp/ppp-off
See also: Linux PPP HOWTO
|