LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2010, 01:55 PM   #1
Peufelon
Member
 
Registered: Jul 2005
Posts: 164
Blog Entries: 1

Rep: Reputation: Disabled
Question Dial-up connectivity problem: configure kppp with firewall, find lock files


I have a desktop computer running Debian Lenny, a 56 K modem, and a dial-up account, currently configured like this:

computer -> modem -> UPS -> phone jack

When I run off a Knoppix live CD, I can use kppp to configure pppd (using PAP/CHAP authentication and hardware control flow) to dialup and surf. When I try to user kppp to configure pppd exactly the same way on my hard drive installation, I get nothing. Both my Knoppix live CD and Debian Lenny use exactly the same version of kppp, but the pppd related files in /etc/ppp look a bit different.

Under both Knoppix and Debian Lenny hard drive installation, when I try to connect, the login debug window of kppp shows:
Code:
ATZ
OK
ATM1L1
OK
ATDT [phone number]
At this point I hear the modem dialing out, and when using Knoppix, after a few seconds I see
Code:
CONNECT [five digit number]/ARQ
which I think corresponds to my route to the InterNet being established through my ISP. When using the hard drive install, I never see the CONNECT, and all indications are that my modem is not sending authentication information at all, but getting stuck right after dialing out, so that my ISP gets a phone call from a modem which... refuses to speak. I never had any problems before, so I am baffled.

So apparently my system is currently misconfigured in some way which prevents point to point protocol from getting out.

Questions:
  • I have a firewall on my computer which I set up using guarddog. I have enabled point to point protocol from internet zone to local zone. I know that ppp is a symmetrical protocol, but my understanding is that I do not need to enable point to point from local to internet zone. I have not enabled irc protocol because my understanding is that this is only relevant to software flow control using chat scripts. Does this sound correct? Is there some additional protocol I need to allow in order to use pppd to dial out?
  • When I reboot my computer (off the hard drive) I sometimes see that the system complaining about a failure to stop every process, and sometimes I see mention of an eth0.pid. I have been looking for lock files; would they all be in /var/run?
  • When I use kppp to configure pppd, I want to do that as my ordinary user for at least two reasons, correct?
    • don't want to run pppd as root user for security reasons
    • kppp is a GUI and root user can't use X (on Debian)
    So I should see in home directory of my ordinary user
    .kde/share/config/kppprc
    .kde/share/apps/kppp
    but not in /root directory, correct? What pppd related processes should I see with ps -ef if everything is working?

Last edited by Peufelon; 03-16-2010 at 02:06 PM.
 
Old 03-18-2010, 09:46 PM   #2
slackwaredanny
Member
 
Registered: Feb 2010
Location: Sweden
Distribution: Slackware
Posts: 88
Blog Entries: 3

Rep: Reputation: 20
try wvdial.
 
Old 04-01-2010, 11:55 PM   #3
Peufelon
Member
 
Registered: Jul 2005
Posts: 164
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Question Followup questions

I see that wvdial is available for Debian, but Catch 22: I can only connect when using Knoppix live CD on another machine right now, running kppp, so I can't use package manager to install wvdial and try it out.

Are you saying that if I purchase the Debian Lenny complete CD set, so that I can install wvdial off the CD, that wvdial will do better than kppp? Because from the package description, kppp sounds more configurable. The descripion says that with wvdial you don't need to use chat scripts, but as I understand it, I should not need to worry about chat scripts because I am using hardware control. My ISP says the problem may be that servers under my control don't know how to communicate with my old modem, which has not gotten firmware updates because the vendor does not support linux.

Does anyone know where to find the lock files for kppp?

Last edited by Peufelon; 04-02-2010 at 12:01 AM.
 
  


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
kppp problem with dial-up access matiasar Linux - Networking 4 10-06-2008 08:22 AM
Problem - configure KPPP on FC3 box satimis Fedora 2 05-06-2005 10:14 PM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 04:04 PM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 10:11 PM
Dial-up DNS won't configure in KPPP midngeek Mandriva 3 05-23-2004 04:05 PM


All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration