Could anybody please tell me how KPPP works? If I use KDE as a root and click KPPP, it gives me that incorrect password. If I use Gnome as a root and type command KPPP in the Terminal it works. In any case, my internet connection WORKS ONLY ONCE after a fresh installation. I have tried all like ttsy0, modem, all.... but it works only once. I have installed Linux 7 times by now. It works in the first run. In the second run either it just does not connect, or it connects but is not able to resolve the name say "resolving the name http://www.linuxquestions.org" appears for the long time in the browser and then it gives a message that it could not resolve the name
Somebody suggested me to creat lock.modem file in etc/..... I did that but that worsen the case with sound card and my speakers stopped. So, again I had to reinstall.
Hiya, sorry to hear about your plight. In order to use KPPP you need to login as root just to create an account =). You just need to set 5 main things - account name, login id, password, phone no. to dial, device, modem speed. Here are the detailed instructions:
Lets say the following are your details:
Service - VSNL
VSNL Connection no.(Ph.No) - 022-24404444
LoginId - email@example.com
Password - abcd1234
Start KPPP through KDE. Click K button -> Internet -> KPPP
Now you will be presented with a screen which will ask you "Connect to", "Username", "Password".
Click Configure. A new window will popup("KPP Configuration"). Click the new button and go through the manual setup. There enter the "Connection name" as VSNL or whatever you use and the phone no you need to dial to call the ISPs server("Use the add button"). That will configure your connection with your ISP and you will return to the KPPP Configuration dialog box.
Now you need to setup your device(modem) and the speed. Use device as /dev/modem. Thats it!
Click on OK and you will come back to the first dialog box of KPPP. There fill in your login name and password and say CONNECT. And you will be surfing the web in no time!
Now if you have any further queries please ask. Also, remember Linux is a very serious system with very few flaws. Unlike windows it wont mess *anything* up unless *you* issue incorrect commands as SU or ROOT.
You need not reinstall Redhat everytime you need to use your internet connection. There must be a logical explanation for whatever is happening. If your connection works for the first time then it *must* work the next time and the next and the time after that until you alter some configuration! Also the lock file is used to indicate that the modem is in use by KPPP to prevent other programs from using the modem at the sametime.
 I forgot to ask which modem you were using?
Kppp is a great tool, but sometimes it will make errors, especially when the files in /etc/ppp are not empty, or have been configured with other wizards, Gnome ppp etc., or too many ISPs have been configured at the same time.
The most problematic file is the /etc/ppp/options file, so maybe you should look there first. The /etc/ppp/pap-secrets file is where the problem will likely be if you are having trouble with passwords.
I also find the etc/resolv.conf file gets messed up easily. It has to be there in order for Kppp to work, but if it already has three DNS numbers in it, Kppp won't be able to add any more numbers. You can edit any the configuration files yourself with Vi or another text editor as root. You might want to delete all the text in these files (but leave the files there) to get a fresh start with Kppp.
You can also use the network configuration utility (under System Settings) to set up your dialer, but to me it requires more experience than Kppp.
If all else fails you can read up about the ppp daemon by entering "man pppd" at the console prompt.
Hope this helps,
Well i dont know about the 'mistakes' KPPP makes. But I can vouch for it since I have been using KPPP for sometime now. I have used it since Redhat 6.2 rolled out. But now I dont use it anymore since I got a cable connection. So maybe his problems are related to the configuration files =P
Now it works very fine In fact without bothering to start it first as a root, I used to start it first as a user because as a root I use Gnome. Now everything is fine except it asks for the rRoot Password just like it asks when we install something as a user. I was advised to give the rights to user for the files ttsy0 (my modem port) but it did not work. I also gave the rights to kppp in /usr/bin. By the way there are two kppp files in /usr/bin one is a link pointing to some help file that cannot be executed. The other is the application kppp itself.
I hope this gives you sufficient idea to identify the problem help me.
|All times are GMT -5. The time now is 04:30 AM.|