LinuxQuestions.org
Review your favorite Linux distribution.
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 01-07-2004, 01:41 AM   #1
ludwig
Member
 
Registered: Jun 2002
Location: Orange County, CA
Distribution: Debian (squeeze), kernel 2.6.30-2-amd64
Posts: 32

Rep: Reputation: 15
pppd fails -- What's missing?


Hello all,

I'm somewhat new to the networking end of things and I've been struggling lately trying to get pppd to run. I've read everything I could find in the posts (I think) but haven't really found the answer to my problem.

I have a linux router machine connected to my DSL modem. My ISP provides an IP via DHCP. The other machines on the LAN have static addresses assigned to them.

My problem is that I haven't been successful in getting pppd to run on the linux router machine and I'm not sure what's missing. Here's some (perhaps) relevant information:

*) The eth1 interface is being used to connect the linux router with the rest of the LAN. It's successfully brought up and initialized with a static IP.

*) There is no ifcfg-eth0 setup (I was told I didn't need it for what I was trying to do) so it doesn't appear in ifconfig output unless I explicitly bring it up manually first.

*) The chap and pap secrets files seem to be fine with the proper information.

*) Here are the contents of the /etc/ppp/options file:
lock
noauth
noipdefault
usepeerdns

*) The problem isn't physical; the cable is good and I'm able to access the internet from my other machine if I plug the DSL modem into a Linksys router. Plus, the linux router is able to ping other machines on the LAN, it just doesn't communicate with the DSL side of things.

*) I'm running Mandrake 9.0 (2.4.19-16mdk), ppp-2.4.1-mdk, with rp-pppoe-3.5-1mdk.

At this point I'm just trying to get the linux router to talk with the DSL modem. After booting up, I've tried running /usr/sbin/pppd, which just seems to time out. The messages log looks like this:

Jan 6 23:29:33 maurizio pppd[1401]: pppd 2.4.1 started by root, uid 0
Jan 6 23:29:33 maurizio pppd[1401]: Using interface ppp0
Jan 6 23:29:33 maurizio pppd[1401]: Connect: ppp0 <--> /dev/vc/1
Jan 6 23:30:03 maurizio pppd[1401]: LCP: timeout sending Config-Requests
Jan 6 23:30:03 maurizio pppd[1401]: Connection terminated.
Jan 6 23:30:03 maurizio pppd[1401]: Exit.

What's missing? As I understand it, if pppd starts up then it should create and bring up the ppp0 interface (which would use eth0). The strange thing is all of this used to work before I replaced a simple NIC!!
 
Old 02-13-2004, 01:23 PM   #2
wheelsg
Member
 
Registered: Feb 2004
Location: Westchester, NY
Distribution: slackware
Posts: 63

Rep: Reputation: 15
How can you not configure eth0? That's the NIC communicating with the modem, no? Plus, wasn't pppd bound to the eth0 NIC before you replaced it? Eth1 is set for your internal LAN, so of course you're able to ping those machines. But eth1 is also the gateway machine so that your internal machines can communicate with eth0, which is supposed to know about the modem. Plus, if eth0 is a new NIC, you'll have to tell the kernel to initialize it on startup.

What's the output of 'ifconfig -a?'

Regards,
Geoff.
 
Old 02-15-2004, 07:40 PM   #3
ludwig
Member
 
Registered: Jun 2002
Location: Orange County, CA
Distribution: Debian (squeeze), kernel 2.6.30-2-amd64
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the reply wheelsg, but I'm afraid I can't give you any more information. After getting no replies, and my need to connect asap, I did something I'd been considering for quite a while -- switch to Debian (I'm glad I did, apt-get is very cool). My new distro had no problem getting everything synched up.

Anyway, in my previous setup eth0 was indeed configured to talk with the modem, but with the new NIC pppd just refused to come up. I tried all sorts of things and just got nowhere with it. So unfortunately it'll have to remain an unsolved mystery...

Thanks anyway!
 
  


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
Installation of scigraphica fails due to missing path to arrayobject.h mattispappis Linux - Software 2 11-15-2005 01:10 PM
Debian Sarge 3.1 LXF70 XWindows fails to start - Missing symbols cgtueno Debian 1 09-05-2005 09:07 AM
ffmpeg fails to detect missing end of avi-file batchman Linux - Software 1 08-21-2004 02:44 PM
pppd died: pppd options error (exit code 2 taveirac Linux - Networking 1 02-12-2004 10:17 AM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM

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

All times are GMT -5. The time now is 11:53 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