LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 06-13-2004, 03:40 PM   #1
dineshjk
Member
 
Registered: Apr 2004
Location: India
Distribution: Red Hat
Posts: 36

Rep: Reputation: 15
KPPP problem


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.

Please help

Dinesh Karia
 
Old 06-15-2004, 02:51 PM   #2
basix
Member
 
Registered: Dec 2003
Distribution: Red Hat Linux 9, Fedora Core 1, *Fedora Core 2*
Posts: 74

Rep: Reputation: 15
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 - dineshjk@vsnl.net
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.

[edit] I forgot to ask which modem you were using?

Last edited by basix; 06-15-2004 at 02:54 PM.
 
Old 06-17-2004, 12:31 AM   #3
harrygraham
Member
 
Registered: Apr 2001
Location: Ottawa, Canada
Distribution: Ubuntu Gnome
Posts: 153

Rep: Reputation: 16
Kppp mystery

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,

Harry
 
Old 06-17-2004, 04:16 AM   #4
basix
Member
 
Registered: Dec 2003
Distribution: Red Hat Linux 9, Fedora Core 1, *Fedora Core 2*
Posts: 74

Rep: Reputation: 15
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
 
Old 06-17-2004, 02:27 PM   #5
dineshjk
Member
 
Registered: Apr 2004
Location: India
Distribution: Red Hat
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by basix
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 - dineshjk@vsnl.net
Password - abcd1234

Start KPPP through KDE. Click K button -> Internet -> KPPP

Now you will be .......
[edit] I forgot to ask which modem you were using?
Thanks dear,

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Old Kppp Problem ed_mak Ubuntu 3 06-30-2005 08:05 PM
kppp problem Daggelicious Linux - Newbie 7 04-10-2005 11:16 AM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 04:04 PM
using RH 8.. how can i install KPPP? which package includes the KPPP? kublador Linux - Software 1 02-21-2003 06:43 AM
using RH 8.. how can i install KPPP? which package includes the KPPP? kublador Linux - General 2 02-21-2003 12:52 AM


All times are GMT -5. The time now is 09:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration