This procedure assumes the use of a hardware modem, [as compared to a Windmodem, or "soft" modem]. It should also work with Winmodems, assuming the modem and drivers are installed correctly beforehand. A hardware modem, such as the US Robotics model 5610 [aka USR 0726 or 3Com 2977] internal controlerless PCI modem, needs no drivers to work with Linux. External hardware [serial] modems also work in similiar fashion.
First, you will need to edit your /etc/wvdial.conf file by entering essential information:
> Press Alt + F2
> Type: kdesu /etc/wvdial.conf
> Enter your password
> Kwrite opens: type in the information called for after the following:
-Phone=
-Username=
-Password=
> Save and Quit
Now you will need to determine which port your modem is on. Do this in a Konsole window [Kmenu>System>Konsole] by typing:
sudo wvdialconf /etc/wvdial.conf
After a string of data, you should see something like this:
"Found a modem on /dev/ttyS4.
Modem configuration written to /etc/wvdial.conf.
ttyS4<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Make a written note of the modem port.
Now to Configure PPP:
1. Open a Konsole window and type:
sudo pppconfig
2. You will be on the main menu. Choose 'Create Create a connection'.
3. Leave the name as 'provider', hit 'Ok'.
4. Select 'Dynamic Use dynamic DNS', hit 'Ok'.
5. Select 'PAP Peer Authentication Protocol', hit 'Ok'.
6. Enter your user name for the ISP, hit 'Ok'.
7. Enter your password for the ISP, hit 'Ok'.
8. Leave the speed at 115200 as recommended, hit 'Ok'.
9. Choose Tone or Pulse dialing, hit 'Ok'.
10. Enter the phone number to your ISP (do not use any dashes), hit
'Ok'.
11. You can try to have your modem detected automatically, but it did
not work for me, even on my easily detectable external modem.
12. If the modem wasn't detected, it will ask you for the port your
modem is on. Enter the device name for your modem, hit 'Ok'.[ie;
manually edit the default port to the correctly detected port; eg;
ttyS1 to ttyS4]
13. A summary screen will appear and give you the opportunity to make
changes if needed.
14. Choose 'Finished Write files and return to main menu.'.
15. Choose 'Quit Exit this utility'.
16. Exit the terminal window, type: exit
Now open the Kppp dialer (Kmenu>Internet>Kppp) and choose 'Configure'. In the Accounts tab, choose 'New" and enter your ISP's name. Under Modem, select the modem port. Fill in the 'Connect To', Login ID, and Password fields. Configure the rest of Kppp as necessary according to the parameters of your ISP; ie; DNS, IP address, etc. Now attempt a connection. Most likely, you will immediately receive an error as follows:
"/etc/resolv.conf is missing or can't be read! Ask your system adminstrator to create this file (can be empty) with appropriate read and write permissions."
You must create this file, leaving it blank:
> Press Alt +F2 and type:
kdesu kwrite /etc/resolv.conf
> Enter your password and press Enter.
> KWrite opens: do not edit. Just choose Save in the File menu, then Quit. The missing file has now been created.
OK. Now attempt another Kppp connection. You should receive a second error message as follows:
"The Kppp daemon has suddenly died."
Address this issue as follows:
> Press Alt + F2, and type:
kdesu kwrite /etc/ppp/peers/kppp-options
The file will open and you will see the following entry:
#noauth
Delete the # symbol so that the file now reads:
noauth
Now attempt another Kppp connection. This time, you should be able to connect without further problems.
********************************************
Please feel free to comment or correct errors as needed. Hope this helps with this common problem.
Smiley
First, you will need to edit your /etc/wvdial.conf file by entering essential information:
> Press Alt + F2
> Type: kdesu /etc/wvdial.conf
> Enter your password
> Kwrite opens: type in the information called for after the following:
-Phone=
-Username=
-Password=
> Save and Quit
Now you will need to determine which port your modem is on. Do this in a Konsole window [Kmenu>System>Konsole] by typing:
sudo wvdialconf /etc/wvdial.conf
After a string of data, you should see something like this:
"Found a modem on /dev/ttyS4.
Modem configuration written to /etc/wvdial.conf.
ttyS4<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Make a written note of the modem port.
Now to Configure PPP:
1. Open a Konsole window and type:
sudo pppconfig
2. You will be on the main menu. Choose 'Create Create a connection'.
3. Leave the name as 'provider', hit 'Ok'.
4. Select 'Dynamic Use dynamic DNS', hit 'Ok'.
5. Select 'PAP Peer Authentication Protocol', hit 'Ok'.
6. Enter your user name for the ISP, hit 'Ok'.
7. Enter your password for the ISP, hit 'Ok'.
8. Leave the speed at 115200 as recommended, hit 'Ok'.
9. Choose Tone or Pulse dialing, hit 'Ok'.
10. Enter the phone number to your ISP (do not use any dashes), hit
'Ok'.
11. You can try to have your modem detected automatically, but it did
not work for me, even on my easily detectable external modem.
12. If the modem wasn't detected, it will ask you for the port your
modem is on. Enter the device name for your modem, hit 'Ok'.[ie;
manually edit the default port to the correctly detected port; eg;
ttyS1 to ttyS4]
13. A summary screen will appear and give you the opportunity to make
changes if needed.
14. Choose 'Finished Write files and return to main menu.'.
15. Choose 'Quit Exit this utility'.
16. Exit the terminal window, type: exit
Now open the Kppp dialer (Kmenu>Internet>Kppp) and choose 'Configure'. In the Accounts tab, choose 'New" and enter your ISP's name. Under Modem, select the modem port. Fill in the 'Connect To', Login ID, and Password fields. Configure the rest of Kppp as necessary according to the parameters of your ISP; ie; DNS, IP address, etc. Now attempt a connection. Most likely, you will immediately receive an error as follows:
"/etc/resolv.conf is missing or can't be read! Ask your system adminstrator to create this file (can be empty) with appropriate read and write permissions."
You must create this file, leaving it blank:
> Press Alt +F2 and type:
kdesu kwrite /etc/resolv.conf
> Enter your password and press Enter.
> KWrite opens: do not edit. Just choose Save in the File menu, then Quit. The missing file has now been created.
OK. Now attempt another Kppp connection. You should receive a second error message as follows:
"The Kppp daemon has suddenly died."
Address this issue as follows:
> Press Alt + F2, and type:
kdesu kwrite /etc/ppp/peers/kppp-options
The file will open and you will see the following entry:
#noauth
Delete the # symbol so that the file now reads:
noauth
Now attempt another Kppp connection. This time, you should be able to connect without further problems.
********************************************
Please feel free to comment or correct errors as needed. Hope this helps with this common problem.
Smiley
Comment