LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-27-2002, 07:30 PM   #1
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Rep: Reputation: 15
PPP for dial in.


hihi,

newbie here.

I am trying to config a server for dial in purposes. My client machine is properly set up already.
On my server, I have apache and mgetty setup.

However when I try dialing using kppp, things seems to be fine at first, but after sometime a error say "Timeout expired while waiting for PPP interface to come up!"

Any idea what is wrong? What are the config for the PPP? and how?
 
Old 12-27-2002, 09:03 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try this one

http://www.linuxquestions.org/questi...threadid=39004
 
Old 12-27-2002, 09:54 PM   #3
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
tried out .. but did not work ...
it seems like the server PPP is not running.
Read on some web site saying to configure /etc/ppp/options.ttyXX , but I only have /etc/ppp/options file.
what is the difference?
 
Old 12-28-2002, 07:26 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if you setup the mgetty/login.config the way I have it you don't need that file, but you can use it if you want to put the ip addresses of the host and client

192.168.0.1:192.168.0.2


ppp starts when the scripts start it, it's not running all the time

please look at the scripts again in this thread and tell us what your missing

http://www.linuxquestions.org/questi...threadid=39004




If you made changes to inittab you need to run init q

Last edited by DavidPhillips; 12-28-2002 at 07:44 AM.
 
Old 12-28-2002, 07:48 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
also what client are you using, if you have everything the way it shown in the thread then it may be a client problem
 
Old 12-29-2002, 12:24 AM   #6
gokulagiridaran
Member
 
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
the pobs is check for kppp dialer settings -> timeout ..and retry
 
Old 12-29-2002, 01:21 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
gokulagiridaran


we are working on setting up a ppp server in this thread, I don't understand your reply.

Last edited by DavidPhillips; 12-29-2002 at 01:24 AM.
 
Old 12-30-2002, 12:53 AM   #8
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
I am using Kppp on the client side, it dial properly to my ISP, but when I tried with my server, it gives error msg saying timeout waiting for PPP interface.

Just got a new problem, cannot even get the modem to communicate!! It was after I change some config but cannot remember what. It looks like there is nothing monitoring the ttyS0. Did I kill the mgetty?
 
Old 12-30-2002, 10:31 AM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what's in /etc/inittab, /etc/mgetty+sendfax/login.config, /etc/ppp/options, and /etc/ppp/pap-secrets?
 
Old 01-01-2003, 10:03 PM   #10
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
etc/inittab:
ppp0:2345:respawn:/sbin/mgetty -s57600 -x ttyS0

etc/mgetty+sendfax/login.config
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap asyncmap 0 192.168.0.1:192.168.0.2

etc/ppp/options
asyncmap
netmask 255.255.255.0
proxyarp
lock
crtscts
modem

etc/ppp/pap-secrets
* * * 192.168.0.2

This work partially. The client always say the server PPP connection is not ready. ...
 
Old 01-02-2003, 07:24 PM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it looks like it should work

the asyncmap in your options file should probably be

asyncmap 0

try adding debug to the pppd command or in the options file and look at /var/log/messages
 
Old 01-03-2003, 01:48 AM   #12
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
How would I know if my kernel is configured for ppp to run?
How do I know if my pppd is running?

I tried checking by using ps ax | grep ppp
it gives
1895 pts/0 T 0:00 man pppd
2165 pts/1 R 0:00 grep pppd

it seems that my pppd is not running

when I try dmesg | grep ppp | more
nothing appears.
 
Old 01-03-2003, 03:30 AM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
run it like this as root

pppd

if you see a lot of characters on the screen for a few seconds then the kernel is ok

~ÿ}#À!}!}!} }4}"}&} } } } }%}&Ñ=:}'}"}(}"Aû~~ÿ}#À!}!}!} }4}"}&} } } } }%}&Ñ=:}'}"}(}"Aû~


pppd starts by the mgetty login.config

if you add the word

"debug" to the command line for pppd in login.config or to the options file you will get debug info in /var/log/messages

Last edited by DavidPhillips; 01-03-2003 at 03:33 AM.
 
Old 01-03-2003, 09:05 PM   #14
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
It seem like the kernel does not support. When pppd was tried, it say "segmentation fault". What is the problem?

Also how do I make the kernel support it? read the How To for kernel, but still dunno how to do it. The make xconfig command reply with "no rule to make xconfig". Also it seem that I don't have the source file in my usr/src directory.

I have the red hat 7.3 CD, can I install it from there? can I get the source from there?
 
Old 01-03-2003, 11:30 PM   #15
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need to install the kernel source then you can use that, you will see pppd in the config
 
  


Reply



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
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
dial up ppp to my isp nazzymac Linux - Newbie 1 04-25-2004 10:11 AM
Can't dial with gnome-ppp pen^2 Linux - General 2 11-05-2003 06:15 AM
PPP dial in server... sqn Slackware 2 08-14-2003 12:10 AM
Dial-out PPP Proxy tvreeland Linux - Networking 2 05-26-2002 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration