LinuxQuestions.org
Visit Jeremy's Blog.
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 08-22-2003, 12:45 PM   #1
JahToasted
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
ppp - Demand Dial doesn't work


I'm having trouble getting demand dial to work on debian testing. I
compiled my own kernel (2.4.21) and set up NAT. I uncommented the demand
and and idle 300 in /etc/ppp/options. I've tried it with and without the
persist option. Here's a little more info:

/etc/init.d/ppp start
Starting up PPP link: pppd.

ps aux
...
root 5271 0.0 0.3 1936 892 ? S 12:16 0:00 pppd call provider
...

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.112.112.112 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.112.112.112 0.0.0.0 UG 0 0 0 ppp0

I use the /etc/init.d/ipmasq to enable NAT and it works fine. I don't
think the NAT has anything to do with it since I can try pinging outside
hosts while logged in locally to the server and it still doesn't
connect. Everything works fine if I comment out the demand option

Is there some option that I missed when configuring the kernel? or some option I missed in /etc/ppp/options?
 
Old 09-04-2003, 12:36 PM   #2
JahToasted
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Google is damn quick, searching for the fix, I came across my own post here.

Well it seems to be indeed a problem with the ipmasq. Someone somewhere suggested not starting ipmasq on startup and instead putting it in the ipup.d directory. But since I think that that may stop the clients from initiating the ppp link I didn't do that. Instead, I just typed "apt-get install diald". It initiated the link, and seems to work, but I'll have to do more testing.

I hope anyone with the same problem I had manages to google onto this page before wasting the time I did trying to make pppd work.
 
  


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
Dial on demand inaki Linux - Networking 1 07-14-2005 05:21 AM
ppp dial-on-demand sakkie Slackware 0 10-16-2003 06:52 AM
ppp on-demand Config Linux - Networking 3 12-20-2002 04:48 PM
Dial on demand doesn't work rblanken Linux - Newbie 1 09-25-2002 06:58 PM
demand dial with ppp raymcalpine Linux - Networking 2 03-23-2001 09:11 AM

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

All times are GMT -5. The time now is 08:43 AM.

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