[ale] PPPulling my hair out
Scott Warfield
magius at wittsend.com
Sun Dec 5 10:58:34 EST 2004
It's /etc/sysconfig/network-scripts/ifcfg-ppp0, or another form of
pppoe.conf. Although the man page for pppoe.conf shows the
/etc/.../ifcfg-ppp0 reference. They are invoked by "adsl-start". Also,
make sure you changes your username in this file as well.
-------------------------------------------------------
Scott Warfield
Internet Security Systems
X-Force Developer
swarfield at iss.net
PGP Key: 0x1DE30C1D
-------------------------------------------------------
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Jim
Philips
Sent: Sunday, December 05, 2004 9:03 AM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] PPPulling my hair out
What config file is that? I have pppoe.conf and /etc/ppp/options. It doesn't
seem to resemble either.
Scott Warfield wrote:
>Here is my config for speedfactory. It should work for you too as long
>as your password is set
>
>Ifcfg-ppp0:
>USERCTL=no
>BOOTPROTO=dialup
>NAME=DSLppp0
>DEVICE=ppp0
>TYPE=xDSL
>ONBOOT=yes
>PIDFILE=/var/run/pppoe-adsl.pid
>FIREWALL=MASQUERADE
>PING=.
>PPPOE_TIMEOUT=20
>LCP_FAILURE=3
>LCP_INTERVAL=80
>CLAMPMSS=1412
>CONNECT_POLL=6
>CONNECT_TIMEOUT=60
>DEFROUTE=yes
>SYNCHRONOUS=no
>ETH=eth1
>PROVIDER=DSLppp0
>USER=$username
>PEERDNS=no
>DEMAND=no
>
>
>
>
>-----Original Message-----
>From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Jim
>Philips
>Sent: Saturday, December 04, 2004 9:19 PM
>To: Atlanta Linux Enthusiasts
>Subject: [ale] PPPulling my hair out
>
>Speedfactory switched over to PPPoE today. So, I installed rp-pppoe and
>did all of the setup. It took a few recompiles of the kernel to enable
>everything. But now, I get errors every time I try to connect in Linux.
>I have tried altering my config to both:
>
>SYNCHRONOUS=yes
>
>and:
>
>SYNCHRONOUS=no
>
>With synchronous set to yes, I get this in my logs:
>
>Dec 4 19:45:51 localhost pppd[1101]: pppd 2.4.2 started by root, uid 0
>Dec
>4 19:45:51 localhost pppd[1101]: Using interface ppp0 Dec 4 19:45:51
>localhost pppd[1101]: Connect: ppp0 <--> /dev/pts/14 Dec 4 19:45:51
>localhost pppoe[1104]: Unable to set line discipline to N_HDLC. Make
>sure your kernel supports the N_HDLC line discipline, or do not use the
>SYNCHRONOUS option. Quitting.
>Dec 4 19:45:51 localhost pppd[1101]: Modem hangup Dec 4 19:45:51
>localhost
>pppd[1101]: Connection terminated.
>Dec 4 19:45:51 localhost pppd[1101]: Exit.
>
>With synchronous set to no, I get this in my logs:
>
>55:06 localhost adsl-connect: ADSL connection lost; attempting
>re-connection.
>Dec 4 19:55:11 localhost pppd[1575]: pppd 2.4.2 started by root, uid 0
>Dec
>4 19:55:11 localhost pppd[1575]: Couldn't set tty to PPP
>discipline: Invalid argument
>Dec 4 19:55:11 localhost pppd[1575]: Waiting for 1 child processes...
>Dec 4 19:55:11 localhost pppd[1575]: script /usr/sbin/pppoe -p
>/var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412 , pid 1578
>Dec 4 19:55:11 localhost pppoe[1578]: PADS: Service-Name: ''
>Dec 4 19:55:11 localhost pppoe[1578]: PPP session is 3885 Dec 4
>19:55:11 localhost pppoe[1578]: read (asyncReadFromPPP): Session
>3885: Input/output error
>Dec 4 19:55:11 localhost pppoe[1578]: Sent PADT Dec 4 19:55:11
>localhost
>pppd[1575]: Script /usr/sbin/pppoe -p
>/var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -m 1412 finished
>(pid 1578), status = 0x1
>Dec 4 19:55:11 localhost pppd[1575]: Exit.
>
>Following the first set of errors, I tried to enable HDLC in the kernel
>(2.6.7). I couldn't find that option anywhere. So, I'm at a loss.
>
>Any ideas?
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
> ** ACCEPT: CRM114 PASS Markovian Matcher ** CLASSIFY succeeds; success
>probability: 1.0000 pR: 88.5646 Best match to file #0 (nonspam.css) prob:
>1.0000 pR: 88.5646 Total features in input file: 11232 #0 (nonspam.css):
>features: 3239807, hits: 17495947, prob: 1.00e+00, pR: 88.56
>#1 (spam.css): features: 2871637, hits: 16304187, prob: 2.73e-89, pR:
>-88.56
>
>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
>
>
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
** ACCEPT: CRM114 Priority Whitelisted by: CRM114 **
More information about the Ale
mailing list